:root {
  color-scheme: dark;
  --bg: #07090f;
  --surface: rgba(17, 21, 31, .72);
  --surface-strong: #11151f;
  --line: rgba(255,255,255,.1);
  --text: #f5f7fb;
  --muted: #9ba5b7;
  --green: #4dc08d;
  --cyan: #4cc2df;
  --blue: #14518a;
  --purple: #9178ff;
  --radius: 28px;
  --shadow: 0 28px 90px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.ambient { position: fixed; width: 55vmax; height: 55vmax; border-radius: 50%; filter: blur(110px); opacity: .12; pointer-events: none; z-index: -2; }
.ambient-one { background: var(--green); top: -35vmax; left: -20vmax; }
.ambient-two { background: var(--purple); right: -38vmax; top: 25vh; }
.site-header { position: sticky; top: 0; z-index: 20; background: #f9f9f9; color: #263548; color-scheme: light; border-bottom: 1px solid #dce2e8; transition: .25s ease; }
.site-header.scrolled { background: #f9f9f9; box-shadow: 0 6px 20px rgba(7,9,15,.1); }
.header-inner { padding-block: 20px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; width: 175px; flex: 0 0 auto; }
.brand img, .footer-brand img { display: block; max-width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 25px; margin-left: auto; }
.main-nav a, .text-link { color: #344256; font-size: 13px; font-weight: 500; transition: .2s; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active, .text-link:hover { color: #14518a; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: linear-gradient(135deg, rgba(77,192,141,.98), rgba(76,194,223,.98)); color: #04100d; font-weight: 700; box-shadow: 0 12px 35px rgba(76,194,223,.14); transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(76,194,223,.25); }
.button-small { min-height: 38px; padding: 0 16px; font-size: 13px; }
.button-secondary { background: rgba(255,255,255,.05); color: white; box-shadow: none; }
.menu-toggle { display: none; margin-left: auto; padding: 10px; border: 0; background: none; color: #14518a; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 6px; background: currentColor; transition: .2s; }
.page { min-height: 65vh; animation: reveal .55s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } }
.hero { padding: 105px 0 78px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 22px; color: #b6c0d0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
h1 { max-width: 970px; margin: 0 auto 25px; font-size: clamp(46px, 7vw, 88px); line-height: .98; letter-spacing: -.065em; overflow-wrap: anywhere; }
.gradient-text { color: transparent; background: linear-gradient(90deg, #fff 8%, #71ddbd 48%, #71cae6 72%, #af9cff); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 690px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ai-window { position: relative; max-width: 980px; min-height: 390px; margin: 25px auto 0; padding: 1px; overflow: hidden; border-radius: 34px; background: linear-gradient(135deg, rgba(77,192,141,.7), rgba(76,194,223,.12) 50%, rgba(145,120,255,.7)); box-shadow: var(--shadow); }
.ai-window-inner { min-height: 388px; border-radius: 33px; background: linear-gradient(145deg, rgba(19,24,35,.98), rgba(9,12,19,.96)); display: grid; place-items: center; overflow: hidden; }
.orb { width: min(46vw, 250px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #eafff7 0 3%, #58d8b0 13%, #308ab4 39%, #5b3f9b 65%, transparent 72%), conic-gradient(from 180deg, var(--green), var(--cyan), var(--purple), var(--green)); box-shadow: 0 0 90px rgba(76,194,223,.3), inset 0 0 28px rgba(255,255,255,.3); filter: saturate(115%); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(4deg); } }
.metric { position: absolute; padding: 12px 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(10,13,21,.68); backdrop-filter: blur(16px); color: #cbd3df; font-size: 12px; }
.metric strong { display: block; color: white; font-size: 20px; }
.metric-a { left: 5%; top: 16%; }.metric-b { right: 5%; bottom: 16%; }
.section { padding: 82px 0; }
.section-heading { max-width: 740px; margin-bottom: 36px; }
.section-heading h2 { margin: 0 0 15px; font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading p, .page-intro p { margin: 0; color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; overflow: hidden; min-height: 235px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018)); box-shadow: 0 12px 45px rgba(0,0,0,.12); }
.card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -80px; bottom: -100px; border-radius: 50%; background: var(--accent, var(--green)); filter: blur(55px); opacity: .18; }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 45px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.055); color: var(--green); font-size: 20px; }
.card h3 { margin: 0 0 8px; font-size: 21px; }.card p { margin: 0; color: var(--muted); }
.page-intro { padding: 110px 0 48px; max-width: 830px; }
.page-intro .eyebrow { margin-left: 0; }
.feature-list { display: grid; gap: 15px; margin: 22px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; color: #c8d0dc; }.feature-list li::before { content: "✓"; color: var(--green); }
.steps { counter-reset: step; }.step { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }.step::before { counter-increment: step; content: "0" counter(step); color: var(--green); font-size: 13px; font-weight: 700; }.step h3 { margin: 0 0 8px; font-size: 27px; }.step p { margin: 0; color: var(--muted); }
.price { font-size: 42px; font-weight: 700; letter-spacing: -.04em; }.price small { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }.popular { border-color: rgba(77,192,141,.52); }.badge { position: absolute; top: 18px; right: 18px; padding: 5px 9px; border-radius: 999px; background: rgba(77,192,141,.16); color: #79dfb3; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.login-card { max-width: 470px; margin: 85px auto; }.field { display: grid; gap: 7px; margin: 18px 0; }.field label { color: #bac2cf; font-size: 13px; }.field input { width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 14px; outline: 0; background: rgba(255,255,255,.04); color: white; }.field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(76,194,223,.1); }.full { width: 100%; }
.cta { padding: 50px; border: 1px solid rgba(255,255,255,.1); border-radius: 36px; background: radial-gradient(circle at 80% 20%, rgba(76,194,223,.16), transparent 36%), radial-gradient(circle at 20% 90%, rgba(77,192,141,.14), transparent 38%), rgba(14,18,27,.6); text-align: center; }.cta h2 { margin: 0 0 10px; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.05em; }.cta p { color: var(--muted); }
.site-footer { margin-top: 70px; padding: 65px 0 24px; border-top: 1px solid var(--line); background: rgba(5,7,11,.55); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3,1fr); gap: 45px; }.footer-brand img { width: 185px; margin-bottom: 16px; }.footer-brand p, address { color: var(--muted); font-size: 13px; font-style: normal; }.footer-title { margin: 0 0 15px; color: white; font-size: 13px; font-weight: 700; }.site-footer a { display: block; width: fit-content; margin: 8px 0; color: var(--muted); font-size: 13px; }.site-footer a:hover { color: white; }.footer-bottom { display: flex; justify-content: space-between; margin-top: 45px; padding-top: 22px; border-top: 1px solid var(--line); color: #697386; font-size: 11px; }
.whatsapp-fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: #07120b; box-shadow: 0 16px 40px rgba(37,211,102,.28); transition: .2s; }.whatsapp-fab:hover { transform: translateY(-4px) scale(1.03); }.whatsapp-fab img { display: block; width: 100%; height: 100%; }
@media (max-width: 940px) { .menu-toggle { display: block; }.header-actions { display: none; }.main-nav { position: absolute; inset: 100% 18px auto; display: grid; justify-content: stretch; text-align: left; gap: 0; padding: 20px; border: 1px solid #dce2e8; border-radius: 22px; background: #f9f9f9; box-shadow: 0 12px 30px rgba(7,9,15,.15); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .2s; }.main-nav.open { opacity: 1; transform: none; pointer-events: auto; }.main-nav a { padding: 14px; font-size: 16px; }.grid-3 { grid-template-columns: 1fr 1fr; }.footer-grid { grid-template-columns: 1.5fr 1fr; } }
@media (max-width: 650px) { .shell { width: min(100% - 26px, 1180px); }.brand { width: 145px; }.hero, .page-intro { padding-top: 75px; }.hero { padding-bottom: 45px; }.ai-window { min-height: 310px; border-radius: 25px; }.ai-window-inner { min-height: 308px; border-radius: 24px; }.metric { padding: 9px 11px; }.metric strong { font-size: 16px; }.grid-2, .grid-3 { grid-template-columns: 1fr; }.section { padding: 55px 0; }.card { min-height: 210px; }.footer-grid { grid-template-columns: 1fr 1fr; }.footer-brand { grid-column: 1/-1; }.footer-bottom { display: grid; gap: 7px; }.cta { padding: 38px 22px; }.whatsapp-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid #14518a; outline-offset: 4px; }
.site-header .button { border-color: #14518a; background: #14518a; color: #fff; box-shadow: 0 6px 18px rgba(20,81,138,.14); }
.site-header .button:hover { background: #103f6b; border-color: #103f6b; }

/* Catálogo de productos y carrito */
.catalog { padding-block: 30px 60px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.catalog-heading .eyebrow { margin-bottom: 12px; color: #87ddc0; }
.catalog-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.05em; line-height: 1.1; }
.catalog-heading p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.product-card { min-width: 0; overflow: hidden; padding: 10px; border: 1px solid #293340; border-radius: 28px; background: linear-gradient(145deg, rgba(27,36,48,.8), rgba(16,21,30,.8) 70%); display: flex; flex-direction: column; box-shadow: 0 12px 32px rgba(0,0,0,.18); transition: transform .25s, border-color .25s, box-shadow .25s; }
.product-visual { position: relative; overflow: hidden; border-radius: 19px; isolation: isolate; background: #e9e1da; }
.product-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform .45s ease; }
.product-category, .product-nfc { position: absolute; z-index: 1; font-size: 11px; font-weight: 700; line-height: 1; }
.product-category { top: 14px; left: 14px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; color: #253342; background: rgba(249,249,249,.94); box-shadow: 0 3px 12px rgba(0,0,0,.06); }
.product-nfc { bottom: 14px; right: 14px; display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #132c2b; color: #a2f3d2; letter-spacing: .07em; }
.product-nfc span { font-size: 10px; letter-spacing: -.1em; }
@property --nfc-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.product-nfc { isolation: isolate; transition: color .3s, box-shadow .3s; }
.product-nfc::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--nfc-angle), transparent 8%, #74f4c7 25%, #57d8ff 43%, transparent 57%, #ae91ff 76%, transparent 94%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
@keyframes nfc-activity { to { --nfc-angle: 360deg; } }
.product-card:focus-within .product-nfc { color: #dcfff3; box-shadow: 0 0 14px rgba(87,216,255,.35), 0 0 24px rgba(116,244,199,.15); }
.product-card:focus-within .product-nfc::before { opacity: 1; animation: nfc-activity 2.4s linear infinite; }
@media (hover: hover) {
  .product-card:hover .product-nfc { color: #dcfff3; box-shadow: 0 0 14px rgba(87,216,255,.35), 0 0 24px rgba(116,244,199,.15); }
  .product-card:hover .product-nfc::before { opacity: 1; animation: nfc-activity 2.4s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card .product-nfc::before { animation: none !important; }
}

.product-info { padding: 22px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.product-info > p { margin: 0 0 24px; color: #abb7c6; font-size: 14px; line-height: 1.65; }
.product-order { margin-top: auto; padding-top: 18px; border-top: 1px solid #293340; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.product-price { font-size: 14px; font-weight: 600; color: #c8f0e1; }
.product-order .button { min-height: 44px; gap: 18px; border-radius: 12px; padding-inline: 18px; background: #91ecc9; box-shadow: none; }
.product-order .button span { font-size: 20px; font-weight: 400; line-height: 1; }
.product-card:focus-within { border-color: #91ecc9; }
@media (hover: hover) { .product-card:hover { transform: translateY(-6px); border-color: #5c9b91; box-shadow: 0 22px 44px rgba(0,0,0,.3); }.product-card:hover .product-visual img { transform: scale(1.035); }.product-order .button:hover { background: #b3f8df; } }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
.catalog button:focus-visible, .cart-dialog button:focus-visible, .cart-launcher:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.cart-launcher { position: fixed; z-index: 29; right: 24px; bottom: 98px; min-height: 44px; font-size: 14px; }
.cart-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; padding: 28px; width: min(520px, 100%); height: 100dvh; max-height: 100dvh; max-width: 100%; background: #11151f; color: var(--text); border: 0; border-left: 1px solid var(--line); overflow-y: auto; }
.cart-dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.cart-is-open { overflow: hidden; }
.cart-heading, .cart-summary, .cart-actions { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.cart-heading h2 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.cart-note { color: var(--muted); font-size: 14px; }
#cart-status { color: #b6e8d6; font-size: 14px; }
.cart-items { margin: 24px 0; padding: 0; list-style: none; }
.cart-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item > img { width: 72px; height: 72px; border-radius: 12px; object-fit: contain; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item h3 { margin: 0 0 6px; font-size: 16px; }
.cart-item p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.cart-item-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cart-control { min-width: 36px; min-height: 36px; padding: 5px 10px; color: var(--text); border: 1px solid var(--line); background: #202735; border-radius: 9px; }
.cart-summary { padding-block: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cart-actions { flex-wrap: wrap; }
@media (max-width: 940px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .product-grid { grid-template-columns: 1fr; }.cart-dialog { padding: 22px 18px; }.cart-launcher { right: 16px; bottom: 82px; }.product-info { padding: 20px 12px 12px; }.product-grid { gap: 22px; } }

/* Formularios de acceso por email y PIN */
.login-card::after { pointer-events: none; }
.auth-intro, .auth-help { color: var(--muted); }
.login-card .auth-help { font-size: 13px; margin: -4px 0 20px; }
.auth-options { display: grid; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.auth-options .button { padding: 13px 18px; white-space: normal; text-align: center; line-height: 1.5; font-size: 14px; }
.auth-status { padding: 14px; border: 1px solid rgba(76,194,223,.3); border-radius: 12px; color: #d0edf5; background: rgba(76,194,223,.07); font-size: 14px; }
.login-card [id^="pin"] { letter-spacing: .35em; }
.login-card a:focus-visible, .login-card button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* Language selection stays available on mobile. */
.language-switch { order: 5; flex: 0 0 auto; width: 104px; padding: 8px 6px; border: 1px solid #cbd5df; border-radius: 10px; background: #fff; color: #263548; font: inherit; font-size: 13px; cursor: pointer; }
.language-switch:focus-visible { outline: 2px solid #14518a; outline-offset: 3px; }
@media (max-width: 650px) { .header-inner { gap: 8px; }.language-switch { width: 80px; font-size: 11px; padding-inline: 3px; }.menu-toggle { padding: 8px; } }
