* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #0f172a;
    --accent: #3b82f6;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --telegram: #2563eb;
    --telegram-dark: #006699;
    --success: #10b981;
    --error: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-800);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header */

.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo span {
    color: var(--primary);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--gray-100);
    border-radius: 0.75rem;
    order: 4;
}

.language-btn {
    min-width: 34px;
    height: 32px;
    padding: 0 0.55rem;
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    color: var(--gray-600);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-btn:hover,
.language-btn.active {
    background: var(--primary);
    color: var(--white);
}


/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-telegram {
    background: var(--telegram);
    color: var(--white);
}

.btn-telegram:hover {
    background: var(--telegram-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-order {
    padding: 0.625rem 1.25rem;
    order: 5;
}


/* Hero Section */

.hero {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #fef3c7 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="rgba(255,255,255,0.4)" d="M0,64L60,69.3C120,75,240,85,360,80C480,75,600,53,720,48C840,43,960,53,1080,64C1200,75,1320,85,1380,90.7L1440,96L1440,120L1380,120C1320,120,1200,120,1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    opacity: 0.6;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="rgba(255,255,255,0.3)" d="M0,64L60,58.7C120,53,240,43,360,48C480,53,600,75,720,80C840,85,960,75,1080,64C1200,53,1320,43,1380,37.3L1440,32L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    opacity: 0.4;
    pointer-events: none;
    transform: rotate(180deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.35rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}


/* Section Styles */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--gray-100);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}


/* About Section */

.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-paragraph {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    text-align: center;
}

.about-feature .feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-text {
    font-weight: 600;
    font-size: 0.875rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 1rem;
}

.stat-card-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}


/* Services Section */

.services {
    padding: 5rem 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features span i {
    color: var(--success);
    font-size: 0.875rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}


/* Advantages Section */

.advantages {
    padding: 5rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
    border-radius: 1rem;
    background: var(--white);
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--primary);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.advantage-description {
    color: var(--gray-600);
    line-height: 1.6;
}


/* CTA Section */

.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* CTA Icons */

.cta .btn-telegram i,
.cta-note i {
    margin-right: 8px;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* Order Form Section */

.order-section {
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

.order-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.order-info {
    position: sticky;
    top: 100px;
}

.info-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.info-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.info-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.info-features {
    margin-bottom: 2rem;
}

.info-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.info-contact h4 {
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.contact-telegram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--telegram);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
}

.order-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
}

.required {
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.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(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.field-hint {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.error-message {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}


/* Footer */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary);
}

.footer-description {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-link:hover {
    color: var(--primary);
}

.footer-title {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-links,
.footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-contacts a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: var(--primary);
}


/* Footer Icons Styles */

.footer-links li i,
.footer-contacts li i,
.footer-working-hours i,
.footer-bottom-links a i {
    margin-right: 8px;
    font-size: 0.8rem;
    color: var(--primary);
}

.footer-links li a,
.footer-contacts li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-working-hours {
    margin-top: 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}


/* Mobile Menu */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--gray-800);
    transition: all 0.3s ease;
}


/* ======================================== */


/* ПОКРАЩЕНА МОБІЛЬНА ВЕРСІЯ (max-width: 768px) */


/* ======================================== */

@media (max-width: 768px) {
    /* Header */
    .mobile-menu-btn {
        display: flex;
    }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }
    .nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav-list a {
        font-size: 1.125rem;
        display: block;
        padding: 0.5rem 0;
    }
    .btn-order {
        display: none;
    }
    /* Hero Section - Мобільна */
    .hero {
        padding: 4rem 0;
        min-height: auto;
    }
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .hero-buttons .btn-large {
        width: 100%;
        max-width: 260px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    /* Загальні секції */
    .section-header {
        margin-bottom: 2rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    .section-tag {
        font-size: 0.75rem;
    }
    /* About Section */
    .about {
        padding: 3rem 0;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-paragraph {
        font-size: 0.9rem;
    }
    .about-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    .about-feature .feature-icon {
        font-size: 1.5rem;
    }
    .feature-text {
        font-size: 0.7rem;
    }
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    .stat-card {
        padding: 1rem;
    }
    .stat-card-number {
        font-size: 1.5rem;
    }
    .stat-card-label {
        font-size: 0.7rem;
    }
    /* Services Section */
    .services {
        padding: 3rem 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .service-card {
        padding: 1.25rem;
    }
    .service-icon {
        font-size: 2rem;
    }
    .service-title {
        font-size: 1.2rem;
    }
    .service-description {
        font-size: 0.85rem;
    }
    .service-features span {
        font-size: 0.75rem;
    }
    .service-price {
        font-size: 1.2rem;
    }
    /* Advantages Section */
    .advantages {
        padding: 3rem 0;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .advantage-card {
        padding: 1.25rem;
    }
    .advantage-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    .advantage-title {
        font-size: 1.1rem;
    }
    .advantage-description {
        font-size: 0.85rem;
    }
    /* CTA Section */
    .cta {
        padding: 3rem 0;
    }
    .cta-title {
        font-size: 1.6rem;
    }
    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 15px;
    }
    .cta .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    .cta-note {
        font-size: 0.75rem;
    }
    /* Order Form Section - Мобільна */
    .order-section {
        padding: 2rem 0;
    }
    .order-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .order-info {
        position: static;
        padding: 0 0.5rem;
    }
    .info-badge {
        font-size: 0.75rem;
    }
    .info-title {
        font-size: 1.8rem;
    }
    .info-description {
        font-size: 0.9rem;
    }
    .info-feature {
        gap: 0.75rem;
        font-size: 0.85rem;
    }
    .feature-check {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    .contact-telegram {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .order-form-container {
        padding: 1.25rem;
    }
    .order-form {
        gap: 1rem;
    }
    .form-group label {
        font-size: 0.9rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    .field-hint {
        font-size: 0.7rem;
    }
    .btn-submit {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    /* Footer - Мобільна */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-links li a,
    .footer-contacts li a {
        justify-content: center;
    }
    .footer-contacts li {
        justify-content: center;
    }
    .footer-working-hours {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    /* Контейнер */
    .container {
        padding: 0 15px;
    }
}


/* Для дуже маленьких екранів (до 480px) */

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-description {
        font-size: 0.85rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .info-title {
        font-size: 1.5rem;
    }
    .cta-title {
        font-size: 1.4rem;
    }
    .service-card {
        padding: 1rem;
    }
    .advantage-card {
        padding: 1rem;
    }
    .footer-logo h3 {
        font-size: 1.3rem;
    }
    .footer-title {
        font-size: 1rem;
    }
}


/* Планшети (від 769px до 1024px) */

@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding: 6rem 0;
        min-height: 80vh;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .about-content {
        gap: 2rem;
    }
    .order-wrapper {
        gap: 2rem;
    }
}


/* Великі планшети (від 768px до 1024px) - горизонтальна орієнтація */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

/* ======================================== */
/* ФІНАЛЬНИЙ АДАПТИВ ТА ПОКРАЩЕНЕ МОБІЛЬНЕ МЕНЮ */
/* ======================================== */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

body {
    width: 100%;
    max-width: 100%;
}

.mobile-order-item {
    display: none;
}

.nav-order-btn {
    width: 100%;
    color: var(--white) !important;
}

@media (min-width: 1025px) {
    .header-content {
        gap: 1.5rem;
    }

    .nav {
        flex: 1;
        display: flex;
        justify-content: center;
        order: 3;
    }

    .hero {
        padding: clamp(6rem, 9vw, 9rem) 0;
    }

    .hero-title {
        font-size: clamp(3.8rem, 5.3vw, 5rem);
    }

    .services-grid,
    .advantages-grid {
        align-items: stretch;
    }

    .service-card,
    .advantage-card,
    .stat-card,
    .order-form-container {
        border-radius: 0.75rem;
    }
}

@media (max-width: 1024px) {
    .header-content {
        gap: 1rem;
    }

    .language-switcher {
        margin-left: 0;
    }

    .nav-list {
        gap: 1.1rem;
    }

    .btn-order,
    .header-content > .btn-telegram {
        padding: 0.65rem 1rem;
        white-space: nowrap;
    }

    .hero-title {
        font-size: clamp(2.4rem, 6vw, 3.2rem);
    }

    .about-content,
    .order-wrapper {
        grid-template-columns: 1fr;
    }

    .order-info {
        position: static;
    }
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    html,
    body {
        overflow-x: hidden;
    }

    .header {
        position: sticky;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .header-content {
        padding: 0.75rem 0;
        gap: 0.6rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .language-switcher {
        order: 2;
        margin-left: auto;
        padding: 0.2rem;
        border-radius: 0.65rem;
    }

    .language-btn {
        min-width: 30px;
        height: 30px;
        padding: 0 0.35rem;
        font-size: 0.72rem;
    }

    .mobile-menu-btn {
        order: 3;
        position: relative;
        z-index: 1001;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border-radius: 0.75rem;
        background: var(--gray-100);
    }

    body.menu-open .mobile-menu-btn {
        position: fixed;
        top: 0.8rem;
        right: 1rem;
        z-index: 1002;
    }

    .mobile-menu-btn span {
        position: absolute;
        width: 22px;
        transform-origin: center;
    }

    .mobile-menu-btn span:nth-child(1) {
        transform: translateY(-7px);
    }

    .mobile-menu-btn span:nth-child(3) {
        transform: translateY(7px);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .nav {
        position: fixed !important;
        inset: 0 0 0 auto !important;
        width: min(86vw, 340px);
        max-width: none;
        height: 100vh !important;
        height: 100svh !important;
        height: 100dvh !important;
        min-height: 100vh;
        max-height: 100vh;
        max-height: 100dvh;
        padding: 5.25rem 1rem 1.5rem;
        border-left: 1px solid var(--gray-200);
        background: var(--white);
        box-shadow: var(--shadow-xl);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        will-change: transform;
    }

    .nav.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-list {
        width: 100%;
        gap: 0.65rem;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a:not(.nav-order-btn),
    .nav-order-btn {
        width: 100%;
        min-height: 54px;
        height: 54px;
        margin: 0;
        padding: 0 1rem;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start;
        border-radius: 0.75rem;
        font-size: 1rem;
        line-height: 1.2;
        white-space: normal;
        text-decoration: none;
        box-sizing: border-box;
    }

    .nav-list a:not(.nav-order-btn) {
        background: var(--gray-50);
        color: var(--gray-800);
        font-weight: 700;
    }

    .nav-list a:not(.nav-order-btn):hover {
        background: var(--gray-100);
    }

    .mobile-order-item {
        display: block;
        margin-top: 0.65rem;
    }

    .nav-order-btn {
        width: 100%;
        min-height: 54px;
        height: 54px;
        margin: 0;
        background: var(--primary);
        color: var(--white) !important;
        border: 0;
        border-radius: 0.75rem;
        box-shadow: var(--shadow-md);
        font-weight: 700;
        justify-content: center !important;
    }

    .nav-order-btn:hover {
        background: var(--primary-dark);
        color: var(--white) !important;
        transform: none;
        box-shadow: var(--shadow-md);
    }

    .nav-list .mobile-order-item .nav-order-btn {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .btn-order,
    .header-content > .btn-telegram {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 4.25rem 0 4.75rem;
        text-align: left;
    }

    .hero::before {
        height: 42px;
    }

    .hero::after {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.12;
        margin-bottom: 1rem;
    }

    .hero-description {
        padding: 0;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        align-items: stretch;
    }

    .hero-buttons .btn-large {
        max-width: none;
        width: 100%;
        min-height: 48px;
    }

    .section-header {
        text-align: left;
    }

    .section-subtitle {
        padding: 0;
        margin: 0;
    }

    .about-features,
    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-feature,
    .stat-card {
        text-align: left;
    }

    .about-feature {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.85rem;
        border-radius: 0.75rem;
        background: var(--gray-50);
    }

    .about-feature .feature-icon {
        margin-bottom: 0;
        min-width: 32px;
    }

    .feature-text,
    .stat-card-label,
    .service-features span {
        font-size: 0.9rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .service-card,
    .advantage-card,
    .order-form-container {
        border-radius: 0.75rem;
    }

    .advantage-card {
        text-align: left;
    }

    .advantage-icon {
        margin-bottom: 1rem;
    }

    .service-features span {
        align-items: flex-start;
    }

    .service-price {
        text-align: left;
    }

    .cta {
        text-align: left;
    }

    .cta-description {
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .cta .btn-large {
        width: 100%;
    }

    .cta-note {
        justify-content: flex-start;
    }

    .order-section {
        padding: 2.25rem 0 3rem;
    }

    .info-features {
        display: grid;
        gap: 0.75rem;
    }

    .info-feature {
        align-items: flex-start;
        margin-bottom: 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 46px;
    }

    .footer-content,
    .footer-bottom {
        text-align: left;
    }

    .footer-social,
    .footer-links li a,
    .footer-contacts li,
    .footer-working-hours,
    .footer-bottom-links {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 3.5rem;
    }

    .section-title,
    .info-title,
    .cta-title {
        line-height: 1.15;
    }

    .service-card,
    .advantage-card,
    .order-form-container {
        padding: 1rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.65rem;
    }
}
