﻿/* =====================================================================
   bundle.css — variables + design-system + main
   NO editar directamente. Editar los archivos fuente y regenerar.
   ===================================================================== */

/* ── 1. Variables / tokens ── */
/*
 * â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
 *  ARQUITECTURA DE TOKENS â€” DOS CAPAS SEPARADAS
 * â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
 *
 *  CAPA 1 â€” SISTEMA  (este archivo, fijo, nunca cambia por marca)
 *  â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
 *  Define la estÃ©tica estructural de la plataforma: fondos, tintas,
 *  bordes, tipografÃ­as del sistema, espaciado y sombras.
 *
 *  Regla de neutralidad: chroma â‰¤ 0.004 en fondos/bordes,
 *  â‰¤ 0.010 en tintas. Son "neutrales cromÃ¡ticos" â€” tienen un ghost
 *  de hue H=250 para evitar el gris plano de oficina, pero su chroma
 *  es tan baja que cualquier color de marca aterriza limpio encima
 *  sin conflicto visual. Una marca roja, azul, verde o terracota
 *  funciona igual de bien.
 *
 *  Tokens de sistema: --bg  --bg-soft  --bg-deep
 *                     --ink  --ink-soft  --ink-mute
 *                     --line  --highlight
 *                     --serif  --sans  --mono
 *
 *  CAPA 2 â€” MARCA  (inyectada server-side en Index.cshtml desde API)
 *  â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
 *  El servidor lee /api/config/brand y emite un bloque <style>:root{}
 *  que sobreescribe exactamente estos tokens antes del primer paint:
 *
 *    --accent        â† b.Colores.Primario   (color primario de marca)
 *    --accent-deep   â† color-mix(--accent, black 18%)
 *    --serif         â† b.Fuentes.Display    (si difiere del sistema)
 *    --sans          â† b.Fuentes.Cuerpo     (si difiere del sistema)
 *
 *  Los valores que aparecen abajo para --accent y --accent-deep son
 *  Ãºnicamente FALLBACK de desarrollo. En producciÃ³n siempre los pisa
 *  el API. "La marca nunca se hardcodea." â€” plan-ejecucion.md
 *
 * â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
 */

