/* Approved visual asset layer — keeps the existing layout while replacing design placeholders with final presentation assets. */

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../images/hero/hero-approved-bg.png') center center / cover no-repeat;
}

.hero__veil {
    background:
        linear-gradient(90deg, rgba(4, 7, 8, .82) 0%, rgba(4, 7, 8, .55) 36%, rgba(4, 7, 8, .12) 67%, rgba(4, 7, 8, .25) 100%),
        linear-gradient(0deg, rgba(4, 7, 8, .42), transparent 46%);
}

.brand--image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand--image img {
    width: 164px;
    max-height: 58px;
    object-fit: contain;
}

.hero__signature-logo {
    width: 94px;
    height: auto;
    margin-top: 16px;
    opacity: .88;
}

.asset-visual {
    position: relative;
    width: 100%;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    padding: 0 !important;
}

.asset-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    box-shadow: 0 20px 55px rgba(20, 41, 54, .13);
}

.trip-preview.asset-visual {
    min-height: 0;
}

.trip-preview.asset-visual img {
    border-radius: 18px;
}

.feature__visual.asset-visual {
    min-height: 0;
}

.feature__visual.asset-visual .feature-number {
    display: none;
}

.footer .brand--image img {
    width: 150px;
}

@media (max-width: 900px) {
    .brand--image img { width: 142px; }
    .hero__background { background-position: 62% center; }
    .asset-visual img { border-radius: 18px; }
}

@media (max-width: 640px) {
    .hero__background { background-position: 67% center; }
    .brand--image img { width: 128px; }
    .footer .brand--image img { width: 138px; }
}

/* Product-led editorial refinement */
img { height: auto; }

.store-badge {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    line-height: 0;
    overflow: visible;
    transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}
.store-badge:hover { transform: translateY(-2px); background: none; filter: brightness(1.08); opacity: .94; }
.store-badge img { width: auto; height: 52px; border-radius: 7px; }
.store-badge--small img { height: 42px; }

.trip-preview {
    min-height: 270px;
    height: 292px;
    position: relative;
    overflow: hidden;
}
.trip-preview img {
    position: absolute;
    width: auto;
    border-radius: 24px;
    box-shadow: 0 20px 46px rgba(20,41,54,.2);
}
.trip-preview__home { height: 370px; left: 9%; top: 24px; transform: rotate(-2deg); }
.trip-preview__chat { height: 348px; right: 8%; top: -18px; transform: rotate(2deg); }

.nav { position: relative; z-index: 20; }
.hero__content { position: relative; z-index: 5; }
.route-line,
.route-line::before,
.route-line::after,
.route-line__badge { pointer-events: none; }

.hero__copy { animation: hero-copy-in 700ms cubic-bezier(.22,.61,.36,1) both; }
.hero__downloads { animation: hero-downloads-in 700ms cubic-bezier(.22,.61,.36,1) 100ms both; }
.route-line {
    animation: route-line-reveal 1.25s cubic-bezier(.22,.61,.36,1) both;
    transform-origin: top;
}
.route-line::before,
.route-line::after { animation: route-detail-reveal 1.15s cubic-bezier(.22,.61,.36,1) 160ms both; }

@keyframes hero-copy-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-downloads-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes route-line-reveal {
    from { clip-path: inset(0 0 100% 0); transform: skewY(-10deg); }
    to { clip-path: inset(0 0 0 0); transform: skewY(-10deg); }
}
@keyframes route-detail-reveal {
    from { clip-path: inset(0 0 100% 0); }
    to { clip-path: inset(0 0 0 0); }
}

.reveal--artwork { transition-delay: 100ms; transform: translateY(20px) scale(.985); }
.reveal--artwork.is-visible { transform: translateY(0) scale(1); }

.features { padding: 0; background: #f7f6f2; }
.features__full { width: min(1320px, calc(100vw - 48px)); margin: 0 auto; overflow: hidden; }
.feature { min-height: 0; padding: 66px 7.5%; border: 0; gap: clamp(42px, 6vw, 92px); }
.feature__copy { position: relative; z-index: 2; max-width: 455px; }
.feature__copy h3 { margin: 0 0 17px; font-size: clamp(33px, 3.2vw, 48px); }
.feature__visual { display: flex; align-items: center; justify-content: center; min-height: 0; overflow: visible; }
.feature__visual img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; border-radius: 0; box-shadow: 0 18px 42px rgba(11,35,45,.13); }

