/* =========================================================================
   Entelekia Creations — Component system
   Mobile-first. Traduce los prototipos hi-fi del handoff a clases reutilizables.
   ========================================================================= */

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: var(--font-body); }
input:focus-visible, textarea:focus-visible, select:focus-visible,
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
:where(h1, h2, h3, h4) { margin: 0; }
p { margin: 0 0 1em; }

/* ---- Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--white { background: var(--surface); border-block: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--paper { background: var(--paper); }
.section--board { background: var(--board); }
.section--tight { padding-block: clamp(36px, 5vw, 56px); }

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow--muted { color: var(--muted-2); }
.eyebrow--ondark { color: var(--on-dark-mut); }
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: var(--lh-display); color: var(--ink); }
.display--lg { font-size: var(--fs-h1); }
h1, .h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h1); letter-spacing: -.03em; line-height: var(--lh-display); }
h2, .h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); letter-spacing: -.02em; line-height: 1.04; }
h3, .h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); letter-spacing: -.02em; line-height: 1.1; }
h4, .h4 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); letter-spacing: -.01em; line-height: 1.15; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .04em; }
.muted { color: var(--muted); }
.on-dark { color: var(--on-dark); }
.on-dark-soft { color: var(--on-dark-soft); }
.accent { color: var(--accent); }
.measure { max-width: 560px; }
.measure-wide { max-width: 720px; }

/* ---- Logo (Estratos) ---- */
.logo { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.logo--ondark { color: var(--on-dark); }
.logo__k {
  background: var(--k-stripes);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo[data-size="nav"] { font-size: 23px; }
.logo[data-size="footer"] { font-size: 22px; }
.logo[data-size="lg"] { font-size: clamp(34px, 6vw, 64px); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em;
  border-radius: var(--r-pill); padding: 12px 22px; border: 1px solid transparent;
  transition: var(--t-fast); white-space: nowrap;
}
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { filter: brightness(1.05); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost-dark { border-color: #4a443c; color: var(--on-dark); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--accent); }
.btn--lg { padding: 14px 26px; }
.btn--block { display: flex; width: 100%; }
.btn--cta { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.01em; height: 50px; }
.btn[disabled], .btn.is-disabled { background: #e0d8cc; color: #a99e8f; cursor: not-allowed; filter: none; pointer-events: none; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  color: var(--accent-ink); background: var(--accent); border-radius: var(--r-pill);
  padding: 9px 18px; transition: var(--t-fast);
}
.btn-whatsapp:hover { filter: brightness(1.06); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: block; }
.dot--ink { background: var(--ink); width: 8px; height: 8px; }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--accent); }
.arrow-link--ondark { color: var(--on-dark); }
.arrow-link .arr { color: var(--accent); transition: transform .16s ease; }
.arrow-link:hover .arr { transform: translateX(3px); }

/* ---- Chips / tabs / filters ---- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em;
  padding: 9px 16px; border-radius: var(--r-pill); cursor: pointer; white-space: nowrap;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  transition: var(--t-fast);
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips--ondark .chip { border-color: #4a443c; color: var(--on-dark-soft); }
.chips--ondark .chip[aria-pressed="true"], .chips--ondark .chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em;
  color: var(--muted-warm); background: var(--paper); border-radius: var(--r-pill); padding: 5px 11px;
}
.badge {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .03em;
  color: var(--on-dark); background: rgba(33,28,23,.82); border-radius: var(--r-pill); padding: 5px 11px;
}
.badge--star { color: var(--accent); background: transparent; border: 1px solid var(--accent); }
.badge--solid { color: var(--on-dark); background: var(--ink); }

/* ---- Cards ---- */
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); box-shadow: var(--sh-card); }
.card--lift { transition: var(--t-lift); }
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }

/* image placeholder (foto pendiente de sesión real) */
.ph { background: var(--ph-light); position: relative; display: flex; align-items: flex-end; padding: 14px; }
.ph--dark { background: var(--ph-dark); }
.ph__cap { font-family: var(--font-mono); font-size: 10px; line-height: 1.4; color: var(--muted-2); }
.ph--dark .ph__cap { color: var(--on-dark-mut); }
.ratio-4-3 { aspect-ratio: 4/3; }
.ratio-3-4 { aspect-ratio: 3/4; }
.ratio-1-1 { aspect-ratio: 1/1; }
.ratio-7-5 { aspect-ratio: 7/5; }

/* ---- Grids ---- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--gap-sm { gap: var(--gap-sm); }
/* hairline grid (1px separators look) */
.grid--hair { gap: 1px; background: var(--line-3); border: 1px solid var(--line-3); border-radius: var(--r-card-sm); overflow: hidden; }
.grid--hair > * { background: var(--surface); }

/* =========================================================================
   TOPBAR (Un proyecto de Nexvelia)
   ========================================================================= */
