/* ==========================================================
   Zestia — comer bien para moverse en Valdivia
   ========================================================== */

:root {
  --cream: #f4eee2;
  --paper: #fbf8f1;
  --ink: #13261f;
  --ink-soft: #3f544b;
  --river: #0e3a32;
  --river-2: #1f6a5a;
  --moss: #5c8a4f;
  --zest: #f2b630;
  --coral: #e2643c;
  --line: rgba(19, 38, 31, .14);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; font-weight: 400; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--zest); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--river-2);
}

/* ---------- Reveal (only hidden when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.is-scrolled {
  background: rgba(244, 238, 226, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.brand__mark { width: 34px; height: 34px; transition: transform .8s var(--ease); }
.brand:hover .brand__mark { transform: rotate(90deg); }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; transition: background .25s;
}
.nav__links a:hover { background: rgba(19, 38, 31, .07); }
.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--ink); cursor: pointer; position: relative; z-index: 2;
  }
  .nav__toggle span { display: block; width: 18px; height: 2px; background: var(--cream); transition: transform .35s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 0 28px; gap: 4px; background: var(--river);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav__links a { color: var(--cream); font-family: var(--f-display); font-size: 40px; font-weight: 400; padding: 6px 0; }
  .nav__links a:hover { background: none; color: var(--zest); }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 16px; transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn--zest { background: var(--zest); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(242, 182, 48, .9); }
.btn--zest:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(242, 182, 48, 1); }
.btn--ghost { border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.25fr .9fr; align-items: center; gap: 40px;
  padding: 120px var(--gutter) 180px;
  max-width: 1320px; margin: 0 auto;
}
.hero__title { font-size: clamp(50px, 8.2vw, 118px); font-weight: 600; line-height: .95; margin: 18px 0 28px; letter-spacing: -.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .reveal { transform: translateY(105%); opacity: 1; transition: transform 1.1s var(--ease); }
.js .hero__title .reveal.is-in { transform: none; }
.hero__title em { color: var(--coral); }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__art { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; }
.citrus {
  width: 100%; height: 100%;
  animation: spin 60s linear infinite;
  filter: drop-shadow(0 30px 50px rgba(226, 100, 60, .25));
}
.hero__art::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%;
  border: 1.5px dashed rgba(19, 38, 31, .25);
  animation: spin 90s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__badge {
  position: absolute; left: -6%; bottom: 6%;
  display: flex; align-items: center; gap: 10px;
  background: var(--river); color: var(--cream);
  padding: 14px 20px 14px 16px; border-radius: 18px;
  box-shadow: 0 20px 40px -18px rgba(14, 58, 50, .8);
  animation: float 6s ease-in-out infinite;
}
.hero__badge strong { font-family: var(--f-display); font-size: 42px; line-height: 1; color: var(--zest); }
.hero__badge span { font-size: 13px; font-weight: 600; line-height: 1.25; }
@keyframes float { 50% { transform: translateY(-10px); } }

.river { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 160px; overflow: hidden; }
.hero { position: relative; }
.hero > .river { left: 50%; width: 100vw; transform: translateX(-50%); }
.river__w { animation: wave 18s linear infinite; }
.river__w--1 { fill: var(--river-2); opacity: .55; }
.river__w--2 { fill: var(--river); animation-duration: 12s; animation-direction: reverse; }
@keyframes wave { to { transform: translateX(-1440px); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 150px; gap: 20px; min-height: auto; }
  .hero { overflow-x: clip; }
  .hero__art { width: min(56vw, 260px); order: -1; justify-self: end; margin: 0 4% 6px 0; }
  .hero__badge { left: -30%; bottom: 12%; padding: 10px 14px; }
  .hero__badge strong { font-size: 32px; }
  .river { height: 110px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--river); color: var(--cream); overflow: hidden; padding: 18px 0 26px; margin-top: -2px; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 3vw, 38px); white-space: nowrap; }
.marquee__track i { color: var(--zest); font-style: normal; font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head h2 { font-size: clamp(40px, 6vw, 76px); margin: 14px 0 20px; letter-spacing: -.03em; }
.section__head h2 em { color: var(--river-2); }
.section__lead { font-size: 19px; color: var(--ink-soft); max-width: 36em; }

/* ---------- Principles ---------- */
.plate-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.plate { margin: 0; position: sticky; top: 110px; }
.plate svg { width: 100%; max-width: 420px; margin: 0 auto; }
.plate__slice { transition: transform .5s var(--ease); transform-origin: 160px 160px; }
.plate__slice--veg { fill: var(--moss); }
.plate__slice--pro { fill: var(--coral); }
.plate__slice--carb { fill: var(--zest); }
.plate:hover .plate__slice--veg { transform: translate(-6px, 0); }
.plate:hover .plate__slice--pro { transform: translate(4px, -4px); }
.plate:hover .plate__slice--carb { transform: translate(4px, 4px); }
.plate__label { font-family: var(--f-display); font-size: 40px; font-weight: 600; fill: var(--cream); pointer-events: none; }
.plate figcaption { display: grid; gap: 10px; margin-top: 26px; font-size: 15px; font-weight: 600; max-width: 420px; margin-left: auto; margin-right: auto; }
.plate figcaption span { display: flex; align-items: center; gap: 10px; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.dot--veg { background: var(--moss); } .dot--pro { background: var(--coral); } .dot--carb { background: var(--zest); }

.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rule { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.rule:last-child { border-bottom: 1px solid var(--line); }
.rule__n {
  font-family: var(--f-display); font-size: 22px; font-weight: 600;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--ink); transition: background .3s, color .3s;
}
.rule:hover .rule__n { background: var(--zest); border-color: var(--zest); }
.rule h3 { font-size: 26px; margin-bottom: 6px; }
.rule p { color: var(--ink-soft); }

@media (max-width: 860px) {
  .plate-grid { grid-template-columns: 1fr; }
  .plate { position: static; }
  .plate svg { max-width: 300px; }
}

/* ---------- Sports ---------- */
.sports { background: var(--river); color: var(--cream); border-radius: clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1.5vw, 20px); position: relative; overflow: hidden; }
.sports::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 182, 48, .22), transparent 65%);
  pointer-events: none;
}
.section__head--light .eyebrow { color: var(--zest); }
.section__head--light h2 em { color: var(--zest); }
.section__head--light .section__lead { color: rgba(244, 238, 226, .78); }

