/* Scoped Hybrid Homepage 2.0 preview — production `/` is unaffected. */

.page-homepage-preview {
    --hp-ink: #10374c;
    --hp-ink-soft: #3d4a53;
    --hp-muted: #6b7280;
    --hp-line: #e5e7eb;
    --hp-soft: #eef4fc;
    --hp-soft-2: #f7fafc;
    --hp-blue: #1b91e0;
    --hp-blue-dark: #157dc4;
    --hp-radius: 12px;
    --hp-radius-lg: 16px;
    background: var(--bg-color-primary, #f1f6ff);
    color: var(--hp-ink-soft);
}

.page-homepage-preview .main {
    overflow-x: clip;
}

.page-homepage-preview .hp-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 100%;
}

/* Keep section content stacked inside production .container-wrapper (flex row). */
.page-homepage-preview .hp-section > .container-wrapper {
    flex-direction: column;
    align-items: stretch;
}

.page-homepage-preview .hp-stack--center {
    align-items: center;
    text-align: center;
}

/* ── Hero refinements on top of production .price-predictor ─────────────────
   Background, padding, airplane (aircraft_track.svg), nav tabs, and search form
   come from shared product styles. Preview only adds a compact label + signals. */

/* Sticky header (~48px nav) offset when feature CTAs jump to Hero (#price-predictor). */
.page-homepage-preview #price-predictor {
    scroll-margin-top: 64px;
}

/* Hero badge + header flex / H1 line-height: shared via `.price-predictor-header`
   in _ch01_price-predictor.scss so category nav tiles align across product landings. */

.page-homepage-preview .hp-signals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.page-homepage-preview .hp-signals li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color-light, #fff);
}

.page-homepage-preview .hp-signals__check {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #fff;
    display: block;
}

@media (min-width: 1025px) {
    .page-homepage-preview .hp-signals {
        margin-top: 16px;
        gap: 10px 28px;
    }

    .page-homepage-preview .hp-signals li {
        font-size: 14px;
    }
}

/* ── As seen in (press logos) — compact strip between hero and next section ─
   Seven equal-width slots; logos sit directly on white — no cards/containers.
   Selectors match production nesting so preview overrides win. */

.page-homepage-preview .brand-showcase {
    padding: 26px 16px;
    background-color: var(--bg-color-white, #fff);
    overflow: visible;
}

.page-homepage-preview .brand-showcase .container-wrapper {
    flex-direction: column;
    align-items: center;
}

.page-homepage-preview .brand-showcase-title {
    margin: 0 0 14px;
    color: #5b6570;
    font-family: "Open Sans", Overpass, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
}

.page-homepage-preview .brand-showcase .container-wrapper .scroll-container {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    overflow: visible;
    cursor: default;
    user-select: auto;
}

.page-homepage-preview .brand-showcase .container-wrapper .scroll-container:active {
    cursor: default;
}

/* Mobile: centered wrap → natural 4 + 3 rows */
.page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 18px;
    max-width: 100%;
    overflow: visible;
    cursor: default;
    user-select: auto;
    -webkit-overflow-scrolling: auto;
}

