/* YOGOY brand site — typography & tokens */

:root {
  /* Core ink + paper */
  --ink: #0F332E;
  --ink-2: #1a4a43;
  --paper: #EFE8D6;
  --paper-2: #E6DEC8;

  /* Category / accent pastels */
  --mint: #CFE4DF;
  --peach: #F5C9A3;
  --lavender: #D6BEE0;
  --pistachio: #C7DDB5;
  --plum: #6F1D3E;
  --wine: #4a1227;
  --cream-warm: #F2ECDB;

  /* Brand colors */
  --wa-green: #25D366;
  --wa-green-dark: #128C7E;

  /* Type */
  --serif: "DM Serif Display", "Bodoni Moda", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --radius-pill: 999px;
  --radius-card: 22px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.mono-link { display: inline-flex; align-items: center; gap: 5px; opacity: 0.8; }
.mono-link:hover { opacity: 1; }

/* ───── pill tag ───────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px 10px;
  background: #fff; color: var(--ink);
  border-radius: var(--radius-pill);
  font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.pill.pill--serif { font-family: var(--serif); font-size: 22px; padding: 10px 22px 12px; }
.pill.pill--mint { background: var(--mint); }
.pill.pill--peach { background: var(--peach); }
.pill.pill--lav { background: var(--lavender); }
.pill.pill--pist { background: var(--pistachio); }
.pill.pill--plum { background: var(--plum); color: var(--paper); }
.pill.pill--ink { background: var(--ink); color: var(--paper); }
.pill.pill--ghost { background: transparent; border: 1px solid currentColor; }
.pill:hover { transform: translateY(-2px); }

/* ───── layout ─────────────────────────────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.section { padding: 88px 0; border-top: 1px solid rgba(15,51,46,0.12); }
.section:first-of-type { border-top: none; }
.section--mini { padding: 56px 0; }

.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }

h2.section-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 0 0 18px; font-weight: 400;
}

/* ───── NAV ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,51,46,0.07);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.nav-logo { display: flex; align-items: center; color: var(--ink); }
.nav-logo svg { width: auto; height: 38px; display: block; }
.nav--md .nav-logo svg { height: 32px; }
.nav--lg .nav-logo svg { height: 44px; }
.nav--xl .nav-logo svg { height: 56px; }

.nav-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa-green); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.nav-wa:hover { background: var(--wa-green-dark); transform: translateY(-1px); }
.nav-wa svg { flex-shrink: 0; }

/* ───── HERO ───────────────────────────────────────────────────────────── */
.hero { padding: 28px 0 56px; position: relative; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.hero-eyebrow-sep { opacity: 0.4; }
.hero-eyebrow .mono-link { color: var(--ink); }

.hero-logo {
  margin: 8px 0 40px;
  color: var(--ink);
  line-height: 0;
}
.hero-logo svg {
  width: 100%; height: auto; display: block;
}

.hero-main {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 8px 0;
}
.hero-tag {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;
}
.hero-tag em {
  font-style: italic;
  opacity: 0.55;
}
.hero-subtag {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.25;
  margin: -16px 0 0;
  opacity: 0.7;
  font-style: italic;
}
.hero-ctas {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.hero-loc {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  padding-top: 4px;
}
.hero-loc svg { opacity: 0.8; flex-shrink: 0; }
.hero-pickup-note {
  font-family: var(--sans);
  font-size: 14px;
  margin: -10px 0 0;
  opacity: 0.7;
  max-width: 36ch;
}

.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-photo-cell {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper-2);
}
.hero-photo-cell image-slot {
  border-radius: 22px;
  background: var(--paper-2);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  border: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--wa {
  background: var(--wa-green); color: #fff;
}
.btn--wa:hover { background: var(--wa-green-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-2); }
.btn--outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 12px 20px;
}
.btn--outline:hover { background: var(--ink); color: var(--paper); }

/* ───── GALERÍA ────────────────────────────────────────────────────────── */
.section--galeria { padding: 16px 0 72px; border-top: none; }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.galeria-cell {
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-2);
}
.galeria-cell image-slot {
  border-radius: 20px;
  background: var(--paper-2);
}

/* ───── SABORES ────────────────────────────────────────────────────────── */
.sabores-intro {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  max-width: 62ch;
  margin: 0 0 40px;
  opacity: 0.85;
  text-wrap: pretty;
}
.hide-sm { display: inline; }

.sabores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sabor-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.sabor-card.mint { background: var(--mint); }
.sabor-card.peach { background: var(--peach); }
.sabor-card.lav { background: var(--lavender); }
.sabor-card.ink { background: var(--ink); color: var(--paper); }

.sabor-badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(15,51,46,0.1);
  color: var(--ink);
  padding: 6px 11px;
  border-radius: var(--radius-pill);
}
.sabor-card.ink .sabor-badge {
  background: rgba(239,232,214,0.18);
  color: var(--paper);
}