.tabs {
  position: relative; display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto;
  background: rgba(255, 255, 255, .07); border-radius: 999px; padding: 6px; width: max-content; max-width: 100%;
  margin-bottom: 44px; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; z-index: 1; border: 0; background: none; color: var(--cream); cursor: pointer;
  font: 700 15px var(--f-body); padding: 12px 20px; border-radius: 999px; white-space: nowrap;
  display: flex; align-items: center; gap: 8px; transition: color .3s;
}
.tab__icon { font-size: 18px; }
.tab.is-active { color: var(--ink); }
.tabs__ink {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0;
  background: var(--zest); border-radius: 999px;
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.no-ink .tab.is-active { background: var(--zest); }

.panel { display: grid; gap: 40px; }
.js .panel { display: none; }
.js .panel.is-active { display: grid; animation: panelIn .6s var(--ease); }
.panel + .panel { margin-top: 70px; }
.js .panel + .panel { margin-top: 0; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }

.panel__intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: end; }
.stat__num { font-family: var(--f-display); font-size: clamp(76px, 11vw, 150px); font-weight: 600; line-height: .9; color: var(--zest); letter-spacing: -.04em; }
.stat__num--word { font-size: clamp(48px, 6.5vw, 88px); font-style: italic; font-weight: 400; display: block; }
.stat__unit { font-family: var(--f-display); font-size: clamp(30px, 4vw, 50px); color: var(--zest); margin-left: 4px; }
.stat p { color: rgba(244, 238, 226, .78); max-width: 26em; margin-top: 12px; font-size: 15px; }
.panel__title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 14px; }
.panel__intro > div:last-child p { color: rgba(244, 238, 226, .85); font-size: 18px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: t; }
.timeline li {
  position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 24px 22px 26px; counter-increment: t;
  transition: transform .4s var(--ease), background .4s;
}
.timeline li:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.timeline li::before {
  content: "0" counter(t); font-family: var(--f-display); font-size: 14px; color: var(--zest);
  display: block; margin-bottom: 18px;
}
.when { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--cream); color: var(--ink); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.timeline p { font-size: 16px; color: rgba(244, 238, 226, .92); }

