/* Onawa — página de Veintiuno Coffee. Usa los tokens de styles.css y las tarjetas de product.css. */

/* ── Portada: texto arriba, las cinco fachadas en fila ── */
.vh { position: relative; padding: clamp(130px, 19vh, 200px) 0 clamp(60px, 9vh, 110px); overflow: hidden; isolation: isolate; }
.vh::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -30vmax; width: 110vmax; height: 110vmax; margin-left: -55vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 162, 122, .26), rgba(228, 120, 63, .1) 45%, rgba(22, 17, 13, 0) 72%); }
.vh__copy { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); display: grid; justify-items: start; }
.vh__title { margin-top: 20px; font-size: clamp(54px, 9.4vw, 150px); line-height: .88; letter-spacing: -.055em; font-weight: 800; }
.vh__title em { font-style: normal; font-weight: 500; color: var(--ray); }
.vh__lede { margin-top: 26px; max-width: 42ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); }
.vh__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.vh__row { max-width: 1320px; margin: clamp(48px, 8vh, 90px) auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); align-items: start; }
.vh__tile { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--dark-2); will-change: transform; }
.vh__tile:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
.vh__tile img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.vh__tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 16px 14px; background: linear-gradient(180deg, rgba(22, 17, 13, 0), rgba(22, 17, 13, .82)); font-weight: 600; font-size: clamp(15px, 1.35vw, 19px); letter-spacing: -.02em; line-height: 1.1; }
@media (hover: hover) { .vh__tile:hover img { scale: 1.06; } }
@media (max-width: 860px) {
  .vh__ctas { flex-direction: column; width: 100%; max-width: 360px; }
  .vh__ctas .btn { justify-content: center; }
  .vh__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 58vw; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; padding-bottom: 8px; }
  .vh__row::-webkit-scrollbar { display: none; }
  .vh__tile { scroll-snap-align: start; }
  .vh__tile:nth-child(even) { margin-top: 0; }
}

