/* Lote · Bento oscuro
   Un solo sitio, dos temas (ámbar nocturno y lima neón). Todo el color vive en los
   tokens de abajo: para otra paleta basta con agregar otro bloque [data-theme="..."]. */

/* ---------- Tokens ---------- */
:root,
[data-theme="ambar"] {
  --bg: #0B0C10;
  --bg-rgb: 11 12 16;
  --surface: #16181E;          /* tarjetas */
  --surface-2: #1B1E26;        /* degradado de tarjetas, campos */
  --surface-rgb: 22 24 30;
  --nav-bg: #0F1218;
  --border: #2C2F35;
  --text: #F4EFE6;
  --muted: #9A9488;
  --accent: #FF7A2F;           /* acción, acentos y tarjetas de color */
  --accent-rgb: 255 122 47;
  --on-accent: #1A0E05;        /* texto sobre el acento */
  --glow-1: rgb(255 122 47 / 0.2);   /* brillo detrás del hero */
  --glow-2: transparent;             /* segundo brillo (solo lima) */
  --hero-photo: url("assets/a-01-hero.webp");
  --cover-photo: url("assets/a-01-hero-480.webp");   /* miniatura del PDF: la foto grande reducida 8x se ve granulosa */
}

[data-theme="lima"] {
  --bg: #07090D;
  --bg-rgb: 7 9 13;
  --surface: #12161F;
  --surface-2: #151A23;
  --surface-rgb: 18 22 31;
  --nav-bg: #0E1117;
  --border: #2A2E36;
  --text: #F3F5F7;
  --muted: #8C97A8;
  --accent: #C6FF3D;
  --accent-rgb: 198 255 61;
  --on-accent: #0B1004;
  --glow-1: rgb(198 255 61 / 0.14);
  --glow-2: rgb(59 107 255 / 0.2);
  --hero-photo: url("assets/01-hero-lima.webp");
  --cover-photo: url("assets/01-hero-lima-480.webp");
}

:root {
  --tela-photo: url("assets/07-tela.webp");
  --line: rgb(255 255 255 / 0.1);
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --margin: clamp(1.25rem, 6.94vw, 6.25rem);
  --section-y: clamp(4.5rem, 8.5vw, 8rem);
  --radius: 2.25rem;
  --radius-sm: 1.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--accent); color: var(--on-accent); font-weight: 700; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.15rem; height: 1.15rem; flex: none; }
