:root {
    --color-bg: #08111b;
    --color-surface: #12202f;
    --color-surface-2: #1a2c3f;
    --color-ink: #0a1628;
    --color-primary: #7ee7ff;
    --color-accent: #7ee7ff;
    --color-neon: #e8f6ff;
    --color-teal: #2dd4bf;
    --color-copper: #e8b86d;
    --color-pearl: #e8dcc8;
    --color-sand: #d4b896;
    --color-text: #eef4fb;
    --color-muted: #9aabc0;
    --color-line: rgb(232 246 255 / .14);
    --radius: 20px;
    --shadow-soft: 0 24px 60px rgb(0 0 0 / .38);
    --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
    --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    --header-h: 76px;
    --glow: 0 0 40px rgb(126 231 255 / .28);
}

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

html {
    scroll-behavior: smooth;
    touch-action: manipulation;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: .01em;
    color: var(--color-text);
    background: var(--color-bg);
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--color-primary); }

button,
a,
input,
select { touch-action: manipulation; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: .75rem;
    top: -48px;
    background: var(--color-primary);
    color: var(--color-ink);
    padding: .5rem 1rem;
    z-index: 80;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
}
.skip-link:focus { top: .75rem; }

.wrap {
    width: min(1240px, calc(100% - 1.5rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgb(8 17 27 / .78);
    border-bottom: 1px solid var(--color-line);
}

.is-home .site-header {
    position: fixed;
    left: 0;
    right: 0;
    background: rgb(8 17 27 / .28);
    border-bottom-color: transparent;
}
.is-home .site-header.is-scrolled {
    background: rgb(8 17 27 / .82);
    border-bottom-color: var(--color-line);
}

.scroll-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--color-primary), #b7f3ff);
    pointer-events: none;
    z-index: 2;
}

.header-inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: .6rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: var(--color-text);
    min-width: 0;
}
.brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgb(232 246 255 / .22);
    box-shadow: 0 0 0 3px rgb(126 231 255 / .08);
}
.brand strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.brand small {
    color: var(--color-muted);
    font-size: .72rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-line);
    background: rgb(16 26 40 / .55);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-neon);
    border-radius: 2px;
}

.site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: rgb(10 18 28 / .96);
    backdrop-filter: blur(18px);
    padding: .8rem 1rem 1.1rem;
    gap: .15rem;
    border-bottom: 1px solid var(--color-line);
}
.site-nav.is-open { display: flex; }
.site-nav a,
.site-nav button {
    text-decoration: none;
    color: var(--color-text);
    padding: .7rem .7rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: .45rem;
    border-radius: 12px;
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
}
.site-nav a:hover,
.site-nav button:hover { background: rgb(126 231 255 / .08); }
.site-nav a[aria-current="page"] { color: var(--color-primary); font-weight: 600; }

.site-nav svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.cart-badge {
    display: inline-flex;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 .35rem;
    border-radius: 999px;
    font-size: .72rem;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.cart-fab {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 40;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-ink);
    text-decoration: none;
    box-shadow: 0 14px 36px rgb(0 0 0 / .42), var(--glow);
    transition: transform .2s ease;
}
.cart-fab svg { width: 26px; height: 26px; }
.cart-fab:hover { transform: translateY(-2px); }
.cart-fab:focus-visible {
    outline: 3px solid var(--color-neon);
    outline-offset: 3px;
}
.cart-fab .cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--color-ink);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.cart-fab.is-pop { animation: cartpop .45s ease; }
@keyframes cartpop {
    0% { transform: scale(1); }
    40% { transform: scale(1.12); }
    100% { transform: scale(1); }
}
.is-cart .cart-fab { display: none; }
body:has([data-pwa-banner]:not([hidden])) .cart-fab {
    bottom: calc(8.8rem + env(safe-area-inset-bottom));
}

@media (min-width: 900px) {
    .nav-toggle, .header-actions { display: none; }
    .site-nav {
        display: flex;
        position: static;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
        border: 0;
        gap: .1rem;
        margin-left: auto;
    }
    .header-actions { margin-left: .4rem; }
    .site-nav a,
    .site-nav button { flex-shrink: 0; padding-inline: .7rem; font-size: .94rem; }
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    align-items: center;
    color: var(--color-neon);
    overflow: hidden;
    background: #0a1624;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 38%;
    opacity: .58;
    transform: scale(1);
    filter: saturate(.88) contrast(1.06) brightness(.78);
    animation: kenburns 28s ease-out forwards;
}
.hero-glow,
.hero-vignette,
.hero-grain,
.hero-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-glow {
    background:
        radial-gradient(ellipse 48% 36% at 78% 18%, rgb(126 231 255 / .1), transparent 62%);
}
.hero-vignette {
    background:
        linear-gradient(180deg, rgb(8 17 27 / .42) 0%, rgb(8 17 27 / .18) 32%, rgb(8 17 27 / .28) 58%, rgb(8 17 27 / .82) 100%),
        linear-gradient(90deg, rgb(8 17 27 / .45) 0%, transparent 48%);
}
.hero-grain { display: none; }
.hero-frame {
    inset: 14% 10%;
    border: 1px solid rgb(126 231 255 / .16);
    border-radius: 28px;
    box-shadow: inset 0 0 90px rgb(126 231 255 / .07);
}
.hero-tour {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    cursor: pointer;
    touch-action: pan-y;
    -webkit-touch-callout: none;
}
.hero-tour picture {
    position: absolute;
    inset: 0;
    display: block;
}
.hero-tour:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: -8px;
}
.hero-copy {
    position: relative;
    z-index: 2;
    padding: calc(var(--header-h) + 1.2rem) 0 3.4rem;
    pointer-events: none;
    width: 100%;
}
.hero-glass {
    pointer-events: auto;
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
.hero-copy .eyebrow { color: var(--color-primary); }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3.1rem, 11vw, 7.2rem);
    font-weight: 600;
    line-height: .88;
    letter-spacing: -.03em;
    margin: 0 auto .9rem;
    max-width: 8ch;
    text-shadow: 0 12px 40px rgb(8 17 27 / .55);
}
.hero-lead {
    max-width: 28ch;
    margin: 0 auto 1.15rem;
    color: rgb(232 246 255 / .94);
    font-size: clamp(1.08rem, 2.4vw, 1.32rem);
    line-height: 1.4;
    text-shadow: 0 10px 28px rgb(8 17 27 / .6);
}
.hero-copy p {
    color: rgb(232 246 255 / .94);
}
.hero--stage .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero--stage .hero-frame {
    display: none;
}
@media (max-width: 899px) {
    .hero-photo {
        animation: none;
        transform: none;
    }
}
@media (min-width: 900px) {
    .hero-tour picture { will-change: transform; }
    .hero-photo {
        object-position: 50% 42%;
        opacity: .62;
        filter: saturate(.88) contrast(1.04) brightness(.8);
    }
    .hero--stage .hero-copy {
        align-items: center;
        text-align: center;
        padding-block: calc(var(--header-h) + 2.4rem) 4rem;
    }
    .hero-glass {
        padding: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .hero-lead { margin-bottom: 1.8rem; }
}
.hero--stage .hero-glow {
    background:
        radial-gradient(ellipse 70% 55% at 50% 42%, rgb(126 231 255 / .08), transparent 68%);
}
.hero--stage .hero-vignette {
    background:
        radial-gradient(ellipse 90% 70% at 50% 48%, rgb(8 17 27 / .42), rgb(8 17 27 / .72) 78%),
        linear-gradient(180deg, rgb(8 17 27 / .46) 0%, rgb(8 17 27 / .18) 28%, rgb(8 17 27 / .28) 58%, rgb(8 17 27 / .78) 100%);
}
@media (min-width: 900px) {
    .hero--stage .hero-vignette {
        background:
            radial-gradient(ellipse 88% 68% at 50% 46%, rgb(8 17 27 / .28), rgb(8 17 27 / .7) 80%),
            linear-gradient(180deg, rgb(8 17 27 / .4) 0%, rgb(8 17 27 / .14) 32%, rgb(8 17 27 / .22) 58%, rgb(8 17 27 / .78) 100%);
    }
}
.hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .6rem;
    pointer-events: auto;
}
.hero-actions .btn {
    width: 100%;
}
.hero-actions .btn-primary {
    font-size: .95rem;
    padding-inline: 1rem;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
}
.hero-360 {
    border-color: rgb(126 231 255 / .42);
    color: var(--color-primary);
    background: rgb(8 17 27 / .28);
    font-weight: 600;
}
.hero-360:hover {
    border-color: var(--color-primary);
    color: var(--color-neon);
    background: rgb(126 231 255 / .1);
}
@media (min-width: 480px) {
    .hero-actions {
        grid-template-columns: 1fr 1fr;
        gap: .75rem;
    }
    .hero-360 {
        grid-column: 1 / -1;
        width: auto;
        justify-self: center;
        min-width: 15.5rem;
    }
    .hero-actions .btn-primary {
        font-size: 1rem;
        padding-inline: 1.3rem;
    }
}

