/* ===========================================================================
   The Yellow Bucket — estilos
   Recreación del diseño "The Yellow Bucket v2" (handoff de Claude Design).
   Colores, tipografía y espaciado son los del handoff: no improvisar.
   =========================================================================== */
:root {
  --amarillo: #FFD400;
  --crema: #FFFBEF;
  --blanco: #FFFFFF;
  --beige: #F3EEDF;
  --texto: #3D3D3D;
  --oscuro: #2B2B2B;
  --fondo-oscuro: #2E2E2E;
  --placeholder-oscuro: #3A3A3A;
  --secundario: #5A5A5A;
  --terciario: #6B6B6B;
  --sobre-oscuro: #CFCFCF;
  --sobre-oscuro-2: #BDBDBD;
  --abierto: #2E9E5B;
  --cerrado: #D9822B;
  --borde: rgba(61,61,61,.15);
  --borde-suave: rgba(61,61,61,.1);
  --sombra-1: 0 24px 50px -20px rgba(43,43,43,.45);
  --sombra-2: 0 20px 40px -18px rgba(43,43,43,.45);
  --sombra-3: 0 14px 30px -14px rgba(43,43,43,.4);
  --sombra-4: 0 40px 70px -30px rgba(43,43,43,.6);
  --pad-x: clamp(16px,4vw,40px);
  --pad-y: clamp(64px,9vw,120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--crema); }
body {
  margin: 0; background: var(--crema); color: var(--texto);
  font-family: 'Outfit', sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--texto); text-decoration: none; }
a:hover { color: var(--oscuro); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 80px; }

.pagina { min-height: 100vh; overflow-x: hidden; }
.contenedor { max-width: 1320px; margin: 0 auto; padding-inline: var(--pad-x); }
.seccion { padding-block: var(--pad-y); }

/* --- Títulos y texto ------------------------------------------------------ */
.h2 {
  margin: 0; font-weight: 200; font-size: clamp(40px,5.4vw,76px); line-height: 1;
  letter-spacing: -.03em; text-wrap: balance;
}
.h2 b { font-weight: 700; }
.h2-menu { font-size: clamp(44px,7vw,100px); line-height: .95; letter-spacing: -.04em; }
.h2-galeria { font-size: clamp(36px,5vw,64px); }
.h2-visita { font-size: clamp(40px,5.6vw,80px); line-height: .98; letter-spacing: -.04em; color: var(--oscuro); }
.amarillo { color: var(--amarillo); }
.parrafo { margin: 0; font-size: 17px; line-height: 1.55; color: var(--secundario); font-weight: 300; text-wrap: pretty; }
.ceja { font-size: 15px; color: var(--terciario); }