.container { padding-inline: var(--margin); max-width: 90rem; margin-inline: auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* Cada foto existe en dos versiones; se muestra la del tema activo.
   Las ocultas son loading="lazy" y no se descargan. */
[data-theme="ambar"] .themed--lima,
[data-theme="lima"] .themed--ambar { display: none; }

/* ---------- Piezas ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 1rem 0.55rem 0.85rem;
  border: 1px solid var(--border); border-radius: 999px; background: rgb(255 255 255 / 0.02);
  font: 500 0.72rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgb(var(--accent-rgb) / 0.8); }
.pill--ink { background: rgb(0 0 0 / 0.06); border-color: rgb(0 0 0 / 0.25); color: var(--on-accent); }
.pill--ink .dot { background: var(--on-accent); box-shadow: none; }

.title {
  margin-top: 1.3rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1;
  font-size: clamp(2.4rem, 4.25vw, 3.85rem);
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.5rem; padding: 0.9rem 1.9rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 0.98rem; text-decoration: none;
  box-shadow: 0 8px 30px -8px rgb(var(--accent-rgb) / 0.55);
  transition: transform 220ms var(--ease), box-shadow 220ms, filter 200ms;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 36px -8px rgb(var(--accent-rgb) / 0.7); }
.button:active { transform: translateY(0); }
.button--sm { min-height: 3rem; padding: 0.7rem 1.5rem; font-size: 0.95rem; }
.button--ghost { background: rgb(255 255 255 / 0.03); color: var(--text); border-color: var(--border); box-shadow: none; }
.button--ghost:hover { background: rgb(255 255 255 / 0.08); box-shadow: none; filter: none; }
.button--ink { background: var(--on-accent); color: var(--accent); box-shadow: none; }
.button--block { width: 100%; }

.card, .tile {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); overflow: hidden;
}
.card--pad { padding: clamp(1.5rem, 2.8vw, 2.5rem); }
.tile--accent { background: var(--accent); border-color: transparent; color: var(--on-accent); }

.chip {
  position: absolute; top: 1.4rem; left: 1.4rem; z-index: 2; padding: 0.3rem 0.5rem;
  font: 700 0.72rem/1 var(--mono); letter-spacing: 0.04em; color: var(--text); text-shadow: 0 1px 8px rgb(0 0 0 / 0.6);
}
.chip--blur {
  padding: 0.5rem 0.75rem; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 999px;
  background: rgb(11 12 16 / 0.55); backdrop-filter: blur(10px); text-shadow: none; font-weight: 500;
}
.chip--right { left: auto; right: 1.4rem; }
.chip b { color: var(--accent); margin-right: 0.35rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
  padding: 1.5rem var(--margin); transition: background-color 300ms, backdrop-filter 300ms, padding 300ms;
}
.site-header.is-scrolled { padding-block: 0.9rem; background: rgb(var(--surface-rgb) / 0.55); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; justify-self: start; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.04em; text-decoration: none; }
.brand-mark { width: 1.6rem; height: 1.6rem; border-radius: 0.45rem; background: var(--accent); box-shadow: 0 0 18px rgb(var(--accent-rgb) / 0.5); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 0.45rem; border-radius: 0.2rem; background: var(--bg); }
.site-nav { display: flex; gap: 0.2rem; padding: 0.4rem; border: 1px solid var(--border); border-radius: 999px; background: var(--nav-bg); }
.site-nav a { padding: 0.65rem 1.05rem; border-radius: 999px; font-size: 0.93rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 200ms, background-color 200ms; }
.site-nav a:hover { color: var(--text); }
.site-nav a.is-active { background: rgb(255 255 255 / 0.1); color: var(--text); font-weight: 700; }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle { display: none; min-height: 3rem; padding: 0 1.1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--nav-bg); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.mobile-nav { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 0.2rem; padding: 6rem var(--margin) 3rem; background: rgb(var(--surface-rgb) / 0.97); backdrop-filter: blur(20px); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding-block: 0.4rem; font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: clamp(0.5rem, 2.5vw, 2.4rem); }
.hero::before {
  content: ""; position: absolute; inset: -6rem 0 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 38% at 50% 22%, var(--glow-1), transparent 70%),
    radial-gradient(ellipse 30% 30% at 92% 55%, var(--glow-2), transparent 70%);
}
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(0rem, 1vw, 1rem); }
.hero-title { margin-top: 1.8rem; font-weight: 700; letter-spacing: -0.05em; line-height: 0.97; font-size: clamp(2.9rem, 7.8vw, 6.9rem); max-width: 17ch; }
.hero-title span { display: block; color: var(--accent); }
.hero-lead { margin-top: 1.8rem; max-width: 36rem; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.65; color: var(--muted); }
.hero-actions { margin-top: 2.3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

.bento-hero {
  margin-top: clamp(3rem, 6vw, 5.5rem); display: grid; gap: 1.25rem;
  grid-template-columns: 1fr 2fr 1fr; grid-template-rows: repeat(2, 12.5rem);
}
.tile--min { grid-row: span 2; }
.tile--shelf { grid-row: span 2; background: var(--hero-photo) center / cover no-repeat; }
.tile--shelf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 55%, rgb(0 0 0 / 0.55)); }
.tile--shelf .chip { top: auto; bottom: 1.4rem; left: 1.4rem; z-index: 2; }
.tile--shelf .chip--right { left: auto; right: 1.4rem; }
.tile--stat { padding: clamp(1.4rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; justify-content: space-between; }
.stat { display: flex; align-items: baseline; gap: 0.6rem; font-family: var(--mono); line-height: 0.85; }
.stat b { font-weight: 700; letter-spacing: -0.06em; font-size: clamp(3.2rem, 6.2vw, 5.5rem); font-feature-settings: "zero" 1; }
.stat span { font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); }
.tile--min .stat b { font-size: clamp(5rem, 10.5vw, 9.4rem); }
.tile--stat p { color: var(--muted); font-size: 0.98rem; line-height: 1.5; max-width: 16rem; }

/* ---------- Secciones ---------- */
.section { padding-top: var(--section-y); }
.section--last { padding-bottom: var(--section-y); }

/* 01 condiciones */
.terms-grid { margin-top: clamp(2rem, 4vw, 3.2rem); display: grid; grid-template-columns: 0.71fr 1fr; gap: 1.25rem; align-items: stretch; }
.terms-card h3 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 1.1rem; }
.terms-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.terms-card dt { font: 500 0.75rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.terms-card dd { font-weight: 600; text-align: right; }
.tiers { display: grid; gap: 1.25rem; grid-template-rows: repeat(3, 1fr); }
.tier { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 4vw, 3.6rem); padding: 1.5rem clamp(1.4rem, 2.8vw, 2.4rem); border-radius: var(--radius); }
.tier-letter { font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.tier h3 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.tier .mono { font-size: 0.85rem; font-weight: 500; white-space: nowrap; }
.bar { margin-top: 0.9rem; height: 0.3rem; border-radius: 999px; background: rgb(255 255 255 / 0.1); }
.bar i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--accent); box-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.5); }