.hero-scroll {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 1.6rem auto 0;
    color: rgb(232 246 255 / .78);
    text-decoration: none;
}
.hero-scroll svg {
    width: 22px;
    height: 22px;
    animation: scrollCue 1.8s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--color-primary); }
.hero-scroll:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}
@keyframes scrollCue {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.eyebrow {
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 .55rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 48px;
    padding: .75rem 1.3rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible,
.thumbs button:focus-visible,
.local-chevron:focus-visible,
.local-zoom-btn:focus-visible,
.local-thumbs button:focus-visible,
.local-lightbox-close:focus-visible,
.local-lightbox-tools button:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}
.btn-primary {
    background: var(--color-primary);
    color: var(--color-ink);
    box-shadow: var(--glow);
}
.btn-primary:hover { background: #b7f3ff; }
.btn-ghost {
    background: rgb(232 246 255 / .08);
    color: var(--color-neon);
    border-color: rgb(232 246 255 / .28);
    backdrop-filter: blur(10px);
}
.btn-ink {
    background: var(--color-surface-2);
    color: var(--color-text);
    border-color: var(--color-line);
}
.btn-line {
    background: transparent;
    border-color: rgb(232 246 255 / .28);
    color: var(--color-text);
}
.btn[disabled] { opacity: .6; pointer-events: none; }

.section { padding: 5.4rem 0; }
.section h1,
.section h2,
.product-detail h1 {
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 6vw, 4.2rem);
    margin: 0 0 .4rem;
    line-height: 1.05;
    letter-spacing: -.04em;
    font-weight: 500;
}
#destacados {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgb(126 231 255 / .08), transparent 58%);
}
.lead { color: var(--color-muted); margin: 0 0 1.75rem; max-width: 46ch; }

.page-intro {
    position: relative;
    overflow: hidden;
    min-height: min(72vh, 640px);
    display: flex;
    align-items: flex-end;
    color: var(--color-text);
}
.page-intro-media {
    position: absolute;
    inset: 0;
}
.page-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 45%;
    filter: contrast(1.12) saturate(1.1) brightness(.55);
    transform: scale(1.06);
}
.page-intro-glow,
.page-intro-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.page-intro--tech .page-intro-glow {
    background:
        radial-gradient(ellipse 50% 40% at 18% 20%, rgb(232 184 109 / .22), transparent 62%),
        radial-gradient(ellipse 45% 38% at 82% 30%, rgb(45 212 191 / .18), transparent 60%),
        radial-gradient(ellipse 55% 45% at 50% 80%, rgb(126 231 255 / .2), transparent 58%);
}
.page-intro-vignette {
    background:
        linear-gradient(180deg, rgb(7 13 22 / .45) 0%, rgb(7 13 22 / .2) 35%, rgb(7 13 22 / .88) 100%),
        linear-gradient(90deg, rgb(7 13 22 / .5), transparent 28%, transparent 72%, rgb(7 13 22 / .5));
}
.page-intro-copy {
    position: relative;
    z-index: 1;
    padding: calc(var(--header-h) + 3rem) 0 2.6rem;
}
.page-intro-copy .eyebrow { color: var(--color-primary); }
.page-intro h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: .98;
    margin: 0 0 .8rem;
    max-width: 12ch;
    text-shadow: 0 10px 40px rgb(0 0 0 / .45);
}
.page-intro-copy > p {
    max-width: 42ch;
    margin: 0 0 1.4rem;
    color: rgb(232 246 255 / .88);
    font-size: 1.05rem;
}
.taller-cta {
    margin-top: 1.6rem;
    padding: 1.35rem 1.2rem;
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid rgb(126 231 255 / .2);
    background:
        linear-gradient(180deg, rgb(126 231 255 / .08), transparent 70%),
        var(--color-surface);
    display: grid;
    gap: 1rem;
}
.taller-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 500;
    letter-spacing: -.02em;
    margin: .15rem 0 .35rem;
    color: var(--color-neon);
}
.taller-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}
@media (min-width: 760px) {
    .taller-cta {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 1.5rem 1.5rem;
    }
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.catalog-jump {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: min(100%, 440px);
}
.catalog-jump .field-icon { flex: 1; min-width: 0; }
.catalog-jump input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: .5rem 1rem .5rem 2.45rem;
    background: #0c1520;
    color: var(--color-text);
    font: inherit;
}
.catalog-jump .btn { flex: none; min-height: 48px; }
@media (max-width: 699px) {
    .catalog-jump { width: 100%; }
}