:root {
  /* â”€â”€ CAPA 1: SISTEMA â€” paleta de neutrales cromÃ¡ticos â”€â”€ */
  --bg:          #F4F4F6;                 /* oklch(0.970 0.003 250) â€” blanco neutro          */
  --bg-soft:     #EAEAED;                 /* oklch(0.945 0.004 250) â€” superficie sutil       */
  --bg-deep:     #DDDDE1;                 /* oklch(0.900 0.004 250) â€” slot imagen/placeholder */
  --ink:         #1C1C22;                 /* oklch(0.195 0.008 260) â€” carbÃ³n casi neutro      */
  --ink-soft:    #545462;                 /* oklch(0.400 0.008 254) â€” texto secundario        */
  --ink-mute:    #888891;                 /* oklch(0.610 0.005 250) â€” texto muted             */
  --line:        #CCCCD0;                 /* oklch(0.835 0.004 244) â€” bordes                  */
  --accent:      #3A5098;                 /* oklch(0.430 0.085 265) â€” fallback; API lo pisa   */
  --accent-deep: #293975;                 /* oklch(0.330 0.075 265) â€” fallback; API lo pisa   */
  --highlight:   #F9F9FA;                 /* oklch(0.982 0.002 250) â€” highlight mÃ­nimo        */

  @supports (color: oklch(0 0 0)) {
    --bg:          oklch(0.970 0.003 250);
    --bg-soft:     oklch(0.945 0.004 250);
    --bg-deep:     oklch(0.900 0.004 250);
    --ink:         oklch(0.195 0.008 260);
    --ink-soft:    oklch(0.400 0.008 254);
    --ink-mute:    oklch(0.610 0.005 250);
    --line:        oklch(0.835 0.004 244);
    --accent:      oklch(0.430 0.085 265);
    --accent-deep: oklch(0.330 0.075 265);
    --highlight:   oklch(0.982 0.002 250);
  }

  /* â”€â”€ Design system â€” tipografÃ­a (3 roles fijos, brand puede pisar --serif y --sans) â”€â”€ */
  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans:  "Manrope", -apple-system, system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "Courier New", monospace;

  /* â”€â”€ Design system â€” spacing y layout â”€â”€ */
  --page-pad:    clamp(20px, 4vw, 56px);
  --section-pad: clamp(48px, 8vw, 112px);
  --rule:        1px solid var(--line);

  /* Tokens tecnicos neutrales */
  --ui-white:         #FFFFFF;
  --ui-black:         #0D0D0D;
  --ui-surface:       #FFFFFF;
  --ui-surface-muted: #F2F2F2;
  --ui-border:        #D9DDE3;
  --ui-text:          #0D0D0D;
  --ui-text-muted:    #6B6B6B;
  --ui-danger:        #C62828;
  --ui-success:       #2E7D32;
  --ui-warning:       #B26A00;

  /* Marca de plataforma: Jorge Diaz */
  --platform-primary: #F20505;
  --platform-bg:      #FFFFFF;
  --platform-text:    #0D0D0D;
  --platform-surface: #FFFFFF;
  --platform-muted:   #6B6B6B;
  --platform-dark:    #1F1F1F;

  /* Marca de instancia activa; el servidor la sobreescribe desde /api/marca */
  --brand-primary:        var(--platform-primary);
  --brand-secondary:      var(--platform-dark);
  --brand-accent:         var(--ui-surface-muted);
  --brand-bg:             var(--platform-bg);
  --brand-text:           var(--platform-text);
  --brand-primary-soft:   color-mix(in srgb, var(--brand-primary) 16%, var(--ui-white));
  --brand-primary-strong: color-mix(in srgb, var(--brand-primary) 84%, var(--ui-black));
  --brand-font-display:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --brand-font-body:      'DM Sans', system-ui, -apple-system, sans-serif;

  /* Aliases temporales para estilos existentes */
  --color-primario:        var(--brand-primary);
  --color-primario-claro:  var(--brand-primary-soft);
  --color-primario-oscuro: var(--brand-primary-strong);
  --color-secundario:      var(--brand-secondary);
  --color-acento:          var(--brand-accent);
  --color-claro:           var(--brand-bg);
  --color-oscuro:          var(--brand-text);
  --color-texto:           var(--ui-text);
  --color-texto-suave:     var(--ui-text-muted);
  --color-borde:           var(--ui-border);

  --fuente-display: var(--brand-font-display);
  --fuente-cuerpo:  var(--brand-font-body);

}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PALETAS DE ATMÃ“SFERA â€” activadas con data-palette en <html>
   Cuando pagina.palette = "marca" (default) no se aplica ninguna y el
   sistema usa los neutrales del :root con --accent del negocio.
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Crema Â· Terracota */
[data-palette="crema"] {
  --bg:          #F6EFDF;
  --bg-soft:     #EDE5CF;
  --bg-deep:     #E2D5BC;
  --ink:         #2E2118;
  --ink-soft:    #5E4D40;
  --ink-mute:    #8F7D6E;
  --line:        #CEC0AC;
  --accent:      #9C4A1F;
  --accent-deep: #7A3418;
  --highlight:   #FAF2E2;
}
@supports (color: oklch(0 0 0)) {
  [data-palette="crema"] {
    --bg:          oklch(0.955 0.015 75);
    --bg-soft:     oklch(0.930 0.020 72);
    --bg-deep:     oklch(0.880 0.025 70);
    --ink:         oklch(0.220 0.018 50);
    --ink-soft:    oklch(0.420 0.018 50);
    --ink-mute:    oklch(0.620 0.015 55);
    --line:        oklch(0.820 0.020 65);
    --accent:      oklch(0.550 0.120 35);
    --accent-deep: oklch(0.420 0.100 30);
    --highlight:   oklch(0.970 0.018 80);
  }
}

/* Avena Â· Bosque */
[data-palette="avena"] {
  --bg:          #EDF3E4;
  --bg-soft:     #E3EDD9;
  --bg-deep:     #D4E2C7;
  --ink:         #1E2D20;
  --ink-soft:    #485D4A;
  --ink-mute:    #778C78;
  --line:        #BAD0BC;
  --accent:      #2A6B3E;
  --accent-deep: #1E4F2D;
  --highlight:   #F4FAF0;
}
@supports (color: oklch(0 0 0)) {
  [data-palette="avena"] {
    --bg:          oklch(0.945 0.012 90);
    --bg-soft:     oklch(0.920 0.018 95);
    --bg-deep:     oklch(0.870 0.022 100);
    --ink:         oklch(0.220 0.018 130);
    --ink-soft:    oklch(0.420 0.018 130);
    --ink-mute:    oklch(0.620 0.015 130);
    --line:        oklch(0.820 0.020 100);
    --accent:      oklch(0.420 0.070 150);
    --accent-deep: oklch(0.320 0.060 150);
    --highlight:   oklch(0.970 0.015 95);
  }
}