.topbar { background: var(--ink); padding: 8px var(--gutter); display: flex; align-items: center; justify-content: center; gap: 8px; }
.topbar__pre { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--on-dark-mut); }
.topbar__brand { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; font-weight: 700; color: var(--on-dark); }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,240,233,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--container); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--text); transition: var(--t-fast); }
.site-nav a:hover { color: var(--accent); }
/* El botón WhatsApp ámbar lleva texto claro — más específico que `.site-nav a` para ganarle. */
.site-nav a.btn-whatsapp,
.site-nav a.btn-whatsapp:hover { color: var(--accent-ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: var(--t-fast); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; max-width: var(--container); margin: 0 auto; padding: clamp(48px,8vw,96px) var(--gutter) clamp(48px,6vw,70px); overflow: hidden; }
.hero__watermark {
  position: absolute; right: -60px; top: -10px; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(220px, 34vw, 440px); line-height: .7;
  background: repeating-linear-gradient(180deg, rgba(201,107,44,.16) 0 14px, transparent 14px 26px);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__inner { position: relative; max-width: 760px; }
.hero__sub { margin-top: 26px; max-width: 560px; }

/* =========================================================================
   DOS VÍAS (path cards)
   ========================================================================= */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.path-card { position: relative; display: block; border-radius: var(--r-card-sm); padding: 44px 40px; min-height: 300px; overflow: hidden; transition: transform .25s ease; }
.path-card:hover { transform: translateY(-4px); }
.path-card--b2b { background: var(--ink); color: var(--on-dark); }
.path-card--b2c { background: var(--accent); color: var(--accent-ink); }
.path-card h3 { color: var(--on-dark); }
.path-card__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.path-card--b2b .path-card__kicker { color: var(--accent); }
.path-card--b2c .path-card__kicker { color: rgba(244,240,233,.8); }
.path-card__desc { font-size: 15px; line-height: 1.55; margin-top: 16px; max-width: 420px; }
.path-card--b2b .path-card__desc { color: var(--on-dark-soft); }
.path-card--b2c .path-card__desc { color: #fbeede; }

/* =========================================================================
   SERVICIOS B2B (vertical tabs + detail)
   ========================================================================= */
.svc { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--gap); align-items: stretch; }
.svc__tabs { display: flex; flex-direction: column; gap: 1px; background: var(--line-3); border: 1px solid var(--line-3); border-radius: var(--r-tile); overflow: hidden; }
.svc__tab { flex: 1 1 auto; display: flex; align-items: center; font-weight: 600; font-size: 16px; padding: 20px 24px; cursor: pointer; background: var(--surface-2); color: var(--muted-warm); border-left: 3px solid transparent; transition: var(--t-fast); text-align: left; width: 100%; font-family: var(--font-body); }
.svc__tab:hover { color: var(--ink); }
.svc__tab[aria-selected="true"] { background: var(--surface); color: var(--ink); border-left-color: var(--accent); }
.svc__panel { background: var(--paper); border-radius: var(--r-tile); padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.spec-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.spec-chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; }

/* =========================================================================
   PRODUCT / SHOP cards
   ========================================================================= */
.product-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card-sm); overflow: hidden; transition: var(--t-lift); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
.product-card__media { position: relative; }
.product-card__media .badge { position: absolute; top: 12px; right: 12px; }
.product-card__body { padding: 22px 22px 24px; }

/* «Compra por ocasión» tiles: la imagen de la categoría (o el placeholder) llena
   el tile y la etiqueta va sobre un degradado inferior para legibilidad. NO usar
   .badge aquí: heredaría .product-card__media .badge { top:12px } y, con bottom:0,
   se estiraría tapando la imagen. */
.occ-tile__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end;
  padding: 34px 14px 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em;
  color: var(--on-dark);
  background: linear-gradient(to top, rgba(33,28,23,.92) 0%, rgba(33,28,23,.55) 52%, rgba(33,28,23,0) 100%);
}
.product-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.product-card__price { font-family: var(--font-mono); font-size: 12px; color: var(--accent); white-space: nowrap; }
.product-card__desc { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 8px; }

.cta-card { background: var(--ink); border-radius: var(--r-card-sm); padding: 30px 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; color: var(--on-dark); }

/* =========================================================================
   PORTFOLIO
   ========================================================================= */
.work-card { border-radius: var(--r-tile); overflow: hidden; background: var(--ink-soft); border: 1px solid var(--ink-line); cursor: pointer; transition: var(--t-lift); }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
.work-card__media { position: relative; }
.work-card__media .work-card__type { position: absolute; top: 11px; left: 11px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid #4a3a2c; border-radius: var(--r-pill); padding: 3px 9px; }
.work-card__body { padding: 16px 16px 18px; }
.work-card__title { font-weight: 600; font-size: 14px; color: var(--on-dark); line-height: 1.25; }
.work-card__meta { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-mut); margin-top: 7px; }

