/* =========================================================================
   La Terraza — Restaurante & Café  ·  Demo comercial Zook
   Estilos base (mobile-first, sin dependencias)
   ========================================================================= */

:root {
  /* Paleta cálida y apetitosa */
  --cream:       #fffaf3;   /* fondo claro */
  --cream-2:     #fef3c7;   /* crema (acentos suaves) */
  --cream-3:     #fdece0;   /* durazno/terracota muy claro */

  --terra:       #b45309;   /* terracota / ámbar (marca) */
  --terra-600:   #9a4708;
  --terra-700:   #7c3d0b;
  --terra-050:   #fbeee1;

  --brown:       #3f2d20;   /* café oscuro (secciones/footer) */
  --brown-700:   #33241a;

  --gold:        #d9a441;   /* dorado cálido, uso puntual */

  --ink:         #1f2937;   /* texto oscuro */
  --muted:       #6b584a;   /* gris cálido para texto secundario */
  --line:        #ecdfce;   /* líneas sobre crema */
  --line-2:      #e3d3bd;
  --bg:          var(--cream);
  --bg-alt:      #fdf6ec;
  --card:        #ffffff;

  --wa:          #22c55e;
  --wa-dark:     #16a34a;

  --radius:      14px;
  --radius-lg:   22px;
  --radius-full: 999px;

  --shadow-sm:   0 1px 2px rgba(63,45,32,.06);
  --shadow-md:   0 12px 26px -14px rgba(63,45,32,.28);
  --shadow-lg:   0 26px 54px -22px rgba(63,45,32,.38);

  --font:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--terra); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------- Botones -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; font-family: var(--font); font-weight: 600; font-size: .98rem;
  border: 1.6px solid transparent; border-radius: var(--radius-full); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { flex: none; }
.btn-sm { padding: .62rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--terra); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--terra-700); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost { background: #fff; color: var(--terra-700); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--terra); color: var(--terra); transform: translateY(-2px); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(34,197,94,.7); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--brown); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* -------------------------------------------------------------- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,250,243,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  color: #fff; border-radius: 13px;
  background: linear-gradient(140deg, var(--terra) 0%, var(--gold) 135%);
  box-shadow: var(--shadow-md);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.16rem; color: var(--brown); letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

.nav { display: none; gap: 24px; }
.nav a { font-size: .93rem; font-weight: 500; color: var(--muted); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--terra); border-radius: 2px; transition: width .22s ease; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-cta { display: none; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--brown); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 12px 22px 20px; border-bottom: 1px solid var(--line); background: var(--cream); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 4px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: none; margin-top: 10px; }
.mobile-menu .btn { color: #fff; }

/* --------------------------------------------------------------- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 46px 0 52px; background: linear-gradient(180deg, var(--cream-3) 0%, var(--cream) 74%); }
.hero-glow { position: absolute; top: -150px; right: -110px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(217,164,65,.32), transparent 66%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 30px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--terra-700); border: 1px solid var(--line-2);
  padding: 7px 14px; border-radius: var(--radius-full); font-size: .82rem; font-weight: 600;
  box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.pill svg { color: var(--terra); }

.hero-copy h1 { font-size: clamp(2.3rem, 7vw, 3.75rem); font-weight: 700; letter-spacing: -.025em; color: var(--brown); }
/* Resaltado tipo marcador dibujado a mano que se pinta al cargar */
.hero-copy h1 .hl {
  color: var(--terra-700); position: relative; padding: 0 .12em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 52' preserveAspectRatio='none'%3E%3Cpath d='M5 33 C2 15 14 12 34 11 C120 6 210 9 300 6 C316 6 318 22 314 30 C312 37 316 44 300 45 C200 50 110 44 26 47 C6 48 3 44 5 33 Z' fill='%23d9a441' opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 0 66%; background-size: 0% .82em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: hlDraw 1.05s cubic-bezier(.22,1,.36,1) .55s forwards;
}
@keyframes hlDraw { to { background-size: 100% .82em; } }
.hero-copy .lead { margin: 20px 0 28px; font-size: 1.1rem; color: var(--muted); max-width: 42ch; text-wrap: pretty; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-cards { display: grid; gap: 12px; margin-top: 30px; }
.mini-card { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; box-shadow: var(--shadow-sm); }
.mini-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--terra-050); color: var(--terra); }
.mini-label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mini-value { display: block; font-weight: 600; color: var(--ink); font-size: .96rem; }