/* ── Locales (sección clara) ── */
.locs { background: var(--cream); color: var(--ink); border-radius: 36px 36px 0 0; padding: clamp(90px, 14vh, 160px) var(--gut); position: relative; z-index: 1; }
.locs .eyebrow, .locs .h2 em { color: var(--ray-d); }
.locs__head { max-width: 1320px; margin: 0 auto clamp(40px, 6vw, 80px); }
.locs__list { max-width: 1320px; margin: 0 auto; display: grid; }
.loc { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid rgba(22, 17, 13, .14); scroll-margin-top: 90px; }
.loc:nth-child(even) .loc__img { order: 2; }
.loc:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.loc__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 4.4; background: var(--cream-2); }
.loc__img img { width: 100%; height: 100%; object-fit: cover; }
.loc__body { display: grid; justify-items: start; gap: 12px; }
.loc__n { font-family: var(--f-label); font-weight: 600; font-size: 12px; letter-spacing: .22em; color: var(--ray-d); }
.loc h3 { font-size: clamp(38px, 5.4vw, 84px); letter-spacing: -.05em; line-height: .92; font-weight: 800; }
.loc__open { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(22, 17, 13, .06); font-size: 13.5px; font-weight: 600; }
.loc__open[hidden] { display: none; }
.loc__open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b0a79c; }
.loc__open.is-open { background: rgba(63, 122, 58, .13); color: #24531f; }
.loc__open.is-open::before { background: #3f9a39; }
.loc__addr { font-size: 18px; color: rgba(22, 17, 13, .78); }
.loc__hours { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px 34px; }
.loc__hours dt { font-family: var(--f-label); font-weight: 600; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(22, 17, 13, .55); }
.loc__hours dd { margin: 3px 0 0; font-weight: 600; font-size: 18px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.loc__ctas { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.loc__link { font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; }
@media (max-width: 760px) {
  .locs { border-radius: 28px 28px 0 0; }
  .loc, .loc:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .loc:nth-child(even) .loc__img { order: 0; }
}

/* ── El café, en casa (oscuro) ── */
.vhome { background: var(--dark); padding: clamp(90px, 14vh, 160px) var(--gut); position: relative; z-index: 1; }
.locs + .vhome { border-radius: 36px 36px 0 0; margin-top: -36px; }
.vhome__head { max-width: 1320px; margin: 0 auto 52px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 24px 48px; align-items: end; }
.vhome__lede { color: var(--mute); padding-bottom: 8px; }
.vhome__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vhome__pack { max-width: 1320px; margin: 36px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--mute); font-size: 18px; }
.vhome__pack b { color: var(--cream); font-weight: 600; }
@media (max-width: 960px) {
  .vhome__head { grid-template-columns: 1fr; }
  .vhome__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(66vw, 300px); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 8px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .vhome__grid::-webkit-scrollbar { display: none; }
  .vhome__grid .more__card { scroll-snap-align: start; }
  .vhome__grid .more__card img { top: 7%; height: 57%; }  /* aire entre la bolsa y el nombre (Sergio, 29-11) */
  .vhome__grid .more__card span { padding: 18px 20px 20px; }
  .vhome__pack .btn { width: 100%; justify-content: center; }
}

/* ── Club (claro) ── */
.vhome { padding-bottom: calc(clamp(90px, 14vh, 160px) + 36px); }
.vclub { border-radius: 36px 36px 0 0; margin-top: -36px; background: var(--cream); color: var(--ink); padding: clamp(90px, 14vh, 160px) var(--gut) calc(clamp(90px, 14vh, 160px) + 36px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; position: relative; z-index: 1; }
.vclub > * { max-width: 620px; }
.vclub__card { justify-self: end; width: 100%; border-radius: var(--r); display: grid; place-items: center; padding: clamp(56px, 7vw, 88px) 16px clamp(40px, 5vw, 64px); background: radial-gradient(80% 60% at 50% 100%, #3a2416, var(--ink)); perspective: 1200px; overflow: hidden; }
.vclub .eyebrow, .vclub .h2 em { color: var(--ray-d); }
.vclub__text { margin-top: 24px; font-size: 18px; color: rgba(22, 17, 13, .74); max-width: 44ch; }
.vclub__title { font-size: clamp(44px, 6.2vw, 96px); }
.vclub__title span { color: var(--ray-d); }
.vclub .vclub__title em { color: inherit; }
.vclub__ctas { margin-top: 30px; display: grid; justify-items: start; gap: 14px; }
.vclub__how { font-weight: 600; max-width: 40ch; color: rgba(22, 17, 13, .74); font-size: 15.5px; }
/* Tarjeta del club tal y como sale en Apple Wallet (tools/build_club_card.ts): misma tira, campos y colores */
.pass { position: relative; width: min(340px, 100%); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; transform-origin: 50% 100%; }
.pass__card { position: relative; border-radius: 14px; overflow: hidden; background: #211a14; color: #f5efe6; box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 40px 60px -24px rgba(0, 0, 0, .8), 0 12px 24px -12px rgba(0, 0, 0, .6); }
.pass__card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(255, 255, 255, .07), transparent 38%); }
.pass__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 10px; }
.pass__logo { width: auto; height: 30px; }
.pass__field { display: grid; gap: 1px; margin: 0; min-width: 0; }
.pass__field span { font-size: 10px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #a8957e; }
.pass__field b { font-size: 17px; font-weight: 400; line-height: 1.2; color: #f5efe6; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass__field--r { text-align: right; }
.pass__head .pass__field b { font-size: 20px; }
.pass__strip { line-height: 0; }
.pass__svg { width: 100%; height: auto; display: block; }
.pass__stamp, .pass__line { will-change: transform, opacity; }
.pass__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px 0; }
.pass__qr { display: block; width: 132px; margin: 22px auto 18px; padding: 8px; border-radius: 6px; background: #fff; }
.pass__qrcode { display: block; width: 100%; height: auto; }
.pass__notice { position: absolute; z-index: 2; left: -6px; right: -6px; top: -44px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(245, 239, 230, .86); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); color: #16110d; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; }
.pass__notice img { width: 38px; height: 38px; border-radius: 9px; background: #211a14; }
.pass__notice p { display: grid; gap: 1px; margin: 0; font-size: 13px; line-height: 1.25; min-width: 0; }
.pass__notice b { font-weight: 600; }
.pass__notice time { align-self: start; font-size: 12px; color: rgba(22, 17, 13, .55); }
@media (max-width: 860px) {
  .vclub { grid-template-columns: 1fr; }
  .vclub__copy { order: -1; }
  .vclub__card { justify-self: stretch; }
}

/* Final: bloque para hostelería al final de «Dónde tomar Onawa» */
.horeca2 { display: grid; gap: 14px; justify-items: start; max-width: 1320px; margin: 0 auto; padding: clamp(64px, 10vw, 130px) var(--gut); }
.horeca2 .h2 em { color: var(--ray); }
.horeca2 p:not(.eyebrow) { color: var(--mute); max-width: 48ch; font-size: 18px; }

/* Locales que sirven Onawa (lista de Laura, 25-11): cuadrícula por ciudad, sin horarios */
#otros { padding-top: clamp(48px, 7vw, 96px); border-radius: 0; }  /* sigue la misma sección clara: sin la esquina redonda que se veía como un corte */
.city { max-width: 1320px; margin: 0 auto; padding-top: clamp(28px, 4vw, 48px); }
.city + .city { margin-top: clamp(20px, 3vw, 36px); border-top: 1px solid rgba(22, 17, 13, .14); }
.city { scroll-margin-top: 80px; }
.city[hidden] { display: none; }
.city__name { font-size: clamp(40px, 6vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: .92; margin: 0 0 clamp(20px, 2.6vw, 32px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.city__name span { font-family: var(--f-label); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ray-d); }
.locs__lede { margin-top: 22px; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(22, 17, 13, .72); }
/* Filtro de ciudades: sin JS son enlaces a cada ciudad; con JS enseñan solo la elegida */
.cityf { max-width: 1320px; margin: 0 auto clamp(12px, 2vw, 24px); display: flex; flex-wrap: wrap; gap: 10px; }
.cityf a { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(22, 17, 13, .2); font-weight: 700; font-size: clamp(16px, 1.4vw, 19px); letter-spacing: -.01em; white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.cityf a[aria-current="true"] { background: var(--dark); color: var(--cream); box-shadow: none; }
@media (hover: hover) { .cityf a:not([aria-current="true"]):hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.cityf a:focus-visible { outline: 2px solid var(--ray-d); outline-offset: 3px; }
@media (max-width: 760px) {
  .cityf { gap: 8px; }  /* en dos filas: todas las ciudades a la vista (antes se cortaban por la derecha) */
  .cityf a { height: 42px; padding: 0 15px; font-size: 15.5px; }
}
.minis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 34px) clamp(14px, 1.6vw, 24px); }
.mini { display: grid; gap: 6px; align-content: start; scroll-margin-top: 90px; }
.mini h4, .mini p { margin: 0; }
.mini__img { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--cream-2); margin-bottom: 8px; }
.mini__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.mini h4 { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -.03em; line-height: 1.08; font-weight: 700; }
.mini p { color: rgba(22, 17, 13, .7); font-size: 15px; }
.mini__go { justify-self: start; margin-top: 4px; font-weight: 600; font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; }
@media (hover: hover) { .mini:hover .mini__img img { scale: 1.05; } }
@media (max-width: 1000px) { .minis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } .mini h4 { font-size: 17px; } .mini p, .mini__go { font-size: 13.5px; } .mini__img { border-radius: 14px; } }
@media (max-width: 340px) { .minis { grid-template-columns: 1fr; } }
/* Estado de partida de la tarjeta del club (sin JS o con «reducir movimiento»): los 2 sellos de regalo */
.pass__stamp:not([data-i="0"]):not([data-i="1"]) { opacity: 0; }
@media (min-width: 1100px) { .pass { width: 380px; } .pass__logo { height: 34px; } .pass__qr { width: 146px; } }