/* =========================================================================
   TRUST + WhatsApp band
   ========================================================================= */
.pillars .pillar__n { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--accent); }
.pillars .pillar { padding: 32px 30px; }
.pillars .pillar h4 { margin-top: 14px; }
.pillars .pillar p { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 8px; margin-bottom: 0; }
.wa-band { background: var(--ink); border-radius: var(--r-card); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; color: var(--on-dark); }
.wa-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================================
   FORMS
   ========================================================================= */
.field { margin-bottom: 18px; }
.field label, .field__label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); display: block; margin-bottom: 7px; }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line-input); border-radius: var(--r-input);
  padding: 12px 14px; font-size: 15px; color: var(--ink); background: var(--surface);
}
.field textarea { resize: vertical; min-height: 96px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.checkbox input { margin-top: 3px; accent-color: var(--accent); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* file dropzone */
.dropzone { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px dashed #c3a07d; border-radius: var(--r-card-sm); padding: 16px 18px; cursor: pointer; transition: var(--t-fast); }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: #fff; }
.dropzone__icon { width: 44px; height: 44px; border-radius: var(--r-input); background: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }

/* success screen */
.form-success { text-align: center; padding: 48px 24px; }
.form-success__check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px; }

/* =========================================================================
   STEPPER / qty / toggles (configurator + wizard)
   ========================================================================= */
.switch { position: relative; width: 54px; height: 28px; border-radius: var(--r-pill); cursor: pointer; background: #cfc8bc; transition: background .3s ease; border: 0; padding: 0; flex: none; }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: left .25s ease; }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"] .switch__knob { left: 29px; }
.switch--sm { width: 50px; }
.switch--sm[aria-checked="true"] .switch__knob { left: 25px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-input); border-radius: var(--r-pill); background: var(--surface); overflow: hidden; }
.qty button { width: 44px; height: 50px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--muted); background: none; border: 0; }
.qty button:hover { color: var(--ink); }
.qty output { width: 36px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }

.size-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.size-opt { text-align: center; padding: 18px 10px; border-radius: var(--r-card-sm); cursor: pointer; transition: var(--t-fast); border: 1.5px solid var(--line-input); background: var(--surface); color: var(--ink); }
.size-opt[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.size-opt__label { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.size-opt__dim { font-family: var(--font-mono); font-size: 11px; margin-top: 5px; opacity: .8; }
.size-opt__price { font-size: 13px; font-weight: 600; margin-top: 8px; }

.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; background: none; border: 0; }
.swatch__chip { width: 42px; height: 42px; border-radius: var(--r-input); display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch[aria-pressed="true"] .swatch__chip { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.swatch__label { font-size: 12px; color: var(--muted-2); font-weight: 500; }
.swatch[aria-pressed="true"] .swatch__label { color: var(--ink); font-weight: 700; }

/* stepper (wizard progress) */
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper__dot { display: flex; align-items: center; gap: 10px; }
.stepper__num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; border: 1.5px solid var(--line-input); color: var(--muted); }
.stepper__step.is-active .stepper__num { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.stepper__step.is-done .stepper__num { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.stepper__bar { flex: 1; height: 2px; background: var(--line); }

/* litophane preview */
.litho { position: relative; width: 100%; max-width: 440px; }
.litho__frame { position: relative; width: 100%; aspect-ratio: 7/5; border-radius: var(--r-tile); overflow: hidden; transition: filter .4s ease, box-shadow .4s ease; }
.litho__glow { position: absolute; inset: 0; pointer-events: none; border-radius: var(--r-tile); transition: opacity .4s ease; opacity: 0; }
.litho.is-on .litho__frame { filter: brightness(1.06) saturate(1.05); box-shadow: 0 0 50px rgba(232,150,70,.5), inset 0 0 40px rgba(255,205,140,.25); }
.litho:not(.is-on) .litho__frame { filter: brightness(.78) contrast(.95) saturate(.65); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.litho.is-on .litho__glow { opacity: 1; background: radial-gradient(ellipse at 50% 45%, rgba(255,196,120,.42), rgba(255,170,80,0) 62%); mix-blend-mode: screen; }
.litho__base { margin: -2px auto 0; width: 78%; height: 46px; border-radius: 0 0 var(--r-tile) var(--r-tile); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.litho__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }

/* =========================================================================
   CALCULADORA DE PRESUPUESTO (Empresas)
   ========================================================================= */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-card); }
.calc__form { padding: 36px 36px 32px; background: var(--paper); }
.calc__form .field input, .calc__form .field select { background: var(--surface); }
.calc__result { background: var(--ink); color: var(--on-dark); padding: 36px; display: flex; flex-direction: column; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc__grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.calc__out { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--ink-line); }
.calc__out:last-of-type { border-bottom: 0; }
.calc__out .k { font-size: 14px; color: var(--on-dark-soft); }
.calc__out .v { font-family: var(--font-mono); font-size: 14px; color: var(--on-dark); white-space: nowrap; }
.calc__total { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--ink-line); }
.calc__total .k { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--on-dark); }
.calc__total .v { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--accent); }
.calc__note { font-size: 12px; line-height: 1.5; color: var(--on-dark-mut); margin-top: auto; padding-top: 22px; }
.calc__warn { font-size: 12px; color: #f0b07a; margin-top: 8px; }

/* =========================================================================
   FAQ (details/summary accordion)
   ========================================================================= */
.faq { border: 1px solid var(--line-3); border-radius: var(--r-card-sm); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-3); background: var(--surface); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 22px; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { padding-bottom: 8px; }
.faq__a { padding: 0 26px 24px; font-size: 15px; line-height: 1.6; color: var(--text); max-width: 760px; }

/* =========================================================================
   BREADCRUMB
   ========================================================================= */
.breadcrumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted-2); }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .current { color: var(--ink); }