.sabor-card h3 {
  font-family: var(--serif);
  font-size: 42px; line-height: 0.95;
  margin: 4px 0 0; font-weight: 400;
  letter-spacing: -0.01em;
}
.sabor-desc {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  margin: 0;
  text-wrap: pretty;
}
.sabor-sub {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  margin: auto 0 0;
  opacity: 0.7;
  font-style: italic;
}

/* ───── TOPPINGS MINI ──────────────────────────────────────────────────── */
.toppings-mini {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-card);
  padding: 48px 48px;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.3fr;
  gap: 40px;
  align-items: center;
}
.toppings-mini-left .mono { opacity: 0.6; display: block; margin-bottom: 14px; }
.toppings-mini-title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.05;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.toppings-mini-title em {
  font-style: italic;
  color: var(--peach);
}
.topping-cats {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.topping-cats li {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  opacity: 0.95;
  position: relative;
  padding-left: 22px;
}
.topping-cats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--peach);
}
.topping-cats li:nth-child(2)::before { background: var(--mint); }
.topping-cats li:nth-child(3)::before { background: var(--lavender); }

/* ───── INSTAGRAM FEED ─────────────────────────────────────────────────── */
.section--ig { background: var(--paper-2); }
.ig-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.ig-handle {
  display: flex; align-items: center; gap: 14px;
}
.ig-handle > div {
  display: flex; flex-direction: column; gap: 2px;
}
.ig-handle-name {
  font-family: var(--serif);
  font-size: 26px; line-height: 1;
}
.ig-handle-sub {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.6;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ig-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  display: block;
}
.ig-post image-slot {
  width: 100%; height: 100%;
  border-radius: 6px;
  background: var(--paper);
}
.ig-post-overlay {
  position: absolute;
  top: 12px; right: 12px;
  color: #fff;
  opacity: 0.85;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

/* ───── VISITA ─────────────────────────────────────────────────────────── */
.section--visita { background: var(--paper-2); }
.visit-addr {
  font-family: var(--sans);
  font-size: clamp(16px, 1.8vw, 19px);
  margin: 0 0 36px;
  max-width: 56ch;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.visit-addr strong {
  font-weight: 600;
  opacity: 1;
}
.visit-addr-sub {
  opacity: 0.65;
  font-size: 0.92em;
}
.visit-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 12px;
}
.visit-left {
  display: flex; flex-direction: column;
  gap: 28px;
}
.visit-photo image-slot {
  border-radius: 22px;
  background: var(--paper);
}
.visit-info h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 12px;
  opacity: 0.6;
}
.hours {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 28px;
  font-family: var(--sans);
  font-size: 16px;
  margin: 0;
}
.hours dt { opacity: 0.7; }
.hours dd { margin: 0; font-weight: 500; }

.hours-line {
  font-family: var(--sans);
  font-size: 17px;
  margin: 0;
  font-weight: 500;
}

.contact-list {
  display: flex; flex-direction: column; gap: 10px;
}
.contact-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 16px;
  color: var(--ink);
  padding: 6px 0;
  transition: opacity .15s ease;
}
.contact-item:hover { opacity: 0.7; }
.contact-item em {
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
  opacity: 0.7;
  letter-spacing: 0.04em;
  margin-left: 6px;
}

.visit-apps {
  display: flex; gap: 10px; flex-wrap: wrap;
}