.where { border-top: 1px dashed rgba(244, 238, 226, .3); padding-top: 26px; display: grid; grid-template-columns: 240px 1fr; gap: 20px; }
.where h4 { font-size: 22px; font-style: italic; font-weight: 400; }
.where ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.where li { color: rgba(244, 238, 226, .8); font-size: 16px; }
.where a { color: var(--zest); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.where a:hover { color: var(--cream); }

@media (max-width: 960px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .panel__intro { grid-template-columns: 1fr; gap: 20px; }
  .where { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
  .tab { padding: 11px 15px; font-size: 14px; }
}

/* ---------- Pantry ---------- */
.pantry__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-ing {
  position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px 28px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.card-ing::before {
  content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%;
  right: -40px; top: -40px; background: var(--c); opacity: .9;
  transition: transform .6s var(--ease);
}
.card-ing:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(19, 38, 31, .35); }
.card-ing:hover::before { transform: scale(1.35); }
.card-ing__tag { position: absolute; top: 22px; left: 22px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.card-ing h3 { font-size: 28px; margin-bottom: 8px; position: relative; }
.card-ing p { font-size: 15px; color: var(--ink-soft); position: relative; }
@media (max-width: 960px) { .pantry__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .pantry__grid { grid-template-columns: 1fr; } .card-ing { min-height: 170px; } }

/* ---------- Places ---------- */
.places { background: var(--paper); border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  border: 1.5px solid var(--ink); background: none; color: var(--ink); cursor: pointer;
  font: 700 14px var(--f-body); padding: 9px 18px; border-radius: 999px; transition: background .25s, color .25s;
}
.chip:hover { background: rgba(19, 38, 31, .07); }
.chip.is-active { background: var(--ink); color: var(--cream); }

.places__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.place {
  background: var(--cream); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 8px; border: 1px solid transparent;
  transition: transform .4s var(--ease), border-color .3s, opacity .3s;
  scroll-margin-top: 100px;
}
.place:hover { transform: translateY(-4px); border-color: var(--line); }
.place:target { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(226, 100, 60, .2); }
.place.is-hidden { display: none; }
.place__type { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--river-2); }
.place h3 { font-size: 27px; }
.place__addr { font-weight: 600; font-size: 15px; }
.place__note { color: var(--ink-soft); font-size: 15px; flex: 1; }
.place__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.place__links a {
  font-size: 14px; font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); transition: background .25s;
}
.place__links a:hover { background: var(--zest); border-color: var(--zest); }
.place--feature { background: var(--zest); }
.place--feature .place__type { color: var(--ink); }
.place--feature .place__note { color: var(--ink); }
.places__empty { padding: 30px 0; color: var(--ink-soft); }
@media (max-width: 960px) { .places__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .places__grid { grid-template-columns: 1fr; } }

/* ---------- Note ---------- */
.note { padding-top: 70px; padding-bottom: 70px; }
.note__inner { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.note h2 { font-size: clamp(30px, 3.6vw, 42px); font-style: italic; font-weight: 400; margin-bottom: 20px; }
.note__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; color: var(--ink-soft); font-size: 16px; }
.note strong { color: var(--ink); }
@media (max-width: 760px) { .note__cols { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 70px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 30px 40px; }
.footer__logo { font-family: var(--f-display); font-size: clamp(60px, 10vw, 120px); font-weight: 800; letter-spacing: -.04em; line-height: .9; color: var(--zest); }
.footer__brand p { margin-top: 12px; color: rgba(244, 238, 226, .75); }
.footer__links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer__links a { text-decoration: none; font-weight: 600; }
.footer__links a:hover { color: var(--zest); }
.footer__small { grid-column: 1 / -1; font-size: 13px; color: rgba(244, 238, 226, .55); border-top: 1px solid rgba(244, 238, 226, .15); padding-top: 22px; }
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { align-items: flex-start; }
}

/* ==========================================================
   2026-10-25 · Chat, fotos de Valdivia y botón flotante
   ========================================================== */

/* Nav: acceso directo al chat */
.nav__links a.nav__cta { background: var(--zest); color: var(--ink); margin-left: 6px; }
.nav__links a.nav__cta:hover { background: var(--ink); color: var(--cream); }
@media (max-width: 820px) {
  .nav__links a.nav__cta { background: none; color: var(--zest); margin: 18px 0 0; }
}

/* Hero: foto de Valdivia con el cítrico como sello */
.hero__photo {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  box-shadow: 0 40px 70px -30px rgba(14, 58, 50, .55);
}
.citrus.citrus--sticker {
  position: absolute; width: 34%; height: auto; right: -6%; top: -4%;
  filter: drop-shadow(0 14px 22px rgba(226, 100, 60, .35));
}

/* Fotos de cada deporte */
.panel__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.panel__photo img { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; }
.panel__photo figcaption {
  position: absolute; left: 14px; bottom: 12px; font-size: 13px; font-weight: 700;
  background: rgba(19, 38, 31, .72); color: var(--cream); padding: 6px 12px; border-radius: 999px;
}
@media (max-width: 600px) { .panel__photo img { aspect-ratio: 16 / 9; } }

/* Sección del chat */
.chatcta { background: var(--zest); margin: clamp(40px, 6vw, 80px) clamp(8px, 1.5vw, 20px) 0; border-radius: clamp(28px, 4vw, 56px); }
.chatcta__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.chatcta .eyebrow { color: var(--river); }
.chatcta h2 { font-size: clamp(40px, 6vw, 72px); margin: 14px 0 20px; letter-spacing: -.03em; }
.chatcta h2 em { color: var(--river-2); }
.chatcta .section__lead { color: var(--ink); }
.chatcta .btn--zest { background: var(--ink); color: var(--cream); box-shadow: 0 10px 30px -10px rgba(19, 38, 31, .7); }
.chatcta__steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-weight: 700; }
.chatcta__steps li { display: flex; align-items: center; gap: 12px; }
.chatcta__steps b {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--ink); color: var(--zest); font-family: var(--f-display);
}
.chatcta__small { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.chatcta__art { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(100%, 340px); background: var(--cream); border-radius: 34px; padding: 18px 16px 22px;
  box-shadow: 0 40px 70px -30px rgba(19, 38, 31, .6); border: 8px solid var(--ink);
  display: flex; flex-direction: column; gap: 10px;
}
.phone__top { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800; font-size: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.phone__top small { font-family: var(--f-body); font-weight: 600; font-size: 12px; color: var(--moss); }
.phone__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--zest); box-shadow: 0 0 0 4px rgba(242, 182, 48, .3); }
.bubble { max-width: 86%; background: var(--paper); border: 1px solid var(--line); padding: 9px 13px; border-radius: 16px 16px 16px 4px; font-size: 14.5px; line-height: 1.45; }
.bubble--me { align-self: flex-end; background: #d9f2c9; border-color: transparent; border-radius: 16px 16px 4px 16px; }
.chatcta__qr { position: absolute; right: -2%; bottom: -8%; margin: 0; background: #fff; padding: 10px 10px 8px; border-radius: 18px; text-align: center; box-shadow: 0 20px 40px -20px rgba(19, 38, 31, .6); }
.chatcta__qr img { width: 110px; height: 110px; }
.chatcta__qr figcaption { font-size: 11px; font-weight: 700; margin-top: 4px; }
@media (max-width: 900px) {
  .chatcta__inner { grid-template-columns: 1fr; }
  .chatcta__qr { display: none; }
}

/* Foto de la despensa */
.pantry__photo { position: relative; margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; }
.pantry__photo img { width: 100%; height: auto; aspect-ratio: 21 / 7; object-fit: cover; }
.pantry__photo figcaption {
  position: absolute; left: 14px; bottom: 12px; font-size: 13px; font-weight: 700;
  background: rgba(19, 38, 31, .72); color: var(--cream); padding: 6px 12px; border-radius: 999px;
}
@media (max-width: 600px) { .pantry__photo img { aspect-ratio: 16 / 9; } }

/* Local con foto */
.place--photo { padding-top: 0; overflow: hidden; }
.place__img { margin: 0 -24px 10px; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* Créditos de las fotos */
.footer__credits { border-top: 0; padding-top: 0; }
.footer__credits a { color: rgba(244, 238, 226, .8); }

/* Botón flotante del chat */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--ink); color: var(--cream); font-weight: 700; font-size: 15px;
  padding: 13px 20px; border-radius: 999px; box-shadow: 0 16px 34px -12px rgba(19, 38, 31, .7);
  transition: transform .3s var(--ease), background .3s;
}
.fab:hover { transform: translateY(-3px); background: var(--river-2); }
@media (max-width: 480px) { .fab { padding: 12px 16px; font-size: 14px; right: 12px; bottom: 12px; } }