.cabeza-seccion { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* --- Botones -------------------------------------------------------------- */
.botones { display: flex; gap: 12px; flex-wrap: wrap; }
.boton {
  display: inline-block; padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 16px;
  white-space: nowrap; transition: transform .2s, background .2s, color .2s;
}
.boton-oscuro { background: var(--texto); color: var(--crema); }
.boton-oscuro:hover { transform: translateY(-3px); color: var(--amarillo); }
.boton-borde { border: 1px solid var(--texto); }
.boton-borde:hover { background: var(--amarillo); color: var(--texto); }
.boton-carbon { background: var(--oscuro); color: var(--amarillo); padding: 16px 26px; }
.boton-carbon:hover { background: #000; color: var(--amarillo); }
.boton-borde-carbon { border: 1px solid var(--oscuro); color: var(--oscuro); padding: 16px 26px; }
.boton-borde-carbon:hover { background: var(--oscuro); color: var(--crema); }
.boton-amarillo {
  background: var(--amarillo); color: var(--oscuro); padding: 14px 24px; border-radius: 999px;
  font-weight: 600; transition: transform .2s;
}
.boton-amarillo:hover { transform: translateY(-3px); color: var(--oscuro); }

/* --- Cabecera ------------------------------------------------------------- */
.cabecera {
  position: sticky; top: 0; z-index: 20; background: rgba(255,251,239,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--borde);
}
.nav { padding-block: 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.nav-logo { display: flex; flex: none; }
.nav-logo img { height: 46px; width: auto; }
.nav-enlaces { display: flex; align-items: center; gap: clamp(14px,2.4vw,32px); flex-wrap: wrap; font-size: 15px; font-weight: 400; }
.nav-enlaces a { white-space: nowrap; }
.nav-enlaces a:hover { color: #000; }
.nav-enlaces .nav-cta {
  background: var(--amarillo); color: var(--oscuro); font-weight: 600; padding: 10px 20px;
  border-radius: 999px; flex: none; transition: background .2s, color .2s;
}
.nav-enlaces .nav-cta:hover { background: var(--texto); color: var(--amarillo); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(36px,6vw,80px); padding-bottom: clamp(56px,7vw,100px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,440px),1fr));
  gap: clamp(36px,5vw,64px); align-items: center;
}
.hero-texto { display: flex; flex-direction: column; gap: 28px; }
.chip-estado {
  align-self: flex-start; display: flex; align-items: center; gap: 10px; background: var(--blanco);
  border: 1px solid rgba(61,61,61,.18); border-radius: 999px; padding: 8px 16px 8px 12px;
  font-size: 14px; flex-wrap: wrap; white-space: nowrap;
}
.chip-punto { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--terciario); }
.chip-punto.abierto { background: var(--abierto); }
.chip-punto.cerrado { background: var(--cerrado); }
.chip-titulo { font-weight: 600; }
.chip-sub { color: var(--terciario); }
.hero-titulo {
  margin: 0; font-weight: 200; font-size: clamp(50px,7.6vw,112px); line-height: .95;
  letter-spacing: -.035em; text-wrap: balance;
}
.clave { font-weight: 700; position: relative; white-space: nowrap; z-index: 0; }
.marcador {
  position: absolute; left: -2%; right: -2%; bottom: .06em; height: .28em;
  background: var(--amarillo); z-index: -1; border-radius: 4px;
}
.hero-parrafo {
  margin: 0; max-width: 30em; font-size: clamp(17px,1.5vw,20px); line-height: 1.55;
  color: var(--secundario); font-weight: 300; text-wrap: pretty;
}

.collage { position: relative; height: clamp(420px,46vw,580px); min-width: 0; }
.collage-arco {
  position: absolute; right: 6%; top: 4%; width: 72%; height: 84%;
  border-radius: 50% 50% 24px 24px; background: var(--amarillo);
}
.collage-foto { position: absolute; border-radius: 22px; overflow: hidden; background: #eee; }
.collage-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.foto-1 { --r: -4deg; left: 2%; top: 10%; width: 56%; height: 70%; box-shadow: var(--sombra-1); transform: rotate(var(--r)); animation: yb-float 7s ease-in-out infinite; }
.foto-2 { --r: 5deg; right: 2%; top: 0; width: 42%; height: 46%; box-shadow: var(--sombra-2); transform: rotate(var(--r)); animation: yb-float 8s ease-in-out -2s infinite; }
.foto-3 { --r: -2deg; right: 10%; bottom: 0; width: 40%; height: 42%; box-shadow: var(--sombra-2); transform: rotate(var(--r)); animation: yb-float 9s ease-in-out -4s infinite; }

.recien {
  position: absolute; left: 8%; bottom: 4%; background: var(--blanco); border-radius: 18px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--sombra-3);
}
.taza { position: relative; width: 34px; height: 34px; flex: none; }
.taza-cuerpo { position: absolute; bottom: 0; left: 2px; width: 26px; height: 20px; background: var(--amarillo); border-radius: 3px 3px 10px 10px; }
.taza-asa { position: absolute; bottom: 5px; right: 0; width: 9px; height: 10px; border: 2.5px solid var(--amarillo); border-left: none; border-radius: 0 6px 6px 0; }
.vapor { position: absolute; left: 6px; top: -12px; width: 22px; height: 20px; display: flex; justify-content: space-around; }
.vapor span { width: 3px; height: 14px; border-radius: 3px; background: rgba(61,61,61,.35); animation: yb-steam 2.4s ease-out infinite; opacity: 0; }
.vapor span:nth-child(2) { animation-delay: .6s; }
.vapor span:nth-child(3) { animation-delay: 1.2s; }
.recien-texto { display: flex; flex-direction: column; line-height: 1.2; }
.recien-titulo { font-weight: 600; font-size: 15px; }
.recien-sub { font-size: 13px; color: var(--terciario); }

@keyframes yb-steam {
  0% { transform: translateY(6px) scaleX(1); opacity: 0; }
  30% { opacity: .7; }
  100% { transform: translateY(-26px) scaleX(1.4); opacity: 0; }
}
@keyframes yb-float {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-10px) rotate(var(--r)); }
}

