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

html {
    scroll-behavior: smooth;
}

html,
body {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    color: #1f2937;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.header-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.header-nav a {
    text-decoration: none;
    color: #6b7280;
    font-size: 14px;
    transition: color 0.3s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
}

.header-nav a:hover,
.header-nav a:focus-visible {
    color: #007aff;
    outline: 2px solid #007aff;
    outline-offset: 2px;
}

.burger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0px;
    min-height: 44px;
    min-width: 44px;
    border-radius: 6px;
    color: #1f2937;
    justify-content: center;
    align-items: center;
}

.burger-btn:hover,
.burger-btn:focus-visible {
    background: #f3f4f6;
    outline: 2px solid #007aff;
    outline-offset: 2px;
}

@media (min-width: 769px) {
    .burger-btn {
        display: none !important;
    }

    .header-nav {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        box-shadow: none !important;
        border-bottom: none !important;
    }
}

@media (max-width: 767px) {
    .header-content {
        justify-content: flex-end;
    }

    .burger-btn {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        display: none;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .header-nav.open {
        display: flex;
    }

    .header-nav a {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
        border-bottom: 1px solid #f3f4f6;
    }

    .header-nav a:last-child {
        border-bottom: none;
    }
}

/* Hero Section */
.hero {
    margin-top: 60px;
    padding: 120px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #e0f2ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-full-screen {
    height: 100svh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    margin-top: 0;
}

@media (max-width: 768px) {
    .hero-full-screen {
        height: 100svh;
        min-height: 450px;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-full-screen {
        height: 100svh;
        min-height: 420px;
        padding: 0 14px;
    }
}

@media (max-width: 480px) {
    .hero-full-screen {
        padding-top: 24px;
        padding-bottom: 32px;
    }
}

@media (max-width: 360px) {
    .hero-full-screen {
        height: 100svh;
        min-height: 400px;
        padding: 0 12px;
    }
}

.hero h1 {
    font-size: clamp(40px, 8vw, 64px);
    font-weight: 900;
    color: #005bff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: clamp(18px, 3vw, 24px);
    color: #334155;
    margin-bottom: 32px;
    line-height: 1.7;
    font-weight: 600;

    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO-buttons*/
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: clamp(16px, 1.1vw, 17px);
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #f59a62 0%, #e86a2e 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(232, 106, 46, 0.35);
    letter-spacing: 0.5px;
}

.btn-primary,
.btn-primary:visited {
    background: linear-gradient(135deg, #f59a62 0%, #e86a2e 100%);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(232, 106, 46, 0.45);
    outline: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #007aff 0%, #0056d6 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.28);
    letter-spacing: 0.5px;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 122, 255, 0.35);
    outline: none;
}

@media (hover: none) {
    .btn-primary:hover,
    .btn-primary:focus-visible {
        transform: none;
        box-shadow: 0 8px 24px rgba(232, 106, 46, 0.35);
    }

    .btn-secondary:hover,
    .btn-secondary:focus-visible {
        transform: none;
        box-shadow: 0 8px 24px rgba(0, 122, 255, 0.28);
    }
}

@media (min-width: 769px) {
    .hero-buttons > .btn-primary,
    .hero-buttons > .btn-secondary {
        flex: 1 1 280px;
        max-width: 360px;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .hero:not(.hero-full-screen) {
        padding: 72px 16px 48px;
        margin-top: 52px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 64px 14px 40px;
    }

    .hero h1 {
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .hero p {
        margin-bottom: 24px;
    }
}

@media (max-width: 360px) {
    .hero {
        padding: 56px 12px 36px;
    }
}

/* Sections */
section {
    scroll-margin-top: 72px;
}

.steps,
.benefits,
.partners,
.faq,
.contacts {
    padding: 80px 20px;
}

.steps {
    background: #f9fafb;
}

.benefits {
    background: #ffffff;
}

.partners {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.faq {
    background: #ffffff;
}

.contacts {
    background: #f9fafb;
}

section h2 {
    text-align: center;
    font-size: clamp(32px, 6vw, 48px);
    color: #334155;
    margin-bottom: clamp(40px, 5vw, 70px);
    font-weight: 900;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 20px;
}

section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #007aff 20%, #007aff 80%, transparent);
    border-radius: 2px;
}

.steps,
.benefits {
    container-type: inline-size;
}

@media (min-width: 481px) {
    .steps-grid,
    .benefits-grid {
        display: grid;
        gap: 24px;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    }
}

@container (min-width: 500px) and (max-width: 899px) {
    .steps-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@container (min-width: 900px) and (max-width: 1099px) {
    .steps-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@container (min-width: 1100px) {
    .steps-grid,
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card,
.benefit-item {
    background: white;
    padding: clamp(24px, 4vw, 32px) clamp(16px, 3vw, 24px);
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: max(200px, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 12px;
}

.step-card:hover,
.benefit-item:hover {
    border-color: #007aff;
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
}

.step-number {
    width: clamp(48px, 8vw, 56px);
    height: clamp(48px, 8vw, 56px);
    background: linear-gradient(135deg, #007aff 0%, #0056d6 100%);
    color: white;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 900;
    margin: 0 auto clamp(12px, 2vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
    flex-shrink: 0;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(0, 122, 255, 0.08) 100%);
    border-radius: 12px;
    font-size: clamp(24px, 5vw, 32px);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.benefit-item:hover .benefit-icon {
    background: linear-gradient(135deg, #007aff 0%, #0056d6 100%);
    transform: scale(1.1);
}

.step-card h3,
.benefit-item h3 {
    font-size: clamp(16px, 3vw, 24px);
    color: #334155;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.step-card p,
.benefit-item p {
    color: #1f2937;
    line-height: 1.7;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400;
    margin: 0;
}

@media (max-width: 768px) {
    .steps,
    .benefits,
    .partners,
    .faq,
    .contacts {
        padding: 56px 16px;
    }

    section h2 {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .steps,
    .benefits,
    .partners,
    .faq,
    .contacts {
        padding: 48px 14px;
    }

    .steps {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    section h2 {
        margin-bottom: 28px;
    }

    .steps-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* STEP */
    .step-card h3,
    .benefit-item h3 {
        margin-bottom: 12px;
    }

    /* Mobile only*/
    .step-card p,
    .benefit-item p {
        margin-top: auto;
    }
}

@media (max-width: 360px) {
    .steps,
    .benefits,
    .partners,
    .faq,
    .contacts {
        padding: 48px 14px;
    }

    .steps {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

/* ===== PARTNERS SECTION ===== */

.partners {
    padding: 80px 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.partners-wrapper {
    width: 100%;
    overflow: hidden;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: #f9fafb;
    padding: 20px;
    border-radius: 16px;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.partner-logo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.partner-logo:hover::before {
    opacity: 1;
}

.partner-logo:hover {
    border-color: rgba(0, 122, 255, 0.55);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 122, 255, 0.15);
}

.partner-logo img {
    width: 200px;
    height: 60px;
    object-fit: contain;
    display: block;
    opacity: 0.85;
    margin: 0;
    padding: 0;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.partner-logo:hover img {
    opacity: 1;
}

/* DESKTOP */
@media (min-width: 481px) {
    .partner-logo.clone {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* TABLET (768px) */
@media (max-width: 768px) {
    .partners {
        padding: 56px 16px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .partner-logo {
        height: 95px;
        padding: 16px 16px;
    }

    .partner-logo img {
        width: 180px;
        height: 55px;
    }
}

/* MOBILE (480px) - INFINITE CAROUSEL */
@media (max-width: 480px) {
    .partners {
        padding: 48px 14px;
        overflow: hidden;
    }

    .partners-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .partners-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 16px;
        padding: 0 10%;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .partners-grid::-webkit-scrollbar {
        display: none;
    }

    .partner-logo {
        flex: 0 0 85%;
        height: 110px;
        padding: 16px 14px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
        transition: none;
        cursor: grab;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .partner-logo:active {
        cursor: grabbing;
    }

    .partner-logo:hover {
        border-color: inherit;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
        transform: none;
    }

    .partner-logo img {
        width: 160px;
        height: 48px;
        opacity: 0.9;
        object-fit: contain;
    }

    .partner-logo:hover img {
        opacity: 0.9;
    }
}

@media (max-width: 360px) {
    .partners {
        padding: 40px 12px;
    }

    .partner-logo {
        flex: 0 0 85%;
        height: 100px;
        padding: 14px 12px;
    }

    .partner-logo img {
        width: 150px;
        height: 45px;
    }
}

/* ===== END PARTNERS ===== */

.faq-container {
}

.faq-item {
    background: #fff;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

    display: grid;
    grid-template-rows: auto 0fr;

    /* transition grid-template-rows */
    transition:
        grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;

    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.faq-item:hover {
    border-color: #007aff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
}

.faq-item.active {
    grid-template-rows: auto 1fr;
}

.faq-question {
    padding: clamp(16px, 3vw, 18px) 20px;
    background: #fff;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;

    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.01em;
    font-size: clamp(15px, 2.5vw, 18px);

    min-height: 48px;
    border: 0;
    width: 100%;
    text-align: left;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;

    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
    background: #f9fafb;
    color: #007aff;
}

.faq-question:focus-visible {
    outline: 3px solid rgba(0, 122, 255, 0.35);
    outline-offset: 2px;
    background: #ffffff;
}

.faq-toggle {
    color: #007aff;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg) translateZ(0);
}

.faq-answer {
    background: #f9fafb;
    overflow: hidden;

    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.faq-answer__inner {
    padding: 0 20px;
    opacity: 0;

    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;

    -webkit-font-smoothing: antialiased;
}

.faq-item.active .faq-answer__inner {
    padding: 20px 20px;
    opacity: 1;
}

.faq-answer p {
    color: #1f2937;
    line-height: 1.7;
    margin: 0;
    font-size: clamp(15px, 2vw, 17px);

    -webkit-font-smoothing: subpixel-antialiased;
}

@media (max-width: 480px) {
    .faq-question {
        padding: 16px 16px;
        min-height: 44px;
    }

    .faq-answer__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .faq-item.active .faq-answer__inner {
        padding: 20px 16px;
    }
}

/* Contacts */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-box {
    background: white;
    padding: clamp(24px, 4vw, 36px) clamp(16px, 3vw, 28px);
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    min-height: 44px;
}

.contact-icon {
    font-size: clamp(24px, 5vw, 32px);
    color: #007aff;
    min-width: 40px;
    flex-shrink: 0;
}

.contact-item h3 {
    color: #1f2937;
    margin-bottom: 4px;
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: 800;
}

.contact-item p {
    color: #1f2937;
    font-size: clamp(14px, 2vw, 16px);
    margin: 0;
    line-height: 1.5;
}

.contact-item a {
    color: #007aff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 2px 0;
}

.contact-item a:hover,
.contact-item a:focus-visible {
    color: #0056d6;
    text-decoration: underline;

    -webkit-tap-highlight-color: transparent;
}

.contact-form h3 {
    color: #1f2937;
    margin-bottom: 24px;
    font-size: clamp(18px, 3vw, 20px);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #374151;
    font-size: clamp(13px, 2vw, 14px);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: clamp(12px, 2.5vw, 14px) 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: #1f2937;
    min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.12);
    background: #e0f2ff;
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #007aff 0%, #0056d6 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(15px, 2.5vw, 16px);
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
    min-height: 48px;
}

.form-submit:hover,
.form-submit:focus-visible {
    background: linear-gradient(135deg, #0056d6 0%, #003d9e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 122, 255, 0.4);
    outline: none;
}

.form-status {
    margin-top: 16px;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status.error {
    display: block;
    background-color: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

@media (max-width: 768px) {
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .contact-info {
        gap: 20px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-form h3 {
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group textarea {
        min-height: 80px;
    }
}

.contact-box-contacts > h3 {
    color: #1f2937;
    margin-bottom: 24px;
    font-size: clamp(18px, 3vw, 20px);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.contact-box-contacts .contact-item h4 {
    color: #334155;
    margin: 0 0 8px;
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 800;
}

.contact-box-contacts .contact-reveal {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: #007aff;
    text-decoration: none;
    font-weight: 600;
    border: 0;
    background: transparent;
    padding: 2px 0;
    cursor: pointer;
}

.contact-box-contacts .contact-reveal:hover {
    color: #0056d6;
    text-decoration: underline;
}

.contact-box-contacts .contact-reveal:focus,
.contact-box-contacts .contact-reveal:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.contact-form > h3,
.contact-box-contacts > h3 {
    text-align: center;
}

.contact-box-contacts,
.contact-box-contacts * {
    font-family: inherit;
}

/* Footer */
footer {
    background-color: #152149;
    background-image: linear-gradient(180deg, #1e2f66 0%, #152149 100%);
    color: #e2e8f0;
    padding: clamp(32px, 6vw, 40px) 20px;
    text-align: initial;
}

footer p {
    margin: 8px 0;
    font-size: clamp(13px, 2vw, 14px);
    word-break: break-word;
}

footer a {
    color: #e2e8f0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    min-height: 44px;
    border-radius: 6px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

footer a:hover,
footer a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    background-color: rgba(255, 255, 255, 0.12);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}

.footer-legal {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal a {
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background-color: transparent;
    line-height: 1.2;

    font-size: clamp(13px, 2vw, 14px);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    background-color: transparent;
    text-decoration: underline;
}

.footer-bottom {
    width: 100%;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 0;
    text-align: center;
}

.footer-bottom::before {
    content: "";
    display: block;
    height: 1px;
    background: rgba(226, 232, 240, 0.12);

    width: 100%;
    max-width: 1100px;
    margin: 0 auto 14px;
}

.footer-copy {
    margin: 0;
}

.footer-copy strong {
    font-weight: inherit;
    color: inherit;
}

.footer-note {
    margin: 10px auto 0;
    max-width: 900px;
    font-size: clamp(12px, 1.6vw, 13px);
    line-height: 1.55;
    font-weight: inherit;
    color: rgba(226, 232, 240, 0.66);
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: clamp(20px, 4vw, 32px);
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: #e2e8f0;
    background: transparent;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: #ffffff;
}

.footer-social-icon {
    width: 22px;
    height: 22px;
    display: block;
    color: inherit;
    opacity: 0.82;
    overflow: visible;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.footer-social-link:hover .footer-social-icon,
.footer-social-link:focus-visible .footer-social-icon {
    transform: scale(1.12);
    opacity: 1;
}

@media (max-width: 640px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-legal {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 32px 16px;
    }
}

@media (min-width: 900px) {
    .footer-top {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 24px;

        max-width: 1100px;
        margin: 0 auto;
    }

    .footer-left {
        display: flex;
        justify-content: center;
        margin-left: clamp(40px, 6vw, 120px);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-legal {
        justify-content: flex-end;
        text-align: right;
        gap: clamp(32px, 3vw, 48px);
    }

    .footer-bottom {
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===== Callback modal ===== */
.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.modal__dialog {
    position: relative;
    width: min(520px, calc(100% - 24px));
    margin: 10vh auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 10px;
    background: #f3f4f6;

    cursor: pointer;
    font-size: 22px;
    line-height: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal__close:hover,
.modal__close:focus-visible {
    background: #e5e7eb;
    outline: 2px solid #007aff;
    outline-offset: 2px;
}

.modal__subtitle {
    margin: 8px 0 16px;
    color: #6b7280;
    font-size: 14px;
}
/* ===== /Callback modal ===== */

.hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cb-consent {
    display: block;
    margin: 10px 0 14px;
    font-size: 14px;
    color: #374151;
}
.cb-consent input {
    margin-right: 8px;
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(32px, 8.5vw, 44px);
    }
    section h2 {
        font-size: clamp(26px, 6.5vw, 34px);
    }
}

@media (max-width: 480px) {
    .btn-primary,
    .btn-secondary {
        font-size: 16px;
    }
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;

    width: min(100%, clamp(520px, 60vw, 720px));
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    width: 100%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 16px 20px;

    line-height: 1;
    letter-spacing: 0.04em;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .hero-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.btn-primary,
.btn-secondary {
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
    will-change: transform;
    line-height: 1;
}

@media (hover: hover) {
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: translateY(-1px);
        filter: brightness(1.03);
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    }
}

.btn-primary:active,
.btn-secondary:active {
    transform: translateY(0);
    filter: brightness(0.99);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 3px solid rgba(0, 122, 255, 0.35);
    outline-offset: 2px;
}

.contacts button.contact-reveal {
    appearance: none;
    -webkit-appearance: none;

    background: none;
    border: 0;
    padding: 0;
    margin: 0;

    font: inherit;
    color: #007aff;
    font-weight: 600;

    cursor: pointer;
    text-decoration: none;
    line-height: 1.5;
}

.contacts button.contact-reveal:hover {
    color: #0056d6;
    text-decoration: underline;
}

.contacts button.contact-reveal:focus-visible {
    outline: 2px solid #007aff;
    outline-offset: 2px;
    border-radius: 4px;
}

section:not(.hero) h2 {
    color: #334155 !important;
    font-weight: 900 !important;
}

.contact-form h3,
.contact-box-contacts h3 {
    color: #334155;
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin-bottom: 24px;
    text-align: center;
}

.contact-item h4 {
    color: #334155;
    font-size: clamp(14px, 2.5vw, 20px);
    font-weight: 800;
    margin: 0 0 4px 0;
    padding: 0;
    line-height: 1.2;
}

.contacts-content .contact-item a,
.contacts-content .contact-item button.contact-reveal,
.contact-box-contacts .contact-item .contact-reveal {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;

    padding: 0;
    margin: 6px 0 4px 0;
    min-height: 0;

    text-align: left;
    font-family: inherit;
    cursor: pointer;
    color: #007aff;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    display: block;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacts-content .contact-item a:hover,
.contacts-content .contact-item button.contact-reveal:hover,
.contact-box-contacts .contact-item .contact-reveal:hover {
    color: #0056d6;
    text-decoration: underline;
}

.contacts-content .contact-item a:focus:not(:focus-visible),
.contacts-content .contact-item button.contact-reveal:focus:not(:focus-visible),
.contact-box-contacts .contact-item .contact-reveal:focus:not(:focus-visible) {
    outline: none;
}

.contacts-content .contact-item a:focus-visible,
.contacts-content .contact-item button.contact-reveal:focus-visible,
.contact-box-contacts .contact-item .contact-reveal:focus-visible {
    outline: 2px solid #007aff;
    outline-offset: 2px;
    border-radius: 4px;
}

.contact-item p {
    color: #6b7280;
    font-size: clamp(12px, 1.5vw, 14px);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: block;
}

.qr-wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 40px;
    gap: 12px;
}

@media (min-width: 1024px) {
    .qr-wrapper {
        display: flex;
    }
}

.qr-wrapper img {
    width: 200px;
    height: 200px;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.qr-wrapper span {
    font-size: 13px;
    color: #64748b;
    max-width: 250px;
    line-height: 1.4;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    display: none;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    animation: cookieSlideUp 0.5s ease forwards;
}

.cookie-banner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #374151;
}

.cookie-banner a {
    color: #007aff;
    text-decoration: underline;
}

.cookie-btn {
    background: linear-gradient(135deg, #007aff 0%, #0056d6 100%);
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 400px) {
    .cookie-banner {
        padding: 12px;
        gap: 10px;
    }
    .cookie-banner p {
        font-size: 12px;
    }
}
