/* Apple-style animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}
.section-padding {
    padding: 80px 0;
}
@media (min-width: 768px) {
    .section-padding {
        padding: 120px 0;
    }
}
/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
/* Металлический фон сайта */
body {
    background: linear-gradient(135deg, #c4c8cc 0%, #e2e4e8 20%, #d0d4d8 40%, #e8eaee 60%, #d8dce0 80%, #c8ccd0 100%);
    background-attachment: fixed;
}
/* Apple-style navigation */
.nav-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}
/* Feature blocks */
.feature-block {
    transition: all 0.3s ease;
    position: relative;
}

/* Вариант 1: Легкое поднятие с тенью (Блок 1) */
.feature-block.hover-variant-1:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Вариант 2: Масштабирование с рамкой (Блок 2) */
.feature-block.hover-variant-2 {
    border-radius: 16px;
    padding: 2rem;
    margin: -2rem;
}
.feature-block.hover-variant-2:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
}

/* Вариант 3: Подсветка с градиентом (Блок 3) */
.feature-block.hover-variant-3:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin-left: -1.5rem;
}

/* Вариант 4: Блоки возможностей — акцент как tech-success.ru */
.feature-block.hover-variant-4 {
    border-radius: 24px;
    padding: 0;
    margin: -2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-block.hover-variant-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #0ea5e9);
    z-index: 1;
}
.feature-block.hover-variant-4:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Вариант 5: Анимация границы (альтернатива для Блока 1) */
.feature-block.hover-variant-5 {
    border-radius: 16px;
    padding: 2rem;
    margin: -2rem;
    position: relative;
    overflow: hidden;
}
.feature-block.hover-variant-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}
.feature-block.hover-variant-5:hover::before {
    left: 100%;
}
.feature-block.hover-variant-5:hover {
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.15);
}
.feature-block.hover-variant-5 > * {
    position: relative;
    z-index: 1;
}
.sb-aqua-logo {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}
.integration-arrow {
    stroke: #3b82f6;
    stroke-width: 2;
    fill: none;
    marker-end: url(#arrowhead);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}
/* Соответствия законодательству — акцентные карточки */
.advantage-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    overflow: hidden;
    border-radius: 24px;
}
.advantage-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.advantage-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #3b82f6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.1);
}
.advantage-card:hover::after {
    opacity: 1;
}
/* Карусель скриншотов */
.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}
.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    flex-shrink: 0;
}
.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.carousel-btn {
    opacity: 0.8;
}
.carousel-btn:hover:not(:disabled) {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}
.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-indicator.active {
    background: #3b82f6;
    width: 24px;
    border-radius: 5px;
}
@media (max-width: 768px) {
    .carousel-btn { padding: 0.5rem; }
    .carousel-btn i { width: 1rem; height: 1rem; }
    .carousel-container { aspect-ratio: 4/3; }
}
/* Screenshot container — картинка слита с блоком (без отдельной тени) */
#capabilities .screenshot-container {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: #f8fafc;
}
#capabilities .screenshot-container img {
    display: block;
}
.screenshot-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
/* Quiz styles — self-contained (no Tailwind dependency) */
.quiz-container {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9990;
    align-items: flex-start;
    justify-content: center;
    padding: calc(var(--nav-h, 64px) + 20px) 16px 24px;
    overflow-y: auto;
    color: #0f172a;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.quiz-container.active {
    display: flex;
}
body.quiz-open {
    overflow: hidden;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.quiz-container__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(6px);
}
.quiz-container__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
}
.quiz-container__card {
    position: relative;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    padding: 2rem;
}
@media (min-width: 768px) {
    .quiz-container__card {
        padding: 3rem;
    }
}
.quiz-container__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s ease;
}
.quiz-container__close:hover {
    background: #f1f5f9;
}
.quiz-progress {
    margin-bottom: 2rem;
}
.quiz-progress__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.quiz-progress__label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #475569;
}
.quiz-progress__pct {
    font-size: 0.875rem;
    font-weight: 700;
    color: #2563eb;
}
.quiz-progress__track {
    width: 100%;
    height: 0.75rem;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}