/* --- Un día aquí ---------------------------------------------------------- */
.seccion-blanca { background: var(--blanco); border-top: 1px solid var(--borde-suave); border-bottom: 1px solid var(--borde-suave); }
.dia { display: flex; flex-direction: column; gap: 48px; }
.dia .h2 { max-width: 12em; }
.dia-intro { max-width: 24em; }
.momentos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr)); gap: 20px; }
.momento { display: flex; flex-direction: column; gap: 18px; transition: transform .35s; }
.momento:hover { transform: translateY(-6px); }
.momento-foto { position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; background: var(--beige); }
.momento-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hora {
  position: absolute; top: 14px; left: 14px; background: var(--amarillo); color: var(--oscuro);
  font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; pointer-events: none;
}
.momento-texto { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.momento-texto h3 { margin: 0; font-weight: 600; font-size: 24px; letter-spacing: -.01em; }
.momento-texto p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--secundario); font-weight: 300; text-wrap: pretty; }

/* --- Menú ----------------------------------------------------------------- */
.seccion-oscura { background: var(--fondo-oscuro); color: var(--crema); }
.menu { display: flex; flex-direction: column; gap: 44px; }
.pestanas { display: flex; gap: 6px; flex-wrap: wrap; background: rgba(255,255,255,.07); padding: 6px; border-radius: 999px; }
.pestana {
  font-family: inherit; font-size: 15px; font-weight: 600; padding: 11px 20px; border-radius: 999px; border: none;
  cursor: pointer; transition: background .25s, color .25s; background: transparent; color: var(--crema);
}
.pestana[aria-selected="true"] { background: var(--amarillo); color: var(--oscuro); }
.pestana:focus-visible { outline: 2px solid var(--amarillo); outline-offset: 2px; }
.menu-cuerpo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,340px),1fr)); gap: clamp(28px,4vw,56px); align-items: start; }
.menu-foto { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: var(--placeholder-oscuro); }
.menu-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.menu-lista { display: flex; flex-direction: column; }
.menu-intro { margin: 0 0 8px; font-size: 17px; line-height: 1.55; color: var(--sobre-oscuro); font-weight: 300; }
.plato {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 20px 12px; margin: 0 -12px;
  border-bottom: 1px solid rgba(255,251,239,.14); border-radius: 12px; transition: background .2s;
}
.plato:hover { background: rgba(255,212,0,.08); }
.plato-nombre { font-weight: 600; font-size: clamp(19px,1.9vw,23px); }
.plato-precio { font-weight: 600; font-size: 20px; color: var(--amarillo); }
.plato-desc { grid-column: 1 / 3; font-size: 15px; line-height: 1.5; color: var(--sobre-oscuro-2); font-weight: 300; }

/* --- Afiliación ----------------------------------------------------------- */
.afiliacion {
  padding-top: var(--pad-y);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,420px),1fr));
  gap: clamp(36px,5vw,72px); align-items: center;
}
.afiliacion-texto { display: flex; flex-direction: column; gap: 24px; }
.afiliacion-parrafo { max-width: 28em; font-size: 18px; }
.pasos { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.pasos li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--borde); }
.pasos li:last-child { border-bottom: 1px solid var(--borde); }
.pasos li > div { display: flex; flex-direction: column; gap: 2px; }
.paso-num { width: 36px; height: 36px; border-radius: 50%; background: var(--amarillo); display: grid; place-items: center; font-weight: 700; }
.paso-titulo { font-weight: 600; font-size: 18px; }
.paso-texto { font-size: 15px; color: var(--secundario); font-weight: 300; }

