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

:root {
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --black: #1d1d1f;
    --white: #f5f5f7;
    --gray: #86868b;
    --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);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

/* ── Navigation (ServiceBook family style) ── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    transition: box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.nav__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .nav__container {
        padding: 0 24px;
    }
}

.nav__inner {
    position: relative;
    height: var(--nav-h);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

@media (min-width: 1280px) {
    .nav__inner {
        gap: 20px;
    }
}

.nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
    z-index: 2;
}

.nav__logo-img {
    height: 40px;
    width: auto;
}


.nav__center {
    display: none;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
}

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

@media (min-width: 1280px) {
    .nav__center {
        gap: 20px;
    }
}

.nav__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

@media (min-width: 1280px) {
    .nav__link {
        font-size: 14px;
    }
}

.nav__link[aria-current="page"] {
    color: var(--blue-600);
}

.nav__link:hover {
    color: var(--blue-600);
}

.nav__link--btn,
.nav__mobile-link--btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.nav__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    z-index: 2;
}

@media (min-width: 1280px) {
    .nav__actions {
        gap: 12px;
    }
}

.nav__phone--desktop {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-600);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

@media (min-width: 1024px) {
    .nav__phone--desktop {
        display: inline-flex;
    }
}

@media (min-width: 1280px) {
    .nav__phone--desktop {
        font-size: 14px;
    }
}

.nav__phone--desktop:hover {
    color: var(--blue-700);
}

.nav__phone--desktop svg {
    flex-shrink: 0;
}

.nav__call-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 148px;
    padding: 8px 12px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__call-mobile:active {
    transform: scale(0.98);
}

@media (min-width: 1024px) {
    .nav__call-mobile {
        display: none;
    }
}

.nav__call-mobile__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.nav__call-mobile__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    line-height: 1.15;
}

.nav__call-mobile__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.9;
}

.nav__call-mobile__number {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

@media (min-width: 390px) {
    .nav__call-mobile {
        max-width: none;
        padding: 8px 14px;
    }

    .nav__call-mobile__number {
        font-size: 13px;
    }
}

.nav__quiz-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    border-radius: 9999px;
    background: var(--blue-600);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__quiz-btn svg {
    flex-shrink: 0;
}

.nav__quiz-btn:hover {
    background: var(--blue-700);
}

@media (min-width: 1024px) {
    .nav__quiz-btn {
        display: inline-flex;
    }
}

.nav__quiz-btn--mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
}

@media (min-width: 1024px) {
    .nav__quiz-btn--mobile {
        display: none;
    }
}

.nav__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: none;
    border: none;
    color: var(--slate-700);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav__burger:hover {
    background: rgba(0, 0, 0, 0.04);
}

@media (min-width: 1024px) {
    .nav__burger {
        display: none;
    }
}

.nav__mobile {
    background: #fff;
    border-top: 1px solid var(--slate-200);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.nav__mobile-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav__mobile-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.2s;
}

.nav__mobile-link:hover {
    color: var(--blue-600);
}

.nav__mobile-link[aria-current="page"] {
    color: var(--blue-600);
}

.nav__call-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__call-card:active {
    transform: scale(0.99);
}

.nav__call-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
}

.nav__call-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.nav__call-card__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.92;
}

.nav__call-card__number {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.nav__call-card__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

.policy-link {
    color: var(--blue-600);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.policy-link:hover {
    color: var(--blue-700);
}

/* ServiceBook logo */

.sb-logo {
    display: block;
    height: 40px;
    width: auto;
}

.sb-logo__brand {
    fill: #3d3d3d;
}

.sb-logo__product {
    fill: #2EC4E8;
}

.sb-logo--nav {
    height: 40px;
    width: auto;
}

.sb-logo--footer {
    height: 26px;
    width: auto;
}

.footer .sb-logo__brand {
    fill: #a1a1a6;
}

.footer .sb-logo__product {
    fill: #2EC4E8;
    opacity: 0.85;
}

/* ── 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__selection {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(0, 113, 227, 0.08);
    border: 1px solid rgba(0, 113, 227, 0.18);
    font-size: 15px;
    line-height: 1.4;
}

.contact__selection-label {
    color: #6e6e73;
    font-weight: 500;
}

.contact__selection-value {
    color: #0071e3;
    font-weight: 600;
}

.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;
}

/* ── Footer ── */

.footer {
    background: #1d1d1f;
    padding: 32px 22px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #f5f5f7;
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto 16px;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 0.85fr 0.55fr;
    gap: 24px 32px;
    align-items: start;
}

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

.footer__brand-name {
    font-size: 15px;
    font-weight: 600;
    color: #f5f5f7;
    margin: 0;
    letter-spacing: -0.01em;
}

