/* ===================================================
   CLUB MANUAL — Homepage
   Paleta y tipografías extraídas directamente del diseño
   =================================================== */

/* ============ TIPOGRAFÍAS DE MARCA (archivos locales) ============ */

@font-face{
  font-family: 'Circular Std';
  src: url('fonts/CircularStd-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Circular Std';
  src: url('fonts/CircularStd-BookItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: 'Circular Std';
  src: url('fonts/CircularStd-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'GT Alpina';
  src: url('fonts/GT-Alpina-Condensed-Light-Italic-Trial.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: 'Circular Std';
  src: url('fonts/CircularStd-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Circular Std';
  src: url('fonts/CircularStd-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: 'Circular Std';
  src: url('fonts/CircularStd-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Circular Std';
  src: url('fonts/CircularStd-BlackItalic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: 'GT Alpina';
  src: url('fonts/GT_Alpina.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Circular XX Mono';
  src: url('fonts/CircularXXMonoTrialWeb-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root{
  --yellow:     #FFEA00;
  --brown:      #3B1000;
  --green:      #73FF00;   /* verde brillante bloque taller */
  --green-dark: #095D3C;   /* verde oscuro botones / banda tienda */
  --coral:      #FF444B;   /* rojo-coral pill Inicio + texto destacado */
  --blue:       #0066E2;   /* azul pill Contacto / botón */
  --grey:       #D7D0CD;   /* gris pill Talleres */
  --cream:      #FBFBF7;
  --stone:       #D7D0CD;
  --panel:       #F1EDE7;   /* fondo gris claro de las cajas de info (detalle de taller) */
  --block:       #ededed;   /* gris del papel y de los bloques de texto de la home (medido en la referencia) */
  --ink:         #171717;   /* negro de la hoja y del texto de los bloques */
  --sheet-gap:   2px;       /* el negro que asoma alrededor y entre los bloques */

  /* Hoja de papel con agujeros (home) */
  --hole-r:      clamp(9px, 1.3vw, 19px);     /* radio de cada agujero */
  --hole-x:      clamp(22px, 3.6vw, 52px);    /* del borde izquierdo de la hoja al centro del agujero */
  --hole-y1:     24%;                         /* altura de cada agujero, en % del alto de la hoja */
  --hole-y2:     66%;
  --sheet-pad-left: calc(var(--hole-x) + var(--hole-r) + clamp(0.5rem, 2.4vw, 2.25rem));  /* columna libre para los agujeros */
  --sheet-pad-x:    var(--sheet-pad-left);               /* margen a cada lado del texto: la derecha copia la izquierda para que quede centrado */
  --sheet-pad-y:    clamp(1.75rem, 5vw, 4.5rem);         /* margen arriba y abajo del papel */

  --font-round: 'Circular Std', normal;
  --font-serif: 'GT Alpina', serif;
  --font-mono:  'Circular XX Mono', monospace;

  --max-width: 1320px;

  --gutter: clamp(1.25rem, 4vw, 3rem);

  --nav-h: 4.75rem;   /* alto que ocupa la nav fija inferior (para no tapar nada con ella) */
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-round);
  color: var(--brown);
  background: white;
  -webkit-font-smoothing: antialiased;
}

body.page-talleres{
  background: var(--stone);
}


img, svg{ max-width: 100%; display: block; }
a{ text-decoration: none; color: inherit; }

h1, h2, h3{
  font-family: var(--font-round);
  font-weight: 900;
  margin: 0;
  line-height: 1.05;
}

p{ line-height: 1.5; margin: 0; }

.eyebrow{
  display: inline-block;
  font-family: var(--font-round);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--brown);
  margin-bottom: 0.9rem;
}

.highlight{ color: var(--coral); }

/* ===================== BUTTONS ===================== */
/* Cada botón replica el color y el "glow" (sombra difusa del mismo color) del diseño */

.btn{
  display: inline-block;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease;
  position: relative;      /* NUEVO */
  isolation: isolate;      /* NUEVO */
}
.btn:hover{ transform: translateY(-2px); }
.btn:focus-visible{ outline: 3px solid var(--brown); outline-offset: 3px; }

.btn::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--btn-bg);
  filter: blur(6px);
  z-index: -1;
}

.btn-white{
  --btn-bg: var(--cream);
  color: var(--brown);
}

.btn-darkgreen{
  --btn-bg: var(--green-dark);
  color: var(--cream);
  /* quita el box-shadow antiguo, ya no hace falta: el ::before lo sustituye */
}


.btn-darkgreen-sm{
    --btn-bg: var(--green-dark);
  color: var(--cream);
}

.btn-blue-sm{
  --btn-bg: var(--blue);
  color: var(--cream);
}

/* ===================== NAV ===================== */

/* La nav va fija y centrada en el borde inferior de todas las páginas.
   El contenedor ocupa todo el ancho pero deja pasar los clics:
   solo los enlaces y botones los capturan. */
.site-header{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0 var(--gutter) clamp(0.75rem, 2vw, 1.25rem);
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
.site-header :is(a, button){ pointer-events: auto; }

/* La nav se esconde sobre el footer (lo gestiona script.js). `visibility: hidden`
   la saca también del orden de tabulación y de los lectores de pantalla. */
.site-header.is-hidden{
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0s linear 0.35s;
}
@media (prefers-reduced-motion: reduce){
  .site-header,
  .site-header.is-hidden{ transition: none; }
}

.nav{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  position: relative;
}

.nav-links{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.pill{
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease;
  position: relative;   /* NUEVO */
  isolation: isolate;   /* NUEVO: aísla el z-index del ::before dentro de este botón */
}

.pill::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--pill-bg);
  filter: blur(6px);
  z-index: -1;
}

.pill-coral{ --pill-bg: var(--coral); color: var(--cream); }
.pill-white{ --pill-bg: var(--cream); color: var(--brown); }
.pill-grey{  --pill-bg: var(--grey);  color: var(--brown); }
.pill-brown{ --pill-bg: var(--brown); color: var(--cream); }
.pill-blue{  --pill-bg: var(--blue);  color: var(--cream); }

.lang-toggle{
  background: var(--cream);   /* fondo sólido: ahora flota sobre cualquier sección */
  border: 2px solid var(--brown);
  color: var(--brown);
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-round);
  cursor: pointer;
}
.lang-toggle:hover{ background: var(--brown); color: var(--yellow); }

.menu-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: var(--cream);
  border: 2px solid var(--brown);
  border-radius: 50%;
  cursor: pointer;
}
.menu-toggle span{
  width: 100%;
  height: 3px;
  background: var(--brown);
  border-radius: 2px;
}

/* ===================== HERO ===================== */

.hero{
  /*background: var(--yellow);*/
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 4rem;
  position: relative;
  z-index: 1;              /* NUEVO */
  overflow-x: clip;        /* el avión sale volando por la derecha sin crear scroll horizontal */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-bubbles{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -8vh;
}

.bubble-row{
  display: flex;
  justify-content: center;
}

.row-top{
  margin-bottom: clamp(-2rem, -3vw, -1rem);  /* antes: mucho más negativo */
  z-index: 2;
  position: relative;
}

.row-bottom{ z-index: 1; }

.bubble{
  width: clamp(160px, 19vw, 340px);
  height: clamp(160px, 19vw, 340px);
  border-radius: 50%;
  background: var(--cream);
  border: clamp(2px, 0.25vw, 6px) solid var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Circular XX Mono';
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(8rem, 18vw, 16rem);
  color: var(--brown);
  line-height: 1;
  margin-left: clamp(-3.5rem, -6vw, -2.2rem);

  --base-x: 0px;
  --base-y: 0%;
  --base-r: 0deg;
  transform: translate(var(--base-x), var(--base-y)) rotate(var(--base-r));
  animation: float 4s ease-in-out infinite;
}

.bubble:first-child{ margin-left: 0; }

.b1  { --base-x: 0px;   --base-y: 18%;  --base-r: -5deg; animation-delay: 0s;   }
.b2  { --base-x: 10px;  --base-y: -22%; --base-r: 4deg;  animation-delay: 0.5s; z-index: 3; }
.b3  { --base-x: -6px;  --base-y: 8%;   --base-r: -3deg; animation-delay: 1.1s; }
.b4  { --base-x: 8px;   --base-y: -14%; --base-r: 5deg;  animation-delay: 0.3s; }
.b5  { --base-x: -10px; --base-y: 22%;  --base-r: -4deg; animation-delay: 0.8s; }
.b6  { --base-x: 6px;   --base-y: -10%; --base-r: 3deg;  animation-delay: 1.3s; }
.b7  { --base-x: -8px;  --base-y: 16%;  --base-r: -5deg; animation-delay: 0.2s; }
.b8  { --base-x: 10px;  --base-y: -18%; --base-r: 4deg;  animation-delay: 0.9s; }
.b9  { --base-x: -6px;  --base-y: 10%;  --base-r: -3deg; animation-delay: 0.6s; }
.b10 { --base-x: 8px;   --base-y: -12%; --base-r: 3deg;  animation-delay: 1.5s; }

@keyframes float{
  0%, 100% {
    transform: translate(var(--base-x), var(--base-y)) rotate(var(--base-r));
  }
  50% {
    transform: translate(var(--base-x), calc(var(--base-y) - 12px)) rotate(calc(var(--base-r) + 2deg));
  }
}

@media (prefers-reduced-motion: reduce){
  .bubble{ animation: none; }
}

.airplane-enter{
  width: clamp(360px, 42vw, 620px);
  position: absolute;
  bottom: -58%;
  left: 8%;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  animation: plane-enter 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.airplane{
  width: 100%;
  display: block;
  transform: rotate(-18deg);
  animation: plane-idle 6s ease-in-out infinite;
  animation-delay: 1.7s;   /* empieza justo cuando termina la entrada */
}

@keyframes plane-enter{
  0%   { opacity: 0; transform: translate(-25vw, 15vh) scale(0.9); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes plane-idle{
  0%, 100% { transform: rotate(-18deg) translateY(0); }
  50%      { transform: rotate(-15deg) translateY(-14px); }
}

@media (prefers-reduced-motion: reduce){
  .airplane-enter{ animation: none; opacity: 1; }
  .airplane{ animation: none; }
}

/* ===================== INTRO ===================== */

.intro{
  background: none;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  text-align: left;
  position: sticky;         /* se queda fijo mientras la hoja gris pasa por encima */
  top: 0;                   /* script.js lo ajusta si el intro es más alto que la pantalla */
}

/* Intro + hoja gris. El contenedor va por encima del hero (así el intro sigue tapando
   el avión) y limita hasta dónde llega el "sticky": el intro nunca se queda fijo
   sobre las secciones que vienen después. */
.sheet-stack{
  position: relative;
  z-index: 2;
}
.sheet{
  position: relative;
  margin: 1rem;
  z-index: 1;               /* por encima del intro */
  display: flex;
  flex-direction: column;
  gap: var(--sheet-gap);
  /* márgenes del papel: la izquierda deja libre la columna de los agujeros y la derecha
     es igual, así el texto queda centrado; arriba y abajo, aire como en una hoja */
  padding: var(--sheet-pad-y) var(--sheet-pad-x);
}

/* El papel va en un elemento aparte (.sheet-paper) y no en .sheet por una razón:
   la sombra (drop-shadow) tiene que seguir el contorno real, agujeros incluidos,
   y los agujeros se hacen con una máscara. Si máscara y sombra estuvieran en el
   mismo elemento, la máscara se comería la sombra. Por eso: el contenedor pone la
   sombra y su ::before pone el papel con los recortes. */
.sheet-paper{
  position: absolute;
  inset: 0;
  z-index: -1;              /* detrás del texto, dentro de .sheet */
  pointer-events: none;
  /* la sombra que ya tenías + una segunda, más corta, que marca el borde interior de los agujeros */
  filter: drop-shadow(2px 3px 3px #161e2033) drop-shadow(1px 2px 1px #161e2040);
}
.sheet-paper::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--block);

  /* Un agujero = un degradado radial transparente por dentro y opaco por fuera.
     Se intersectan todos, así que cada agujero recorta el papel de verdad
     (se ve lo que hay detrás). Para añadir otro: copia --hole-2, cámbiale la
     altura y añádelo a la lista de mask-image. */
  --hole-1: radial-gradient(circle at var(--hole-x) var(--hole-y1), transparent calc(var(--hole-r) - 0.5px), #000 calc(var(--hole-r) + 0.5px));
  --hole-2: radial-gradient(circle at var(--hole-x) var(--hole-y2), transparent calc(var(--hole-r) - 0.5px), #000 calc(var(--hole-r) + 0.5px));
  -webkit-mask-image: var(--hole-1), var(--hole-2);
  -webkit-mask-composite: source-in;
  mask-image: var(--hole-1), var(--hole-2);
  mask-composite: intersect;
}
.intro p{
  font-size: 76px;
  line-height: 100%;
  font-weight: 400;
  text-indent: 3ch;
  font-family: var(--font-round);
}

/* ===================== TICKER ===================== */

.ticker{
  background: var(--green-dark);
  border-top: 3px solid var(--brown);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.05rem 0;
}

.ticker-track{
  display: inline-flex;
  animation: scroll-ticker 26s linear infinite;
}

.ticker-item{
  padding: 0 1.2rem;
  font-family: var(--font-round);
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--cream);
  white-space: nowrap;
}
.ticker-item em{
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  font-size: 2.7rem;
  margin-right: 0.5rem;
}

@keyframes scroll-ticker{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .ticker-track{ animation: none; }
}

/* ===================== FEATURED WORKSHOP ===================== */

.featured-workshop{
  background: white;
  border-top: 3px solid var(--brown);
  border-bottom: 3px solid var(--brown);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
  min-height: 620px;   /* sube esto para dar más "alto" que llenar */
}

.workshop-content h2{
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  margin-bottom: 1.1rem;
  font-weight: 400;
}

.workshop-content p{
  font-size: 1.3rem;
  font-weight: 400;
  max-width: 48ch;
  margin-bottom: 2rem;
  line-height: 120%;
}

.cta-row{ display: flex; gap: 1rem; flex-wrap: wrap; }

.workshop-illustration{
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  justify-self: center;
}

.workshop-illustration img{
  max-width: none;      /* NUEVO: anula la regla global */
  height: 115%;          /* bajado de 130%, para no tocar el borde superior */
  width: auto;
  position: relative;
  bottom: -30px;
}

/* ===================== STATEMENT SECTIONS ===================== */

/* Cada statement es un bloque gris con esquinas redondeadas sobre la hoja negra:
   texto negro, poco padding y apenas un hilo de negro alrededor. */
.statement{
  padding: clamp(0.6rem, 0.9vw, 0.9rem) clamp(0.9rem, 1.25vw, 1.25rem);
  background: var(--block);
  color: var(--ink);
  border-radius: clamp(1rem, 1.2vw, 1.15rem);
  text-align: center;   /* eyebrow, título, párrafo y botón */
}
.statement .eyebrow{ 
  color: inherit; 
}
.statement > :last-child{ margin-bottom: 0; }

.statement h2{
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
  font-weight: 400;
  text-align: center;
}

.statement p{
  font-size: clamp(1.5rem, 3.4vw, 3.5rem);   /* texto grande, como en la referencia; el coral destacado mantiene el contraste (≥3:1) */
  font-weight: 400;
  margin-bottom: 1.1rem;
  line-height: 1.02;
  text-align: center;
}

/* ===================== SHOP BANNER ===================== */

.shop-banner{
  background: var(--green-dark);
  color: var(--cream);
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}

.serif-line{
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 3.5rem;
  color: var(--cream);
}

.bubble-word{
  display: flex;
  justify-content: center;
  margin: 0
  rem 0;
}
.bubble-word .bubble{
  width: clamp(46px, 6.5vw, 78px);
  height: clamp(46px, 6.5vw, 78px);
  font-size: 3.5rem;
  background: var(--cream);
  color: var(--brown);
  margin-left: clamp(-0.9rem, -1.6vw, -0.5rem);
}
.bubble-word .bubble:first-child{ margin-left: 0; }

/* ===================== PRODUCT STRIP ===================== */

.products-strip{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.product-img{
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}
.product-img span{
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-family: monospace;
}

/* ===================== FOOTER ===================== */

.site-footer{
  background: var(--yellow);
  padding-top: clamp(4.5rem, 6vw, 7rem);
  overflow: hidden;
  border-top: solid 2px var(--brown);
}

.footer-top{
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 clamp(3rem, 8vw, 10rem) 2rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;   /* solo actúa como mínimo cuando la fila es estrecha o hace wrap */
}

.footer-tagline{
  font-family: var(--font-round);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 400;
  max-width: 30ch;
  line-height: 110%;
}

.footer-cols{
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-col h4{
  font-family: var(--font-round);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brown);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.footer-col a{
  display: block;
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}
.footer-col a:hover{ text-decoration: underline; }

.footer-giant{
  display: block;
  width: 101%;              /* más ancho que el propio footer: por eso sangra */
  max-width: none;          /* anula la regla global img{ max-width: 100%; } */
  margin-left: -1%;         /* centra ese 10% de sobra repartido a ambos lados */
  transform: translateY(2%);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 860px){
  .featured-workshop{ grid-template-columns: 1fr; text-align: center; }
  .cta-row{ justify-content: center; }
  .workshop-content p{ margin-left: auto; margin-right: auto; }
}

@media (max-width: 720px){
  .menu-toggle{ display: flex; }

  .intro p{ font-size: 1.9rem; line-height: 1.1; }   /* en móvil, los 49px fijos se salían de la pantalla */

  /* el menú se despliega hacia ARRIBA, sobre la barra inferior */
  .nav-links{
    display: none;
    position: absolute;
    bottom: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(320px, calc(100vw - 2.5rem));
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open{ display: flex; }
  .nav-links li{ width: 100%; }
  .pill{ display: block; text-align: center; }

  .products-strip{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px){
  .footer-top{ flex-direction: column; }
}


/* ===================== TALLERES: HERO GRAFO ===================== */

.talleres-hero{
  background: none;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0;
}


.talleres-graph{
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.talleres-graph-img{
  display: block;
  width: 100%;
  height: auto;   /* el propio SVG ya trae su proporción correcta, no hace falta forzar nada */
}

.talleres-intro{
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.talleres-intro-text{
  align-self: flex-start;
  max-width: 480px;
  margin-left: 38%;      /* lo desplaza hacia el centro, pero sin llegar a centrarlo del todo */
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.talleres-intro-cta{
  align-self: flex-start;
  margin-left: 0;      /* ya hereda el padding del .talleres-hero, que ahora usa --gutter */
  padding-bottom: clamp(2rem, 4vw, 3rem);
  font-size: 1.1rem;
}

.talleres-intro-cta a{
  text-decoration: underline;
}

/* ===================== GALERÍA DE TALLERES ===================== */

.workshop-gallery{
  width: 100%;
  max-width: none;              /* antes: var(--max-width) — lo quitamos para que ocupe el 100% */
  margin: 0;
  padding: 0.5rem var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.gallery-card{
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
}

.gallery-card-media{
  aspect-ratio: 3 / 4;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card-media img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-card:hover .gallery-card-media{
  transform: scale(1.06);
}

.coming-soon-media{
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.coming-soon-media img{
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(16px);
  transform: scale(1.15);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.gallery-card.coming-soon:hover .coming-soon-media img{
  filter: blur(10px);
  transform: scale(1.2);
}

.coming-soon-badge{
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

@media (max-width: 720px){
  .workshop-gallery{ grid-template-columns: repeat(2, 1fr); }
}

/* ===================== DETALLE DE TALLER ===================== */

.workshop-detail{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter) clamp(3rem, 6vw, 4.5rem);
}

.breadcrumb{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brown);
  opacity: 0.6;
  margin-bottom: 1.5rem;
}
.breadcrumb a{ text-decoration: underline; opacity: 1; }

.workshop-detail-grid{
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* ---- columna izquierda ---- */

.workshop-cover{
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  border: solid #3B1000, 2px;
}
.workshop-cover span{
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-family: monospace;
}

.workshop-map{
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--stone);
  margin-bottom: 1rem;
}
.workshop-map iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.workshop-venue-name{
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.workshop-venue-address{
  display: block;
  font-size: 0.95rem;
  text-decoration: underline;
}

/* ---- columna derecha ---- */

.workshop-info h1{
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.workshop-desc{
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.workshop-desc-emphasis{
  font-weight: 700;
}

.spec{ margin-top: 1.75rem; }
.spec h3{
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.spec-box{
  background: var(--panel);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
}
.spec-box p{ font-size: 0.98rem; line-height: 1.5; }
.spec-box p + p{ margin-top: 0.9rem; }

.spec-box-line{
  font-weight: 500;
}

.spec-row{
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.spec-half{ flex: 1 1 160px; }

.workshop-cta{
  margin-top: 2.25rem;
}

@media (max-width: 860px){
  .workshop-detail-grid{ grid-template-columns: 1fr; }
  .workshop-media{ max-width: 420px; }
}

/* ===================== CATEGORÍAS DE PRECIO ===================== */

.pricing-section{
  background: var(--stone);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  border-top: 3px solid var(--brown);
}

.pricing-title{
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-card{
  background: var(--coral);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.pricing-icon{
  width: 100px;
  height: 100px;
  margin: 0 auto 1.1rem;
  display: block;
}

.pricing-card h4{
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pricing-card p{
  font-size: 0.92rem;
  line-height: 1.4;
}

.pricing-note{
  max-width: 640px;
  margin: 1.75rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.85;
}

@media (max-width: 720px){
  .pricing-grid{ grid-template-columns: 1fr; }
}

/* ===================== MODAL DE RESERVA ===================== */

.booking-modal{
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.booking-modal.open{ display: flex; }

.booking-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(59,16,0,0.55);
}

.booking-modal-panel{
  position: relative;
  background: var(--cream);
  border-radius: 10px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.booking-modal-panel h3{
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  padding-right: 2rem;
}

.booking-modal-sub{
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.booking-modal-close{
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--brown);
}

.price-options{
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.price-option{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--stone);
  border-radius: 8px;
  background: var(--cream);
  font-family: var(--font-round);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.price-option:hover{ border-color: var(--brown); }
.price-option.selected{
  border-color: var(--green-dark);
  background: rgba(9,93,60,0.08);
}

.price-option-label{ font-weight: 600; }
.price-option-amount{ font-weight: 700; }

.booking-continue{
  display: block;
  width: 100%;
  text-align: center;
  opacity: 0.5;
  pointer-events: none;
}
.booking-continue.enabled{
  opacity: 1;
  pointer-events: auto;
}
/* ===================== TIENDA ===================== */

.shop-hero{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 1rem;
}

.shop-heading{
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.shop-bubble-word .bubble{
  width: clamp(38px, 5.5vw, 62px);
  height: clamp(38px, 5.5vw, 62px);
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  font-family: var(--font-mono);
}

/* ---- filtros ---- */

.filter-tabs{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  border: 2px solid var(--brown);
  border-radius: 8px;
  overflow: hidden;
}

.filter-tab{
  flex: 1;
  padding: 0.85rem 1rem;
  background: var(--cream);
  color: var(--brown);
  opacity: 0.55;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-right: 2px solid var(--brown);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.filter-tab:last-child{ border-right: none; }

.filter-tab:hover{ opacity: 0.85; }

.filter-tab.active{
  background: var(--brown);
  color: var(--cream);
  opacity: 1;
}

/* ---- galería de productos ---- */

.shop-grid{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
}

.product-card{ display: block; }
.product-card.is-hidden{ display: none; }

.product-frame{
  position: relative;
  aspect-ratio: 1 / 1.05;
  border: 2px solid var(--brown);
  border-radius: 4px;
  overflow: hidden;
}

.product-media{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0.65rem;
}
.product-media span{
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  font-family: monospace;
}

.product-actions{
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.product-frame:hover .product-actions,
.product-frame:focus-within .product-actions{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.product-action-btn{
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.5rem;
  border: 2px solid var(--brown);
  border-radius: 999px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
  cursor: pointer;
}

.product-action-add{ background: var(--yellow); color: var(--brown); }
.product-action-detail{ background: var(--stone); color: var(--brown); }

.product-info{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.product-name{
  font-size: 0.92rem;
  line-height: 1.3;
}

.product-price{
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

/* ---- controles: ver más / volver arriba ---- */

.shop-controls{
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0 var(--gutter) clamp(3rem, 6vw, 4.5rem);
}
.shop-controls .pill{ cursor: pointer; border: none; }
.shop-controls .pill[hidden]{ display: none; }

@media (max-width: 980px){
  .shop-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px){
  .shop-grid{ grid-template-columns: repeat(2, 1fr); }
  .filter-tab{ font-size: 0.85rem; padding: 0.7rem 0.4rem; }
}
@media (max-width: 480px){
  .shop-grid{ grid-template-columns: 1fr; }
}


/* ===================== PÁGINA CLUB MANUAL ===================== */

.cm-hero{
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(5rem, 10vw, 7rem);
  overflow: visible;
}

.cm-hero-tagline{
  max-width: 260px;
  margin-left: auto;
  text-align: right;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--brown);
  position: relative;
  z-index: 2;
}

.cm-wordmark{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin-top: -1.5rem;
}

.cm-word{ display: block; }

.cm-word-club{ width: clamp(220px, 32vw, 420px); }

.cm-word-manual{
  width: clamp(320px, 45vw, 620px);
  margin-left: clamp(1rem, 8vw, 5rem);
  margin-top: clamp(-1.5rem, -3vw, -0.5rem);
}

/* ---- formas decorativas animadas (reutilizan la animación "float" de las burbujas del logo) ---- */

.cm-hero-shapes{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cm-shape{
  position: absolute;
  --base-x: 0px;
  --base-y: 0%;
  --base-r: 0deg;
  transform: translate(var(--base-x), var(--base-y)) rotate(var(--base-r));
  animation: float 5s ease-in-out infinite;
}

.cm-dot{ width: clamp(20px, 2.6vw, 34px); }
.cm-dot-1{ top: 4%; left: 46%; animation-delay: 0s; }
.cm-dot-2{ top: 2%; right: 2%; animation-delay: 0.8s; }

.cm-diamond{ width: clamp(120px, 14vw, 220px); opacity: 0.9; }
.cm-diamond-1{ top: 30%; right: 4%;  animation-delay: 0.3s; }
.cm-diamond-2{ top: 38%; right: 12%; animation-delay: 1.1s; }

.cm-crescent{
  width: clamp(140px, 16vw, 250px);
  bottom: -4%;
  left: 4%;
  animation-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce){
  .cm-shape{ animation: none; }
}

@media (max-width: 720px){
  .cm-hero-tagline{ margin-left: 0; text-align: left; }
  .cm-word-manual{ margin-left: 1.5rem; }
  .cm-diamond, .cm-crescent{ display: none; }
}

/* ---- banda de bienvenida ---- */

.welcome-band{
  background: var(--coral);
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}

.welcome-tag{
  display: inline-block;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.welcome-band p{
  max-width: 780px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--brown);
}

/* ---- paneles: talleres / espacios / materiales ---- */

.feature-panel{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) var(--gutter);
}

.feature-panel .eyebrow{
  display: block;
  margin-bottom: 0.75rem;
}

.feature-box{
  position: relative;
  border: 2px solid var(--brown);
  border-radius: 8px;
  background: var(--cream);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.feature-box p{
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.5;
}

.feature-box-media{ min-height: 230px; }

.feature-illustration{
  position: absolute;
  right: clamp(1.25rem, 5vw, 3.5rem);
  top: 50%;
  transform: translateY(-50%);
  height: auto;
}
.feature-illustration-pencil{ width: clamp(180px, 24vw, 340px); }
.feature-illustration-martillo{ width: clamp(130px, 17vw, 230px); }

@media (max-width: 780px){
  .feature-box-media{ padding-bottom: 11rem; }
  .feature-illustration{
    top: auto;
    bottom: 1.5rem;
    right: 50%;
    transform: translateX(50%);
  }
  .feature-box p{ max-width: 100%; }
}

/* ---- botón coral pequeño (misma familia que btn-darkgreen-sm / btn-blue-sm) ---- */

.btn-coral-sm{
  display: inline-block;
  align-self: flex-start;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--coral);
  color: var(--cream);
  box-shadow: 0 0 22px 4px rgba(255,68,75,0.45);
}
/* ===================== FINDER DE TALLERES (lista + imagen a pantalla completa) ===================== */
.finder{
  --line: 2px solid #000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100svh;
  min-height: 560px;
  border-top: var(--line);
  background: var(--yellow);
  color: var(--brown);
}
.finder-list{
  list-style: none; margin: 0; padding: 0 0 5.5rem;   /* aire para la nav fija */
  overflow-y: auto; border-right: var(--line);
  scrollbar-width: none;
}
.finder-list::-webkit-scrollbar{ display: none; }

.finder-item{ border-bottom: var(--line); background: var(--yellow); transition: background .3s ease, color .3s ease; }
.finder-item.is-open{ background: var(--c); color: var(--ct); }

.finder-trigger{
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(.5rem, 1.2vw, 1rem) var(--gutter);
}
.finder-trigger:focus-visible{ outline: 3px solid currentColor; outline-offset: -6px; }
.finder-name{
  font-family: var(--font-round); font-weight: 500;
  font-size: clamp(2.2rem, 5.2vw, 5.5rem);
  line-height: .95; letter-spacing: -0.045em;
}
.finder-name sup{ white-space: nowrap; font-size: .28em; letter-spacing: 0; font-family: var(--font-mono); vertical-align: top; position: relative; top: .5em; margin-left: .3em; }
.finder-item:not(.is-open):hover .finder-name{ font-style: italic; }

/* + / – */
.finder-icon{ position: relative; flex: none; width: clamp(1.4rem, 3vw, 2.6rem); aspect-ratio: 1; }
.finder-icon::before, .finder-icon::after{
  content:""; position:absolute; left:0; right:0; top:50%; height: 3px; background: currentColor; transform: translateY(-50%);
  transition: transform .3s ease;
}
.finder-icon::after{ transform: translateY(-50%) rotate(90deg); }
.finder-item.is-open .finder-icon::after{ transform: translateY(-50%) rotate(0); }

/* desplegable */
.finder-panel{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.16,1,.3,1); }
.finder-item.is-open .finder-panel{ grid-template-rows: 1fr; }
.finder-panel-inner{ overflow: hidden; padding: 0 var(--gutter); max-width: 44rem; }
.finder-item.is-open .finder-panel-inner{ padding-bottom: clamp(1rem, 2vw, 1.75rem); }
.finder-panel p{ font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.35; margin: 0 0 1rem; }
.finder-link{
  display: inline-block;
  font-family: var(--font-mono); text-transform: uppercase; font-size: .85rem; letter-spacing: .02em;
  padding: .6rem 1.25rem;
  border: 1.5px solid currentColor; border-radius: 999px;   /* pastilla solo con contorno, del color del texto */
  background: transparent;
  transition: background .2s ease, color .2s ease;
}
.finder-link:hover{ background: var(--ct); color: var(--c); }   /* al pasar el ratón se rellena y el texto toma el color del fondo */
.finder-link:focus-visible{ outline: 3px solid currentColor; outline-offset: 3px; }
.finder-fig{ display: none; }

/* "pronto disponible" */
.finder-item.is-soon:not(.is-open) .finder-name{ opacity: .4; }
.finder-tag{
  display: inline-block; vertical-align: middle; margin-left: .4em;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: 0; text-transform: uppercase; font-weight: 400;
  border: 1.5px solid currentColor; border-radius: 999px; padding: .25em .8em;
}

/* imagen derecha */
.finder-stage{ position: relative; overflow: hidden; }
.finder-media{
  position: absolute; inset: 0; background: var(--c); color: var(--ct);
  opacity: 0; transition: opacity .45s ease;
  display: grid; place-items: center;
}
.finder-media.is-active{ opacity: 1; z-index: 1; }
.finder-media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finder-media.is-blur img{ filter: blur(18px); transform: scale(1.12); }
.finder-media span{ position: relative; font-family: var(--font-round); font-weight: 500; font-size: clamp(8rem, 24vw, 22rem); letter-spacing: -.06em; line-height: 1; opacity: .9; }
.finder-media img + span{ display: none; }   /* con foto, el número se oculta */

@media (max-width: 800px){
  .finder{ grid-template-columns: 1fr; height: auto; min-height: 0; }
  .finder-list{ border-right: 0; overflow: visible; padding-bottom: 6rem; }
  .finder-stage{ display: none; }
  .finder-fig{ display: block; margin: 0 0 1rem; aspect-ratio: 4/3; background: color-mix(in srgb, var(--ct) 18%, transparent); overflow: hidden; border-radius: 6px; }
  .finder-fig img{ width: 100%; height: 100%; object-fit: cover; }
  .finder-item.is-soon .finder-fig img{ filter: blur(14px); transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce){ .finder *{ transition: none !important; } }

/* ===================== PÁGINA TALLERES: UNA SOLA PANTALLA, SIN SCROLL ===================== */
body.page-talleres{ height: 100svh; overflow: hidden; background: var(--yellow); display: flex; flex-direction: column; }
body.page-talleres main{ flex: 1; min-height: 0; display: flex; flex-direction: column; }

.tl-title{
  flex: none; margin: 0;
  padding: .35rem var(--gutter) .45rem;
  font-family: var(--font-mono); font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.045em;
  color: var(--brown); background: var(--cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.page-talleres .finder{ flex: 1; min-height: 0; height: auto; }
/* la nav flota abajo, centrada, sobre el contenido: aire para que no tape la última fila */
.page-talleres .finder-list{ padding-bottom: 5.5rem; }

@media (max-width: 800px){
  .page-talleres .finder{ grid-template-columns: 1fr; }
  .page-talleres .finder-list{ overflow-y: auto; }
  .page-talleres .finder-fig{ aspect-ratio: 16/9; }
}
@media (max-width: 720px){
  .tl-title{ font-size: clamp(1.5rem, 7vw, 2.2rem); }
}

/* contorno completo de la cuadrícula de talleres */
.page-talleres .finder{ border: var(--line); }

/* Club de Dibujo Vol. 1: cartel a ancho completo, sin deformar; recorta arriba/abajo si hace falta */
.finder-media[data-id="dibujo"],
.finder-media[data-id="t2"],
.finder-media[data-id="t3"]{ background: #fff; }
.finder-media[data-id="dibujo"] img,
.finder-media[data-id="t2"] img,
.finder-media[data-id="t3"] img{
  position: absolute; left: 0; top: 50%;
  width: 100%; height: auto; min-height: 100%;
  object-fit: cover; object-position: center;
  transform: translateY(-50%);
}
@media (max-width: 800px){
  .finder-item[data-id="dibujo"] .finder-fig,
  .finder-item[data-id="t2"] .finder-fig,
  .finder-item[data-id="t3"] .finder-fig{ aspect-ratio: auto; background: #fff; }
  .finder-item[data-id="dibujo"] .finder-fig img,
  .finder-item[data-id="t2"] .finder-fig img,
  .finder-item[data-id="t3"] .finder-fig img{ height: auto; max-height: 48svh; object-fit: contain; }
}

/* ===================== TIENDA: estilo supero.ch/shop =====================
   Secciones por categoría, rejilla de 2 columnas, fotos grandes sobre gris,
   nombre y precio debajo, sin cajas ni efectos. */
.shop-sections{
  max-width: var(--max-width);   /* misma anchura que la cabecera de la tienda: todo alineado a la izquierda */
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) var(--gutter) 8rem;   /* aire para la nav flotante */
}
.shop-section{ margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.shop-section:first-child{ margin-top: 0; }
.shop-section-title{
  font-family: var(--font-round); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.shop-products{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 1.5rem);
}
@media (max-width: 1000px){ .shop-products{ grid-template-columns: repeat(2, 1fr); } }
.shop-sections .product-card{ display: block; }
.shop-sections .product-card.is-hidden{ display: none; }

.shop-sections .product-frame{
  display: block; position: relative;
  aspect-ratio: 4 / 5;
  background: var(--block);
  border: 0; border-radius: 0; overflow: hidden;
}
.shop-sections .product-media{
  position: absolute; inset: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.shop-sections .product-frame:hover .product-media{ transform: scale(1.03); }
/* mientras no haya foto real: el color del producto como un póster sobre el gris */
.shop-sections .product-media::before{
  content: ""; width: 52%; aspect-ratio: 3 / 4; background: var(--pc, var(--stone));
}
.shop-sections .product-media span{
  position: absolute; left: .75rem; bottom: .6rem;
  font-family: var(--font-mono); font-size: .65rem; color: rgba(0,0,0,.45);
}
/* con foto real (<img> dentro de .product-media) ocupa todo el cuadro */
.shop-sections .product-media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-sections .product-media:has(img)::before,
.shop-sections .product-media:has(img) span{ display: none; }

.shop-sections .product-info{ display: block; margin-top: .9rem; }
.shop-sections .product-name{ font-weight: 500; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.2; }
.shop-sections .product-price{ font-weight: 500; font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin-top: .15rem; }

/* acciones siempre visibles (como en Supero), debajo del precio */
.shop-sections .product-actions{
  position: static; opacity: 1; transform: none; pointer-events: auto;
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem;
}
.shop-sections .product-action-btn{
  flex: 0 0 auto; padding: .5rem 1.1rem;
  background: transparent; color: var(--brown);
  border: 1.5px solid var(--brown); border-radius: 999px;
  font-family: var(--font-round); font-weight: 500; font-size: .9rem;
  transition: background .2s ease, color .2s ease;
}
.shop-sections .product-action-add:hover{ background: var(--brown); color: var(--cream); }
.shop-sections .product-action-detail{ border-color: transparent; text-decoration: underline; padding-inline: .4rem; }

@media (max-width: 560px){
  .shop-products{ grid-template-columns: 1fr; }
}

/* ===================== FICHA DE PRODUCTO (estilo supero.ch, sin reseñas) ===================== */
.product-detail{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) 0;
}
.product-detail .breadcrumb{ margin-bottom: 1.25rem; }
.product-detail-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.product-detail-photo{
  position: relative; aspect-ratio: 4 / 5; background: var(--block); overflow: hidden;
}
.product-detail-photo .product-media{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.product-detail-photo .product-media::before{ content:""; width: 52%; aspect-ratio: 3/4; background: var(--pc, var(--stone)); }
.product-detail-photo .product-media span{ position: absolute; left: .75rem; bottom: .6rem; font-family: var(--font-mono); font-size: .65rem; color: rgba(0,0,0,.45); }
.product-detail-photo .product-media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-detail-photo .product-media:has(img)::before,
.product-detail-photo .product-media:has(img) span{ display: none; }

.product-detail-info{ position: sticky; top: 1.5rem; }
.product-detail-title{
  font-family: var(--font-round); font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.product-detail-desc{ font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.4; max-width: 46ch; margin-bottom: 1.5rem; }
.product-detail-price{ font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 1.25rem; }

.buy-row{ display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.25rem; }
.qty{ display: inline-flex; align-items: center; border: 1.5px solid var(--brown); border-radius: 999px; overflow: hidden; }
.qty button{ all: unset; cursor: pointer; width: 2.6rem; height: 2.6rem; text-align: center; line-height: 2.6rem; font-size: 1.2rem; }
.qty button:hover{ background: var(--block); }
.qty button:focus-visible{ outline: 3px solid var(--brown); outline-offset: -4px; }
.qty input{ width: 2.6rem; height: 2.6rem; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 500; color: inherit; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }

.btn-outline-pill{
  padding: .7rem 1.6rem; border: 1.5px solid var(--brown); border-radius: 999px;
  background: transparent; color: var(--brown); cursor: pointer;
  font-family: var(--font-round); font-weight: 500; font-size: 1rem;
  transition: background .2s ease, color .2s ease;
}
.btn-outline-pill:hover{ background: var(--brown); color: var(--cream); }
.btn-outline-pill:focus-visible{ outline: 3px solid var(--brown); outline-offset: 3px; }

.product-detail-ship{ font-size: .95rem; margin-bottom: 2rem; }
.product-detail-sub{ font-family: var(--font-round); font-weight: 500; font-size: 1.1rem; margin-bottom: .6rem; }
.spec-table{ margin: 0; border-top: 1.5px solid var(--brown); }
.spec-table > div{ display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1.5px solid var(--brown); }
.spec-table dt{ font-weight: 500; }
.spec-table dd{ margin: 0; }

.shop-related{ padding-top: clamp(3rem, 6vw, 5rem); }
.shop-related .shop-products{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px){ .shop-related .shop-products{ grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 800px){
  .product-detail-grid{ grid-template-columns: 1fr; }
  .product-detail-info{ position: static; }
}
@media (max-width: 560px){ .shop-related .shop-products{ grid-template-columns: 1fr; } }

/* Tienda: texto de introducción grande en la cabecera (sustituye al título "Club Manual SHOP") */
.shop-intro{
  font-family: var(--font-round);
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 20em;
  text-wrap: balance;
}
.shop-hero{ padding-bottom: clamp(1.5rem, 4vw, 3rem); }

/* ===================== HOME: SOBRE CLUB MANUAL (tras la hoja) =====================
   Estructura tomada de parker.studio/studio: secciones numeradas con etiqueta mono,
   listas con filetes y mucho aire. Tipografía y colores, los de Club Manual. */
.about{
  position: relative; z-index: 2;       /* por encima del hero, como la hoja */
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  border-top: 2px solid var(--brown);
  --about-line: 2px solid currentColor;
}
.about-airy{ padding-block: clamp(5rem, 11vw, 10rem); }
.about-yellow{ background: var(--yellow); color: var(--brown); }
.about-cream { background: var(--cream);  color: var(--brown); }
.about-white { background: #fff;          color: var(--brown); }
.about-coral { background: var(--coral);  color: var(--brown); }

.about-label{
  font-family: var(--font-mono); text-transform: uppercase; font-size: .85rem; letter-spacing: .02em;
  margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}
.about-title{
  font-family: var(--font-round); font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -0.04em;
  max-width: 18em; text-wrap: balance;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.about-intro{ font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.35; max-width: 36ch; }
.about-num{ font-family: var(--font-mono); font-size: .85rem; letter-spacing: .02em; }

/* [01] lista de frases */
.about-list{ list-style: none; margin: 0; padding: 0; border-top: var(--about-line); }
.about-list li{
  display: grid; grid-template-columns: clamp(2.5rem, 6vw, 6rem) 1fr; align-items: baseline;
  padding: clamp(.9rem, 2vw, 1.5rem) 0; border-bottom: var(--about-line);
}
.about-list p{
  font-family: var(--font-round); font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 3.25rem); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 24em;
}
.about-serif{
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.02em;
  margin-top: clamp(2rem, 5vw, 4rem);
}

/* [02] tres pasos, con hueco para ilustración */
.about-steps{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(3rem, 8vw, 7rem);
  align-items: start;
}
.about-steps article:nth-child(2){ margin-top: clamp(2rem, 8vw, 7rem); }   /* escalonado, más aire */
.about-steps h3{
  font-family: var(--font-round); font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1; letter-spacing: -0.04em;
  margin: .6rem 0 .75rem;
}
.about-steps p{ font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.4; max-width: 28ch; }

/* hueco para ilustración: sustitúyelo metiendo un <img> dentro */
.about-illus{
  position: relative; aspect-ratio: 1 / 1; margin-bottom: 1.5rem;
  border: 1.5px dashed currentColor; border-radius: 1rem;
  display: grid; place-items: center;
}
.about-illus span{ font-family: var(--font-mono); text-transform: uppercase; font-size: .75rem; letter-spacing: .02em; opacity: .6; }
.about-illus img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.about-illus:has(img){ border: 0; }
.about-illus:has(img) span{ display: none; }

/* [03] cuatro ideas: círculos finos que flotan como las burbujas del logo */
.about-ideas{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2rem, 5vw, 4rem);
}
.idea-dot{
  display: grid; place-items: center;
  width: clamp(96px, 12vw, 170px); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid currentColor;
  font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
  animation: float 5s ease-in-out infinite;
  --base-x: 0px; --base-y: 0%; --base-r: 0deg;
}
.about-ideas article:nth-child(2) .idea-dot{ animation-delay: .6s; }
.about-ideas article:nth-child(3) .idea-dot{ animation-delay: 1.2s; }
.about-ideas article:nth-child(4) .idea-dot{ animation-delay: 1.8s; }
.about-ideas article:hover .idea-dot,
.about-ideas article:focus-within .idea-dot{ background: var(--dot); color: var(--dot-ink); border-color: var(--dot); }
.about-ideas h3{
  font-family: var(--font-round); font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: .6rem;
}
.about-ideas p{ font-size: clamp(.95rem, 1.15vw, 1.1rem); line-height: 1.4; max-width: 24ch; }
@media (prefers-reduced-motion: reduce){ .idea-dot{ animation: none; } }

/* [04] lista curiosa */
.about-log{ margin: clamp(2rem, 5vw, 4rem) 0 0; border-top: var(--about-line); }
.about-log > div{
  display: grid; grid-template-columns: minmax(10rem, 1fr) 2.5fr; align-items: baseline; gap: 1rem;
  padding: clamp(.9rem, 2vw, 1.4rem) 0; border-bottom: var(--about-line);
}
.about-log dt{ font-family: var(--font-mono); text-transform: uppercase; font-size: .85rem; letter-spacing: .02em; }
.about-log dd{
  margin: 0; font-family: var(--font-round); font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -0.035em;
}
.about-note{ font-family: var(--font-mono); text-transform: uppercase; font-size: .8rem; letter-spacing: .02em; margin-top: 1.5rem; }

@media (max-width: 900px){
  .about-ideas{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px){
  .about-steps{ grid-template-columns: 1fr; }
  .about-steps article:nth-child(2){ margin-top: 0; }
  .about-illus{ max-width: 320px; }
  .about-log > div{ grid-template-columns: 1fr; gap: .3rem; }
}
@media (max-width: 480px){
  .about-ideas{ grid-template-columns: 1fr; }
}

.about-link{ color: inherit; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.about-link:hover{ text-decoration-thickness: 2px; }