.is-home .section-head,
.is-home .local-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.is-home .section-head .catalog-jump {
    width: 100%;
    max-width: 24rem;
    min-width: 0;
}
@media (max-width: 699px) {
    .is-home .catalog-jump {
        flex-direction: column;
        align-items: stretch;
    }
    .is-home .catalog-jump .btn {
        width: 100%;
    }
}
.is-home .section--faq .faq {
    margin-inline: auto;
}
.is-home .section--faq h2 {
    text-align: center;
}
.is-home .featured-cta {
    justify-content: center;
}
@media (max-width: 799px) {
    .is-home .contact-card {
        text-align: center;
    }
    .is-home .contact-card .social-row {
        justify-content: center;
    }
    .is-home .footer-grid,
    .is-home .footer-copy {
        text-align: center;
    }
}
.section-head--catalog {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    margin-bottom: 1.8rem;
}
.btn-catalog {
    width: 100%;
    max-width: 22rem;
    min-height: 56px;
    padding-inline: 1.7rem;
    font-size: 1.08rem;
    letter-spacing: .02em;
    box-shadow: var(--glow);
}
.btn-urgencias {
    width: 100%;
    margin-top: 1.1rem;
    text-align: center;
    line-height: 1.25;
    padding-block: .9rem;
}
.btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}
.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.1rem;
    margin: .2rem 0 0;
}
.social-row a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    color: var(--color-neon);
    text-decoration: none;
    font-weight: 600;
}
.social-row a:hover { color: var(--color-primary); }
.social-row svg { width: 18px; height: 18px; flex: none; }
.faq { max-width: 740px; }
.faq-list { margin-top: 1.2rem; border-top: 1px solid var(--color-line); }
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding: .85rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--color-neon);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--color-primary);
    border-bottom: 1.5px solid var(--color-primary);
    transform: rotate(45deg);
    flex: none;
    transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item summary:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}
.faq-item p {
    margin: 0 0 1.15rem;
    max-width: 62ch;
    color: var(--color-muted);
}

.tech-dialog {
    width: min(1120px, calc(100vw - 1.25rem));
    max-height: min(92dvh, 920px);
    margin: auto;
    padding: 1.15rem 1.1rem 1.25rem;
    border: 1px solid rgb(126 231 255 / .2);
    border-radius: 28px;
    background: #070d16;
    color: var(--color-text);
    box-shadow: 0 30px 80px rgb(0 0 0 / .55);
    overflow: auto;
}
.tech-dialog::backdrop {
    background: rgb(5 9 16 / .78);
    backdrop-filter: blur(12px);
}
.tech-dialog-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-bottom: 1rem;
    padding-inline: 5.6rem;
    text-align: center;
}
.tech-dialog-head h2 {
    min-width: 0;
    max-width: 100%;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin: 0;
}
.tech-dialog-close {
    position: absolute;
    top: 0;
    right: 0;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgb(232 246 255 / .22);
    background: rgb(7 13 22 / .55);
    color: var(--color-neon);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.tech-dialog-close:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.tech-grid {
    display: grid;
    gap: .85rem;
}
@media (min-width: 860px) {
    .tech-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
    .tech-card .meta { min-height: 7.4rem; }
    .tech-card .chips { min-height: 7.6rem; }
}
.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .45rem;
    min-height: 100%;
    padding: 1.35rem 1.15rem 1.15rem;
    border-radius: 22px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
}
.tech-card .service-icon { margin: 0 auto .15rem; }
.tech-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}
.tech-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 500;
    letter-spacing: -.03em;
}
.tech-card .meta {
    line-height: 1.45;
}
.tech-card .chips {
    width: 100%;
    justify-content: center;
    align-content: flex-start;
    margin: .15rem 0 0;
}
.tech-card .btn { width: 100%; margin-top: auto; }
.tech-card-more {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    flex: 0 0 auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: grid-template-rows .35s ease, max-height .35s ease, opacity .25s ease;
}
.tech-card-more-inner {
    overflow: hidden;
    min-height: 0;
}
.tech-card.is-open .tech-card-more,
.tech-card.tech-card--forced .tech-card-more {
    grid-template-rows: 1fr;
    max-height: 28rem;
    opacity: 1;
}
.tech-card.is-open .tech-card-more-inner,
.tech-card.tech-card--forced .tech-card-more-inner {
    min-height: min-content;
}
.tech-card-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    width: 100%;
    min-height: 44px;
    margin-top: .15rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
}
.tech-card-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform .25s ease;
}
.tech-card.is-open .tech-card-toggle svg { transform: rotate(180deg); }
.tech-card-toggle:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}
@media (min-width: 860px) {
    .tech-card-toggle { display: none; }
    .tech-card-more {
        grid-template-rows: 1fr;
        max-height: none;
        overflow: visible;
        opacity: 1;
    }
    .tech-card-more-inner { min-height: min-content; overflow: visible; }
}
.tech-card--daniel { --skill: var(--color-copper); border-color: rgb(232 184 109 / .28); }
.tech-card--tomas { --skill: var(--color-teal); border-color: rgb(45 212 191 / .28); }
.tech-card--santiago { --skill: var(--color-primary); border-color: rgb(126 231 255 / .28); }
.tech-card .eyebrow {
    color: var(--skill);
    letter-spacing: .08em;
    font-size: .72rem;
    line-height: 1.35;
    min-height: 2.7em;
    text-align: center;
}
.tech-card--daniel .service-icon { background: rgb(232 184 109 / .12); color: var(--color-copper); }
.tech-card--tomas .service-icon { background: rgb(45 212 191 / .12); color: var(--color-teal); }
.tech-card--santiago .service-icon { background: rgb(126 231 255 / .12); color: var(--color-primary); }

#oficina,
#taller,
#contacto,
#destacados,
#local {
    scroll-margin-top: calc(var(--header-h) + 14px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    perspective: 1400px;
}
@media (min-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: .85rem; }
}
.product-grid .product-card .btn { width: 100%; }

.product-bento {
    display: grid;
    gap: .85rem;
    perspective: 1400px;
}
@media (min-width: 768px) {
    .product-bento {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
    }
}

.product-card {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-line);
    color: inherit;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-shadow: inset 0 1px 0 rgb(232 246 255 / .06);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.product-card:hover,