.quiz-progress__fill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    transition: width 0.5s ease;
}
.quiz-question {
    display: none;
}
.quiz-question.active {
    display: block;
}
.quiz-question__title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 900;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 2rem;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.quiz-option {
    display: block;
    width: 100%;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font: inherit;
    color: inherit;
}
.quiz-option:hover {
    transform: translateY(-2px);
    border-color: #60a5fa;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.quiz-option__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.quiz-option__text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.35;
}
.quiz-option__icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: #94a3b8;
}
.quiz-option.selected {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}
.quiz-option.selected .quiz-option__text,
.quiz-option.selected .quiz-option__icon {
    color: #fff;
}
.quiz-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}
.quiz-nav__prev,
.quiz-nav__next {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}
.quiz-nav__prev {
    padding: 0.75rem 1.5rem;
    background: #f1f5f9;
    color: #334155;
}
.quiz-nav__prev:hover {
    background: #e2e8f0;
}
.quiz-nav__prev.is-hidden {
    display: none;
}
.quiz-nav__next {
    margin-left: auto;
    padding: 1rem 2rem;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}
.quiz-nav__next:hover {
    background: #1d4ed8;
}
.quiz-nav__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}
.quiz-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.quiz-field__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #334155;
}
.quiz-field__required {
    color: #ef4444;
}
.quiz-field__input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    color: #0f172a;
    font-size: 1.125rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}
.quiz-field__input:focus {
    outline: none;
    border-color: #2563eb;
}
.quiz-field__input.is-error {
    border-color: #ef4444;
}
.quiz-agree {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.quiz-agree__checkbox {
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.quiz-agree__text {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.45;
}

.quiz-agree__text .policy-link {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.quiz-captcha {
    margin-top: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}
.quiz-captcha__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #334155;
}
.quiz-captcha__expr {
    color: #2563eb;
    font-weight: 900;
}
.quiz-results__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    border-radius: 9999px;
    background: #dcfce7;
    color: #16a34a;
}
.quiz-results__icon {
    width: 3rem;
    height: 3rem;
}
.quiz-results__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}
.quiz-results__lead {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
}
.quiz-results__summary {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1rem;
    text-align: left;
}
.quiz-results__summary-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1.5rem;
}
.quiz-results__item {
    border-left: 4px solid #2563eb;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-bottom: 1rem;
}
.quiz-results__item:last-child {
    margin-bottom: 0;
}
.quiz-results__question {
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.25rem;
}
.quiz-results__answer {
    color: #475569;
}
.quiz-results__actions {
    text-align: center;
}
.quiz-container__card--results {
    text-align: center;
}
/* Акцентная кнопка "Подобрать решение" — заметная, привлекающая внимание */
.quiz-cta-btn {
    animation: pulse-cta 2s ease-in-out infinite;
    position: relative;
}
.quiz-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}
.quiz-cta-btn:active {
    transform: scale(0.98);
}
@keyframes pulse-cta {
    0%, 100% { box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5); }
    50% { box-shadow: 0 6px 28px rgba(37, 99, 235, 0.8); }
}
.progress-bar {
    transition: width 0.5s ease;
}
/* Видео Rutube */
.aspect-video {
    aspect-ratio: 16 / 9;
}
#rutube-video {
    width: 100%;
    height: 100%;
}
/* Компоненты ServiceBook Аква — сверху/снизу компоненты, посередине картинка с логотипом */
.modules-stack {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.modules-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.modules-row-bottom {
    margin-bottom: 0;
    margin-top: 1.5rem;
}
.modules-center-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
}
.modules-center-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.modules-center-logo {
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.95);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modules-center-logo img {
    max-height: 96px;
    width: auto;
    object-fit: contain;
}
.modules-center-logo .modules-logo-text {
    font-size: 3.5rem;
    font-weight: bold;
}
/* Возможности системы — белый фон на всю ширину экрана */
#capabilities {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
}
/* 6 причин — белый фон на всю ширину экрана */
#reasons-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .modules-row {
        grid-template-columns: 1fr;
        margin-bottom: 1rem;
    }
    .modules-row-bottom { margin-top: 1rem; }
    .modules-connections { display: none; }
}

/* ServiceBook Kiosk — page components */

:root {
    --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --nav-h: 64px;
    --slate-700: #334155;
    --slate-200: #e2e8f0;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font);
}

