/* ============================================================
   Café Aquamarino — Dirección C «La tarjeta»
   One printed kiosk ticket: sand paper, one aqua accent,
   amber stars, mono station labels. No nav, no framework.
   Radius system: card 22 · inner photos 10 · chips pill.
   ============================================================ */

:root {
  --paper: #F4EFE6;
  --card: #FFFFFF;
  --ink: #1E2A2E;
  --muted: #5B6B70;
  --line: #C9D8D5;
  --accent: #147D82;        /* sea aqua: band, links, checks */
  --accent-deep: #0E666B;   /* same hue, AA on paper (footer links) */
  --amber: #EDA71C;         /* star fills only */
  --amber-deep: #C98A10;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --card-r: 22px;
  --pad-x: clamp(20px, 5.5vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100svh;
  overflow-x: clip;
  background-color: var(--paper);
  /* CSS-only paper texture: fine weave + soft light, no image */
  background-image:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.55), transparent 62%),
    repeating-linear-gradient(0deg, rgba(30, 42, 46, 0.013) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(30, 42, 46, 0.013) 0 1px, transparent 1px 4px);
}

::selection { background: rgba(20, 125, 130, 0.18); }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover { color: var(--accent-deep); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

img { display: block; max-width: 100%; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- page frame: card + colophon, nothing else ---------- */

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(18px, 4vh, 48px) 16px 0;
}

.card {
  width: 100%;
  max-width: 680px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  box-shadow:
    0 30px 60px -34px rgba(30, 42, 46, 0.28),
    0 4px 14px -6px rgba(30, 42, 46, 0.08);
}

/* ---------- station-board header band ---------- */

.band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4px 16px;
  padding: 10px var(--pad-x);
  background: var(--accent);
  color: #FFFFFF;
  border-radius: calc(var(--card-r) - 1px) calc(var(--card-r) - 1px) 0 0;
}

.band-mark {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.band-zone {
  justify-self: end;
  margin-right: 14px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.band-no {
  justify-self: end;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: #FFFFFF;
  border: 1px dashed var(--accent);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

/* narrow phones: zone drops to its own line inside the band */
@media (max-width: 559px) {
  .band-mark { grid-row: 1; grid-column: 1; }
  .band-no { grid-row: 1; grid-column: 2; }
  .band-zone { grid-row: 2; grid-column: 1 / -1; justify-self: start; margin-right: 0; }
}

/* ---------- hero: food-first, first content block of the card ---------- */

.hero { margin: 0; border-bottom: 1px solid var(--line); }

.hero img {
  width: 100%;
  /* mobile budget: band (~40px) + photo <= 45svh, photo floored at 40svh */
  height: 40vh;
  height: min(40svh, calc(45svh - 42px));
  object-fit: cover;
}

/* ---------- ticket title row ---------- */

.title-row { padding: 26px var(--pad-x) 24px; }

/* review t_94895e8d: keep the stacked mobile CTA pair with its title block, clear of the checklist row */
.title-row .cta-row { margin-bottom: 12px; }

.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.title {
  margin-top: 10px;
  font-size: clamp(30px, 7.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.promise {
  margin-top: 10px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
}

/* ---------- ticket rows: dashed perforation + punched edges ---------- */

.row {
  position: relative;
  border-top: 1px dashed var(--line);
  padding: 26px var(--pad-x) 28px;
}

.row::before,
.row::after,
.tear::before,
.tear::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
}

.row::before, .tear::before { left: -11px; }
.row::after, .tear::after { right: -11px; }

.label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ---------- LA CARTA: checklist ---------- */

.carta {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.carta li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.carta svg { flex: none; margin-top: 2px; }

.carta .item {
  display: block;
  font-weight: 700;
  font-size: 16px;
}

.carta .desc {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- EL LUGAR ---------- */

.zone {
  margin-top: 12px;
  font-weight: 700;
  font-size: 16px;
}

.fotos {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

.fotos figure { margin: 0; }

.fotos img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.fotos figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

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

/* ---------- FICHAS: platform score rows ---------- */

.fichas {
  list-style: none;
  margin-top: 4px;
  display: grid;
}

.ficha {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.ficha:last-child { border-bottom: 0; padding-bottom: 4px; }

.ficha-name { font-weight: 700; font-size: 15.5px; }

.ficha-score {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.ficha-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stars { width: 96px; height: 19px; display: block; }

.stars-base use { fill: #FFFFFF; stroke: var(--line); stroke-width: 1.4; }
.stars-fill use { fill: var(--amber); stroke: var(--amber-deep); stroke-width: 1; }

.ficha-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: underline;
}

.ficha-link svg { flex: none; }

/* ---------- EL PASO ---------- */

.paso {
  margin-top: 12px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- perforated bottom edge ---------- */

.tear {
  position: relative;
  height: 30px;
  border-top: 1px dashed var(--line);
}

/* ---------- colophon (outside the card) ---------- */

.colophon {
  width: 100%;
  max-width: 620px;
  padding: 28px 8px 48px;
  text-align: center;
}

.colophon p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.colophon a {
  color: var(--accent-deep);
  font-weight: 600;
}

.disclosure {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ---------- desktop: photo breathes past the mobile cap ---------- */

@media (min-width: 720px) {
  .hero img {
    height: min(500px, 52svh);
  }
}

/* ---------- reduced motion: kill the little there is ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}


/* Primary in-page actions (assembly t_5922044a) */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px var(--pad-x) 0;
}
.kiosk-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #F4F1E8;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1;
}
.kiosk-btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #F4F1E8; }
.kiosk-btn--ghost { background: transparent; color: var(--accent-deep); }
.kiosk-btn--ghost:hover { background: rgba(20, 125, 130, 0.08); color: var(--accent-deep); }