.product-card:focus-within {
    border-color: rgb(126 231 255 / .38);
    box-shadow:
        inset 0 1px 0 rgb(232 246 255 / .1),
        0 16px 40px rgb(0 0 0 / .35),
        0 0 0 1px rgb(126 231 255 / .16);
}
@media (hover: hover) and (pointer: fine) {
    .product-card:hover,
    .product-card:focus-within {
        transform: translateY(-6px);
    }
}
.product-card:active { transform: translateY(-2px); }
.product-card .thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
    display: block;
}
.product-bento .product-card { height: auto; }
.product-bento .product-card .thumb,
.product-card--hero .thumb { flex: none; aspect-ratio: 1 / 1; min-height: 0; }
.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: .85rem;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) and (pointer: fine) {
    .product-card:hover .thumb img,
    .product-card:focus-within .thumb img {
        transform: scale(1.04);
    }
}
.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: .9rem;
    background: linear-gradient(180deg, transparent 42%, rgb(7 13 22 / .88) 100%);
    color: var(--color-text);
    text-decoration: none;
}
.card-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -.02em;
    margin: 0 0 .35rem;
    line-height: 1.2;
    color: var(--color-neon);
}
.product-card .body {
    padding: 1rem 1.05rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    flex: 1 1 auto;
    width: 100%;
}
.product-card .body h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.product-card .body h3 a {
    color: var(--color-neon);
    text-decoration: none;
}
.product-card .body h3 a:hover { color: var(--color-primary); }
.product-card .btn {
    width: auto;
    min-height: 40px;
    margin-top: .45rem;
    padding-inline: 1rem;
}
.product-card .btn.is-in-cart,
.btn.is-in-cart {
    border-color: rgb(126 231 255 / .55);
    color: var(--color-primary);
    background: rgb(126 231 255 / .08);
}
.meta { color: var(--color-muted); font-size: .82rem; margin: 0; }
.price {
    margin: .2rem 0 0;
    font-family: var(--font-display);
    font-weight: 700;
}
.price--ask {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: .18rem .65rem;
    border-radius: 999px;
    border: 1px solid rgb(126 231 255 / .38);
    color: var(--color-primary);
    background: rgb(126 231 255 / .1);
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.product-card .price,
.product-card .price--ask {
    margin-top: auto;
}

.featured-rail {
    position: relative;
    margin-top: .15rem;
    overflow: hidden;
    padding-block: 1.35rem 1.55rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.featured-rail.is-interactive {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}
.featured-rail.is-interactive .featured-track {
    animation: none;
}
.featured-rail.is-dragging {
    cursor: grabbing;
}
.featured-rail.is-dragging a,
.featured-rail.is-dragging button {
    pointer-events: none;
}
.featured-rail:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: -3px;
}
.featured-track {
    display: flex;
    width: max-content;
    animation: featured-marquee 90s linear infinite;
    will-change: transform;
}
.featured-rail:hover .featured-track,
.featured-rail:focus-within .featured-track,
.featured-rail.is-paused .featured-track {
    animation-play-state: paused;
}
.featured-set {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    padding-right: 1rem;
}
.featured-rail .product-card {
    flex: 0 0 min(14.5rem, 68vw);
    width: min(14.5rem, 68vw);
    --spot: .15;
    height: auto;
    align-self: stretch;
    border-color: color-mix(in srgb, var(--color-line) calc((1 - var(--spot)) * 100%), rgb(126 231 255 / .72));
    box-shadow:
        inset 0 1px 0 rgb(232 246 255 / .08),
        0 18px 40px rgb(0 0 0 / calc(var(--spot) * .45)),
        0 0 calc(var(--spot) * 42px) rgb(126 231 255 / calc(var(--spot) * .42));
    transition: border-color .35s ease, box-shadow .35s ease;
}
.featured-rail .product-card .body {
    flex: 1 1 auto;
}
.featured-rail .product-card .price {
    margin-top: auto;
}
.featured-rail .product-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: .45rem;
}
.featured-rail .product-card .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 34%, rgb(255 255 255 / .42) 50%, transparent 66%);
    transform: translateX(-140%);
    animation: cardshine 6.5s ease-in-out infinite;
    pointer-events: none;
    opacity: calc(.05 + var(--spot) * .4);
}
.featured-rail .product-card:nth-child(2n) .thumb::after { animation-delay: -2.1s; }
.featured-rail .product-card:nth-child(3n) .thumb::after { animation-delay: -4.2s; }
@media (hover: hover) and (pointer: fine) {
    .featured-rail .product-card:hover,
    .featured-rail .product-card:focus-within {
        z-index: 2;
        transform: translateY(-6px);
        border-color: rgb(126 231 255 / .7);
        box-shadow:
            inset 0 1px 0 rgb(232 246 255 / .14),
            0 22px 48px rgb(0 0 0 / .42),
            0 0 36px rgb(126 231 255 / .38);
    }
}
.featured-cta {
    display: flex;
    justify-content: center;
    margin-top: .35rem;
}
@keyframes featured-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (min-width: 768px) {
    .featured-rail {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }
    .featured-rail .product-card {
        flex-basis: 17.5rem;
        width: 17.5rem;
    }
}
@media (max-width: 899px) {
    .featured-rail {
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 1.25rem;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        cursor: grab;
        -webkit-mask-image: none;
        mask-image: none;
        padding-inline: 1.25rem;
    }
    .featured-rail .featured-track {
        animation: none;
        will-change: auto;
        transform: none;
    }
    .featured-set.featured-set--clone { display: none; }
    .featured-rail .product-card {
        scroll-snap-align: center;
        transform: none;
        --spot: 1;
    }
    .featured-rail .product-card .thumb::after { animation: none; }
    html.js .featured-rail.is-interactive {
        overflow: hidden;
        overflow-x: hidden;
        scroll-snap-type: none;
        cursor: grab;
        touch-action: pan-y;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
        padding-inline: 0;
    }
    html.js .featured-rail.is-interactive .featured-track {
        animation: none;
        will-change: transform;
    }
    html.js .featured-rail.is-interactive .featured-set--clone { display: flex; }
    html.js .featured-rail.is-interactive .product-card {
        scroll-snap-align: none;
        transform: none;
        --spot: .15;
    }
}

.photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}
.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.12) saturate(1.15) brightness(.9);
    transform: scale(1.06);
}

.section--local { padding-block: 5.4rem; }
.local-head { margin-bottom: 1.8rem; }
.local-stage {
    display: grid;
    gap: 1rem;
}
@media (min-width: 900px) {
    .local-stage {
        grid-template-columns: minmax(0, 1.85fr) minmax(220px, .68fr);
        align-items: stretch;
        min-height: 640px;
    }
}