.footer__tagline {
    font-size: 13px;
    line-height: 1.45;
    color: #86868b;
    max-width: 280px;
    margin: 0;
}

.footer__contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 4px;
}

.footer__phone {
    font-size: 14px;
    font-weight: 600;
    color: #2997ff;
    text-decoration: none;
}

.footer__phone:hover {
    text-decoration: underline;
}

.footer__inline-link {
    font-size: 13px;
    font-weight: 500;
    color: #a1a1a6;
    text-decoration: none;
    transition: color 0.2s;
}

.footer__inline-link:hover {
    color: #2997ff;
}

.footer__heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a1a1a6;
    margin: 0 0 10px;
}

.footer__col-intro {
    font-size: 13px;
    line-height: 1.4;
    color: #a1a1a6;
    margin: 0 0 10px;
}

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.footer__list a {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #f5f5f7;
    text-decoration: none;
    transition: color 0.2s;
}

.footer__list a:hover {
    color: #2997ff;
}

.footer__list-desc {
    display: none;
}

.footer__bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__copy {
    font-size: 12px;
    color: #6e6e73;
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

.footer__policy-link {
    color: #86868b;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.footer__policy-link:hover {
    color: #2997ff;
}

.contact__agree-text .policy-link {
    color: #0071e3;
}

/* ── Scroll animations ── */

.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;
    }

    .catalog-grid__inner {
        grid-template-columns: 1fr;
    }

    .catalog-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-card__order {
        width: 100%;
        text-align: center;
    }
}

/* ── Catalog page (/kioski) ── */

.catalog-hero {
    background: #fbfbfd;
    padding: calc(var(--nav-h) + 48px) 22px 56px;
    text-align: center;
}

.catalog-hero__inner {
    max-width: 780px;
    margin: 0 auto;
}

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

.catalog-hero__title {
    font-size: clamp(40px, 5.5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.catalog-hero__subtitle {
    font-size: clamp(21px, 2.5vw, 28px);
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 16px;
    line-height: 1.25;
}

.catalog-hero__lead {
    font-size: clamp(17px, 1.9vw, 19px);
    line-height: 1.47;
    color: #6e6e73;
    margin-bottom: 0;
}

.catalog-hero__specs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}

.catalog-hero__spec {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 100px;
}

.catalog-hero__spec-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
}

.catalog-hero__spec-value {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
}

.catalog-grid {
    background: #fff;
    padding: 24px 22px 48px;
}

.catalog-grid__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    background: #fbfbfd;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.catalog-card:nth-child(4),
.catalog-card:nth-child(5) {
    grid-column: span 1;
}

.catalog-card__visual {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 280px;
    padding: 32px 24px 0;
    background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}

.catalog-card__img-btn {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.catalog-card__img-btn:hover {
    transform: scale(1.02);
}

.catalog-card__img-btn:focus-visible {
    outline: 2px solid #0071e3;
    outline-offset: 4px;
}

.catalog-card__zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1d1d1f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.catalog-card__img-btn:hover .catalog-card__zoom,
.catalog-card__img-btn:focus-visible .catalog-card__zoom {
    opacity: 1;
}

.catalog-card__img {
    max-width: 100%;
    max-height: 260px;
    width: auto;
    height: auto;
    object-fit: cover;
    object-position: center bottom;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.12));
}

.catalog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 28px;
    text-align: left;
}

.catalog-card__series {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0071e3;
    margin-bottom: 6px;
}

.catalog-card__name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.catalog-card__desc {
    font-size: 15px;
    line-height: 1.45;
    color: #6e6e73;
    margin-bottom: 16px;
}

.catalog-card__specs {
    list-style: none;
    margin-bottom: 12px;
}

.catalog-card__spec {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 13px;
}

.catalog-card__spec:last-child {
    border-bottom: none;
}

.catalog-card__spec-label {
    color: #86868b;
    font-weight: 500;
}

.catalog-card__spec-value {
    color: #1d1d1f;
    font-weight: 600;
    text-align: right;
}

.catalog-card__use {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 20px;
}

.catalog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 8px;
}

.catalog-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
}

.catalog-card__price-label {
    font-size: 13px;
    color: #6e6e73;
    font-weight: 500;
}

.catalog-card__price-value {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
}

.catalog-card__price-currency {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
}

.catalog-card__order {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    background: #1d1d1f;
    color: #fff;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
}

.catalog-card__order:hover {
    background: #0071e3;
}

.catalog-card__order:active {
    transform: scale(0.98);
}

.catalog-order {
    /* legacy — форма перенесена в модальное окно */
}

.modal--order .modal__dialog {
    max-width: 560px;
    width: calc(100% - 32px);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
}

.modal--order .modal__body {
    overflow: auto;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
}