/* 02 productos */
.bento-products {
  margin-top: clamp(2rem, 4vw, 3.2rem); display: grid; gap: 1.25rem;
  grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(18rem, 1fr));
}
.product { min-height: 18rem; }
.product--big { grid-row: span 2; }
.product .media, .product .media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.product .media img { object-fit: cover; transition: transform 700ms var(--ease); }
.product:hover .media img { transform: scale(1.04); }
.product::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0.5) 0%, rgb(0 0 0 / 0) 28%, rgb(0 0 0 / 0) 42%, rgb(0 0 0 / 0.78) 100%); pointer-events: none; }
.product-info { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; z-index: 2; }
.product h3 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; text-shadow: 0 2px 14px rgb(0 0 0 / 0.45); }
.product--big h3 { font-size: clamp(2rem, 3vw, 2.7rem); }
.product-info .mono { margin-top: 0.45rem; font-size: 0.82rem; color: rgb(255 255 255 / 0.82); }
.product-more { padding: 1.9rem; display: flex; flex-direction: column; text-decoration: none; transition: transform 300ms var(--ease); }
.product-more:hover { transform: translateY(-4px); }
.product-more h3 { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; max-width: 12ch; }
.product-more p { margin-top: 0.7rem; font-size: 0.95rem; color: color-mix(in srgb, var(--on-accent) 88%, var(--accent)); max-width: 16rem; }
.round { margin-top: auto; align-self: flex-end; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--on-accent); color: var(--accent); }