.carnet-escena { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.carnet-brillo { position: absolute; inset: 6% 12%; border-radius: 50%; background: var(--amarillo); opacity: .35; filter: blur(40px); }
.carnet {
  position: relative; width: min(100%,360px); border-radius: 28px; background: var(--fondo-oscuro); padding: 12px;
  box-shadow: var(--sombra-4); transform: rotate(-3deg); transition: transform .4s;
}
.carnet:hover { transform: rotate(0deg) translateY(-6px); }
.carnet-panel { background: var(--amarillo); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 22px; color: var(--oscuro); }
.carnet-fila { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.carnet-logo { background: var(--crema); border-radius: 12px; padding: 8px 12px; display: flex; }
.carnet-logo img { height: 34px; width: auto; }
.carnet-dato { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.carnet-dato.derecha { align-items: flex-end; }
.etiqueta { font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.valor { font-size: 18px; font-weight: 600; }
.valor-chico { font-size: 15px; font-weight: 700; }
.carnet-sellos { padding: 22px 10px 12px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sellos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; width: 100%; }
.sello {
  aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(255,251,239,.35);
  display: grid; place-items: center;
}
.sello svg { width: 60%; height: 60%; fill: none; stroke: var(--oscuro); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sello.lleno { background: var(--amarillo); border: none; }
.sello.regalo { border: 1.5px solid var(--amarillo); }
.sello.regalo svg { stroke: var(--amarillo); }
.carnet-nota { color: var(--sobre-oscuro-2); font-size: 13px; text-align: center; }

/* --- Galería -------------------------------------------------------------- */
.galeria { display: flex; flex-direction: column; gap: 36px; }
.galeria-titulos { display: flex; flex-direction: column; gap: 10px; }
.mosaico { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,220px),1fr)); grid-auto-rows: 220px; gap: 14px; }
.celda { border-radius: 20px; overflow: hidden; background: var(--beige); transition: transform .35s; }
.celda.alta { grid-row: span 2; }
.celda:nth-child(odd):hover { transform: scale(1.03) rotate(-1.5deg); }
.celda:nth-child(even):hover { transform: scale(1.03) rotate(1.5deg); }
.celda img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.celda img.pan { object-position: center 70%; }

/* --- Visítanos ------------------------------------------------------------ */
.visitanos { padding: 0 var(--pad-x) var(--pad-y); }
.visitanos-bloque {
  max-width: 1320px; margin: 0 auto; background: var(--amarillo); border-radius: 36px; padding: clamp(16px,2vw,24px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,380px),1fr)); gap: clamp(20px,3vw,40px); align-items: stretch;
}
.visitanos-foto { position: relative; min-height: clamp(380px,48vw,620px); border-radius: 24px; overflow: hidden; }
.visitanos-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.visitanos-texto { display: flex; flex-direction: column; gap: clamp(28px,4vw,48px); padding: clamp(12px,3vw,40px) clamp(8px,2vw,24px); color: var(--oscuro); }
.visitanos-cabeza { display: flex; flex-direction: column; gap: 20px; }
.visitanos-cabeza p { margin: 0; font-size: 17px; line-height: 1.55; max-width: 24em; }
.visitanos-cabeza .botones { margin-top: 6px; }
.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 28px; align-content: start; }
.dato { display: flex; flex-direction: column; gap: 10px; }
.dato-etiqueta { font-size: 14px; font-weight: 700; }
.dato-etiqueta.contacto { margin-top: 12px; }
.dato-valor { font-size: 17px; line-height: 1.5; }
.horario { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; border-bottom: 1px solid rgba(43,43,43,.2); padding: 4px 0 8px; font-weight: 700; font-size: 17px; }

/* --- Pie ------------------------------------------------------------------ */
.pie { border-top: 1px solid var(--borde); }
.pie-fila { padding-block: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.pie-fila img { height: 38px; width: auto; }
.pie-copy { color: var(--terciario); }
.pie-ig { font-weight: 600; }

/* --- Aparecer al bajar ------------------------------------------------------
   Solo se esconde si el script corre (clase .js en <html>): sin JavaScript,
   todo se ve. */
.js [data-reveal] { opacity: 0; translate: 0 32px; }
.js [data-reveal].visible {
  opacity: 1; translate: 0 0;
  transition: opacity .8s ease var(--retraso, 0s), translate .8s cubic-bezier(.2,.7,.2,1) var(--retraso, 0s), transform .35s;
}
.js [data-reveal="2"] { --retraso: .12s; }
.js [data-reveal="3"] { --retraso: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; translate: 0 0; }
  .foto-1, .foto-2, .foto-3 { animation: none; }
  .vapor span { animation: none; opacity: 0; }
}
