:root {
    color-scheme: light;
    --navy: var(--theme-header, #071c32);
    --blue-deep: var(--theme-contact, #07314e);
    --blue: var(--theme-link-background, #005888);
    --blue-light: var(--theme-section, #edf5fa);
    --ink: var(--theme-on-background, #102438);
    --muted: var(--theme-muted-background, #435b6b);
    --paper: var(--theme-background, #ffffff);
    --line: var(--theme-border, #d5e1e9);
    --gold: var(--theme-accent, #ffbf24);
    --on-gold: var(--theme-on-accent, #102438);
    --surface-card: var(--theme-card, #ffffff);
    --field: #f9fcfd;
    --radius: .8rem;
    --max: 79rem;
    --gutter: clamp(1rem, 4vw, 3rem);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-block: var(--site-top-height, 6rem) var(--site-footer-height, 5rem); }
body { padding-block-end: var(--site-footer-height, 5rem); }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .7; cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.site-header :focus-visible, .hero :focus-visible, .quote :focus-visible, .footer :focus-visible, .page-intro :focus-visible { outline-color: var(--band-accent, var(--blue)); }

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.03; text-wrap: balance; }
h1, h2 { letter-spacing: -.052em; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
h3 { font-size: clamp(1.28rem, 2vw, 1.65rem); letter-spacing: -.03em; }
p + p { margin-top: .7em; }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(3.4rem, 7vw, 7rem); }
.section--flush { padding-top: clamp(3rem, 6vw, 5.8rem); }
.section--blue { --ink: var(--theme-on-section, #102438); --muted: var(--theme-muted-section, #435b6b); --blue: var(--theme-link-section, #005888); background: var(--blue-light); color: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.6rem, 3.2vw, 2.8rem); }
.section-heading__link { flex: none; margin-block-end: .2rem; }
.eyebrow {
    color: var(--blue);
    margin-bottom: .85rem;
    font-size: .875rem;
    font-weight: 770;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.category { color: var(--blue); font-size: .875rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.text-link { color: var(--blue); font-weight: 730; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.skip, .sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
    white-space: nowrap;
}
.skip:focus { z-index: 5; clip-path: none; width: auto; height: auto; top: .6rem; left: .6rem; padding: .7rem 1rem; color: var(--on-gold); background: var(--gold); }
.preview-bar { display: flex; justify-content: center; align-items: center; gap: 1rem; padding: .7rem 1rem; background: var(--gold); color: var(--on-gold); font-size: .9rem; }

.site-top { position: sticky; inset-block-start: 0; z-index: 3; }
.site-header { --band-accent: var(--theme-accent-header, #ffbf24); position: relative; z-index: 2; color: var(--theme-on-header, #ffffff); background: var(--navy); border-bottom: 1px solid #ffffff21; }
.site-header__inner { min-height: 4.9rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1.1rem, 3.2vw, 3.2rem); }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .62rem; text-decoration: none; }
.brand-mark { width: 3rem; height: 3rem; flex: none; object-fit: contain; }
.brand-mark--custom { background: #fff; border-radius: .55rem; padding: .16rem; }
.brand-name { overflow-wrap: anywhere; font-weight: 800; font-size: clamp(1.05rem, 2.3vw, 1.32rem); letter-spacing: -.025em; line-height: 1.08; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem clamp(.85rem, 2vw, 1.7rem); }
.site-nav a { min-width: 0; overflow-wrap: anywhere; text-decoration: none; font-size: .94rem; font-weight: 650; padding-block: .55rem; color: inherit; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--band-accent); }
.nav-toggle {
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 2.8rem;
    background: transparent;
    color: inherit;
    border-radius: .45rem;
    border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
    padding: .3rem .73rem;
    font-weight: 680;
}
.menu-icon { display: block; width: 1rem; height: .62rem; border-block: 2px solid; }
.button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .72rem 1.2rem;
    line-height: 1.3; text-align: center; text-decoration: none; font-weight: 760; font-size: .95rem;
    border: 1px solid transparent; border-radius: .44rem;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.button--gold { background: var(--gold); color: var(--on-gold); }
.button--gold:hover { box-shadow: inset 0 0 0 2px currentColor; }
.button--line { color: inherit; border-color: currentColor; background: transparent; }
.button--line:hover { box-shadow: inset 0 0 0 1px currentColor; }

.hero {
    position: relative;
    isolation: isolate;
    --hero-tint: var(--theme-hero, #071c32);
    --band-accent: var(--theme-accent-hero, #ffbf24);
    color: var(--theme-on-hero, #ffffff);
    background: var(--hero-tint);
    overflow: hidden;
    min-height: clamp(31rem, 48vw, 43rem);
    display: flex;
    align-items: center;
}
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, var(--hero-tint) 1%, color-mix(in srgb, var(--hero-tint) 97%, transparent) 29%, color-mix(in srgb, var(--hero-tint) 94%, transparent) 43%, transparent 78%); }
.hero__image { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center right; }
.hero--flat::after { background: var(--hero-tint); }
.hero__content { padding-block: clamp(4rem, 7vw, 7.4rem); }
.hero__eyebrow { color: var(--band-accent); }
.hero h1 { font-size: clamp(2.75rem, 5.8vw, 5.8rem); max-width: 13ch; line-height: .99; letter-spacing: -.063em; }
.hero__description { max-width: 31rem; color: inherit; font-size: clamp(1rem, 1.62vw, 1.16rem); margin-top: 1.35rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.8rem); }
.product-card, .application {
    --ink: var(--theme-on-card, #102438); --muted: var(--theme-muted-card, #435b6b); --blue: var(--theme-link-card, #005888);
    color: var(--ink);
}
.product-card { overflow: hidden; background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius); }
.product-card:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
.product-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.product-card__link:focus-visible { outline: 0; }
.product-card__image { position: relative; display: grid; place-items: center; background: var(--blue-light); overflow: hidden; aspect-ratio: 4 / 3; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.product-card__link:hover img { transform: scale(1.04); }
.product-card__text { padding: clamp(1.2rem, 2.3vw, 1.85rem); display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.product-card__text p:not(.category) { color: var(--muted); margin: 0 0 .2rem; }
.product-card__text .text-link { margin-top: auto; align-self: start; }

.application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.8rem); }
.application { align-content: start; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-card); overflow: hidden; }
.application > div { padding: clamp(1.15rem, 2.4vw, 1.75rem); }
.application img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.application p { margin-top: .55rem; color: var(--muted); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 7vw, 6.3rem); }
.about__inner:has(> :only-child) { grid-template-columns: minmax(0, 44rem); }
.about__image { overflow: hidden; border-radius: var(--radius) var(--radius) 4rem var(--radius); background: var(--blue-light); }
.about__image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.about__copy > p:not(.eyebrow) { max-width: 39ch; margin: 1rem 0 1.35rem; font-size: 1.15rem; color: var(--muted); }

.page-intro { --band-accent: var(--theme-accent-contact, #ffbf24); background: var(--blue-deep); color: var(--theme-on-contact, #ffffff); padding-block: clamp(2.2rem, 5.5vw, 5rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem .7rem; margin-bottom: 1.35rem; color: #d5e8f3; font-size: .9rem; }
.breadcrumb > * + *::before { margin-right: .7rem; content: "/"; color: #84a9c1; }
.breadcrumb--light { color: var(--muted); }
.page-intro h1, .product-detail h1, .legal h1 { font-size: clamp(2.45rem, 5.7vw, 5rem); }
.page-intro p { color: inherit; max-width: 42rem; margin-top: .95rem; }
.catalog { padding-top: clamp(2rem, 4vw, 3.6rem); }
.catalog-filters {
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) minmax(10rem, 17rem) minmax(7rem, max-content);
    align-items: end;
    gap: .8rem 1.1rem;
    margin-bottom: 1.9rem;
}
.catalog-count { align-self: end; padding-block: .78rem; color: var(--muted); }
.empty { padding: 1rem 1.15rem; border: 1px solid var(--line); background: var(--blue-light); color: var(--theme-on-section, #102438); border-radius: var(--radius); }

.product-detail { padding-top: 2rem; }
.product-detail__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); align-items: start; gap: clamp(1.5rem, 6vw, 5.35rem); }
.gallery { min-width: 0; }
.gallery__featured { overflow: hidden; background: var(--blue-light); border-radius: var(--radius); }
.gallery__featured img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .9rem; }
.gallery__thumb { position: relative; display: grid; place-items: center; width: 4.75rem; aspect-ratio: 4 / 3; border: 2px solid var(--line); border-radius: .45rem; overflow: hidden; background: var(--blue-light); }
.gallery__thumb[aria-current="true"] { border-color: var(--blue); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__summary { padding-top: clamp(0rem, 2vw, 1.5rem); }
.product-detail__summary > .button { margin-top: 1.4rem; }
.product-detail__summary h1 { overflow-wrap: anywhere; }
.product-detail__summary > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.specifications { margin-block: 1.55rem .25rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.specifications > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; gap: .65rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.specifications dt { font-weight: 770; }
.specifications dd { margin: 0; color: var(--muted); white-space: pre-line; }

.quote { --band-accent: var(--theme-accent-contact, #ffbf24); color: var(--theme-on-contact, #ffffff); background: var(--blue-deep); }
.quote__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(1.6rem, 6vw, 5.5rem); align-items: start; }
.quote__copy .eyebrow { color: var(--band-accent); }
.quote__copy > p:not(.eyebrow) { margin-top: 1rem; max-width: 35ch; color: inherit; }
.contact-options {
    display: grid;
    gap: .8rem;
    margin-top: 1.5rem;
    color: inherit;
    font-size: 1rem;
    font-style: normal;
    width: fit-content;
    overflow-wrap: anywhere;
}
.contact-channels { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .65rem; }
.contact-channels a { text-underline-offset: .27em; }
.contact-divider { opacity: .6; }
.contact-number { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.contact-whatsapp {
    display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; color: inherit;
    border: 1px solid color-mix(in srgb, currentColor 36%, transparent); border-radius: 50%;
}
.contact-whatsapp svg { width: 1.02rem; height: 1.02rem; }
.contact-whatsapp:hover { border-color: currentColor; }
.contact-options p { font-size: .91rem; }
.quote-form {
    border: 1px solid #9fbed048;
    padding: clamp(1rem, 2.5vw, 2rem);
    background: color-mix(in srgb, currentColor 7%, transparent);
    border-radius: var(--radius);
}
.quote-form fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
label { display: block; font-size: .94rem; font-weight: 680; }
input, select, textarea {
    appearance: none; display: block; width: 100%; min-height: 2.85rem;
    color: #102438; background: var(--field); border: 1px solid #b5ccd9; border-radius: .43rem;
    margin-top: .35rem; padding: .63rem .72rem; font-size: 1rem; font-weight: 450; line-height: 1.35;
}
input::placeholder, textarea::placeholder { color: #596e7a; }
select { padding-inline-end: 2.3rem; background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); background-size: .32rem .32rem; background-repeat: no-repeat; background-position: calc(100% - 1.18rem) 54%, calc(100% - .87rem) 54%; }
textarea { resize: vertical; min-height: 7rem; }
.optional { color: #c3d7e5; font-weight: 400; }
.form-notice { margin-block: .8rem 1rem; font-size: .88rem; color: inherit; }
.form-notice a { text-underline-offset: .22em; }
.legal__content { max-width: 44rem; }
.legal__content h2 { margin: 1.8rem 0 .55rem; font-size: 1.45rem; letter-spacing: -.027em; }
.legal__content p { color: var(--muted); }
.legal__content .text-link { display: inline-block; margin-top: 1rem; }
.footer {
    position: fixed; z-index: 2; inset: auto 0 0; padding: .55rem 0 max(.55rem, env(safe-area-inset-bottom));
    --band-accent: var(--theme-accent-footer, #ffbf24);
    background: var(--theme-footer, #071c32); color: var(--theme-on-footer, #ffffff); border-top: 1px solid #ffffff21;
}
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem 2rem; }
.footer .brand-mark { width: 2rem; height: 2rem; }
.footer .brand-name { font-size: 1rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; font-size: .9rem; }
.footer__links a { color: inherit; text-decoration: none; }
.footer__links a:hover { color: var(--band-accent); text-decoration: underline; }
.footer__links .footer__credit { font-weight: 680; }
.privacy-credit { padding-block: 1rem; border-top: 1px solid var(--line); }
.contact-map { display: grid; gap: .55rem; margin-block-start: 1.2rem; max-width: 25rem; }
.contact-map__heading {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .35rem .65rem;
}
.contact-map h3 { color: inherit; font-size: .92rem; font-weight: 740; letter-spacing: 0; }
.contact-map a { color: inherit; font-size: .8rem; text-underline-offset: .22em; }
.contact-map__frame {
    display: block; width: 100%; height: 10rem; border: 1px solid #bed6e96b; border-radius: .7rem; background: #071c32;
}

.site-dialog {
    width: min(43rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem);
    padding: 0; border: 1px solid #b8ccdc; border-radius: 1.15rem;
    --ink: var(--theme-on-card, #102438); --muted: var(--theme-muted-card, #435b6b); --blue: var(--theme-link-card, #005888);
    color: var(--ink); background: var(--surface-card); box-shadow: 0 1.5rem 5rem #03162666;
}
.site-dialog::backdrop { background: #051827a8; }
.site-dialog--small { width: min(30rem, calc(100vw - 2rem)); }
.site-dialog__content { padding: clamp(1.2rem, 4vw, 2.2rem); border-top: 4px solid var(--gold); }
.site-dialog__header { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: .8rem; }
.site-dialog__header h2 { font-size: clamp(1.45rem, 4vw, 2.05rem); text-wrap: pretty; }
.site-dialog__header button {
    flex: none; width: 2.1rem; height: 2.1rem; border: 1px solid var(--line); border-radius: .55rem;
    color: #102438; background: var(--field); font-size: 1.25rem;
}
.site-dialog form { margin: 1rem 0; }
.site-dialog .actions { margin-block: .75rem 0; }
.site-dialog .dialog-skip { background: #edf5fa; color: #102438; }
.site-dialog .text-link { font-size: .85rem; }
#phone-dialog-error { color: #a32b1b; margin-top: .6rem; font-size: .88rem; }
#phone-dialog-error:empty { display: none; }
.privacy-content h2 { margin: 1.35rem 0 .4rem; font-size: 1.15rem; letter-spacing: -.02em; }
.privacy-content p { color: var(--muted); }

.floating-contact {
    position: fixed;
    z-index: 2;
    inset-inline-end: max(clamp(1.35rem, 3vw, 3.2rem), env(safe-area-inset-right));
    inset-block-end: calc(var(--site-footer-height, 5rem) + 1.25rem);
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    color: white;
    background: #087a52;
    box-shadow: 0 .3rem 1rem #051c3670;
    animation: whatsapp-pulse 1.8s ease-out 2 1s;
}
.floating-contact:hover, .floating-contact:focus-visible { background: #056344; }
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 .3rem 1rem #051c3670, 0 0 0 0 #29ce83a0; }
    75%, 100% { box-shadow: 0 .3rem 1rem #051c3670, 0 0 0 .7rem #29ce8300; }
}
@media (prefers-reduced-motion: reduce) {
    .floating-contact { animation: none; }
}

@media (max-width: 990px) {
    .site-header__inner { min-height: auto; padding-block: .8rem; grid-template-columns: 1fr auto; }
    .nav-toggle:not([hidden]) { display: inline-flex; }
    .site-header__quote { display: none; }
    .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; border-top: 1px solid #ffffff29; padding-top: .5rem; }
    .hero::after { background: linear-gradient(90deg, var(--hero-tint), color-mix(in srgb, var(--hero-tint) 94%, transparent) 53%, transparent); }
}
@media (max-width: 700px) {
    .section-heading { display: grid; align-items: start; }
    .section-heading__link { width: fit-content; }
    .product-grid, .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about__inner, .product-detail__inner, .quote__inner { grid-template-columns: 1fr; }
    .hero { min-height: 30rem; }
    .hero::after { background: linear-gradient(90deg, var(--hero-tint), color-mix(in srgb, var(--hero-tint) 91%, transparent)); }
    .hero--flat::after { background: var(--hero-tint); }
    .hero__image { object-position: 65% center; }
    .catalog-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .catalog-count { grid-column: 1 / -1; padding-block: 0; }
    .footer__inner { gap: .5rem; flex-wrap: wrap; }
    .footer__links { gap: .2rem .85rem; font-size: .82rem; }
}
@media (max-width: 430px) {
    .product-grid, .application-grid, .catalog-filters, .form-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: clamp(2.32rem, 10vw, 3.25rem); }
    .hero__content { padding-block: 3.1rem; }
    .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-height: 420px) {
    .site-nav { max-height: 45vh; overflow-y: auto; }
    .footer .brand { display: none; }
}

.product-card, .application-grid article {
    box-shadow: 0 .4rem 1.3rem #0b2c4d12;
    transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
@media (hover: hover) {
    .product-card:hover, .application-grid article:hover {
        transform: translateY(-3px);
        box-shadow: 0 .9rem 1.8rem #0b2c4d22;
        border-color: var(--blue);
    }
}
@media (prefers-reduced-motion: reduce) {
    .product-card, .application-grid article { transition: none; }
    .product-card:hover, .application-grid article:hover { transform: none; }
}

.site-nav { max-height: 42vh; overflow-y: auto; }
.site-header__quote { justify-self: end; }
.site-nav a { padding-inline: .15rem; }

.gallery__featured video, .story video {
    display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
    background: var(--navy); object-fit: contain; max-height: 70svh;
}
.media-play {
    position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%;
    background: var(--gold); color: var(--on-gold);
}
.media-play::before {
    content: ''; width: .68rem; height: .78rem; margin-left: .1rem;
    background: currentColor; clip-path: polygon(10% 0, 100% 50%, 10% 100%);
}
.gallery__thumb .media-play { width: 1.8rem; height: 1.8rem; }

.editor-section :is(h2, h3, p), .popular-section h2, .product-card__text { overflow-wrap: anywhere; }
.editor-section .section-heading p, .popular-section .section-heading p { margin-top: .9rem; color: var(--muted); white-space: pre-line; }
.story { display: grid; align-items: center; gap: clamp(1.15rem, 3.5vw, 3rem); }
.story--split:has(.story__media + .story__copy) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.story--stack { width: min(100%, 62rem); margin-inline: auto; }
.story__media { min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--blue-light); }
.story__media img { width: 100%; height: auto; max-height: 68svh; object-fit: contain; }
.story__copy { min-width: 0; display: grid; justify-items: start; align-content: center; gap: .9rem; }
.story__copy p { color: var(--muted); white-space: pre-line; }
.story__copy .button { margin-top: .3rem; max-width: 100%; }

.carousel { min-width: 0; position: relative; }
.carousel button { touch-action: manipulation; }
.carousel__track { display: grid; grid-template-columns: minmax(0, 1fr); touch-action: pan-y pinch-zoom; }
.carousel__slide {
    grid-area: 1 / 1;
    padding: clamp(1rem, 3.4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface-card); color: var(--theme-on-card, #102438);
    --muted: var(--theme-muted-card, #435b6b); box-shadow: 0 12px 32px #1024380e;
}
.carousel__slide[inert] { visibility: hidden; }
.carousel__slide .story__media :is(img, video) { aspect-ratio: 16 / 9; }
.carousel__slide h3 { font-size: clamp(1.55rem, 3vw, 2.6rem); }
.carousel__timer { display: block; margin: 0 0 .7rem auto; border: 0; background: transparent; min-height: 2.75rem; }
.carousel__controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem; margin-top: 1rem; }
.carousel__arrow {
    display: grid; place-items: center; padding: 0; width: 2.75rem; height: 2.75rem; font-size: 1.75rem;
    line-height: 1; border: 1px solid var(--line); border-radius: .6rem; color: var(--ink); background: var(--paper);
}
.carousel__arrow:hover { border-color: var(--blue); }
.carousel__pages { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.carousel__page { padding: 0; display: grid; width: 2.75rem; height: 2.75rem; place-items: center; color: var(--blue); border: 0; background: transparent; }
.carousel__page span { width: .56rem; height: .56rem; border: 1px solid currentColor; border-radius: 50%; }
.carousel__page[aria-current="true"] span { background: currentColor; }
@media (prefers-reduced-motion: no-preference) {
    .carousel__slide:not([hidden], [inert]) { animation: carousel-in .2s ease-out both; }
    @keyframes carousel-in { from { opacity: .75; transform: translateY(3px); } }
}

.social-card__platform, .product-card__badge {
    position: absolute; inset: .75rem auto auto .75rem;
    display: inline-flex; align-items: center; gap: .4rem; max-width: calc(100% - 1.5rem);
    padding: .35rem .55rem; border-radius: .5rem; color: var(--theme-on-card, #102438); background: var(--surface-card);
    font-size: .85rem; font-weight: 730;
}
.social-card__platform svg, .footer__social svg { flex: none; width: 1.15rem; height: 1.15rem; }
.footer__social { display: flex; min-width: 0; max-width: 100%; overflow-x: auto; gap: .25rem; }
.footer__social a {
    display: grid; flex: 0 0 2.75rem; height: 2.75rem; place-items: center;
    border: 1px solid transparent; border-radius: .6rem;
}
.footer__social a:hover { border-color: currentColor; }
.footer__social a:focus-visible { outline-offset: -4px; }
.popular-section {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center; gap: clamp(1.3rem, 5vw, 6rem);
}
.popular-section .section-heading { margin: 0; }
.popular-section .product-card { width: min(100%, 30rem); }

@media (max-width: 700px) {
    .story--split:has(.story__media + .story__copy), .popular-section { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
    .footer__social { order: 1; }
    .specifications > div { grid-template-columns: 1fr; gap: .25rem; }
}