.sb-kiosk-logo {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* ── Hero (Apple-style, light) ── */

.hero {
    position: relative;
    background: #fbfbfd;
    color: #1d1d1f;
    padding: calc(var(--nav-h) + 48px) 22px 64px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #d2d2d7;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(ellipse 85% 55% at 50% 22%, rgba(251, 251, 253, 0.55) 0%, rgba(251, 251, 253, 0.15) 55%, transparent 100%),
        linear-gradient(180deg, rgba(251, 251, 253, 0.35) 0%, rgba(251, 251, 253, 0.08) 50%, transparent 100%),
        url('../images/hero-bg.png');
    background-size: auto, auto, cover;
    background-position: center, center, center bottom;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero__stage {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 8px;
}

.hero__headline {
    font-size: clamp(36px, 5.8vw, 64px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.hero__subhead {
    font-size: clamp(19px, 2.4vw, 24px);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.25;
    color: #1d1d1f;
    max-width: 42em;
    margin: 0 auto 8px;
}

.hero__subhead-br {
    display: none;
}

@media (min-width: 735px) {
    .hero__subhead-br {
        display: inline;
    }
}

.hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 500;
    line-height: 1.381;
    text-decoration: none;
    border-radius: 980px;
    border: 1px solid transparent;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero__btn--primary {
    color: var(--white);
    background: var(--black);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.hero__btn--primary:hover {
    background: #333336;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
    transform: scale(1.02);
}

.hero__btn--secondary {
    color: var(--black);
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

.hero__btn--secondary:hover {
    background: rgba(0, 0, 0, 0.07);
    border-color: #d2d2d7;
    transform: scale(1.02);
}

.hero__btn--leaflet {
    color: var(--white);
    background: #0071e3;
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(0, 113, 227, 0.28);
}

.hero__btn--leaflet:hover {
    background: #0077ed;
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.36);
    transform: scale(1.02);
}

.hero__btn:active {
    transform: scale(0.98);
}

.hero__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1080px;
    margin: 32px auto 0;
    text-align: left;
}

.hero__nav-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 20px;
    text-decoration: none;
    color: #1d1d1f;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero__nav-item:hover {
    border-color: var(--item-accent, #0066cc);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.hero__nav-visual {
    position: relative;
    aspect-ratio: 16 / 10;
    padding: 14px 16px 10px;
    background: linear-gradient(
        160deg,
        color-mix(in srgb, var(--item-accent, #0066cc) 14%, #fff) 0%,
        #fbfbfd 100%
    );
    border-bottom: 1px solid #ececf0;
}

.hero__nav-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.hero__nav-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px 22px 24px;
    border-top: 3px solid var(--item-accent, #0066cc);
}

.hero__nav-industry {
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--item-accent, #0066cc);
}

.hero__nav-solution {
    font-size: clamp(12px, 1.2vw, 13px);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    color: #6e6e73;
}

.hero__nav-tagline {
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 400;
    line-height: 1.35;
    color: #6e6e73;
    margin-top: 2px;
}

/* ── Insights (Apple-style) ── */

.insights {
    background: #fbfbfd;
    border-top: 1px solid #d2d2d7;
    border-bottom: 1px solid #d2d2d7;
    padding: 80px 22px 72px;
}

.insights__inner {
    max-width: 980px;
    margin: 0 auto;
}

.insights__header {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.insights__eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6e6e73;
    margin-bottom: 12px;
}

.insights__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.insights__lead {
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 400;
    line-height: 1.381;
    color: #1d1d1f;
    margin-bottom: 28px;
}

.insights__stat-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.insights__stat {
    font-size: clamp(40px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #1d1d1f;
}

.insights__stat-label {
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.381;
    color: #6e6e73;
}

.insights__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.insights__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding: 22px 20px 20px;
    font-family: var(--font);
    text-align: left;
    background: color-mix(in srgb, var(--card-tint, #fff) 7%, #fff);
    border: 1px solid color-mix(in srgb, var(--card-tint, #d2d2d7) 22%, #d2d2d7);
    border-radius: 18px;
    cursor: pointer;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.insights__card:hover {
    background: color-mix(in srgb, var(--card-tint, #fff) 11%, #fff);
    border-color: color-mix(in srgb, var(--card-tint, #d2d2d7) 38%, #d2d2d7);
    box-shadow: 0 8px 28px color-mix(in srgb, var(--card-tint, #000) 10%, transparent);
    transform: translateY(-2px);
}

.insights__card:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--card-tint, #0066cc) 60%, #0066cc);
    outline-offset: 2px;
}

.insights__card-title {
    font-size: clamp(17px, 1.8vw, 19px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #1d1d1f;
}

.insights__card-teaser {
    font-size: clamp(14px, 1.5vw, 15px);
    line-height: 1.45;
    color: #6e6e73;
    flex: 1;
}

.insights__card-more {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.381;
    color: color-mix(in srgb, var(--card-tint, #0066cc) 72%, #0066cc);
    margin-top: 4px;
}

.insights__formula {
    max-width: 560px;
    margin: 40px auto 0;
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.45;
    color: #6e6e73;
    text-align: center;
}

.insight-article {
    display: flex;
    flex-direction: column;
    max-height: min(82vh, 720px);
}

.insight-article__header {
    flex-shrink: 0;
    padding: 32px 36px 20px;
    border-bottom: 1px solid #e8e8ed;
}

.insight-article__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #86868b;
    margin-bottom: 8px;
}

.insight-article__title {
    font-size: clamp(22px, 3.2vw, 28px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: #1d1d1f;
    padding-right: 28px;
}

.insight-article__body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 36px 32px;
    scroll-behavior: smooth;
}

.insight-article__section {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f5;
    scroll-margin-top: 12px;
    transition: background 0.3s var(--ease);
}

.insight-article__section:last-child {
    border-bottom: none;
}

.insight-article__section.is-focused {
    background: linear-gradient(90deg, rgba(0, 113, 227, 0.06) 0%, transparent 100%);
    margin: 0 -16px;
    padding: 20px 16px;
    border-radius: 12px;
    border-bottom-color: transparent;
}

.insight-article__section--sub.is-focused {
    background: linear-gradient(90deg, rgba(255, 149, 0, 0.08) 0%, transparent 100%);
}

.insight-article__heading {
    font-size: clamp(17px, 1.9vw, 19px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.insight-article__subtitle {
    font-size: 13px;
    font-style: italic;
    color: #86868b;
    margin-bottom: 12px;
}

.insight-article__subheading {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 14px 0 8px;
}

.insight-article__text {
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.5;
    color: #6e6e73;
    margin-bottom: 12px;
}

.insight-article__text:last-child {
    margin-bottom: 0;
}

.insight-article__list {
    margin: 0 0 12px;
    padding-left: 1.2em;
    color: #6e6e73;
}

.insight-article__list li {
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.5;
    margin-bottom: 6px;
}

.modal--insight .modal__dialog {
    max-width: 680px;
}

.modal--insight .modal__body {
    overflow: hidden;
}

/* ── Product sections ── */

.product {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 40px) 22px 80px;
    position: relative;
    overflow: hidden;
}

.product--dark {
    background: var(--black);
    color: var(--white);
}

.product--light {
    background: var(--white);
    color: var(--black);
}

.product__inner {
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product__eyebrow {
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.product__title {
    font-size: clamp(40px, 5.8vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 14px;
}

.product__tagline {
    font-size: clamp(21px, 2.5vw, 28px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 0.004em;
    line-height: 1.25;
}

.product--light .product__tagline {
    color: var(--black);
}

.product__desc {
    font-size: clamp(17px, 1.9vw, 19px);
    font-weight: 400;
    color: var(--gray);
    line-height: 1.47;
    margin-bottom: 32px;
    max-width: 480px;
}

.product--dark .product__tagline {
    color: #f5f5f7;
}

.product--dark .product__desc {
    color: #d2d2d7;
}

.product--light .product__desc {
    color: #6e6e73;
}

.product__specs {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    max-width: 480px;
}

.product--light .product__specs {
    background: rgba(0, 0, 0, 0.06);
}

.product__spec {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: rgba(29, 29, 31, 0.6);
}

.product--light .product__spec {
    background: rgba(255, 255, 255, 0.8);
}

.product__spec-label {
    font-size: clamp(12px, 1.3vw, 14px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray);
}

.product--dark .product__spec-label {
    color: #a1a1a6;
}

.product--light .product__spec-label {
    color: #86868b;
}

.product__spec-value {
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 600;
    letter-spacing: 0.004em;
    line-height: 1.381;
}

.product--dark .product__spec-value {
    color: #f5f5f7;
}

.product--dark .product__spec {
    background: rgba(255, 255, 255, 0.1);
}

.product--reversed .product__inner {
    direction: rtl;
}

.product--reversed .product__inner > * {
    direction: ltr;
}

.product__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.product__seo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 980px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.product--light .product__seo-btn {
    color: var(--black);
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

.product__seo-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--accent);
    transform: scale(1.02);
}

.product--light .product__seo-btn:hover {
    background: rgba(0, 0, 0, 0.07);
}

.product__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 500;
    line-height: 1.381;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 980px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), gap 0.3s var(--ease);
}

.product--light .product__link {
    color: var(--black);
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

.product__link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--accent);
    transform: scale(1.02);
    gap: 10px;
}

.product--light .product__link:hover {
    background: rgba(0, 0, 0, 0.07);
}

/* ── SEO Modal ── */

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal__dialog {
    position: relative;
    width: 100%;
    max-width: 820px;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s var(--ease);
}

.modal.is-open .modal__dialog {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    color: #1d1d1f;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.modal__close:hover {
    background: #fff;
}

.modal__body {
    overflow: hidden;
}

.seo-article {
    display: flex;
    flex-direction: column;
}

.seo-article__masthead {
    display: grid;
    grid-template-columns: minmax(220px, 34%) 1fr;
    align-items: stretch;
    border-bottom: 1px solid #e8e8ed;
}

/* Slider */

.seo-slider {
    position: relative;
    flex-shrink: 0;
    background: #000;
    min-height: 0;
}

.seo-slider__track {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #1d1d1f;
}

.seo-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.seo-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.seo-slider__zoom {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
}

.seo-slider__zoom:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.seo-slider__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    pointer-events: none;
}

.seo-slider__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 12px 8px;
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.seo-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s, background 0.25s;
}

.seo-slider:hover .seo-slider__btn {
    opacity: 1;
}

.seo-slider__btn:hover {
    background: rgba(0, 0, 0, 0.65);
}

.seo-slider__btn--prev { left: 10px; }
.seo-slider__btn--next { right: 10px; }

.seo-slider__dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.seo-slider__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.seo-slider__dot.is-active {
    background: var(--white);
    transform: scale(1.3);
}

/* Header */

.seo-article__header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 24px;
}

.seo-article__eyebrow {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--modal-accent, #0066cc);
    margin-bottom: 8px;
}

.seo-article__title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #1d1d1f;
}

/* Tabs */

.seo-tabs {
    padding: 16px 24px 20px;
}

.seo-tabs__nav {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: #f5f5f7;
    border-radius: 12px;
    margin-bottom: 16px;
}

.seo-tabs__btn {
    flex: 1;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    color: #6e6e73;
    background: transparent;
    border: none;
    border-radius: 9px;
    padding: 10px 12px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.seo-tabs__btn.is-active {
    color: #1d1d1f;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.seo-tabs__btn:hover:not(.is-active) {
    color: #1d1d1f;
}

.seo-tabs__panels {
    min-height: 0;
}

.seo-tabs__panel {
    display: none;
}

.seo-tabs__panel.is-active {
    display: block;
    animation: tab-in 0.3s var(--ease);
}

@keyframes tab-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.seo-article__intro {
    font-size: 17px;
    line-height: 1.47;
    color: #6e6e73;
    margin-bottom: 14px;
}

.seo-article__highlights {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.seo-article__highlight {
    padding: 12px 14px;
    background: #f5f5f7;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
}

.seo-article__highlight-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
    margin-bottom: 6px;
}

.seo-article__highlight-value {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.35;
}

.seo-article__list--grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.seo-article__item {
    padding: 14px;
    background: #f5f5f7;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
}

.seo-article__item-name {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.seo-article__item-desc {
    display: block;
    font-size: 15px;
    line-height: 1.47;
    color: #6e6e73;
}

.seo-article__steps--grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.seo-article__step {
    display: flex;
    gap: 10px;
    padding: 14px;
    background: #f5f5f7;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
    align-items: flex-start;
}

.seo-article__step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--modal-accent, #0066cc);
    background: color-mix(in srgb, var(--modal-accent, #0066cc) 14%, #fff);
    border-radius: 50%;
}

.seo-article__step-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.seo-article__step-title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.seo-article__step-desc {
    font-size: 15px;
    line-height: 1.47;
    color: #6e6e73;
}

body.modal-open {
    overflow: hidden;
}

/* ── SEO image lightbox ── */

.seo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.seo-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.seo-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.seo-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: 92vh;
    padding-top: 44px;
}

.seo-lightbox__figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 0;
}

.seo-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: min(78vh, 760px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.seo-lightbox__caption {
    max-width: 720px;
    font-size: 15px;
    line-height: 1.47;
    color: #f5f5f7;
    text-align: center;
}

.seo-lightbox__close {
    position: absolute;
    top: -8px;
    right: 0;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.seo-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.seo-lightbox__nav {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.seo-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.seo-lightbox__nav--prev {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
}

.seo-lightbox__nav--next {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .seo-lightbox__nav--prev {
        left: 4px;
    }

    .seo-lightbox__nav--next {
        right: 4px;
    }
}

.product__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product__img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

.product__img-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product__img-link:hover .product__img {
    transform: scale(1.04);
}

.product__img-link:focus-visible {
    outline: 2px solid var(--accent, #30d158);
    outline-offset: 4px;
    border-radius: 20px;
}

.product--light .product__img-wrap {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.product__img {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.product__visual.is-visible .product__img {
    transform: scale(1.02);
}

/* Decorative glow */

.product::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.06;
    filter: blur(120px);
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    pointer-events: none;
}

.product--light::before {
    opacity: 0.08;
    right: auto;
    left: -10%;
}

/* ── Contact form (Apple style) ── */

.contact {
    background: #f5f5f7;
    padding: 80px 22px 96px;
}

.contact__inner {
    max-width: 560px;
    margin: 0 auto;
}

.contact__header {
    text-align: center;
    margin-bottom: 40px;
}

.contact__eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: 8px;
}

.contact__title {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1d1d1f;
    margin-bottom: 14px;
    line-height: 1.05;
}

.contact__desc {
    font-size: clamp(17px, 1.9vw, 19px);
    line-height: 1.381;
    color: #6e6e73;
    max-width: 480px;
    margin: 0 auto;
}

.contact__form {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.contact__label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.contact__input {
    display: block;
    width: 100%;
    font-family: var(--font);
    font-size: 16px;
    color: #1d1d1f;
    background: #f5f5f7;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 14px 16px;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.contact__input::placeholder {
    color: #86868b;
}

.contact__input:hover {
    background: #eeeef0;
}

.contact__input:focus {
    background: #fff;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.contact__input--error {
    border-color: #ff3b30 !important;
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12) !important;
}

.contact__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact__row .form-group {
    margin-bottom: 0;
}

.contact__agree {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0 28px;
    cursor: pointer;
}

.contact__checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--blue-600);
    cursor: pointer;
}

.contact__agree-text {
    font-size: 15px;
    line-height: 1.47;
    color: #6e6e73;
}

.contact__error {
    display: block;
    font-size: 12px;
    color: #ff3b30;
    margin-top: 6px;
}

.contact__error--agree {
    margin: -16px 0 20px;
}

.contact__submit {
    display: block;
    width: 100%;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: var(--blue-600);
    border: none;
    border-radius: 980px;
    padding: 16px 24px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.contact__submit:hover {
    background: var(--blue-700);
    transform: scale(1.01);
}

.contact__success {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(48, 209, 88, 0.2);
}

.contact__success-title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.contact__success-text {
    font-size: 14px;
    color: #6e6e73;
}

.contact__message {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.47;
    text-align: center;
}

.contact__message--success {
    color: #248a3d;
}

.contact__message--error {
    color: #d70015;
}

.contact__phone-alt {
    text-align: center;
    margin-top: 24px;
    font-size: 15px;
    color: #86868b;
}

.contact__phone-alt a {
    color: var(--blue-600);
    text-decoration: none;
    font-weight: 500;
}

.contact__phone-alt a:hover {
    text-decoration: underline;
}

.contact__captcha {
    display: flex;
    align-items: center;
    gap: 10px 12px;
    flex-wrap: wrap;
    margin: 16px 0 20px;
}

.contact__captcha-label {
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    margin: 0;
    white-space: nowrap;
}

.contact__captcha-input {
    width: 72px;
    flex: 0 0 72px;
    padding: 10px 12px;
    text-align: center;
}

.contact__captcha-expr {
    color: var(--blue-600);
    font-weight: 700;
}

.contact__captcha-refresh {
    font-family: var(--font);
    font-size: 18px;
    line-height: 1;
    color: var(--blue-600);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    transition: color 0.2s;
}

.contact__captcha-refresh:hover {
    color: var(--blue-700);
    text-decoration: underline;
}

/* ── FAQ ── */

.faq {
    padding: 72px 22px;
    background: #fff;
    border-top: 1px solid #d2d2d7;
}

.faq__inner {
    max-width: 720px;
    margin: 0 auto;
}

.faq__header {
    text-align: center;
    margin-bottom: 32px;
}

.faq__eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin: 0 0 8px;
}

.faq__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #1d1d1f;
    margin: 0 0 12px;
}

.faq__intro {
    font-size: 17px;
    line-height: 1.47;
    color: #6e6e73;
    margin: 0;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq__item {
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq__item[open] {
    border-color: rgba(37, 99, 235, 0.25);
    background: #fbfbfd;
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #1d1d1f;
    cursor: pointer;
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__chevron {
    flex-shrink: 0;
    color: #86868b;
    transition: transform 0.2s var(--ease);
}

.faq__item[open] .faq__chevron {
    transform: rotate(180deg);
    color: var(--blue-600);
}

.faq__answer {
    padding: 0 18px 16px;
}

.faq__answer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #424245;
}

/* ── Hero */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 900px) and (min-width: 769px) {
    .hero__nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__nav-item:last-child {
        grid-column: 1 / -1;
        max-width: 420px;
        justify-self: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--nav-h) + 28px);
    }

    .hero__stage {
        padding-bottom: 28px;
    }

    .hero__nav {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 24px;
    }

    .hero__nav-body {
        padding: 16px 18px 20px;
    }

    .hero__cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 20px;
        padding: 0 4px;
    }

    .hero__btn {
        width: 100%;
    }

    .insights {
        padding: 56px 22px 48px;
    }

    .insights__header {
        margin-bottom: 36px;
    }

    .insights__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .product--reversed .product__inner {
        direction: ltr;
    }

    .product__visual {
        order: -1;
    }

    .product__desc,
    .product__specs {
        margin-left: auto;
        margin-right: auto;
    }

    .product__actions {
        justify-content: center;
    }

    .seo-article__masthead {
        grid-template-columns: 1fr;
    }

    .seo-slider__track {
        height: 180px;
    }

    .seo-article__header,
    .seo-tabs {
        padding-left: 16px;
        padding-right: 16px;
    }

    .seo-article__header {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .seo-article__list--grid,
    .seo-article__steps--grid {
        grid-template-columns: 1fr 1fr;
    }

    .seo-article__highlights {
        grid-template-columns: 1fr 1fr;
    }

    .seo-tabs__btn {
        font-size: 13px;
        padding: 10px 8px;
    }

    .seo-slider__btn {
        opacity: 1;
    }

    .product__img {
        max-width: 320px;
        margin: 0 auto;
    }

    .contact__captcha {
        flex-wrap: wrap;
    }

    .contact__captcha-label {
        flex: 1 1 auto;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
    }

    .footer__col--lead {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .insights__grid {
        grid-template-columns: 1fr;
    }

    .insight-article__header {
        padding: 24px 22px 16px;
    }

    .insight-article__body {
        padding: 8px 22px 24px;
    }
}

@media (max-width: 480px) {

    .product__specs {
        grid-template-columns: 1fr;
    }

    .contact__row {
        grid-template-columns: 1fr;
    }

    .contact__form {
        padding: 24px 20px;
    }
}