.feature--ai { grid-template-columns: .76fr 1.24fr; color: #fff; background: #102f3c; }
.feature--ai .feature__copy p { color: rgba(255,255,255,.76); }
.feature--ai .feature__visual { justify-content: flex-end; }
.feature--ai .feature__visual img { width: min(100%, 720px); box-shadow: 0 22px 52px rgba(0,0,0,.24); }

.feature--group { grid-template-columns: 1.14fr .86fr; background: #e5f1f4; }
.feature--group .feature__copy { order: 2; }
.feature--group .feature__visual { order: 1; justify-content: flex-start; }
.feature--group .feature__visual img { width: min(100%, 710px); }

.feature--memories { grid-template-columns: .84fr 1.16fr; background: #f5f0e8; }
.feature--memories .feature__visual { justify-content: flex-end; }
.feature--memories .feature__visual img { width: min(100%, 720px); }

.feature--map { grid-template-columns: .58fr 1.42fr; background: #dce9eb; padding-right: 0; }
.feature--map .feature__copy { order: 1; margin-left: auto; }
.feature--map .feature__visual { order: 2; justify-content: flex-start; }
.feature--map .feature__visual img { width: min(100%, 825px); }

.app-showcase { padding: 58px 0 42px; background: #fbfbf8; overflow: hidden; }
.app-showcase h2 { max-width: 630px; margin: 9px 0 23px; font-family: var(--serif); font-size: clamp(37px, 4vw, 58px); font-weight: 400; line-height: .98; letter-spacing: -.03em; }
.showcase-rail { height: 380px; position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 2vw, 30px); }
.showcase-rail::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44%; background: #dceef0; }
.showcase-rail img { position: relative; z-index: 1; width: auto; height: 334px; border-radius: 21px; box-shadow: 0 18px 37px rgba(20,41,54,.2); transition: opacity 700ms cubic-bezier(.22,.61,.36,1), transform 300ms cubic-bezier(.22,.61,.36,1), box-shadow 300ms ease; }
.showcase-rail img:nth-child(1) { --showcase-transform: rotate(-1.5deg) translateY(10px); }
.showcase-rail img:nth-child(2) { height: 315px; --showcase-transform: rotate(1.5deg) translateY(13px); transition-delay: 80ms; }
.showcase-rail img:nth-child(3) { height: 362px; --showcase-transform: rotate(-1deg); transition-delay: 160ms; }
.showcase-rail img:nth-child(4) { height: 330px; --showcase-transform: rotate(1.5deg) translateY(9px); transition-delay: 240ms; }
.showcase-rail .reveal { transform: var(--showcase-transform) translateY(20px); }
.showcase-rail .reveal.is-visible { transform: var(--showcase-transform); }
.showcase-rail img:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 24px 46px rgba(20,41,54,.27); transition-delay: 0s; }

.testimonials { padding: 52px 0; }
.testimonials__eyebrow { text-align: center; margin-bottom: 28px; }
.quotes { gap: 0; }
.quote { min-height: 0; padding: 10px 30px 16px; background: none; border: 0; border-radius: 0; }
.quote + .quote { border-left: 1px solid var(--line); }
.quote p { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; }
.quote footer { margin-top: 21px; }

.contact { padding: 72px 0; }
.contact__copy h2 { margin: 0 0 17px; }
.contact__copy p { max-width: 370px; }
.contact-form { padding-top: 4px; }
.button { transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(0,0,0,.16); }
.button:active:not(:disabled) { transform: translateY(0); }
.form-status.is-success { color: #d6f1dc; }

@media (max-width: 1040px) {
    .feature { padding-inline: 5%; gap: 42px; }
    .showcase-rail { height: 350px; }
    .showcase-rail img { height: 300px; }
    .showcase-rail img:nth-child(3) { height: 340px; }
}

@media (max-width: 768px) {
    .store-badge { width: auto; }
    .store-badge img { height: 47px; }
    .hero .store-row { gap: 10px; }
    .trip-preview { height: 270px; min-height: 270px; }
    .trip-preview__home { height: 335px; left: 7%; }
    .trip-preview__chat { height: 318px; right: 4%; }
    .features__full { width: 100%; }
    .feature { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 38px max(15px, calc((100vw - 540px) / 2)) 34px; gap: 20px; }
    .feature__copy { max-width: 540px; }
    .feature__visual { width: 100%; min-height: 0; height: auto !important; }
    .feature__visual img { width: 100% !important; height: auto !important; transform: none !important; }
    .feature--group .feature__copy, .feature--group .feature__visual, .feature--map .feature__copy, .feature--map .feature__visual { order: initial; margin-left: 0; }
    .app-showcase { padding: 44px 0 34px; }
    .app-showcase > .shell { width: 100%; }
    .app-showcase .eyebrow, .app-showcase h2 { margin-left: 15px; margin-right: 15px; }
    .app-showcase h2 { font-size: 39px; }
    .showcase-rail { height: 355px; padding: 0 15px 4px; overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .showcase-rail::-webkit-scrollbar { display: none; }
    .showcase-rail img, .showcase-rail img:nth-child(n) { flex: 0 0 auto; height: 315px; transform: none; scroll-snap-align: center; }
    .showcase-rail img:nth-child(3) { height: 335px; }
    .quotes { gap: 0; }
    .quote { padding: 21px 0; }
    .quote + .quote { border-left: 0; border-top: 1px solid var(--line); }
    .contact { padding: 54px 0; }
    .footer__stores .store-badge--small { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal, .reveal--artwork, .showcase-rail .reveal { opacity: 1; transform: none !important; }
}