.visit-map-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 520px;
  background: var(--mint);
  box-shadow: 0 4px 24px rgba(15,51,46,0.08);
}
.visit-map-iframe {
  border: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  filter: saturate(0.85);
}
.visit-map-cta {
  position: absolute;
  bottom: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.visit-map-cta:hover { background: var(--ink-2); }

/* ───── STRIP marquee ──────────────────────────────────────────────────── */
.strip {
  background: var(--ink); color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
}
.strip-track {
  display: inline-flex; gap: 44px;
  animation: scroll 38s linear infinite;
  padding-right: 44px;
}
.strip-track span {
  font-family: var(--serif);
  font-size: 38px; line-height: 1;
  display: inline-flex; align-items: center; gap: 44px;
}
.strip-track span::after {
  content: "◦";
  opacity: 0.5;
  font-size: 28px;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ───── FOOTER ─────────────────────────────────────────────────────────── */
.footer { padding: 48px 0 32px; border-top: 1px solid rgba(15,51,46,0.12); }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.footer-logo svg { width: 180px; height: auto; color: var(--ink); display: block; }
.footer-ig {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  font-weight: 500;
}
.footer-ig:hover { background: var(--ink); color: var(--paper); }
.footer-baseline {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; padding-top: 20px;
  border-top: 1px dashed rgba(15,51,46,0.25);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  flex-wrap: wrap; gap: 12px;
}

/* ───── WhatsApp FAB ───────────────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa-green); color: #fff;
  padding: 14px 20px 14px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 15px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover {
  background: var(--wa-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,211,102,0.5), 0 4px 10px rgba(0,0,0,0.18);
}
.wa-fab-label { display: inline; }

/* ───── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .section { padding: 64px 0; }
  .section--mini { padding: 44px 0; }
  .hero-main { grid-template-columns: 1fr; gap: 32px; }
  .hero-text { padding: 0; gap: 22px; }
  .galeria-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .sabores-grid { grid-template-columns: repeat(2, 1fr); }
  .toppings-mini { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .visit-layout { grid-template-columns: 1fr; }
  .visit-map-wrap { min-height: 360px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 52px 0; }
  .section--mini { padding: 36px 0; }
  .section--galeria { padding: 8px 0 52px; }

  /* Nav */
  .nav-inner { padding: 12px 0; }
  .nav--lg .nav-logo svg, .nav--xl .nav-logo svg { height: 34px; }
  .nav--md .nav-logo svg { height: 28px; }
  .nav-wa span { display: none; }
  .nav-wa { padding: 10px; }

  /* Hero */
  .hero { padding: 20px 0 40px; }
  .hero-eyebrow { font-size: 11px; gap: 8px; }
  .hero-eyebrow-sep { display: none; }
  .hero-logo { margin: 4px 0 24px; }
  .hero-main { gap: 24px; }
  .hero-tag { font-size: 40px; }
  .hero-subtag { font-size: 16px; margin-top: -10px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; padding: 16px 22px; }
  .hero-photos { gap: 8px; }

  /* Galería */
  .galeria-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Sabores */
  .sabores-grid { grid-template-columns: 1fr; gap: 12px; }
  .sabor-card { min-height: auto; padding: 24px 22px 22px; }
  .sabor-card h3 { font-size: 36px; }
  .sabor-desc { font-size: 18px; }
  .sabores-intro { margin-bottom: 28px; }
  .hide-sm { display: none; }

  /* Toppings */
  .toppings-mini { padding: 28px 24px; gap: 22px; }

  /* IG */
  .ig-header { gap: 14px; }
  .ig-handle-name { font-size: 22px; }
  .ig-grid { gap: 4px; }

  /* Visita */
  .visit-addr { margin-bottom: 28px; }
  .visit-layout { gap: 24px; }
  .visit-info h4 { margin-bottom: 8px; }
  .hours { font-size: 15px; gap: 6px 20px; }
  .visit-apps .btn { justify-content: center; padding: 14px 20px; }
  .visit-map-wrap { min-height: 320px; }

  /* Strip */
  .strip-track span { font-size: 28px; gap: 30px; }

  /* Footer */
  .footer { padding: 36px 0 24px; }
  .footer-logo svg { width: 140px; }
  .footer-baseline { font-size: 10px; flex-direction: column; align-items: flex-start; gap: 8px; }

  /* FAB */
  .wa-fab { right: 14px; bottom: 14px; padding: 13px 18px 13px 14px; font-size: 14px; }
  .wa-fab-label { display: none; }
}

/* density tweak */
body.dense .section { padding: 64px 0; }
body.dense .hero { padding: 20px 0 40px; }
body.airy .section { padding: 120px 0; }

/* paper tint variants */
body.paper-mint { --paper: #DFECE6; --paper-2: #CFE1D9; }
body.paper-peach { --paper: #F5E1CD; --paper-2: #ECCFB3; }
body.paper-plum { --paper: #E8D4D9; --paper-2: #D9BDC5; }