/* =========================================================================
   SPEC / DATA tables
   ========================================================================= */
.spec-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-3); gap: 16px; }
.spec-row__k { font-size: 14px; color: var(--muted); }
.spec-row__v { font-family: var(--font-mono); font-size: 13px; color: var(--ink); text-align: right; }

.info-box { background: var(--paper); border-radius: var(--r-card-sm); padding: 20px 22px; }
.info-box--accent { border-left: 3px solid var(--accent); border-radius: 0 var(--r-card-sm) var(--r-card-sm) 0; }

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 16px; border-bottom: 1px solid var(--line-3); vertical-align: top; }
.data-table tr:hover td { background: var(--surface-2); }

/* =========================================================================
   MODAL
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal[open], .modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(26,22,17,.6); backdrop-filter: blur(3px); }
.modal__dialog { position: relative; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-modal); max-width: 720px; width: 100%; max-height: 86vh; overflow: auto; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.06); border: 0; font-size: 18px; display: flex; align-items: center; justify-content: center; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--ink-footer); }
.site-footer__cols { max-width: var(--container); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 30px; }
.site-footer__h { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-foot-label); margin-bottom: 16px; }
.site-footer__col a { display: block; font-size: 14px; color: var(--on-dark-foot); margin-bottom: 11px; transition: var(--t-fast); }
.site-footer__col a:hover { color: var(--on-dark); }
.site-footer__about { font-size: 14px; line-height: 1.55; color: var(--on-dark-foot-mut); margin-top: 14px; max-width: 280px; }
.site-footer__backing { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.site-footer__bar { max-width: var(--container); margin: 0 auto; padding: 20px var(--gutter) 36px; border-top: 1px solid var(--ink-soft); font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-foot-label); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* =========================================================================
   UTIL
   ========================================================================= */
.flex { display: flex; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.items-end { align-items: flex-end; }
.gap-sm { gap: 10px; }
.mt-1 { margin-top: 14px; } .mt-2 { margin-top: 26px; } .mt-3 { margin-top: 40px; }
.hr { height: 1px; background: var(--line); border: 0; margin: 30px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.is-hidden { display: none !important; }
.sticky-96 { position: sticky; top: 96px; }

/* Sticky shop filter bar — solid full-bleed background so products don't show through on scroll.
   NOTE: do NOT set position here — .sticky-96 provides position:sticky (which also anchors ::before).
   Setting position:relative would override sticky and break pinning. */
.shop-filterbar { background: var(--surface); }
.shop-filterbar::before {
  content: ''; position: absolute; inset: 0 50% 0 50%;
  width: 100vw; transform: translateX(-50%);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  z-index: -1;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--on-dark); padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pillars.grid--3, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .svc__tabs { flex-direction: row; overflow-x: auto; }
  .svc__tab { flex: 0 0 auto; border-left: 0; border-bottom: 3px solid transparent; white-space: nowrap; }
  .svc__tab[aria-selected="true"] { border-left: 0; border-bottom-color: var(--accent); }
  .site-footer__cols { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); background: var(--paper); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; padding: 88px 28px 28px; transform: translateX(100%); transition: transform .28s ease; box-shadow: var(--sh-modal); }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { font-size: 18px; padding: 10px 0; }
  .nav-toggle { display: block; z-index: 60; }
  .paths { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4, .form-grid-2 { grid-template-columns: 1fr; }
  .product-grid.grid--3 { grid-template-columns: 1fr; }
  .pillars.grid--3 { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .wa-band { padding: 30px 24px; }
  .hero__watermark { opacity: .5; }
  [class*="grid-template-columns"] { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .size-opts { grid-template-columns: repeat(3, 1fr); }
  .site-footer__cols { grid-template-columns: 1fr; }
}

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