.catalog-order__body {
    padding: 36px 28px 32px;
}

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

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

.catalog-order__eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6e6e73;
    margin-bottom: 8px;
}

.catalog-order__title {
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.catalog-order__desc {
    font-size: 17px;
    line-height: 1.47;
    color: #6e6e73;
}

.catalog-order__selection {
    background: rgba(0, 113, 227, 0.08);
    border-color: rgba(0, 113, 227, 0.18);
}

.seo-article__footer {
    padding: 20px 28px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.seo-article__site-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--modal-accent, #0071e3);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.seo-article__site-link:hover {
    opacity: 0.8;
}

@media (min-width: 1025px) {
    .catalog-grid__inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .catalog-grid__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog-grid__inner {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .catalog-hero__specs {
        flex-direction: column;
        align-items: center;
    }
}

/* ── Catalog detail modal ── */

.modal--catalog .modal__dialog {
    max-width: 1040px;
    width: calc(100% - 32px);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
}

.modal--catalog .modal__body {
    padding: 0;
    overflow: auto;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
}

.catalog-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0;
    min-height: 520px;
}

.catalog-detail__gallery {
    background: #f5f5f7;
    padding: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.catalog-detail__slider {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f5f5f7 !important;
    min-height: 480px;
}

.catalog-detail__slider .seo-slider__track {
    position: relative;
    height: auto;
    flex: 1;
    min-height: 480px;
    max-height: min(72vh, 640px);
    overflow: hidden;
    background: #f5f5f7;
}

.catalog-detail__slider .seo-slider__slide {
    display: flex;
    flex-direction: column;
}

.catalog-detail__slider .seo-slider__img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    max-height: min(72vh, 640px);
    object-fit: cover;
    object-position: center center;
}

.catalog-detail__slider .seo-slider__slide--contain .seo-slider__img {
    object-fit: contain;
    object-position: center center;
    padding: 20px;
    background: #fff;
}

.catalog-detail__slider .seo-slider__caption {
    padding: 28px 16px 12px;
    font-size: 14px;
}

.catalog-detail__slider .seo-slider__btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.92);
    color: #1d1d1f;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    opacity: 1;
}

.catalog-detail__slider .seo-slider__btn:hover {
    background: #fff;
}

.catalog-detail__slider .seo-slider__dots {
    bottom: 12px;
}

.catalog-detail__slider .seo-slider__dot {
    background: rgba(0, 0, 0, 0.2);
}

.catalog-detail__slider .seo-slider__dot.is-active {
    background: #0071e3;
}

.catalog-detail__info {
    padding: 28px 28px 32px;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
}

.catalog-detail__series {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0071e3;
    margin-bottom: 6px;
}

.catalog-detail__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.catalog-detail__desc {
    font-size: 15px;
    line-height: 1.45;
    color: #6e6e73;
    margin-bottom: 16px;
}

.catalog-detail__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 0 0 24px;
}

.catalog-detail__price-label {
    font-size: 14px;
    color: #6e6e73;
}

.catalog-detail__price-value {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
}

.catalog-detail__price-currency {
    font-size: 18px;
    font-weight: 600;
}

.catalog-detail__specs {
    margin-bottom: 24px;
}

.catalog-detail__spec-group {
    margin-bottom: 20px;
}

.catalog-detail__spec-group--platform {
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.catalog-detail__spec-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1d1d1f;
}

.catalog-detail__spec-subtitle {
    font-size: 13px;
    color: #6e6e73;
    margin-bottom: 12px;
}

.catalog-detail__spec-subheading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0071e3;
    margin: 14px 0 8px;
}

.catalog-detail__spec-subheading:first-of-type {
    margin-top: 0;
}

.catalog-detail__spec-list {
    margin: 0;
}

.catalog-detail__spec-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 14px;
    line-height: 1.4;
}

.catalog-detail__spec-row:last-child {
    border-bottom: none;
}

.catalog-detail__spec-row dt {
    color: #6e6e73;
    font-weight: 500;
    flex-shrink: 0;
}

.catalog-detail__spec-row dd {
    margin: 0;
    text-align: right;
    font-weight: 500;
    color: #1d1d1f;
}

.catalog-detail__order {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    padding: 14px 24px;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    background: #1d1d1f;
    color: #fff;
    transition: background 0.2s ease;
}

.catalog-detail__order:hover {
    background: #0071e3;
}

@media (max-width: 768px) {
    .catalog-detail__layout {
        grid-template-columns: 1fr;
    }

    .catalog-detail__gallery {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .catalog-detail__slider .seo-slider__track,
    .catalog-detail__slider .seo-slider__img {
        min-height: 320px;
        max-height: 50vh;
    }

    .catalog-detail__info {
        max-height: none;
    }
}