/* Lino Â· Vino */
[data-palette="vino"] {
  --bg:          #F2ECE6;
  --bg-soft:     #EAE2DA;
  --bg-deep:     #DDD4C9;
  --ink:         #221619;
  --ink-soft:    #5E4A4E;
  --ink-mute:    #8C7A7D;
  --line:        #CEC0C2;
  --accent:      #781C2C;
  --accent-deep: #5A1320;
  --highlight:   #FAF6F4;
}
@supports (color: oklch(0 0 0)) {
  [data-palette="vino"] {
    --bg:          oklch(0.948 0.008 50);
    --bg-soft:     oklch(0.920 0.012 45);
    --bg-deep:     oklch(0.870 0.018 40);
    --ink:         oklch(0.200 0.015 30);
    --ink-soft:    oklch(0.420 0.015 30);
    --ink-mute:    oklch(0.620 0.012 35);
    --line:        oklch(0.820 0.015 50);
    --accent:      oklch(0.360 0.110 15);
    --accent-deep: oklch(0.280 0.090 15);
    --highlight:   oklch(0.970 0.010 50);
  }
}

/* Densidad compacta */
[data-density="compact"] { --section-pad: clamp(40px, 6vw, 80px); }

:root {
  --espacio-xs:  0.5rem;
  --espacio-sm:  1rem;
  --espacio-md:  1.5rem;
  --espacio-lg:  2.5rem;
  --espacio-xl:  4rem;
  --espacio-2xl: 6rem;

  --container-max: 1200px;
  --container-pad: 1.5rem;
  --radio:         0.75rem;
  --radio-lg:      1.5rem;
  --radio-full:    9999px;

  --sombra-sm: 0 2px 8px  rgba(13, 13, 13, 0.06);
  --sombra-md: 0 4px 24px rgba(13, 13, 13, 0.10);
  --sombra-lg: 0 8px 40px rgba(13, 13, 13, 0.14);
  --transicion:       0.25s ease;
  --transicion-lenta: 0.4s ease;
}

/* ── 2. Design system ── */
/* =====================================================================
   TIENDA â€” Design System
   Primitivos reutilizables: tipografÃ­a, layout, botones, chips, grids.
   NO contiene contenido especÃ­fico de ninguna marca.
   ===================================================================== */

/* â”€â”€ Layout â”€â”€ */
.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* Header usa gutters mÃ¡s generosos que el contenido general */
.page-header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(28px, 5.5vw, 80px);
}

/* â”€â”€ TipografÃ­a â”€â”€ */
.ds-display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 30;
}
/* em dentro de display: sin itÃ¡lica, color acento (Fraunces maneja el contraste tipogrÃ¡fico) */
.ds-display em {
  font-style: normal;
  color: var(--accent);
}

.ds-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  display: block;
}

.ds-label {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

/* â”€â”€ Botones â”€â”€ */
.ds-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.ds-btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
}
.ds-btn-primary:hover { background: var(--accent-deep); }

.ds-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 6px 0;
  border-radius: 0;
}
.ds-btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

.ds-btn-arrow svg { transition: transform 0.2s ease; }
.ds-btn-arrow:hover svg { transform: translateX(4px); }

/* â”€â”€ Tags / chips â”€â”€ */
.ds-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--bg-soft);
  border: var(--rule);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}
.ds-chip--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.ds-tag {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  padding: 4px 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* â”€â”€ Section head utilities â”€â”€ */
.ds-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* â”€â”€ Image placeholder (mientras no hay foto real) â”€â”€ */
.ds-img-slot {
  display: block;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.ds-img-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0,0,0,0.04) 0 1px,
      transparent 1px 6px
    );
  pointer-events: none;
}
.ds-img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* â”€â”€ Grids responsivos â”€â”€ */
.ds-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}
.ds-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.5vw, 36px);
}
.ds-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.ds-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