/* Strip production card chrome: no bg / border / shadow / fixed cell height */
.page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link {
    flex: 0 0 calc(25% - 14px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 88px;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: opacity 0.15s ease;
}

.page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:hover {
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0.78;
}

.page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:focus-visible {
    outline: 2px solid rgba(27, 145, 224, 0.45);
    outline-offset: 4px;
    border-radius: 2px;
}

.page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link .brand-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: 38px;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

/* Optical tweaks for intrinsic whitespace / dense marks (mobile) */
.page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(1) .brand-image {
    height: 36px; /* MUO — dense */
}

.page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(3) .brand-image {
    height: 40px; /* Tutto — stacked */
}

.page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(5) .brand-image {
    height: 40px; /* Beebom — wide plate; +2 optical vs PH squares */
}

.page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(6) .brand-image {
    height: 38px; /* Techwiser — match PH / row-1 default */
}

.page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(7) .brand-image {
    height: 38px; /* Starter Story — match PH / row-1 default */
}

/* Mobile only: Beebom (~2.28:1) overflows a 25% flex slot; without this, fixed height letterboxes. */
@media (max-width: 767px) {
    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(5) {
        flex: 0 0 auto;
        max-width: none;
    }
}

@media (min-width: 768px) {
    .page-homepage-preview .brand-showcase {
        padding: 28px 20px;
    }

    .page-homepage-preview .brand-showcase-title {
        font-size: 14px;
        margin-bottom: 14px;
    }

    /* ~920–970px centered track; 7 equal slots; logos not stretched */
    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container {
        max-width: 940px;
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        flex-wrap: unset;
        justify-content: unset;
        justify-items: center;
        align-items: center;
        gap: 0;
        column-gap: 6px;
        row-gap: 0;
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link {
        flex: unset;
        width: 100%;
        max-width: none;
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link .brand-image {
        height: 44px;
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(1) .brand-image {
        height: 42px; /* MUO — dense red block */
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(2) .brand-image {
        height: 44px; /* Product Hunt */
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(3) .brand-image {
        height: 46px; /* Tutto Android — stacked mark */
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(4) .brand-image {
        height: 44px; /* ShowMeTech */
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(5) .brand-image {
        height: 46px; /* Beebom — wide plate; +2 optical vs PH squares */
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(6) .brand-image {
        height: 44px; /* Techwiser — match PH / ShowMe */
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content .brand-link:nth-child(7) .brand-image {
        height: 44px; /* Starter Story — match PH / ShowMe */
    }
}

@media (min-width: 1024px) {
    .page-homepage-preview .brand-showcase {
        padding: 30px 20px;
    }

    .page-homepage-preview .brand-showcase-title {
        margin-bottom: 14px;
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container {
        max-width: 950px;
    }

    .page-homepage-preview .brand-showcase .container-wrapper .scroll-container .scroll-content {
        column-gap: 8px;
    }
}

/* ── Shared section system ────────────────────────────────────────────────── */

.page-homepage-preview .hp-section {
    padding: 56px 0;
}

.page-homepage-preview .hp-section--primary {
    background-color: var(--bg-color-primary);
}

.page-homepage-preview .hp-section--soft {
    background: var(--bg-color-white, #fff);
}

.page-homepage-preview .hp-section__header {
    max-width: 560px;
    margin: 0 auto 28px;
}

.page-homepage-preview .hp-kicker {
    margin: 0 0 10px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hp-blue);
}

.page-homepage-preview .hp-section__title {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--hp-ink);
    /* Override global h2 { text-align: center } from _common-styles.scss */
    text-align: left;
}

.page-homepage-preview .hp-stack--center .hp-section__title {
    text-align: center;
}

.page-homepage-preview .hp-section__lead {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--hp-muted);
}

.page-homepage-preview .hp-body {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--hp-ink-soft);
    max-width: 34em;
}

.page-homepage-preview .hp-feature__copy > .hp-body:last-child {
    margin-bottom: 0;
}

.page-homepage-preview .hp-note {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg-color-white, #fff);
    border: 1px solid #dbe7f6;
    font-size: 13px;
    line-height: 1.45;
    color: var(--hp-ink-soft);
    max-width: 34em;
}

.page-homepage-preview .hp-section--soft .hp-note {
    background: var(--hp-soft);
}

.page-homepage-preview .hp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 80px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.page-homepage-preview .hp-cta:focus-visible {
    outline: 2px solid var(--hp-blue);
    outline-offset: 2px;
}

.page-homepage-preview .hp-cta--primary {
    background: var(--bg-color-btn, var(--hp-blue));
    color: #fff;
    border: 1px solid var(--bg-color-btn, var(--hp-blue));
}

.page-homepage-preview .hp-cta--primary:hover {
    background: var(--hp-blue-dark);
    border-color: var(--hp-blue-dark);
    color: #fff;
}

.page-homepage-preview .hp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

/* ── Two-column feature rows ──────────────────────────────────────────────── */

.page-homepage-preview .hp-feature {
    display: grid;
    gap: 32px;
    align-items: center;
    width: 100%;
}

.page-homepage-preview .hp-feature__copy {
    min-width: 0;
}

.page-homepage-preview .hp-feature__copy .hp-section__title {
    margin-bottom: 12px;
}

.page-homepage-preview .hp-feature__visual {
    min-width: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 900px) {
    .page-homepage-preview .hp-feature {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 48px;
    }

    /* Keep the visualization column ~same share as Smarter Flight Search when flipped. */
    .page-homepage-preview .hp-feature--reverse {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }

    .page-homepage-preview .hp-feature--reverse .hp-feature__copy {
        order: 2;
    }

    .page-homepage-preview .hp-feature--reverse .hp-feature__visual {
        order: 1;
    }
}

/* ── Unified schematic illustrations (Option 3 experiment) ────────────────── */

.page-homepage-preview .hp-sketch {
    width: 95%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    border-radius: var(--hp-radius);
    background: #fff;
    border: 1px solid var(--hp-line);
    box-shadow: 0 8px 24px rgba(16, 55, 76, 0.06);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: none;
    user-select: none;
}

.page-homepage-preview .hp-sketch__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.page-homepage-preview .hp-sketch__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--hp-soft);
}

.page-homepage-preview .hp-sketch__icon--soft {
    background: #e7f5ed;
}

.page-homepage-preview .hp-sketch__icon img {
    display: block;
    width: 20px;
    height: 20px;
}

.page-homepage-preview .hp-sketch__heading {
    min-width: 0;
    padding-top: 2px;
}

.page-homepage-preview .hp-sketch__title {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--hp-ink);
}

.page-homepage-preview .hp-sketch__text {
    margin: 4px 0 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--hp-muted);
}

.page-homepage-preview .hp-sketch > .hp-sketch__text {
    margin-top: 0;
}

/* Search: sort tabs + abstract flight comparison */

.page-homepage-preview .hp-sketch--search {
    gap: 13px;
    padding: 16px;
}

.page-homepage-preview .hp-sketch__tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 5px;
    border-radius: 10px;
    background: var(--hp-soft-2);
    border: 1px solid #eef2f7;
    overflow-x: auto;
}

.page-homepage-preview .hp-sketch__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1 1 0;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--hp-muted);
    white-space: nowrap;
}

.page-homepage-preview .hp-sketch__tab.is-active {
    background: #fff;
    color: var(--hp-ink);
    box-shadow: 0 1px 3px rgba(16, 55, 76, 0.08);
}

.page-homepage-preview .hp-sketch__tab--ai img {
    display: block;
    width: 13px;
    height: 13px;
}

.page-homepage-preview .hp-sketch__compare {
    display: grid;
    gap: 10px;
}

.page-homepage-preview .hp-sketch__flight {
    display: grid;
    gap: 11px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--hp-line);
    background: var(--hp-soft-2);
}

