/* style.css - ПОВНА ВЕРСІЯ З КАПЧЕЮ */
:root {
    /* Кольорова палітра */
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8B5C;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-900: #2D2D2D;
    --gray-800: #3D3D3D;
    --gray-700: #4D4D4D;
    --gray-600: #666666;
    --gray-500: #8A8A8A;
    --gray-400: #B0B0B0;
    --gray-300: #E5E5E5;
    --gray-200: #EFEFEF;
    --gray-100: #F8F8F8;
    
    /* Шрифти */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    
    /* Відступи */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Радіуси закруглення */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Тіні */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Транзиції */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
}

p {
    margin-bottom: var(--space-md);
    color: var(--gray-700);
}

ul, ol {
    margin-left: 1.5rem;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    outline: none;
}

.btn i {
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-header {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-md);
}

.btn-header:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
}

/* ===== ХЕДЕР ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black);
    transition: var(--transition);
}

.logo-text {
    font-family: var(--font-secondary);
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--primary);
    font-size: 2rem;
    line-height: 1;
}

.logo:hover {
    transform: scale(1.05);
}

/* Навігація */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    padding: var(--space-xs) var(--space-sm);
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--space-sm);
    right: var(--space-sm);
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--black);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Перемикач мобільного меню */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    padding: var(--space-xs);
    cursor: pointer;
    z-index: 1001;
}

.menu-line {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
    border-radius: 1px;
}

/* ===== ГЕРОВА СЕКЦІЯ ===== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
}

/* Слайдер */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    transform: scale(1.1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    animation: zoomInOut 25s infinite alternate ease-in-out;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(26, 26, 26, 0.85) 50%,
        rgba(26, 26, 26, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: calc(var(--space-2xl) * 2);
    padding-bottom: var(--space-2xl);
    max-width: 650px;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Заголовок герої */
.hero-title {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    font-family: var(--font-secondary);
}

.title-line:nth-child(2) {
    color: var(--primary-light);
}

/* Опис герої */
.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
    max-width: 540px;
}

/* Кнопки дії герої */
.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Індикатор скролу */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== ПЕРЕМИКАЧ МОВИ ===== */
.lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 2px;
    border: 1px solid var(--gray-300);
    margin-right: var(--space-md);
    order: 3;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gray-700);
}

.lang-btn:hover {
    background: var(--white);
    color: var(--black);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.lang-code {
    font-weight: 600;
    font-size: 0.8rem;
}

.lang-name {
    display: none;
}

@media (min-width: 768px) {
    .lang-name {
        display: inline;
    }
    
    .lang-btn {
        padding: 8px 16px;
    }
}

@media (max-width: 1024px) {
    .lang-switcher {
        margin-left: auto;
    }
    
    .nav-menu.active ~ #langSwitcherContainer {
        display: none;
    }
}

@media (max-width: 480px) {
    #langSwitcherContainer {
        position: absolute;
        top: 80px;
        right: 70px;
        z-index: 1001;
    }
}

/* ===== СЕКЦІЯ "ПОСЛУГИ" ===== */
.services-section {
    padding: var(--space-2xl) 0;
    background: var(--gray-100);
    position: relative;
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-label {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--gray-100);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    font-family: var(--font-secondary);
    margin: 0;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-top: var(--space-sm);
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(5deg) scale(1.1);
}

.service-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--black);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: var(--space-xs) 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Блок CTA */
.services-cta {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-300);
}

.cta-content {
    margin-bottom: var(--space-lg);
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--black);
}

.cta-content p {
    color: var(--gray-600);
    margin: 0;
}

/* ===== СЕКЦІЯ "ПРО КОМПАНІЮ" ===== */
.about-section {
    padding: var(--space-2xl) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

/* Опис компанії */
.about-description {
    margin-bottom: var(--space-xl);
}

.about-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--space-md);
}

.about-description strong {
    color: var(--primary);
    font-weight: 600;
}

/* Переваги */
.about-features {
    margin-bottom: var(--space-xl);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    align-items: flex-start;
    opacity: 1;
    transform: translateX(0);
}