@media (max-width: 1024px) {
  .ds-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ds-grid-4 { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .ds-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .ds-grid-2 { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .ds-grid-3 { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .ds-grid-4 { grid-template-columns: 1fr; }
  .ds-grid-6 { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .ds-section-head { flex-direction: column; align-items: flex-start; }
}

/* â”€â”€ Animaciones mÃ­nimas â”€â”€ */
@keyframes ds-fade-in {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ds-slide-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ── 3. Main / page ── */
/* =====================================================================
   TIENDA â€” main.css
   Estilos de componentes. Trabaja sobre variables.css + design-system.css.
   NO hardcodea colores de marca â€” usa tokens del design system.
   ===================================================================== */

/* â”€â”€ Reset & base â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: var(--accent); color: var(--bg); }

/* Contenedor legacy (compatibilidad pÃ¡ginas existentes) */
.container {
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 0 var(--container-pad, 1.5rem);
}

/* =====================================================================
   ANNOUNCEMENT BAR
   ===================================================================== */
.ann-bar {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
  position: relative;
  overflow: hidden;
}
.ann-bar__text {
  display: inline-block;
  animation: ds-fade-in 0.35s ease;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: var(--rule);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

.hdr-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Burger â€” oculto en desktop */
.hdr-burger {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
}

/* Nav */
.hdr-nav {
  display: flex;
  gap: 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hdr-nav a { transition: color 0.15s ease; }
.hdr-nav a:hover { color: var(--ink); }

/* Wordmark / logo header */
.hdr-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
}
.hdr-wordmark span {
  font-family: var(--serif);
  font-size: 29px;
  letter-spacing: -0.015em;
  line-height: 1;
  font-variation-settings: "opsz" 36, "SOFT" 30;
}

/* Logo lockup: SVG mark + texto â€” se usa en header y footer */
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: currentColor;
  line-height: 1;
}

/* Acciones */
.hdr-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}
.hdr-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}
.hdr-btn:hover { color: var(--accent); }
.hdr-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.hdr-btn-cta:hover { background: var(--accent-deep); }

/* Mobile nav */
.hdr-mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: var(--rule);
  padding: 20px var(--page-pad) 24px;
  gap: 4px;
}
.hdr-mobile-nav.open { display: flex; }
.hdr-mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 10px 0;
  border-bottom: var(--rule);
  transition: color 0.15s ease;
}
.hdr-mobile-nav a:last-child { border-bottom: none; }
.hdr-mobile-nav a:hover { color: var(--ink); }

@media (max-width: 1024px) {
  .hdr-grid { grid-template-columns: auto 1fr auto; }
  .hdr-nav  { display: none; }
  .hdr-burger { display: inline-flex; }
  .hdr-wordmark { font-size: 24px; text-align: left; }
  .hdr-btn-cta  { display: none; }
}

/* =====================================================================
   HERO â€” tres variantes: editorial | fullbleed | stack
   La variante se elige server-side (pagina.hero en configmarca).
   Editorial: editorial desktop + fullbleed mobile (CSS toggle, sin JS).
   Fullbleed y Stack: render Ãºnico, sin toggle.
   ===================================================================== */

/* Variante Stack â€” centrado, imagen panorÃ¡mica abajo */
.hero-stack {
  padding: var(--section-pad) 0;
  border-bottom: var(--rule);
  text-align: center;
}
.hero-stack__display {
  font-size: clamp(44px, 6vw, 80px);
  margin: 0 auto 32px;
  max-width: 1100px;
}
.hero-stack__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stack__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-deep);
}
@media (max-width: 640px) {
  .hero-stack__ctas { flex-direction: column; align-items: center; }
}

/* sr-only â€” anchor accesible para aria-labelledby */
.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;
}

.hero-section {
  border-bottom: var(--rule);
}

/* â”€â”€ Toggle de variante â”€â”€ */
.hero-editorial { display: block; padding: var(--section-pad) 0; }
.hero-fullbleed  { display: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;   /* copy centrado verticalmente; media usa align-self: stretch */
}

.hero-copy {
  min-width: 0;
  padding-bottom: 24px;
}

.hero-overline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-display {
  font-size: clamp(44px, 6vw, 80px);
  margin-bottom: 24px;
  max-width: 100%;
}

.hero-sub {
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;   /* la separaciÃ³n la gestiona .hero-meta con su propio margin+padding */
}