.page-homepage-preview .hp-sketch__flight--muted {
    opacity: 0.62;
}

.page-homepage-preview .hp-sketch__chip {
    display: block;
    width: 64px;
    height: 10px;
    border-radius: 999px;
    background: #d7e3f0;
}

.page-homepage-preview .hp-sketch__route {
    display: grid;
    grid-template-columns: 10px 1fr 10px;
    align-items: center;
    gap: 10px;
    min-height: 14px;
}

.page-homepage-preview .hp-sketch__node {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--hp-blue);
    box-sizing: border-box;
}

.page-homepage-preview .hp-sketch__path {
    display: block;
    height: 2.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, #c5d4e4, var(--hp-blue), #c5d4e4);
}

/* Tracker: illustrative price-drop catch moment */

.page-homepage-preview .hp-sketch--track {
    gap: 14px;
}

.page-homepage-preview .hp-sketch__chart {
    padding: 8px 6px 4px;
    border-radius: 10px;
    background: #fbfcfe;
    border: 1px solid #eef2f7;
}

.page-homepage-preview .hp-sketch__trend {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.page-homepage-preview .hp-sketch__guide {
    stroke: #eef3f8;
    stroke-width: 1;
    stroke-linecap: round;
}

.page-homepage-preview .hp-sketch__trend-line {
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-homepage-preview .hp-sketch__trend-stem {
    stroke: rgba(11, 117, 46, 0.35);
    stroke-width: 1;
    stroke-linecap: round;
}

.page-homepage-preview .hp-sketch__drop-badge-pill {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 3.5px 7px;
    border-radius: 999px;
    background: #e7f5ed;
    border: 1px solid rgba(11, 117, 46, 0.10);
    box-shadow: none;
    color: #0b752e;
    font-family: "Open Sans", Overpass, sans-serif;
    /* ~12.5px rendered at desktop SVG scale (~1.55×); annotation weight, not button */
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

.page-homepage-preview .hp-sketch__drop-badge-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3.5px;
    line-height: 1;
}

.page-homepage-preview .hp-sketch__drop-badge-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92em;
    font-weight: 600;
    line-height: 1;
    opacity: 0.85;
}

.page-homepage-preview .hp-sketch__drop-badge-text {
    display: inline-block;
    line-height: 1;
}

.page-homepage-preview .hp-sketch__trend-dot--drop {
    fill: #fff;
    stroke: #0b752e;
    stroke-width: 2.4;
}

.page-homepage-preview .hp-sketch__notify {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hp-ink-soft);
}