/* Visual del hero: platillo enmarcado + insignia flotante */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute; z-index: 0; width: min(78vw, 380px); aspect-ratio: 1;
  right: -3%; top: 4%; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: linear-gradient(145deg, var(--terra) 0%, var(--gold) 120%); opacity: .16;
  animation: blobmorph 13s ease-in-out infinite;
}
@keyframes blobmorph {
  0%,100% { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; }
  50%     { border-radius: 58% 42% 45% 55% / 44% 58% 42% 56%; }
}
.hero-photo {
  position: relative; z-index: 1; margin: 0; width: min(86vw, 440px); aspect-ratio: 5 / 4;
  border-radius: 24px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.hero-float {
  position: absolute; z-index: 2; left: -6px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-full);
  padding: 9px 15px; font-size: .84rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-md); animation: floaty 5s ease-in-out infinite;
}
.hero-float .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(34,197,94,.22); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ------------------------------------------------------------ Secciones -- */
.section { padding: clamp(54px, 8vw, 94px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto clamp(30px, 5vw, 50px); text-align: center; }
.section-head--left { margin-left: 0; margin-right: 0; text-align: left; max-width: 34ch; }
.section-head h2 { font-size: clamp(1.75rem, 4.6vw, 2.55rem); text-wrap: balance; color: var(--brown); }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.05rem; text-wrap: pretty; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* Banda oscura (antes de visitarnos) — momento de impacto */
.band {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(56px, 8vw, 92px) 0;
  background: linear-gradient(140deg, var(--brown-700) 0%, var(--brown) 46%, var(--terra-700) 140%);
}
.band-orb { position: absolute; top: -32%; right: -8%; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,.42), transparent 62%); pointer-events: none; }
.band .container { position: relative; z-index: 1; }
.band-head { max-width: 42ch; margin-bottom: clamp(34px, 5vw, 52px); }
.band-head h2 { color: #fff; font-size: clamp(1.85rem, 5vw, 2.7rem); text-wrap: balance; }
.band-head p { margin-top: 14px; color: rgba(255,248,240,.84); font-size: 1.08rem; text-wrap: pretty; }
.band-grid { display: grid; gap: 34px 28px; grid-template-columns: 1fr; }
.band-item h3 { color: #fff; font-size: 1.14rem; margin: 14px 0 7px; }
.band-item p { color: rgba(255,248,240,.78); font-size: .96rem; text-wrap: pretty; }
.band-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  background: rgba(255,255,255,.12); color: var(--gold); border: 1px solid rgba(255,255,255,.2); }

/* --------------------------------------------------------------- Menú ---- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: clamp(26px, 4vw, 40px); }
.menu-tab {
  font-family: var(--font); font-weight: 600; font-size: .94rem; color: var(--muted);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-full);
  padding: .6rem 1.25rem; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.menu-tab svg { color: currentColor; }
.menu-tab:hover { color: var(--terra); border-color: var(--terra); }
.menu-tab.is-active { background: var(--terra); color: #fff; border-color: var(--terra); box-shadow: var(--shadow-md); }

.menu-panel { display: none; }
.menu-panel.is-active { display: grid; gap: 14px 40px; }
.menu-list { display: grid; gap: 2px; }
.dish {
  display: flex; align-items: flex-start; gap: 15px;
  padding: 14px 4px; border-bottom: 1px dashed var(--line-2);
}
.dish:last-child { border-bottom: none; }
.dish-thumb {
  width: 78px; height: 78px; flex: none; border-radius: 14px; object-fit: cover;
  background: var(--bg-alt); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.dish-body { flex: 1; min-width: 0; }
.dish-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dish-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--brown); display: inline-flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.dish-price { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; color: var(--terra); white-space: nowrap; }
.dish-desc { color: var(--muted); font-size: .93rem; margin-top: 4px; text-wrap: pretty; max-width: 54ch; }

/* Apps de entrega (Uber Eats / Rappi) */
.delivery-apps {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 22px; margin: 0 auto; max-width: 620px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.delivery-label { font-size: .92rem; font-weight: 600; color: var(--muted); }
.btn-app {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 42px; padding: 0 1.1rem; width: 132px;
  font-family: var(--font); font-weight: 600; font-size: .95rem; border-radius: var(--radius-full);
  color: #fff; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-app svg { flex: none; }
.btn-app:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: var(--shadow-md); }
.btn-uber { background: #06c167; }
.btn-rappi { background: #ff441f; }
.btn-didi { background: #ff7a00; }
/* Logos reales (SVG blancos) balanceados por marca */
.app-logo { display: block; width: auto; }
.btn-uber .app-logo { height: 16px; }
.btn-rappi .app-logo { height: 19px; }
.btn-didi .app-logo { height: 17px; }
/* Variante compacta dentro de una tarjeta clara */
.delivery-apps--bare { background: transparent; border: none; box-shadow: none; padding: 12px 0 0; justify-content: flex-start; max-width: none; }

.tag { font-family: var(--font); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: var(--radius-full); line-height: 1.1; }
.tag-pop { background: var(--terra-050); color: var(--terra-700); }
.tag-new { background: #e7f6ec; color: #197a3f; }
.tag-rec { background: var(--cream-2); color: #8a6a10; }

.menu-foot { text-align: center; margin-top: clamp(28px, 4vw, 42px); }
.menu-foot p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }

/* ----------------------------------------------------------- Promociones - */
.promos { display: grid; gap: 18px; grid-template-columns: 1fr; }
.promo {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
}
.promo:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.promo-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--terra-700); background: var(--terra-050); padding: 5px 11px; border-radius: var(--radius-full); margin-bottom: 16px; }
.promo h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--brown); }
.promo p { color: var(--muted); font-size: .98rem; text-wrap: pretty; }
.promo-when { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: .88rem; font-weight: 600; color: var(--terra); }
.promo-when svg { color: var(--terra); }
/* Promo destacada (oscura) */
.promo-feat { background: linear-gradient(145deg, var(--terra-700) 0%, var(--terra) 130%); color: #fff; border-color: transparent; }
.promo-feat .promo-badge { background: rgba(255,255,255,.16); color: #fff; }
.promo-feat h3 { color: #fff; }
.promo-feat p { color: rgba(255,248,240,.9); }
.promo-feat .promo-when, .promo-feat .promo-when svg { color: var(--cream-2); }
.promo-orb { position: absolute; right: -40px; bottom: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 68%); }

/* -------------------------------------------------------------- Galería -- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 12px; color: #fff;
  font-size: .86rem; font-weight: 600; letter-spacing: .01em;
  background: linear-gradient(0deg, rgba(51,36,26,.82), transparent);
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; transform: none; }
.g-tall { grid-row: span 2; }

/* ------------------------------------------------ Pedidos / Reservaciones - */
.order-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.order-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(140deg, var(--terra-050), var(--cream-2)); color: var(--terra); margin-bottom: 16px; }
.order-card h3 { font-size: 1.25rem; margin-bottom: 6px; color: var(--brown); }
.order-card > p { color: var(--muted); font-size: .96rem; margin-bottom: 20px; text-wrap: pretty; }

.proto-form .field { margin-bottom: 14px; }
.proto-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font); font-size: .97rem; color: var(--ink);
  background: var(--bg-alt); border: 1.5px solid var(--line-2); border-radius: 11px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); background: #fff; box-shadow: 0 0 0 4px var(--terra-050); }
.field textarea { resize: vertical; }
.proto-form .btn-block { margin-top: 6px; }

.form-success { text-align: center; padding: 18px 6px; }
.success-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #e7f6ec; color: var(--wa-dark); margin-bottom: 12px; }
.form-success strong { display: block; font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; color: var(--brown); }
.form-success p { color: var(--muted); }

/* -------------------------------------------------------------- Ubicación */
.loc-grid { display: grid; gap: 30px; align-items: center; }
.loc-copy .section-sub { margin: 14px 0 22px; }
.info-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; align-items: flex-start; gap: 13px; }
.info-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--terra); }
.info-k { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-v { display: block; font-weight: 600; color: var(--ink); }
.map-placeholder { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); min-height: 330px; background:
  radial-gradient(circle at 30% 30%, rgba(217,164,65,.14), transparent 60%),
  repeating-linear-gradient(45deg, var(--bg-alt) 0 22px, #fbf1e3 22px 44px); display: grid; place-items: center; }
.map-placeholder iframe { width: 100%; height: 100%; min-height: 330px; border: 0; display: block; }
.map-pin { text-align: center; color: var(--muted); padding: 20px; }
.map-pin .pin-badge { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--terra); box-shadow: var(--shadow-md); margin-bottom: 12px; }
.map-pin strong { display: block; color: var(--brown); font-family: var(--serif); font-size: 1.1rem; margin-bottom: 4px; }
.map-pin span { font-size: .9rem; }

/* ----------------------------------------------------------- Testimonios - */
.reviews { display: grid; gap: 18px; grid-template-columns: 1fr; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); position: relative; }
.review-stars { display: inline-flex; gap: 2px; color: var(--gold); margin-bottom: 14px; }
.review-text { font-size: 1.05rem; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.review-who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.review-av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-family: var(--serif); font-weight: 700; color: #fff; background: linear-gradient(140deg, var(--terra), var(--gold)); flex: none; }
.review-name { font-weight: 600; color: var(--brown); font-size: .96rem; }
.review-role { font-size: .82rem; color: var(--muted); }

/* --------------------------------------------------------------- FAQ ----- */
.faq { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--brown); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--terra); transition: transform .25s ease; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 20px 18px; color: var(--muted); font-size: .97rem; text-wrap: pretty; }