.local-viewer {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) + 8px);
    border: 1px solid var(--color-line);
    background: #050910;
    aspect-ratio: 16 / 10;
    min-height: 240px;
}
@media (min-width: 900px) {
    .local-viewer {
        aspect-ratio: auto;
        min-height: 640px;
        height: 100%;
    }
}
.local-slides {
    position: absolute;
    inset: 0;
    cursor: zoom-in;
    touch-action: pan-x pan-y;
}
.local-slides figure {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .55s ease;
}
.local-slides figure.is-active {
    opacity: 1;
    pointer-events: auto;
}
.local-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .86;
    filter: saturate(.48) contrast(1.06) brightness(.62);
    transform: scale(1);
}
.local-viewer::after,
.local-lightbox::after,
.local-thumbs button::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgb(8 17 27 / .32) 0%, transparent 42%, rgb(8 17 27 / .55) 100%),
        rgb(12 32 52 / .28);
}
.local-slides figure.is-active img {
    animation: localpulse 16s ease-out forwards;
}
.local-chevron {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid rgb(232 246 255 / .22);
    border-radius: 50%;
    background: rgb(7 13 22 / .45);
    color: var(--color-neon);
    backdrop-filter: blur(12px);
    cursor: pointer;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.local-chevron svg { width: 22px; height: 22px; }
.local-chevron:hover {
    background: rgb(7 13 22 / .7);
    border-color: rgb(126 231 255 / .45);
}
.local-chevron--prev { left: .7rem; }
.local-chevron--next { right: .7rem; }
.local-zoom-btn {
    position: absolute;
    top: .8rem;
    right: .8rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 40px;
    padding: .35rem .85rem;
    border-radius: 999px;
    border: 1px solid rgb(232 246 255 / .22);
    background: rgb(7 13 22 / .5);
    color: var(--color-neon);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
}
.local-zoom-btn svg { width: 16px; height: 16px; }
.local-zoom-btn:hover { border-color: rgb(126 231 255 / .45); }

.local-rail {
    display: grid;
    gap: .75rem;
}
.local-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .45rem;
}
@media (min-width: 900px) {
    .local-thumbs {
        grid-template-columns: 1fr 1fr;
        gap: .55rem;
        max-height: 430px;
        overflow: auto;
        padding-right: .15rem;
    }
}
.local-thumbs button {
    position: relative;
    display: block;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    overflow: hidden;
    background: #0a121c;
    cursor: pointer;
    min-height: 64px;
    aspect-ratio: 16 / 10;
}
.local-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.48) contrast(1.06) brightness(.62);
    transition: transform .2s ease, filter .2s ease;
}
.local-thumbs button:hover img { transform: scale(1.03); }
.local-thumbs button[aria-current="true"] {
    border-color: rgb(126 231 255 / .55);
    box-shadow: 0 0 0 1px rgb(126 231 255 / .25);
}

.local-tour {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid rgb(126 231 255 / .32);
    background:
        radial-gradient(ellipse 80% 70% at 80% 20%, rgb(126 231 255 / .14), transparent 60%),
        var(--color-surface);
    padding: 1.15rem 1.1rem 1.2rem;
    min-height: 140px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.local-tour:hover {
    border-color: rgb(126 231 255 / .6);
    box-shadow: 0 12px 32px rgb(0 0 0 / .28);
    transform: translateY(-2px);
}
.local-tour:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}
.local-tour:active { transform: translateY(0); }
@media (min-width: 900px) {
    .local-tour { min-height: 0; }
}
.local-tour-orb {
    position: absolute;
    width: 120px;
    height: 120px;
    right: -24px;
    top: -28px;
    border-radius: 50%;
    border: 1px solid rgb(126 231 255 / .25);
    box-shadow: inset 0 0 24px rgb(126 231 255 / .12), 0 0 40px rgb(126 231 255 / .08);
    pointer-events: none;
}
.local-tour-orb::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px dashed rgb(126 231 255 / .35);
}
.local-tour .eyebrow { color: var(--color-primary); }
.local-tour strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -.03em;
    margin: 0 0 .35rem;
}
.local-tour p:last-child {
    margin: 0;
    color: var(--color-muted);
    font-size: .9rem;
    max-width: 28ch;
}

.local-lightbox {
    width: min(96vw, 1280px);
    height: min(90vh, 820px);
    max-width: none;
    max-height: none;
    border: 1px solid var(--color-line);
    border-radius: calc(var(--radius) + 6px);
    padding: 0;
    background: #050910;
    overflow: hidden;
    color: var(--color-neon);
}
.local-lightbox::backdrop {
    background: rgb(5 9 16 / .86);
    backdrop-filter: blur(14px);
}
.local-lightbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: grab;
    transform-origin: center center;
    filter: saturate(.62) contrast(1.04) brightness(.78);
    transition: transform .2s ease;
}
.local-lightbox img.is-dragging {
    cursor: grabbing;
    transition: none;
}
.local-lightbox .local-chevron { position: absolute; }
.local-lightbox-close,
.local-lightbox-tools button {
    min-height: 44px;
    min-width: 44px;
    border-radius: 999px;
    border: 1px solid rgb(232 246 255 / .22);
    background: rgb(7 13 22 / .55);
    color: var(--color-neon);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}
.local-lightbox-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    z-index: 4;
    padding: 0 1rem;
}
.local-lightbox-tools {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: .4rem;
}
.local-lightbox-tools button { font-size: 1.25rem; }

#oficina:target .service-band--house {
    box-shadow: 0 0 0 1px rgb(232 220 200 / .35), 0 0 48px rgb(232 220 200 / .1);
}
#taller:target .service-band--tech {
    box-shadow: 0 0 0 1px rgb(126 231 255 / .35), 0 0 48px rgb(126 231 255 / .12);
}

.hours {
    margin: 1rem 0 1.1rem;
    display: grid;
    gap: .55rem;
}
.hours > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .75rem;
    align-items: baseline;
    padding-bottom: .45rem;
    border-bottom: 1px solid var(--color-line);
}
.hours dt {
    margin: 0;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-muted);
    font-weight: 600;
}
.hours dd {
    margin: 0;
    font-weight: 600;
    color: var(--color-neon);
}