.hero-reviews {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: var(--rule);
  max-width: 500px;
}
.hero-reviews__stars { display: flex; color: var(--accent); }
.hero-reviews__label { font-size: 13px; color: var(--ink-soft); }
.hero-reviews__label strong { color: var(--ink); font-weight: 600; }
.hero-reviews__link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }

/* Media slot â€” se estira para llenar la fila; min-height evita que colapse */
.hero-media {
  position: relative;
  min-width: 0;
  width: 100%;
  align-self: stretch;                      /* llena el alto de la fila del grid    */
  min-height: clamp(380px, 52vw, 660px);   /* garantiza altura mÃ­nima independiente del copy */
}

.hero-img-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-main.placeholder {
  background: var(--bg-deep);
  display: block;
}
.hero-img-main.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.03) 0 1px,
    transparent 1px 7px
  );
}

/* Inset detail */
.hero-detail {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 54%;
  aspect-ratio: 1;
  border: 8px solid var(--bg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.22), 0 4px 12px rgba(0,0,0,0.12);
  overflow: hidden;
  background: var(--bg-deep);
  z-index: 2;
}
.hero-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Price tag */
.hero-pricecard {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg);
  border: var(--rule);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 170px;
}
.hero-pricecard__nombre {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.15;
  color: var(--ink);
}
.hero-pricecard__precio {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}

/* â”€â”€ Fullbleed â€” estilos base (se activa en â‰¤1024px) â”€â”€ */
.hero-fb {
  position: relative;
  height: min(82vh, 720px);
  overflow: hidden;
}
.hero-fb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-fb-img.placeholder {
  background: var(--bg-deep);
}
.hero-fb-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15,15,20,0.62) 100%);
  pointer-events: none;
}
.hero-fb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(24px, 6vh, 56px);
}
.hero-fb-card {
  background: rgba(249,249,250,0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 28px 32px 26px;
  max-width: 540px;
  border-top: 3px solid var(--accent);
}
.hero-fb-display {
  font-size: clamp(36px, 8vw, 68px);
  margin: 14px 0 22px;
  line-height: 0.97;
}
.hero-fb-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* â”€â”€ Toggle â‰¤1024px: mostrar fullbleed, ocultar editorial â”€â”€ */
@media (max-width: 1024px) {
  .hero-editorial { display: none; }
  .hero-fullbleed  { display: block; }
}

/* â”€â”€ Mobile ajustes â”€â”€ */
@media (max-width: 640px) {
  .hero-fb          { height: 92vh; max-height: 760px; min-height: 540px; }
  .hero-fb-card     { padding: 20px 20px 22px; max-width: 100%; }
  .hero-fb-ctas     { flex-direction: column; align-items: flex-start; }
  .hero-fb-display  { font-size: clamp(34px, 9.5vw, 52px); margin-bottom: 18px; }
}

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.trust-strip {
  border-bottom: var(--rule);
  background: var(--bg-soft);
  padding: 14px 0;
  overflow: hidden;
}
.trust-strip__inner {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.trust-strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =====================================================================
   CATEGORÃAS
   ===================================================================== */
.cats-section {
  padding: var(--section-pad) 0;
  border-bottom: var(--rule);
}

.cat-card {
  display: block;
  color: inherit;
  transition: transform 0.25s ease;
}
.cat-card:hover { transform: translateY(-2px); }

.cat-card__img {
  position: relative;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  background: var(--bg-deep);
  margin-bottom: 14px;
}
.cat-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--ink);
  padding: 4px 7px;
  z-index: 2;
}
.cat-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.cat-card__nombre {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
  color: var(--ink);
}
/* Responsive grid â€” 3 col desktop Â· 2 col tablet Â· 1 col mobile */
.cats-section .ds-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .cats-section .ds-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cats-section .ds-grid-3 { grid-template-columns: 1fr; }
  .cat-card__img { aspect-ratio: 4 / 3; }
}