/* --------------------------------------------------------- CTA final ----- */
.final-cta { position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: clamp(60px, 9vw, 104px) 0;
  background: linear-gradient(145deg, var(--brown-700) 0%, var(--terra-700) 78%, var(--terra) 150%); }
.final-cta .band-orb { top: auto; bottom: -34%; right: -6%; }
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; font-size: clamp(1.9rem, 5.4vw, 3rem); max-width: 18ch; margin: 0 auto; }
.final-cta p { color: rgba(255,248,240,.88); font-size: 1.12rem; max-width: 48ch; margin: 16px auto 30px; text-wrap: pretty; }
.final-cta .hero-cta { justify-content: center; }

/* --------------------------------------------------------------- Footer -- */
.site-footer { background: var(--brown-700); color: #d7c6b6; padding: 46px 0 30px; }
.footer-grid { display: grid; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #b7a591; }
.footer-brand .brand-mark { box-shadow: none; }
.footer-loc { margin-top: 12px; color: #b7a591; font-size: .92rem; display: grid; gap: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; }
.footer-nav a { color: #d7c6b6; font-size: .93rem; }
.footer-nav a:hover { color: #fff; }
.footer-note { margin-top: 22px; display: grid; gap: 6px; }
.footer-note p { font-size: .84rem; color: #a1907e; }
.footer-copy { color: #877868 !important; }

/* ------------------------------------------------ Botones flotantes (FAB) */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 95;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.fab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 54px; padding: 0 20px; border: none; border-radius: var(--radius-full);
  font-family: var(--font); font-weight: 600; font-size: .96rem; color: #fff;
  line-height: 1; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-lg);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.fab-btn svg { flex: none; }
.fab-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.fab-wa { position: relative; background: var(--wa); }
.fab-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: fabPulse 2.6s infinite;
}
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 15px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.fab-delivery { background: var(--terra); }
.fab-delivery .chev { transition: transform .25s ease; }
.fab-delivery[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Menú desplegable (hacia arriba) con las apps de entrega */
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-menu[hidden] { display: none; }
.fab-app {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 18px; width: 172px;
  border-radius: var(--radius-full); font-weight: 600; font-size: .9rem; color: #fff;
  white-space: nowrap; box-shadow: var(--shadow-md);
  animation: fabIn .3s cubic-bezier(.22,1,.36,1) both;
}
.fab-app svg { flex: none; }
.fab-app:nth-child(1) { animation-delay: .02s; }
.fab-app:nth-child(2) { animation-delay: .07s; }
.fab-app:nth-child(3) { animation-delay: .12s; }
@keyframes fabIn { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------- Animaciones --- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy h1 .hl { background-size: 100% .82em; }
}

/* ------------------------------------------------------------- Responsive */
@media (min-width: 560px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .hero-cards { grid-template-columns: repeat(3, 1fr); }
  .promos { grid-template-columns: 1fr 1fr; }
  .order-grid { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .menu-panel.is-active { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none !important; }

  .hero { padding: 68px 0 62px; }
  .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 48px; }
  .hero-copy .lead { font-size: 1.15rem; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .band-grid { grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
  .promos { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-auto-rows: 180px; gap: 14px; }

  .loc-grid { grid-template-columns: 1fr 1.05fr; gap: 44px; }
}

@media (min-width: 1024px) {
  .hero { padding: 84px 0 72px; }
  .section-head { margin-bottom: clamp(38px, 4vw, 54px); }
}