.service-band {
    margin-top: 1.15rem;
    padding: 1.2rem 1.05rem 1.3rem;
    border-radius: calc(var(--radius) + 8px);
}
.service-band-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    list-style: none;
    margin: 0 0 1.05rem;
    padding: 0;
}
.service-band-tags li {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .2rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.service-band--house {
    background: linear-gradient(180deg, rgb(232 220 200 / .08), transparent 72%);
    border: 1px solid rgb(232 220 200 / .2);
}
.service-band--house .service-band-tags li {
    color: var(--color-pearl);
    border: 1px solid rgb(232 220 200 / .28);
    background: rgb(232 220 200 / .1);
}
.service-band--house .chip {
    border-color: rgb(232 220 200 / .24);
    background: rgb(232 220 200 / .08);
}
.service-band--tech {
    background: linear-gradient(180deg, rgb(126 231 255 / .07), transparent 72%);
    border: 1px solid rgb(126 231 255 / .16);
}
.service-band--tech .service-band-tags li {
    color: var(--color-primary);
    border: 1px solid rgb(126 231 255 / .28);
    background: rgb(126 231 255 / .08);
}
.service-card--jorge { --skill: var(--color-pearl); }
.service-card--noemi { --skill: var(--color-sand); }
.service-card--jorge .service-icon,
.service-card--noemi .service-icon {
    background: rgb(232 220 200 / .12);
    color: var(--color-pearl);
    box-shadow: 0 0 24px rgb(232 220 200 / .1);
}
.service-band--house .service-card {
    background:
        linear-gradient(180deg, rgb(232 220 200 / .08), transparent 42%),
        var(--color-surface);
    border-color: rgb(232 220 200 / .22);
}
.service-band--tech .service-card {
    background:
        linear-gradient(180deg, rgb(126 231 255 / .06), transparent 40%),
        var(--color-surface);
}

.service-grid {
    display: grid;
    gap: 1rem;
    perspective: 1400px;
}
.service-grid--house {
    grid-template-columns: 1fr;
}
@media (min-width: 700px) {
    .service-grid--house { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .service-grid--house { grid-template-columns: 1fr 1fr; }
}
.service-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --skill: var(--color-primary);
    position: relative;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.45rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 0 rgb(232 246 255 / .05);
    transform: translateY(0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-style: preserve-3d;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgb(232 246 255 / .14) 48%, transparent 62%);
    transform: translateX(-130%);
    opacity: 0;
}
.service-card > * { position: relative; z-index: 2; }
@media (hover: hover) and (pointer: fine) {
    .service-card:hover,
    .service-card:focus-within {
        transform: translateY(-8px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
        border-color: color-mix(in srgb, var(--skill) 55%, transparent);
        box-shadow:
            inset 0 1px 0 rgb(232 246 255 / .08),
            var(--shadow-soft),
            0 20px 48px color-mix(in srgb, var(--skill) 18%, transparent);
    }
    .service-card:hover::before,
    .service-card:focus-within::before {
        opacity: 1;
        animation: cardshine .85s ease;
    }
    .service-card:hover .service-icon,
    .service-card:focus-within .service-icon {
        transform: translateY(-3px) scale(1.06);
    }
    .service-card:hover::after,
    .service-card:focus-within::after {
        opacity: .28;
        transform: scale(1.15);
    }
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.38rem;
    font-weight: 500;
    margin: 0 0 .25rem;
    letter-spacing: -.03em;
}
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border: 1px solid var(--color-line);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    position: relative;
    z-index: 2;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card--daniel { --skill: var(--color-copper); }
.service-card--tomas { --skill: var(--color-teal); }
.service-card--santiago { --skill: var(--color-primary); }
.service-card .eyebrow { color: var(--skill); }
.service-card--daniel .service-icon {
    background: rgb(232 184 109 / .12);
    color: var(--color-copper);
    box-shadow: 0 0 24px rgb(232 184 109 / .12);
}
.service-card--tomas .service-icon {
    background: rgb(45 212 191 / .12);
    color: var(--color-teal);
    box-shadow: 0 0 24px rgb(45 212 191 / .12);
}
.service-card--santiago .service-icon {
    background: rgb(126 231 255 / .12);
    color: var(--color-primary);
    box-shadow: 0 0 24px rgb(126 231 255 / .18);
}
.service-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    top: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--skill), transparent 68%);
    opacity: .12;
    pointer-events: none;
    transition: opacity .4s ease, transform .5s ease;
    transform: scale(1);
}
.ui-chip {
    margin-top: auto;
    padding-top: 1.1rem;
    display: grid;
    gap: .35rem;
}
.ui-dots { display: flex; gap: .28rem; }
.ui-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--skill);
    display: block;
    opacity: .7;
}
.ui-bar {
    display: block;
    height: 6px;
    width: 72%;
    border-radius: 99px;
    background: rgb(232 246 255 / .1);
}
.ui-bar--short { width: 44%; }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1rem;
}
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .2rem .7rem;
    border-radius: 999px;
    background: rgb(232 246 255 / .06);
    color: var(--color-text);
    border: 1px solid var(--color-line);
    font-size: .78rem;
    font-weight: 500;
}

.contact-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 800px) {
    .contact-grid { grid-template-columns: 1fr 1.15fr; }
}
.contact-card {
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgb(126 231 255 / .12), transparent 55%),
        var(--color-surface);
    color: var(--color-text);
    border-radius: calc(var(--radius) + 6px);
    padding: 1.7rem;
    border: 1px solid var(--color-line);
    box-shadow: inset 0 1px 0 rgb(232 246 255 / .06);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
@media (hover: hover) and (pointer: fine) {
    .contact-card:hover {
        transform: translateY(-4px);
        border-color: rgb(126 231 255 / .32);
        box-shadow: inset 0 1px 0 rgb(232 246 255 / .1), var(--shadow-soft);
    }
}
.contact-card a { color: var(--color-primary); }
.contact-card .btn-primary { color: var(--color-ink); }
.contact-card .eyebrow { color: var(--color-primary); }
.map-wrap {
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    min-height: 280px;
    border: 1px solid var(--color-line);
    filter: saturate(.85) contrast(1.05);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }

.catalog-layout {
    display: grid;
    gap: 1.5rem;
}
.catalog-intro {
    margin: 0 0 1.4rem;
}
.catalog-intro h1 {
    max-width: 12ch;
}
.catalog-page {
    padding-top: 2.2rem;
}
.catalog-chips {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    padding: .2rem 0 1rem;
    margin: 0 0 .2rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.catalog-chips::-webkit-scrollbar { display: none; }
.catalog-chips a {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 .95rem;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    color: var(--color-neon);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    background: rgb(16 26 40 / .55);
}
.catalog-chips a:hover { border-color: rgb(126 231 255 / .4); color: var(--color-primary); }
.catalog-chips a[aria-current="page"] {
    background: var(--color-primary);
    color: var(--color-ink);
    border-color: var(--color-primary);
}
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}
.filter-pills a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 34px;
    padding: 0 .75rem;
    border-radius: 999px;
    border: 1px solid rgb(126 231 255 / .28);
    color: var(--color-primary);
    text-decoration: none;
    font-size: .82rem;
    background: rgb(126 231 255 / .08);
}
.filter-pills-clear { color: var(--color-neon) !important; border-style: dashed !important; }

.filters-panel > summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 48px;
    margin-bottom: .75rem;
    padding: .7rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    background: rgb(16 26 40 / .82);
    color: var(--color-neon);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.filters-panel > summary::-webkit-details-marker { display: none; }
.filters-panel > summary svg { width: 18px; height: 18px; flex: none; }
.filters-panel > summary::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 1.5px solid var(--color-primary);
    border-bottom: 1.5px solid var(--color-primary);
    transform: rotate(45deg) translateY(-2px);
}
.filters-panel[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
@media (min-width: 900px) {
    .catalog-layout { grid-template-columns: 260px 1fr; align-items: start; }
    .filters-panel > summary { display: none; }
}
.filters {
    display: grid;
    background: rgb(16 26 40 / .82);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 1rem;
}
.filters-panel:not([open]) > .filters { display: none; }
.filters-panel[open] > .filters { display: grid; }
@media (min-width: 900px) {
    .filters-panel::details-content {
        content-visibility: visible;
        height: auto;
    }
    .filters,
    .filters-panel:not([open]) > .filters {
        display: grid;
        position: sticky;
        top: calc(var(--header-h) + .8rem);
    }
}
.filters-title {
    display: none;
    align-items: center;
    gap: .45rem;
    margin: 0;
    color: var(--color-neon);
    font-weight: 600;
}
@media (min-width: 900px) {
    .filters-title { display: flex; }
}
.filters-title svg { width: 18px; height: 18px; flex: none; }
.filters .btn { width: 100%; margin-top: 1rem; }
.field-icon { position: relative; }
.field-icon svg {
    position: absolute;
    left: .8rem;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: var(--color-muted);
    pointer-events: none;
}
.field-icon input { padding-left: 2.35rem; }
.filters label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    margin: .7rem 0 .25rem;
}
.filters input,
.filters select,
.qty-row input,
.cart-actions input,
.form-grid input,
.form-grid textarea,
.form-grid select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    padding: .5rem .7rem;
    font: inherit;
    background: #0c1520;
    color: var(--color-text);
}
.filters .field-icon input { padding-left: 2.6rem; }
.check {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .8rem;
    font-weight: 500;
}
.check input { width: auto; min-height: 0; }