.cat-card__cantidad { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.cat-card__arrow {
  display: inline-block;
  color: var(--ink-soft);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.cat-card:hover .cat-card__arrow { color: var(--accent); transform: translateX(3px); }

/* =====================================================================
   BENEFICIOS
   ===================================================================== */
.benefits-section {
  padding: var(--section-pad) 0;
  background: var(--bg-soft);
  border-bottom: var(--rule);
}

.benefit-card {
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.benefit-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.benefit-card__icon {
  color: var(--ink-soft);
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.benefit-card__titulo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
  color: var(--ink);
}
.benefit-card__desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* =====================================================================
   FEATURED PRODUCT
   ===================================================================== */
.featured-section {
  padding: var(--section-pad) 0;
  border-bottom: var(--rule);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

/* GalerÃ­a â€” imagen Ãºnica portrait, rota al seleccionar color */
.feat-gallery { display: block; }

.feat-img {
  display: block;
  width: 100%;
  background: var(--bg-deep);
  overflow: hidden;
  position: relative;
}
.feat-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.feat-img.feat-img--main { aspect-ratio: 3 / 4; }  /* portrait */

/* Detalle */
.feat-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0;
}
.feat-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.feat-display {
  font-size: clamp(36px, 4vw, 58px);
  margin-bottom: 16px;
}
.feat-reviews {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.feat-reviews__stars { display: flex; color: var(--accent); }
.feat-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 52ch;
}
.feat-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.feat-price {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.feat-cuotas {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: right;
}
.feat-cuotas strong { color: var(--ink); }
.feat-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.feat-cta-primary {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  gap: 10px;
  align-items: center;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.feat-cta-primary:hover { background: var(--accent-deep); }
.feat-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: var(--rule);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.15s ease;
}
.feat-cta-secondary:hover { background: var(--bg-deep); }
.feat-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* â”€â”€ Estimador talla / color â”€â”€ */
.feat-estimador {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.feat-selector { display: flex; flex-direction: column; gap: 10px; }
.feat-selector__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.feat-sel-val {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
}

/* Swatches de color */
.feat-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.feat-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  outline: 2px solid var(--line);
  outline-offset: 2px;
  cursor: pointer;
  transition: outline-color 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.feat-swatch:hover  { outline-color: var(--ink-soft); transform: scale(1.1); }
.feat-swatch.active { outline-color: var(--ink); transform: scale(1.1); }

/* Pills de talla */
.feat-tallas { display: flex; gap: 8px; flex-wrap: wrap; }
.feat-talla-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  min-width: 68px;
}
.feat-talla-btn small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.feat-talla-btn:hover  { border-color: var(--ink-soft); }
.feat-talla-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.feat-talla-btn.active small { color: rgba(255,255,255,0.6); }

@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .feat-cta-row { flex-direction: column; }
  .feat-cta-primary, .feat-cta-secondary { width: 100%; justify-content: center; }
}

/* =====================================================================
   COMMUNITY
   ===================================================================== */
.community-section {
  padding: var(--section-pad) 0;
  border-bottom: var(--rule);
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.ig-tile {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-deep);
}
.ig-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.ig-tile:hover img { transform: scale(1.04); }
.ig-tile__handle {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 3px 6px;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 1024px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .ig-grid { gap: 5px; } }

/* =====================================================================
   NEWSLETTER
   ===================================================================== */
.newsletter-section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: var(--rule);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.news-display {
  font-size: clamp(26px, 3.2vw, 42px);
  margin: 0 0 12px;
}
.news-sub { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; max-width: 44ch; }

.news-form {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.news-input {
  flex: 1;
  padding: 16px 18px;
  border: 1px solid var(--ink);
  border-right: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.15s ease;
}
.news-input::placeholder { color: var(--ink-mute); }
.news-input:focus { border-color: var(--accent); }
.news-submit {
  padding: 0 26px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--ink);
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.news-submit:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .news-form { flex-direction: column; }
  .news-input { border-right: 1px solid var(--ink); border-bottom: none; }
  .news-submit { padding: 16px 22px; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding-top: clamp(52px, 7vw, 88px);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-wordmark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: #fff;
}
.foot-wordmark span {
  font-family: var(--serif);
  font-size: 38px;
  letter-spacing: -0.015em;
  line-height: 1;
  font-variation-settings: "opsz" 48, "SOFT" 30;
}
.foot-desc {
  color: rgba(255,255,255,0.58);
  font-size: 14px;
  line-height: 1.65;
  max-width: 28ch;
  margin-bottom: 24px;
}
.foot-social {
  display: flex;
  gap: 10px;
}
.foot-social-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.78);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.foot-social-btn:hover { border-color: rgba(255,255,255,0.55); color: #fff; }

.foot-col-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  display: block;
}
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  transition: color 0.15s ease;
}
.foot-links a:hover { color: #fff; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-legal {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.62);
}
.foot-payments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.foot-payment-badge {
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}

/* â”€â”€ Pasos de compra â”€â”€ */
.steps-section {
  padding: var(--section-pad) 0;
  border-bottom: var(--rule);
  background: var(--bg-soft);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.step-item { position: relative; }
.step-connector {
  position: absolute;
  top: 32px;
  left: 64px;
  right: calc(-32px - clamp(20px, 3vw, 48px));
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step-circle {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg);
  border: var(--rule);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  font-variation-settings: "opsz" 24, "SOFT" 30;
}
.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.step-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 30;
}
.step-desc {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

/* â”€â”€ Footer: franja de crÃ©ditos (reemplaza .jd-footer) â”€â”€ */
.foot-credits {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.foot-credits a {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.foot-credits a:hover { color: #fff; }
.foot-credits-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
}
.foot-credits-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
}
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .foot-credits { grid-template-columns: 1fr; text-align: left; row-gap: 14px; }
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .step-connector { display: none; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FAQ
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.faq-section {
  padding: var(--section-pad, clamp(64px, 8vw, 112px)) 0;
  border-bottom: 1px solid var(--line);
}

/* Layout 2 col */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

/* Intro: sticky en desktop */
.faq-intro {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.faq-heading {
  font-size: clamp(36px, 4.5vw, 60px);
  margin: 0 0 20px;
}

.faq-sub {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  max-width: 380px;
  margin: 0 0 28px;
}

/* AcordeÃ³n â€” usa <details>/<summary> nativo */
.faq-item {
  border-top: var(--rule, 1px solid var(--line));
}
.faq-item:first-child {
  border-top: 1px solid var(--ink);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--ink);
}

/* Quitar marker nativo del summary */
.faq-item summary          { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
}
.faq-q:hover .faq-qtext { color: var(--accent); }

.faq-num {
  font-family: var(--mono, monospace);
  color: var(--ink-mute);
}

.faq-qtext {
  font-family: var(--serif, serif);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color 0.15s ease;
}

/* Toggle icon â€” cÃ­rculo con +/- */
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
  color: var(--ink);
}
.faq-item[open] .faq-toggle {
  background: var(--ink);
  color: var(--bg);
}
/* Barra vertical del + desaparece cuando estÃ¡ abierto */
.faq-icon-v {
  transition: opacity 0.15s ease;
}
.faq-item[open] .faq-icon-v {
  opacity: 0;
}
/* El Ã­cono cambia de color cuando abierto */
.faq-item[open] .faq-icon {
  stroke: var(--bg);
}

/* AnimaciÃ³n del cuerpo con grid trick */
.faq-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item[open] .faq-body-wrap {
  grid-template-rows: 1fr;
}
.faq-body {
  overflow: hidden;
  padding-left: calc(2ch + 20px);
  padding-right: 48px;
  padding-bottom: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 640px;
}

/* Responsive */
@media (max-width: 1024px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}
@media (max-width: 640px) {
  .faq-body { padding-left: 0; padding-right: 16px; }
  .faq-num  { display: none; }
  .faq-q    { grid-template-columns: 1fr auto; gap: 14px; }
}

/* â”€â”€ Hero: fila meta (link tienda + nota despacho) â€” patrÃ³n maqueta â”€â”€ */
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
  border-top: var(--rule);
  max-width: 100%;      /* hereda el ancho de .hero-copy sin desbordarse */
  margin-top: 24px;
}
.hero-meta-cta {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.hero-meta-cta:hover { color: var(--accent); }
.hero-meta-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* â”€â”€ Footer: links pendientes (sin href real) â”€â”€ */
.foot-link-pending {
  color: inherit;
  opacity: 0.45;
  font-size: inherit;
  cursor: default;
}

/* â”€â”€ Compatibilidad botones legacy (Index.cshtml antiguo) â”€â”€ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: 0.02em; cursor: pointer; text-decoration: none; transition: background 0.15s ease, color 0.15s ease; }
.btn--primario  { background: var(--ink); color: var(--bg); border-radius: 999px; padding: 14px 24px; }
.btn--primario:hover  { background: var(--accent-deep); }
.btn--secundario { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 14px 24px; }
.btn--secundario:hover { background: var(--ink); color: var(--bg); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 16px 30px; font-size: 15px; }