.page-homepage-preview .hp-sketch__notify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e7f5ed;
}

.page-homepage-preview .hp-sketch__notify-icon img {
    display: block;
    width: 12px;
    height: 12px;
}

/* Predict: recommendation + three states */

.page-homepage-preview .hp-sketch--predict .hp-sketch__header {
    align-items: center;
}

.page-homepage-preview .hp-sketch--predict .hp-sketch__heading {
    padding-top: 0;
}

.page-homepage-preview .hp-sketch__rec {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.page-homepage-preview .hp-sketch__rec--consider {
    color: #d99611;
}

.page-homepage-preview .hp-sketch__rec--wait {
    color: #0b752e;
}

.page-homepage-preview .hp-sketch__score {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
}

.page-homepage-preview .hp-sketch__score-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-ink-soft);
}

.page-homepage-preview .hp-sketch__score-value {
    font-family: Overpass, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--hp-ink);
}

.page-homepage-preview .hp-sketch__score-of {
    font-size: 14px;
    font-weight: 700;
    color: var(--hp-muted);
}

.page-homepage-preview .hp-sketch__states {
    display: grid;
    gap: 10px;
    margin-top: 2px;
}

.page-homepage-preview .hp-sketch__bar {
    position: relative;
    display: flex;
    height: 10px;
    border-radius: 5px;
    overflow: visible;
}

.page-homepage-preview .hp-sketch__seg {
    flex: 1;
    height: 8px;
    align-self: center;
}

.page-homepage-preview .hp-sketch__seg--buy {
    background: #f54b4e;
    border-radius: 5px 0 0 5px;
}

.page-homepage-preview .hp-sketch__seg--consider {
    background: #f0af2e;
}

.page-homepage-preview .hp-sketch__seg--wait {
    background: #0b752e;
    border-radius: 0 5px 5px 0;
}

.page-homepage-preview .hp-sketch__marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #f0af2e;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    transform: translate(-50%, -50%);
}

/* Example score 87 → wait band (thresholds 33 / 66). */
.page-homepage-preview .hp-sketch__marker--wait {
    left: 87%;
    border-color: #0b752e;
}

.page-homepage-preview .hp-sketch__state-labels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-homepage-preview .hp-sketch__state-labels li {
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--hp-muted);
    text-align: center;
}

.page-homepage-preview .hp-sketch__state-labels li:first-child {
    text-align: left;
}

.page-homepage-preview .hp-sketch__state-labels li:last-child {
    text-align: right;
}

.page-homepage-preview .hp-sketch__state-labels li.is-active {
    color: #d99611;
}

.page-homepage-preview .hp-sketch__state-labels li.is-active:last-child {
    color: #0b752e;
}

/* ── Flight Deals destinations (no prices) ────────────────────────────────── */