.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    margin-top: 1.5rem;
}
@media (min-width: 900px) {
    .pager { justify-content: flex-start; }
}
.pager a, .pager span {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--color-line);
    text-decoration: none;
    background: var(--color-surface);
    color: var(--color-text);
}
.pager [aria-current="page"] {
    background: var(--color-primary);
    color: var(--color-ink);
    border-color: var(--color-primary);
}

.product-detail {
    display: grid;
    gap: 1.8rem;
    padding: 2.4rem 0 4rem;
}
@media (min-width: 900px) {
    .product-detail {
        grid-template-columns: 1.15fr .85fr;
        gap: 2.6rem;
        align-items: start;
        padding-top: 3rem;
    }
}
.gallery { display: grid; gap: .5rem; }
.gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    background: #0a121c;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--color-line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumbs { display: flex; gap: .4rem; overflow-x: auto; }
.thumbs button {
    border: 2px solid transparent;
    padding: 0;
    background: #0a121c;
    border-radius: 10px;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    cursor: pointer;
    overflow: hidden;
}
.thumbs button[aria-current="true"] { border-color: var(--color-primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.prose :where(p, ul) { margin: 0 0 .8rem; }
.qty-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 1rem 0;
}
.qty-row input { width: 88px; text-align: center; }

.cart-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.cart-head h1 { margin: 0; }
.cart-count-pill {
    margin: 0 0 .2rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    border: 1px solid rgb(126 231 255 / .32);
    color: var(--color-primary);
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
}
.cart-total-label {
    margin: .35rem 0 0;
    color: var(--color-muted);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cart-clear {
    width: 100%;
    margin-top: .45rem;
    justify-content: center;
}
.cart-layout {
    display: grid;
    gap: 1rem;
}
@media (min-width: 900px) {
    .cart-layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(280px, .72fr);
        align-items: start;
    }
}
.cart-table { display: grid; gap: .75rem; }
.cart-line {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: .85rem;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: .75rem;
    align-items: center;
}
.cart-thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.cart-line img {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: #fff;
}
.cart-line-body { min-width: 0; }
.cart-line-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
}
.cart-line h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.25;
}
.cart-line h2 a { color: var(--color-neon); text-decoration: none; }
.cart-line h2 a:hover { color: var(--color-primary); }
.cart-line-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-top: .55rem;
}
.cart-line-foot .price { margin: 0; font-size: 1rem; }
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    overflow: hidden;
    background: #0c1520;
}
.qty-stepper button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--color-neon);
    font-size: 1.25rem;
    cursor: pointer;
}
.qty-stepper button:hover { background: rgb(126 231 255 / .1); }
.qty-stepper input {
    width: 42px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--color-text);
    text-align: center;
    font: inherit;
    font-weight: 600;
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.icon-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    border: 1px solid var(--color-line);
    background: transparent;
    color: var(--color-neon);
    cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: rgb(126 231 255 / .45); color: var(--color-primary); }
.cart-summary {
    margin-top: 0;
    padding: 1.35rem;
    display: grid;
    gap: .35rem;
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgb(126 231 255 / .16), transparent 55%),
        var(--color-surface);
    color: var(--color-text);
    border-radius: var(--radius);
    border: 1px solid rgb(126 231 255 / .22);
}
@media (min-width: 900px) {
    .cart-summary { position: sticky; top: calc(var(--header-h) + .8rem); }
}
.cart-summary .btn { width: 100%; }
.cart-summary .price {
    color: var(--color-neon);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin: .1rem 0 .2rem;
}
.cart-hint {
    margin: 0 0 .55rem;
    color: var(--color-muted);
    font-size: .86rem;
}
.cart-dock {
    display: none;
}
@media (max-width: 899px) {
    .cart-summary .btn-primary { display: none; }
    .cart-dock {
        position: fixed;
        left: .7rem;
        right: .7rem;
        bottom: calc(.7rem + env(safe-area-inset-bottom));
        z-index: 30;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .8rem;
        padding: .7rem .75rem .7rem 1rem;
        border-radius: 999px;
        border: 1px solid rgb(126 231 255 / .28);
        background: rgb(7 13 22 / .92);
        backdrop-filter: blur(16px);
        box-shadow: var(--shadow-soft);
    }
    .cart-dock span { display: block; color: var(--color-muted); font-size: .75rem; }
    .cart-dock strong {
        font-family: var(--font-display);
        color: var(--color-neon);
        font-size: 1.05rem;
    }
    .section--cart { padding-bottom: 6.5rem; }
}
.empty {
    text-align: center;
    padding: 2.4rem 1rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px dashed var(--color-line);
}
.empty svg {
    width: 42px;
    height: 42px;
    margin-bottom: .6rem;
    color: var(--color-primary);
}

.site-footer {
    background: #050910;
    color: rgb(232 246 255 / .78);
    padding: 3.6rem 0 1.6rem;
    margin-top: 0;
    border-top: 1px solid var(--color-line);
}
.footer-grid {
    display: grid;
    gap: 1.2rem;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--color-neon);
    margin: 0 0 .4rem;
    letter-spacing: -.03em;
}
.site-footer a { color: var(--color-neon); }
.footer-copy { font-size: .8rem; opacity: .55; margin-top: 1.5rem; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 1.2rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid rgb(126 231 255 / .35);
    padding: .7rem 1.1rem;
    border-radius: 999px;
    z-index: 60;
    box-shadow: var(--shadow-soft);
    max-width: calc(100vw - 1.6rem);
}
.toast[hidden] { display: none; }
.toast-link {
    color: var(--color-ink);
    background: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: .82rem;
    padding: .35rem .7rem;
    border-radius: 999px;
}
.toast-link:hover { color: var(--color-ink); }
.mobile-cart-bar { display: none; }