.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--black);
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0;
}

/* Кнопки */
.about-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Фотографія */
.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--gray-100);
}

.about-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper:hover .about-photo {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.3) 0%,
        transparent 50%
    );
    pointer-events: none;
}

/* ===== ФУТЕР ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-logo .logo {
    font-size: 1.5rem;
    color: var(--white);
}

.footer-logo .logo:hover {
    transform: none;
    opacity: 0.9;
}

.footer-brand {
    font-size: 0.9rem;
    color: var(--gray-300);
    font-weight: 500;
}

.copyright p {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin: 0;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-end;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-300);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

/* ===== МОДАЛЬНЕ ВІКНО ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform var(--transition);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--gray-300);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
    font-family: var(--font-secondary);
}

.modal-close {
    background: var(--gray-100);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-content {
    padding: var(--space-xl);
}

/* ===== ФОРМА ===== */
.consultation-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.form-group label::after {
    content: " *";
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 4px;
    min-height: 20px;
}

.form-footer {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-300);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-disclaimer {
    margin-top: var(--space-md);
    text-align: center;
}

.form-disclaimer p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

/* ===== КАПЧА СТИЛІ ===== */
.captcha-container {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 1px solid var(--gray-300);
}

.captcha-question {
    font-weight: 600;
    color: var(--primary);
    background: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    display: inline-block;
    margin-bottom: var(--space-sm);
    border: 1px solid var(--gray-300);
}

.captcha-input-group {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.captcha-input-group input {
    flex: 1;
}

.captcha-refresh-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.captcha-refresh-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.captcha-refresh-btn:hover i {
    animation: spin 0.5s linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Honeypot field - ensure it's hidden */
.honeypot-field {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* ===== ПОВІДОМЛЕННЯ ПРО УСПІХ ===== */
.modal-success {
    display: none;
    text-align: center;
    padding: var(--space-2xl);
}

.modal-success.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: var(--space-lg);
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.modal-success h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    color: var(--black);
}

.modal-success p {
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    font-size: 1.125rem;
}

/* ===== СПОВІЩЕННЯ ===== */
#notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.notification {
    position: relative;
    animation: slideIn 0.3s ease;
    background: #dc3545;
    color: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.notification button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ===== АДАПТИВНИЙ ДИЗАЙН ===== */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .btn-header {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
        align-items: center;
    }
    
    .about-content {
        padding-right: var(--space-lg);
    }
    
    .about-image {
        padding-left: var(--space-lg);
    }
    
    .about-photo {
        height: 600px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    
    .services-cta {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: center;
        padding: var(--space-xl) var(--space-2xl);
    }
    
    .cta-content {
        margin-bottom: 0;
        flex-grow: 1;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-left {
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 1.25rem;
        --space-xl: 2rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-content {
        padding: var(--space-xl) 0;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .title-line {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .services-section,
    .about-section {
        padding: var(--space-xl) 0;
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .services-cta {
        padding: var(--space-lg);
    }
    
    .services-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-actions {
        flex-direction: column;
    }
    
    .about-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-overlay {
        padding: var(--space-md);
    }
    
    .modal-header {
        padding: var(--space-lg);
    }
    
    .modal-content {
        padding: var(--space-lg);
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
    }
    
    .captcha-input-group {
        flex-direction: column;
    }
    
    .captcha-refresh-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-dot {
        font-size: 1.75rem;
    }
    
    .nav-menu {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: var(--space-lg) 0;
    }
    
    .footer-right {
        justify-content: flex-start;
    }
    
    .contact-info {
        align-items: flex-start;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .modal-overlay {
        padding: var(--space-sm);
    }
    
    .modal-header {
        padding: var(--space-md);
    }
    
    .modal-content {
        padding: var(--space-md);
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .modal-success h3 {
        font-size: 1.5rem;
    }
}

/* ===== ДОСТУПНІСТЬ ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Стилі фокусу */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Стилі для стану завантаження */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}