.page-homepage-preview .hp-destinations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.page-homepage-preview .hp-destinations__item {
    position: relative;
    margin: 0;
    border-radius: var(--hp-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 24px rgba(16, 55, 76, 0.08);
}

.page-homepage-preview .hp-destinations__item--wide {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
}

.page-homepage-preview .hp-destinations__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-homepage-preview .hp-destinations__item figcaption {
    position: absolute;
    left: 12px;
    bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 55, 76, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* ── More Travel Options (product cards) ──────────────────────────────────── */

.page-homepage-preview .hp-section__header--products {
    max-width: 640px;
}

.page-homepage-preview .hp-section__header--products .hp-section__title {
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(24px, 3.2vw, 36px);
    text-wrap: balance;
}

.page-homepage-preview .hp-section__header--products .hp-section__lead {
    max-width: 38em;
    margin-left: auto;
    margin-right: auto;
}

.page-homepage-preview .hp-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    align-items: stretch;
}

.page-homepage-preview .hp-product {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 100%;
    height: 100%;
    padding: 14px 14px 14px 12px;
    border-radius: var(--hp-radius);
    background: var(--bg-color-white, #fff);
    border: 1px solid var(--hp-line);
    box-shadow: 0 4px 16px rgba(16, 55, 76, 0.04);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.page-homepage-preview .hp-product:hover {
    border-color: #b9daf3;
    box-shadow: 0 8px 24px rgba(16, 55, 76, 0.08);
    transform: translateY(-1px);
}

.page-homepage-preview .hp-product:focus-visible {
    outline: 2px solid var(--hp-blue);
    outline-offset: 2px;
    border-color: #b9daf3;
    box-shadow: 0 8px 24px rgba(16, 55, 76, 0.08);
}

.page-homepage-preview .hp-product__media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--hp-soft);
}

/* Hero nav icons are white glyphs; tint to brand blue on the soft tile. */
.page-homepage-preview .hp-product__media img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(47%) sepia(86%) saturate(1682%) hue-rotate(175deg) brightness(94%) contrast(92%);
}

/* Material car glyph has extra viewBox padding vs custom nav SVGs (same as Hero). */
.page-homepage-preview .hp-product__media--cars img {
    width: 28px;
    height: 28px;
}

.page-homepage-preview .hp-product__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.page-homepage-preview .hp-product__title {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--hp-ink);
}

.page-homepage-preview .hp-product__text {
    margin: 2px 0 0;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: var(--hp-muted);
}

.page-homepage-preview .hp-product__chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--hp-blue);
    opacity: 0.85;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.page-homepage-preview .hp-product__chev svg {
    display: block;
    width: 16px;
    height: 16px;
}

.page-homepage-preview .hp-product:hover .hp-product__chev,
.page-homepage-preview .hp-product:focus-visible .hp-product__chev {
    opacity: 1;
    transform: translate(1px, -1px);
}

@media (min-width: 640px) {
    .page-homepage-preview .hp-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .page-homepage-preview .hp-product {
        padding: 16px 14px 16px 14px;
        gap: 12px;
    }
}

@media (min-width: 900px) {
    .page-homepage-preview .hp-section__header--products .hp-section__title {
        max-width: none;
        white-space: nowrap;
    }

    .page-homepage-preview .hp-products {
        gap: 14px;
    }

    .page-homepage-preview .hp-product {
        padding: 16px 16px 16px 14px;
    }

    .page-homepage-preview .hp-product__title {
        font-size: 17px;
    }
}

/* ── Telegram Bot (refined production advantages-2) ───────────────────────── */