.admin-body { background: var(--color-bg); color: var(--color-text); }
.admin-bar {
    background: #050910;
    color: var(--color-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--color-line);
}
.admin-bar a { color: var(--color-primary); text-decoration: none; }
.admin-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 .9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--color-neon);
    font-weight: 600;
    font-size: .92rem;
}
.admin-nav a[aria-current="page"] {
    color: var(--color-primary);
    border-color: rgb(126 231 255 / .4);
    background: rgb(126 231 255 / .1);
}
.admin-nav a.admin-nav-new {
    background: var(--color-primary);
    color: var(--color-ink);
    border-color: transparent;
}
.admin-nav a.admin-nav-out { color: var(--color-muted); }
.admin-nav a:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.admin-wrap { width: min(1100px, calc(100% - 2rem)); margin: 1.2rem auto 2rem; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--color-surface); border-radius: 12px; overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--color-line); font-size: .92rem; }
.admin-table img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.form-grid { display: grid; gap: .8rem; max-width: 720px; }
.form-grid textarea { min-height: 160px; }
.login-box {
    width: min(400px, calc(100% - 2rem));
    margin: 12vh auto;
    background: var(--color-surface);
    padding: 1.6rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-line);
    box-shadow: var(--glow);
}
.pwa-banner {
    position: fixed;
    left: 50%;
    bottom: calc(1.2rem + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(420px, calc(100% - 1.5rem));
    background: var(--color-surface);
    border: 1px solid rgb(126 231 255 / .35);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    z-index: 70;
    box-shadow: var(--shadow-soft);
}
.pwa-banner p { margin: 0 0 .7rem; font-size: .92rem; }
.pwa-banner-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.pwa-banner .btn { min-height: 44px; flex: 1; }
.pwa-ios-hint { color: var(--color-muted); font-size: .82rem; margin: .5rem 0 0 !important; }

.admin-bar {
    flex-wrap: wrap;
    gap: .6rem;
}
.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .8rem;
    align-items: center;
}
.admin-filters {
    display: grid;
    gap: .6rem;
    margin-bottom: 1rem;
}
@media (min-width: 700px) {
    .admin-filters { grid-template-columns: 1fr 160px 140px 140px auto; align-items: end; }
}
.admin-filters label { font-size: .8rem; font-weight: 600; display: block; margin-bottom: .25rem; }
.admin-filters input,
.admin-filters select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    padding: .5rem .7rem;
    font: inherit;
    background: #0c1520;
    color: var(--color-text);
}
.admin-count {
    margin: 0 0 1rem;
    color: var(--color-muted);
    font-size: .88rem;
}
.admin-pager {
    display: grid;
    gap: .65rem;
    margin: 0 0 1rem;
    padding: .8rem .9rem;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 14px;
}
.admin-table-wrap + .admin-pager { margin-top: 1rem; margin-bottom: 0; }
.admin-pager-status {
    margin: 0;
    color: var(--color-muted);
    font-size: .88rem;
}
.admin-pager-bar {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
}
.admin-pager-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 .95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    text-decoration: none;
    font-weight: 600;
    font-size: .88rem;
    color: var(--color-text);
    background: #0c1520;
    white-space: nowrap;
}
.admin-pager-btn:hover {
    border-color: rgb(126 231 255 / .45);
    color: var(--color-primary);
}
.admin-pager-btn.is-off {
    opacity: .38;
    pointer-events: none;
}
.admin-pager-btn:focus-visible,
.admin-pager-num:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}
.admin-pager-pages {
    display: flex;
    align-items: center;
    gap: .28rem;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    flex: 1;
    min-width: 0;
    scrollbar-width: thin;
}
.admin-pager-num {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--color-line);
    text-decoration: none;
    color: var(--color-text);
    background: #0c1520;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
a.admin-pager-num:hover {
    border-color: rgb(126 231 255 / .45);
    color: var(--color-primary);
}
.admin-pager-num.is-current {
    background: var(--color-primary);
    color: var(--color-ink);
    border-color: var(--color-primary);
}
.admin-pager-gap {
    min-width: 1.4rem;
    color: var(--color-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
@media (min-width: 768px) {
    .admin-pager {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding: .7rem .9rem .7rem 1rem;
    }
    .admin-pager-status { order: 2; text-align: right; }
}
.admin-cards { display: grid; gap: .75rem; }
.admin-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: .75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: .8rem;
}
.admin-card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    background: #0a121c;
}
.admin-card-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.admin-card-actions .btn { min-height: 44px; }
.btn.is-on {
    border-color: rgb(126 231 255 / .55);
    color: var(--color-ink);
    background: var(--color-primary);
}
.sort-row {
    display: inline-flex;
    align-items: stretch;
    margin-top: .45rem;
    border: 1px solid rgb(126 231 255 / .35);
    border-radius: 999px;
    overflow: hidden;
    background: #0c1520;
}
.sort-row input {
    width: 4.2rem;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--color-neon);
    text-align: center;
    font: inherit;
    font-weight: 700;
    padding: 0;
}
.sort-row button {
    border: 0;
    border-left: 1px solid rgb(126 231 255 / .28);
    background: var(--color-primary);
    color: var(--color-ink);
    min-height: 44px;
    padding: 0 .95rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.sort-row input::-webkit-outer-spin-button,
.sort-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sort-row input { -moz-appearance: textfield; appearance: textfield; }
.sort-row button:focus-visible { outline: 3px solid var(--color-neon); outline-offset: -3px; }
.admin-table .sort-row { margin-top: 0; }
@media (max-width: 767px) {
    .admin-table-wrap { display: none; }
}
@media (min-width: 768px) {
    .admin-cards { display: none; }
}

.alert { padding: .7rem 1rem; border-radius: 10px; background: #3a1c22; color: #ffc9c2; margin-bottom: 1rem; }
.notice { padding: .7rem 1rem; border-radius: 10px; background: #1c2a22; color: #c6ead4; margin-bottom: 1rem; }
.thumb-admin { display: flex; gap: .5rem; flex-wrap: wrap; }
.thumb-admin figure { margin: 0; width: 90px; }

html.js .reveal {
    opacity: 0;
    transform: translateY(32px);
}
html.js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .7s ease, transform .75s cubic-bezier(.22, 1, .36, 1);
}

@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}
@keyframes localpulse {
    from { transform: scale(1); }
    to { transform: scale(1.03); }
}

@keyframes cardshine {
    from { transform: translateX(-130%); }
    to { transform: translateX(130%); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-scroll svg { animation: none; }
    .scroll-progress { display: none; }
    .btn, .product-card, .product-card .thumb img, .reveal, .cart-fab, .local-slides figure, .local-lightbox img, .service-card, .contact-card, .service-icon, .local-tour, .tech-card-more { transition: none; }
    .local-tour:hover { transform: none; }
    .cart-fab.is-pop { animation: none; }
    .hero-photo, .local-slides figure.is-active img, .product-card::before, .service-card::before, .featured-track, .featured-rail .product-card .thumb::after { animation: none; }
    .featured-set--clone { display: none; }
    .featured-rail {
        overflow-x: auto;
        cursor: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .featured-rail .product-card { transform: none; }
    .hero-photo { filter: saturate(.88) contrast(1.04) brightness(.82); }
    html.js .reveal { opacity: 1; transform: none; }
    .product-card, .service-card, .contact-card { transform: none !important; }
    .product-card::before, .service-card::before { display: none; }
    .page-intro-media img { transform: none; }
}