/* 03 pasos */
.steps { margin-top: clamp(2rem, 4vw, 3.2rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.steps li { display: flex; flex-direction: column; align-items: flex-start; }
.outline-num {
  font: 700 clamp(5rem, 8.6vw, 7.8rem)/0.9 var(--mono); letter-spacing: -0.06em; font-feature-settings: "zero" 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 1.8rem;
}
.steps h3 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.steps p { margin-top: 0.6rem; color: var(--muted); }
.tag { margin-top: auto; padding: 0.5rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.steps p + .tag { margin-top: 1.5rem; }

/* 04 envíos + 05 catálogo */
.ship-grid { display: grid; grid-template-columns: 0.71fr 1fr; gap: 1.25rem; align-items: stretch; }
.card-label { display: flex; justify-content: space-between; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card-title { margin-top: 1.5rem; font-size: clamp(2rem, 3.3vw, 2.9rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.ship-card .muted { margin-top: 1rem; }
.timeline { margin-top: 1.8rem; position: relative; display: grid; gap: 1.05rem; }
.timeline::before { content: ""; position: absolute; left: 0.6rem; top: 0.9rem; bottom: 0.9rem; width: 1.5px; background: var(--accent); opacity: 0.6; }
.timeline li { position: relative; display: flex; justify-content: space-between; align-items: center; padding-left: 2.6rem; font-weight: 600; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.25rem; height: 1.25rem; transform: translateY(-50%); border-radius: 50%; border: 2px solid var(--accent); background: var(--surface); }
.timeline li.is-last::before { background: var(--accent); box-shadow: 0 0 14px rgb(var(--accent-rgb) / 0.7); }
.timeline em { font: 500 0.78rem/1 var(--mono); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.note { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); }
.ship-photo { margin-top: 1.4rem; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }

.catalog-card { padding: clamp(1.5rem, 2.8vw, 2.5rem); display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; align-content: start; }
.catalog-card .pill { grid-column: 1; grid-row: 1; justify-self: start; }
.catalog-copy { grid-column: 1; grid-row: 2; }
.catalog-copy .card-title { margin-top: 1.2rem; }
.catalog-copy > p:not(.file-meta) { margin-top: 1.1rem; color: color-mix(in srgb, var(--on-accent) 88%, var(--accent)); }
.checks { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 600; }
.checks .icon { margin-top: 0.25rem; }
.catalog-copy .button { margin-top: 1.8rem; }
.file-meta { margin-top: 1rem; font-size: 0.78rem; color: color-mix(in srgb, var(--on-accent) 82%, var(--accent)); }

.pdf-mock { position: relative; grid-column: 2; grid-row: 1 / span 2; align-self: start; min-height: 21rem; margin: -0.5rem -0.5rem 0 0; }
.sheet { position: absolute; border-radius: 0.6rem; box-shadow: 0 24px 50px -16px rgb(0 0 0 / 0.55); }
.sheet--back { left: 0; top: 8%; width: 66%; height: 90%; transform: rotate(-6deg); background: #1B1109; background: color-mix(in srgb, var(--on-accent) 92%, var(--accent)); }
.sheet--side {
  right: -2%; top: 3%; width: 60%; height: 86%; transform: rotate(4deg); background: #F4EFE6;
  background:
    repeating-linear-gradient(180deg, transparent 0 18px, rgb(0 0 0 / 0.1) 18px 26px) 16% 14% / 70% 70% no-repeat,
    #F1ECE2;
}
.cover { position: absolute; left: 20%; top: 0; width: 62%; aspect-ratio: 200 / 250; display: flex; flex-direction: column; border-radius: 0.7rem; overflow: hidden; background: var(--on-accent); color: var(--text); box-shadow: 0 24px 50px -16px rgb(0 0 0 / 0.6); }
.cover-photo { flex: 50 1 0; background: var(--cover-photo) center / cover no-repeat; }
.cover-body { flex: 50 1 0; padding: 0.9rem; display: flex; flex-direction: column; justify-content: space-between; }
.cover-kicker { font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.cover-title { font-size: clamp(1.1rem, 1.9vw, 1.7rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.cover-foot { display: flex; justify-content: space-between; padding-top: 0.5rem; border-top: 1px solid rgb(var(--accent-rgb) / 0.6); font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* 06 preguntas */
.faq-grid { margin-top: clamp(2rem, 4vw, 3.2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.faq { padding: 1.5rem 1.8rem; border-radius: var(--radius-sm); }
.faq h3 { display: flex; gap: 0.7rem; align-items: baseline; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
.faq h3 b { font-family: var(--mono); color: var(--accent); }
.faq p { margin-top: 0.5rem; padding-left: 1.55rem; color: var(--muted); }

/* 07 cotización */
.quote-card {
  position: relative; isolation: isolate; border: 1px solid var(--border); border-radius: calc(var(--radius) + 0.4rem); overflow: hidden;
  padding: clamp(1.5rem, 4.4vw, 4rem); display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgb(var(--accent-rgb) / 0.22), transparent 70%),
    linear-gradient(rgb(var(--surface-rgb) / 0.86), rgb(var(--bg-rgb) / 0.94)),
    var(--tela-photo) center / cover no-repeat;
  background-color: var(--surface);
}
.quote-text .title { margin-top: 1.5rem; }
.lead { margin-top: 1.2rem; max-width: 28rem; color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.contact { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.contact > div { display: flex; gap: 2rem; align-items: baseline; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.contact dt { flex: 0 0 5.2rem; font: 500 0.75rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact dd { font-family: var(--mono); font-weight: 500; font-size: 0.98rem; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--accent); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.1rem; }
.field span, .chips legend { display: block; margin-bottom: 0.5rem; font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 3.4rem; padding: 0.6rem 1.1rem; border: 1px solid var(--border); border-radius: 1rem;
  background: rgb(255 255 255 / 0.04); font-size: 1rem; appearance: none; transition: border-color 200ms, background-color 200ms;
}
.field select {
  background: rgb(255 255 255 / 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%239A9488'/%3E%3C/svg%3E") right 1.1rem center no-repeat;
  padding-right: 2.6rem; cursor: pointer;
}
.field select option { background: #16181E; color: #F4EFE6; }
.field input::placeholder { color: var(--muted); opacity: 0.9; }
.field input:hover, .field select:hover { border-color: rgb(255 255 255 / 0.22); }
.field input:focus-visible, .field select:focus-visible { outline: 0; border-color: var(--accent); background-color: rgb(255 255 255 / 0.06); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.2); }
.field input.is-invalid { border-color: #FF6B6B; }
.chips { border: 0; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips legend { padding: 0; width: 100%; margin-bottom: 0.7rem; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip-opt span {
  display: block; margin: 0; padding: 0.65rem 1.2rem; border: 1px solid var(--border); border-radius: 999px;
  font: 600 0.9rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); transition: background-color 180ms, color 180ms, border-color 180ms;
}
.chip-opt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.button--glow { min-height: 3.8rem; font-size: 1.05rem; }
.form-note { margin-top: 1rem; text-align: center; font-size: 0.78rem; color: var(--muted); }
.form-note.is-error { color: #FF8A8A; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 2rem; padding-block: 2rem; font: 400 0.8rem/1.5 var(--mono); color: var(--muted); }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--accent); }

/* ---------- Selector de tema (solo con JS) ---------- */
.theme-switcher {
  position: fixed; left: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; gap: 0.5rem; padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.5); font: 600 0.8rem/1 var(--sans);
}
.js .theme-switcher { display: flex; }
.theme-switcher select { background: var(--nav-bg); border: 1px solid var(--border); border-radius: 999px; padding: 0.45rem 0.7rem; min-height: 2.3rem; cursor: pointer; }
.theme-switcher select option { background: #16181E; color: #F4EFE6; }

/* ---------- Entradas (solo con JS; sin JS todo es visible) ---------- */
.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }
.js .product-more[data-rise].is-in:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .button, .product .media img, .product-more { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .bento-hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tile--shelf { grid-column: 1 / -1; grid-row: 1; min-height: 20rem; }
  .tile--min { grid-row: auto; }
  .tile--stat { min-height: 12.5rem; }
  .bento-hero .tile--min, .bento-hero .tile--dozen { grid-row: 2; }
  .bento-hero .tile--days { grid-column: 1 / -1; grid-row: 3; }
  .tile--min .stat b { font-size: clamp(4rem, 12vw, 7rem); }
  .terms-grid, .ship-grid { grid-template-columns: 1fr; }
  .bento-products { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .product--big { grid-column: 1 / -1; grid-row: auto; min-height: 30rem; }
  .steps { grid-template-columns: 1fr; }
  .quote-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header-cta .button { display: none; }
  .hero-actions .button { flex: 1 1 100%; }
  .bento-hero { grid-template-columns: 1fr; }
  .bento-hero .tile--min, .bento-hero .tile--dozen, .bento-hero .tile--days { grid-column: 1; grid-row: auto; }
  .tile--shelf { min-height: 16rem; }
  .tile--min .stat b { font-size: 5.5rem; }
  .tier { grid-template-columns: auto 1fr; }
  .tier .mono { grid-column: 2; }
  .bento-products { grid-template-columns: 1fr; }
  .product { min-height: 20rem; }
  .catalog-card { grid-template-columns: 1fr; }
  .catalog-card .pill, .catalog-copy, .pdf-mock { grid-column: 1; grid-row: auto; }
  .pdf-mock { min-height: 20rem; max-width: 22rem; margin: 1.5rem auto 0; width: 100%; }
  .faq-grid, .field-row { grid-template-columns: 1fr; }
  .quote-card { padding: 1.5rem; }
  .theme-switcher { left: 0.6rem; bottom: 0.6rem; }
}