.page-homepage-preview .hp-telegram {
    /* White canvas around the dark promo card; match hp-section vertical rhythm */
    padding: 56px 0;
    background: var(--bg-color-white, #fff);
}

.page-homepage-preview .hp-telegram .advantages-2-card {
    position: relative;
    overflow: visible;
    background: #10374c;
    padding: 36px 24px 56px;
    border-radius: 20px;
}

.page-homepage-preview .hp-telegram .card-wrapper {
    max-width: 560px;
}

.page-homepage-preview .hp-telegram .hp-kicker--on-dark {
    color: var(--hp-blue);
    margin: 0 0 12px;
}

.page-homepage-preview .hp-telegram .card-title {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-align: start;
    color: var(--text-color-light, #fff);
}

/* Beat production .advantages-2 .card-text { display: none } below 768px */
.page-homepage-preview .hp-telegram.advantages-2 .container-wrapper .advantages-2-card .card-wrapper .card-text {
    display: block;
    margin: 14px 0 28px;
    max-width: 34em;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.page-homepage-preview .hp-telegram .hp-cta {
    align-self: flex-start;
}

/* Phone well lives in the card so radius clip matches the dark panel */
.page-homepage-preview .hp-telegram__media {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: -28px;
    z-index: 1;
    pointer-events: none;
}

.page-homepage-preview .hp-telegram.advantages-2 .advantages-2-img {
    display: block;
    width: min(200px, 52vw);
    height: auto;
    margin: 0;
}

@media (min-width: 576px) {
    .page-homepage-preview .hp-telegram .advantages-2-card {
        padding: 40px 40px 48px;
    }

    .page-homepage-preview .hp-telegram__media {
        margin-bottom: -36px;
    }

    .page-homepage-preview .hp-telegram.advantages-2 .advantages-2-img {
        width: 220px;
    }
}

/* Side phone + corner clip from tablet landscape up (matches product desktop size) */
@media (min-width: 992px) {
    .page-homepage-preview .hp-telegram {
        padding: 72px 0;
    }

    .page-homepage-preview .hp-telegram .advantages-2-card {
        min-height: 300px;
        padding: 48px 40px;
        padding-right: 300px;
        border-radius: 20px;
        margin-bottom: 0;
    }

    /*
     * Well matches the card box on the bottom (rounded clip) and extends
     * upward so the handset can protrude above the card top.
     */
    .page-homepage-preview .hp-telegram__media {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: -110px;
        margin: 0;
        display: block;
        overflow: hidden;
        border-radius: 0 0 20px 20px;
        z-index: 1;
    }

    .page-homepage-preview .hp-telegram.advantages-2 .advantages-2-img {
        width: 260px;
        position: absolute;
        /* ~24px from card right; media well overflow + bottom radius clips cleanly */
        right: 24px;
        bottom: 0;
    }
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.page-homepage-preview .hp-faq {
    background: var(--bg-color-white, #fff);
    padding-top: 56px;
    padding-bottom: 64px;
}

.page-homepage-preview .hp-faq .faq-header-title {
    color: var(--hp-ink);
}

.page-homepage-preview .hp-faq .faq-header-subtitle {
    color: var(--hp-muted);
}

/* ── Responsive tuning ────────────────────────────────────────────────────── */

@media (max-width: 899px) {
    .page-homepage-preview .hp-section {
        padding: 44px 0;
    }

    .page-homepage-preview .hp-sketch {
        width: min(95%, 100%);
        padding: 18px;
        gap: 15px;
    }

    .page-homepage-preview .hp-sketch--search {
        padding: 16px;
    }

    .page-homepage-preview .hp-sketch__tab {
        flex: 0 0 auto;
        font-size: 12px;
    }

    .page-homepage-preview .hp-sketch__drop-badge-pill {
        font-size: 7.5px;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    /* Narrow chart scale (~0.9×): bump FO font so annotation stays readable */
    .page-homepage-preview .hp-sketch__drop-badge-pill {
        font-size: 10px;
        padding: 3.5px 7px;
    }

    .page-homepage-preview .hp-sketch__rec {
        font-size: 18px;
    }

    .page-homepage-preview .hp-sketch__score-value {
        font-size: 20px;
    }

    /* Bar already shows three states; hide cramped captions on narrow phones. */
    .page-homepage-preview .hp-sketch__state-labels {
        display: none;
    }

    .page-homepage-preview .hp-sketch__tabs {
        -webkit-overflow-scrolling: touch;
    }
}

@media (min-width: 1025px) {
    .page-homepage-preview .hp-section {
        padding: 72px 0;
    }

    .page-homepage-preview .hp-section__header {
        margin-bottom: 36px;
    }
}
