/* ==========================================================================
   DON ANGELITO — Landing viandas para empresas
   Paleta de marca: naranja #FC7C35 · oliva #8A9375 · marrón #372E0F · nude #FFEFD8
   ========================================================================== */

/* ---------- Tipografías (locales) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo.woff2') format('woff2');
  font-weight: 700 900;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('assets/fonts/figtree.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('assets/fonts/caveat.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kalam';
  src: url('assets/fonts/kalam.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --orange: #FD6A2F;
  --orange-dark: #E9561B;
  --brand-orange: #FC7C35;
  --cream: #FCF3E8;
  --cream-2: #F6ECD9;
  --card: #FAF1E4;
  --card-soft: #FBF6EE;
  --faq: #F4E8D7;
  --sage: #E4E0C5;
  --olive: #6D775E;
  --green: #6A745A;
  --dark: #2F2A0E;
  --ink: #2E2A1B;
  --ink-2: #4A4636;
  --ink-title: #3A3617;
  --muted: #7B7A72;

  --f-head: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-hand: 'Caveat', 'Segoe Script', cursive;
  --f-hand-2: 'Kalam', 'Segoe Print', cursive;

  --wave-h: clamp(24px, 3.8vw, 56px);
  --wave-sage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23E4E0C5' d='M0 44C170 10 330 66 540 42S880 4 1090 34s250 30 350-8V80H0Z'/%3E%3C/svg%3E");
  --wave-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23FCF3E8' d='M0 30C200 68 380 14 600 40S940 72 1140 38s230-22 300 6V80H0Z'/%3E%3C/svg%3E");
  --wave-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%236A745A' d='M0 36C160 6 340 58 560 38S900 10 1120 40s240 18 320-14V80H0Z'/%3E%3C/svg%3E");
  --wave-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%232F2A0E' d='M0 52C140 20 300 8 480 28S820 62 1040 40s280-28 400-12V80H0Z'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; }
svg { fill: currentColor; }
section[id] { scroll-margin-top: 76px; }

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

.container { width: min(1240px, 100% - 64px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

/* ---------- Títulos ---------- */
.h-orange,
.hero h1,
.benefits h2,
.cta h2 {
  font-family: var(--f-head);
  font-weight: 850;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
}
.h-orange { color: var(--orange); font-size: clamp(1.5rem, 2.3vw, 2rem); }
.lead { margin-top: 6px; color: var(--ink-2); font-size: clamp(.95rem, 1.15vw, 1.08rem); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  background: var(--orange); color: #fff; border-radius: 999px;
  font-weight: 600; line-height: 1; white-space: nowrap;
  padding: .85em 1.6em; font-size: 1rem;
  box-shadow: 0 10px 22px -10px rgba(253, 106, 47, .75);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn .ico { width: 1.35em; height: 1.35em; flex: none; }
.btn:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(233, 86, 27, .8); }
.btn:active { transform: translateY(0); }
.btn--sm { font-size: .98rem; padding: .78em 1.35em; }
.btn--md { font-size: 1.05rem; padding: .95em 1.9em; }
.btn--lg { font-size: clamp(1.02rem, 1.4vw, 1.2rem); padding: 1em 2.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 243, 232, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 8px 24px -16px rgba(55, 46, 15, .45); }
.header-in { display: flex; align-items: center; gap: 36px; height: 76px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; gap: 34px; margin-right: auto; }
.nav a {
  position: relative; padding: 6px 2px; font-size: .98rem; font-weight: 500; color: var(--ink);
  transition: color .2s ease;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover { color: var(--orange); }
.nav a.is-active { color: var(--orange); }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: clamp(470px, 44vw, 660px);
  padding: clamp(40px, 5vw, 76px) 0 calc(var(--wave-h) + clamp(30px, 4vw, 56px));
  background:
    radial-gradient(60% 85% at 4% 14%, #FFD9B5 0%, rgba(255, 217, 181, 0) 68%),
    var(--cream);
  overflow: hidden;
}
.hero-media { /* mosaico de viandas: variedad y cantidad */
  position: absolute; top: clamp(22px, 2.6vw, 38px); right: clamp(24px, 3.4vw, 56px); bottom: calc(var(--wave-h) + clamp(30px, 3.6vw, 52px)); width: 44%;
  display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1.12fr 1fr; gap: clamp(8px, 1vw, 14px);
}
.hm { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: #E9D9C2; box-shadow: 0 22px 36px -22px rgba(55, 30, 8, .6), 0 0 0 4px rgba(255, 247, 236, .85); }
.hm img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.hm:hover img { transform: scale(1.07); }
.hm--1 img { object-position: 50% 40%; }
.hm--2 img { object-position: 50% 55%; }
.hm--3 img { object-position: 50% 62%; }
.hm--4 { grid-column: 1 / 3; }
.hm--4 img { object-position: 38% 45%; }
.hm--5 img { object-position: 50% 50%; }
.hm { animation: hm-in .8s cubic-bezier(.2, .75, .2, 1) both; }
.hm--1 { animation-delay: .15s !important; } .hm--2 { animation-delay: .27s !important; } .hm--3 { animation-delay: .39s !important; }
.hm--4 { animation-delay: .51s !important; } .hm--5 { animation-delay: .63s !important; }
@keyframes hm-in { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
.hero-in { position: relative; z-index: 2; }
.hero-copy { max-width: 720px; }
.hero h1 { color: var(--orange); font-size: clamp(1.9rem, 3.75vw, 3.4rem); white-space: nowrap; }
.hero-copy p {
  margin: clamp(16px, 2vw, 24px) 0 clamp(22px, 2.6vw, 34px);
  max-width: 34ch; font-size: clamp(1.02rem, 1.45vw, 1.3rem); line-height: 1.4; color: var(--ink);
}

/* ---------- Sin complicaciones (banda salvia) ---------- */
.benefits {
  position: relative; z-index: 3;
  background: var(--sage);
  padding: clamp(10px, 1.5vw, 20px) 0 calc(var(--wave-h) + clamp(16px, 2.4vw, 30px));
  margin-top: calc(var(--wave-h) * -.55);
}
.benefits::before, .benefits::after {
  content: ''; position: absolute; left: 0; right: 0; height: var(--wave-h);
  background-size: 100% 100%; background-repeat: no-repeat; pointer-events: none;
}
.benefits::before { bottom: calc(100% - 1px); background-image: var(--wave-sage); }
.benefits::after { bottom: -1px; background-image: var(--wave-cream); }
.benefits-in {
  display: grid; grid-template-columns: minmax(270px, 1.2fr) repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px);
  align-items: center;
}
.eyebrow {
  display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: #6E6D58;
}
.benefits h2 { color: var(--ink-title); font-size: clamp(1.1rem, 1.6vw, 1.5rem); }
.benefit-list { display: contents; }
.benefit {
  display: flex; align-items: center; gap: 14px; height: 100%;
  background: var(--card); border-radius: 18px; padding: 18px 20px;
  box-shadow: 0 10px 22px -16px rgba(55, 46, 15, .5);
}
.benefit-ico { flex: none; width: 44px; height: 44px; color: var(--orange); --icon-cut: var(--card); }
.benefit h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.benefit p { margin-top: 5px; font-size: .84rem; line-height: 1.35; color: var(--muted); }

/* ---------- Cómo funciona ---------- */
.how { padding: clamp(6px, 1vw, 14px) 0 clamp(34px, 4.5vw, 56px); }
.steps { display: flex; align-items: flex-start; justify-content: space-between; margin-top: clamp(22px, 2.6vw, 34px); }
.step {
  flex: 1 1 0; min-width: 0;
  display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; row-gap: 8px; align-items: start;
}
.step-n {
  grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff;
  font-weight: 700; font-size: .95rem;
}
.step-ico { grid-column: 2; width: 40px; height: 40px; color: var(--olive); --icon-cut: var(--cream); }
.step p { grid-column: 2; font-size: .98rem; line-height: 1.28; color: var(--ink); max-width: 15ch; }
.step-arrow { flex: 0 0 auto; width: 30px; margin: 14px 4px 0; color: #8B8877; }
.step-arrow svg { width: 28px; height: 24px; }

/* ---------- Qué incluye ---------- */
.includes { padding: 0 0 clamp(26px, 3.4vw, 46px); }
.includes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.includes-pill {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: #F3EADB; border-radius: 16px; padding: 14px 22px;
}
.includes-pill strong { font-size: .95rem; font-weight: 700; color: var(--ink); }
.includes-pill ul { display: flex; gap: 20px; flex-wrap: wrap; }
.includes-pill li { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--muted); }
.includes-pill svg { width: 28px; height: 28px; color: var(--olive); }

.meals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: 22px; }
.meal { display: flex; flex-direction: column; }
.meal-img { border-radius: 18px; overflow: hidden; isolation: isolate; transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.meal-img img { width: 100%; aspect-ratio: 16 / 9.6; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.meal-body {
  position: relative; flex: 1; margin: -50px 8px 0; padding: 14px 20px 18px;
  background: #FCF6EC; border-radius: 18px;
  box-shadow: 0 14px 28px -18px rgba(55, 36, 8, .5), 0 0 0 1px rgba(255, 255, 255, .6) inset;
}
.meal-body h3 { font-family: var(--f-head); font-weight: 850; font-stretch: 112%; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; }
.meal-body p { margin-top: 4px; font-size: .96rem; line-height: 1.4; color: var(--ink-2); }
.t-orange { color: var(--orange); }
.t-olive { color: var(--olive); }

/* ---------- Testimonios ---------- */
.proof { padding: clamp(22px, 3vw, 38px) 0 clamp(26px, 3.6vw, 44px); background: linear-gradient(180deg, #FBF5EB, var(--cream)); }
.proof-head { text-align: center; }
.proof-title { text-align: center; text-wrap: balance; }
.script-line { margin-top: 6px; font-family: var(--f-hand-2); font-weight: 400; font-size: clamp(1.35rem, 2.5vw, 2.05rem); line-height: 1.15; color: var(--olive); text-align: center; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(20px, 2.4vw, 30px); }
.quote {
  display: grid; grid-template-columns: clamp(92px, 8.4vw, 116px) minmax(0, 1fr); gap: 18px;
  padding: 12px; background: var(--card-soft); border-radius: 22px;
  box-shadow: 0 16px 30px -24px rgba(55, 46, 15, .55);
}
.avatar {
  display: grid; place-items: center; min-height: 150px; border-radius: 16px;
  font-family: var(--f-head); font-weight: 850; font-stretch: 112%; font-size: 3rem; color: rgba(255, 255, 255, .96);
}
.avatar--orange { background: linear-gradient(155deg, #FF8A4A, #F25A1D); }
.avatar--olive { background: linear-gradient(155deg, #8A9375, #5F6A50); }
.avatar--brown { background: linear-gradient(155deg, #5A4A22, #372E0F); }
.quote-body { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 8px 8px 6px 0; }
.quote blockquote p { font-size: .94rem; line-height: 1.5; color: var(--ink-2); }
.quote blockquote b { font-weight: 600; color: var(--ink); }
.quote figcaption strong { display: block; font-size: .96rem; font-weight: 700; color: var(--ink); }
.quote figcaption span { display: block; font-size: .8rem; line-height: 1.35; color: var(--muted); }

/* ---------- Plan + FAQ ---------- */
.plan-faq { padding: clamp(28px, 4vw, 48px) 0 clamp(30px, 4vw, 48px); }
.plan-faq-in { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 76px); align-items: start; }
.plan-pill {
  display: flex; margin: 20px 0 22px; padding: 16px 6px;
  background: var(--cream-2); border-radius: 20px; --icon-cut: var(--cream-2);
}
.plan-pill li { flex: 1 1 0; display: flex; align-items: center; gap: 12px; padding: 4px 14px; min-width: 0; }
.plan-pill li:first-child { flex: 1.25 1 0; }
.plan-pill li + li { border-left: 1px solid #E6D7BD; }
.plan-pill svg { flex: none; width: 36px; height: 36px; color: var(--olive); }
.plan-pill div { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; }
.plan-pill small { font-size: .84rem; color: var(--muted); }
.plan-pill b { font-weight: 700; color: var(--ink); }
.plan-pill b { font-size: 1.05rem; }
.plan-pill span { font-size: .86rem; color: var(--muted); }
.fineprint { margin-top: 16px; max-width: 48ch; font-size: .76rem; line-height: 1.45; color: #8E8C80; }

.faq-list { display: grid; gap: 8px; margin-top: 16px; }
.faq details { background: var(--faq); border-radius: 14px; transition: background-color .2s ease; }
.faq details[open] { background: #F0E1CB; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 18px; cursor: pointer; list-style: none; font-size: .97rem; color: var(--ink-2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; color: var(--ink-2); transition: transform .25s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 18px 16px; font-size: .92rem; line-height: 1.55; color: var(--ink-2); animation: faq-in .3s ease both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Quiénes somos ---------- */
.about { padding: clamp(30px, 4vw, 50px) 0 clamp(50px, 6vw, 84px); background: #FBF0E0; }
.about-in { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.script { margin: 2px 0 18px; font-family: var(--f-hand-2); font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.15; color: var(--olive); }
.about-copy p + p { margin-top: 14px; }
.about-copy p:not(.script) { font-size: clamp(.95rem, 1.1vw, 1.02rem); line-height: 1.6; color: var(--ink-2); max-width: 52ch; }
.about-photos {
  display: grid; grid-template-columns: 1fr .74fr 1.5fr; gap: 14px; align-self: center;
  height: clamp(190px, 15.5vw, 226px);
}
.ph { position: relative; border-radius: 18px; overflow: hidden; background: var(--faq); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--1 img { object-position: 60% 30%; }
.ph--2 img { object-position: 50% 40%; }
.ph--3 img { object-position: 40% 50%; }

/* Foto del equipo: fondo propio para que no se confunda con el color de la sección */
.ph--3 { overflow: visible; background: none; }
.ph--3::before { /* base de color desplazada, detrás de la foto */
  content: ''; position: absolute; inset: 0; z-index: 0;
  transform: translate(12px, 12px); border-radius: 18px;
  background: linear-gradient(140deg, #F9C7A0, #FD8B4E);
}
.ph--3 img { position: relative; z-index: 1; border-radius: 18px; }
.ph--3::after { /* tinte oliva sobre la pared clara de la foto */
  content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 18px; pointer-events: none;
  background: linear-gradient(180deg, rgba(109, 119, 94, .62) 0%, rgba(109, 119, 94, .18) 38%, rgba(109, 119, 94, 0) 62%);
}

/* ---------- CTA final ---------- */
.cta {
  position: relative; z-index: 1;
  background: var(--green); color: #fff; overflow: visible;
  padding: clamp(60px, 6.6vw, 96px) 0 calc(var(--wave-h) + clamp(58px, 7.5vw, 104px));
}
.cta::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--wave-h);
  background: var(--wave-green) bottom / 100% 100% no-repeat; pointer-events: none;
}
.cta-media { /* la foto se disuelve por todos los bordes: sin cortes rectos */
  position: absolute; top: 0; right: 0; bottom: 0; width: 44%; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 100% 78% at 88% 54%, #000 26%, rgba(0, 0, 0, .55) 46%, transparent 68%);
  mask-image: radial-gradient(ellipse 100% 78% at 88% 54%, #000 26%, rgba(0, 0, 0, .55) 46%, transparent 68%);
}
.cta-media::after { /* funde el tono de la foto con el verde de la sección */
  content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 50%, rgba(106, 116, 90, 0) 35%, rgba(106, 116, 90, .35) 100%);
  mix-blend-mode: multiply; pointer-events: none;
}
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 100%; }
.cta-in { position: relative; z-index: 2; text-align: center; }
.cta h2 { font-size: clamp(1.35rem, 2.5vw, 2.1rem); color: #fff; }
.cta p { margin: 8px 0 clamp(16px, 2vw, 24px); color: rgba(255, 255, 255, .88); font-size: clamp(.95rem, 1.2vw, 1.1rem); }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 3; background: var(--dark); color: #F6EBDA; padding: clamp(20px, 2.6vw, 32px) 0 22px; }
.site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--wave-h);
  background: var(--wave-dark) bottom / 100% 100% no-repeat; pointer-events: none;
}
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px 34px; flex-wrap: wrap; }
.f-item { display: inline-flex; align-items: center; gap: 12px; font-size: .86rem; line-height: 1.35; }
.f-item svg { flex: none; width: 30px; height: 30px; color: #fff; }
a.f-item:hover { color: var(--brand-orange); }
.f-social { display: flex; gap: 14px; }
.f-social a { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; transition: color .2s ease, transform .2s ease; --icon-cut: var(--dark); }
.f-social a:hover { color: var(--brand-orange); transform: translateY(-2px); }
.f-social svg { width: 34px; height: 34px; }
.f-script { font-family: var(--f-hand); font-weight: 600; font-size: 1.55rem; line-height: 1; text-align: right; color: #FFEFD8; transform: rotate(-5deg); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 239, 216, .09);
  font-size: .8rem; color: rgba(246, 235, 218, .86);
}
.footer-bottom nav { display: flex; }
.footer-bottom nav a { padding: 2px 13px; border-left: 1px solid rgba(255, 239, 216, .35); }
.footer-bottom nav a:first-child { padding-left: 0; border-left: 0; }
.footer-bottom nav a:hover { color: var(--brand-orange); }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
  .includes-head { flex-wrap: wrap; }
}

@media (max-width: 1100px) {
  .container { width: min(1240px, 100% - 48px); }
  .header-in { gap: 22px; }
  .nav { gap: 22px; }
  .benefits-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits-head { grid-column: 1 / -1; }
  .quotes { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .plan-faq-in { grid-template-columns: 1fr; }
  .step p { font-size: .9rem; }
}

@media (max-width: 900px) {
  :root { --wave-h: 30px; }
  .header-in { height: 68px; gap: 12px; }
  .brand img { width: 138px; }
  .header-cta { margin-left: auto; }

  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    display: none; flex-direction: column; gap: 2px; padding: 10px 24px 20px;
    background: rgba(252, 243, 232, .98); box-shadow: 0 18px 30px -20px rgba(55, 46, 15, .5);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 2px; font-size: 1.05rem; border-bottom: 1px solid rgba(55, 46, 15, .07); }
  .nav a::after { display: none; }

  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 0 0 calc(var(--wave-h) + 34px); }
  .hero-media {
    position: relative; order: -1; top: auto; right: auto; bottom: auto; width: calc(100% - 40px); margin: 18px auto 0;
    height: clamp(250px, 70vw, 400px);
  }
  .hero-in { margin-top: 24px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(1.55rem, 7vw, 2.6rem); white-space: normal; }
  .hero-copy p { max-width: 40ch; }

  .benefits-in { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 20px; }
  .step { flex: none; width: 100%; grid-template-columns: 34px 40px minmax(0, 1fr); align-items: center; }
  .step-n { grid-row: 1; }
  .step-ico { grid-column: 2; grid-row: 1; }
  .step p { grid-column: 3; grid-row: 1; max-width: none; font-size: 1rem; }
  .step-arrow { display: none; }

  .includes-head { flex-direction: column; align-items: flex-start; }
  .meals { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan-faq-in { grid-template-columns: 1fr; }
  .about-in { grid-template-columns: 1fr; }
  .about-photos { height: auto; grid-template-columns: 1fr 1fr; }
  .ph--1, .ph--2 { aspect-ratio: 1 / 1; }
  .ph--3 { grid-column: 1 / -1; aspect-ratio: 1.8 / 1; }

  .cta { padding-bottom: calc(var(--wave-h) + 130px); }
  .cta-media {
    top: auto; left: 0; width: 100%; height: 52%;
    -webkit-mask-image: radial-gradient(ellipse 75% 85% at 62% 78%, #000 28%, rgba(0, 0, 0, .5) 48%, transparent 72%);
    mask-image: radial-gradient(ellipse 75% 85% at 62% 78%, #000 28%, rgba(0, 0, 0, .5) 48%, transparent 72%);
  }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .f-script { text-align: left; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .header-cta { width: 46px; height: 46px; padding: 0; }
  .header-cta span { display: none; }
  .header-cta .ico { width: 1.6em; height: 1.6em; }
  .btn--lg, .btn--md { width: 100%; }
  .plan-pill { flex-direction: column; gap: 12px; padding: 16px 8px; }
  .plan-pill li { padding: 4px 14px; }
  .plan-pill li + li { border-left: 0; border-top: 1px solid #E6D7BD; padding-top: 14px; }
  .quote { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .avatar { font-size: 2.4rem; }
  .includes-pill { padding: 14px 18px; gap: 12px 20px; }
  .includes-pill ul { gap: 14px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Títulos animados + subrayado ondulado que "corta" cada sección
   (el texto está siempre en el HTML; si el JS falla, se muestra igual a los 4 s)
   ========================================================================== */
:root {
  --sq-olive: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 18'%3E%3Cpath d='M2 9C14 1 26 17 38 9S62 1 74 9s24 8 36 0 24-8 36 0' fill='none' stroke='%238A9375' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --sq-orange: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 18'%3E%3Cpath d='M2 9C14 1 26 17 38 9S62 1 74 9s24 8 36 0 24-8 36 0' fill='none' stroke='%23FD6A2F' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --sq-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 18'%3E%3Cpath d='M2 9C14 1 26 17 38 9S62 1 74 9s24 8 36 0 24-8 36 0' fill='none' stroke='%23FFEFD8' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.title-anim .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .3em .05em .14em; margin: -.3em -.05em -.14em; }
.title-anim .w > span { display: inline-block; }
.js .title-anim:not(.is-split) { visibility: hidden; animation: da-show 0s 4s forwards; }
.js .title-anim.is-split .w > span {
  transform: translateY(120%);
  transition: transform .9s cubic-bezier(.2, .75, .2, 1);
  transition-delay: calc(var(--i, 0) * .075s);
}
.js .title-anim.is-split.is-in .w > span { transform: none; }
.js .title-anim.is-split:not(.is-in) .w > span { animation: da-force 0s 6.5s forwards; }
@keyframes da-show { to { visibility: visible; } }
@keyframes da-force { to { transform: none; } }

.h-orange::after, .benefits h2::after, .cta h2::after, .script-line::after {
  content: ''; display: block; width: clamp(88px, 9vw, 128px); height: 14px; margin-top: .5em;
  background-size: 100% 100%; background-repeat: no-repeat;
  transition: clip-path 1.1s cubic-bezier(.3, .7, .2, 1) .5s;
}
.h-orange::after { background-image: var(--sq-olive); }
.benefits h2::after { background-image: var(--sq-orange); }
.cta h2::after { background-image: var(--sq-cream); margin-inline: auto; }
.script-line::after { background-image: var(--sq-orange); margin-inline: auto; }
.proof-title::after { display: none; }
.js .title-anim:not(.is-in)::after { clip-path: inset(0 100% 0 0); animation: da-line 0s 6.5s forwards; }
@keyframes da-line { to { clip-path: inset(0 0 0 0); } }

/* Aclaración del precio */
.plan-note { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; font-size: .95rem; color: var(--ink-2); }
.plan-note svg { flex: none; width: 22px; height: 22px; color: var(--olive); }
.plan-note b { font-weight: 700; color: var(--ink); }

/* ==========================================================================
   Burbujas tipo WhatsApp en el banner final (columna izquierda)
   ========================================================================== */
.chat { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: min(320px, 26%); display: grid; gap: 11px; text-align: left; }
.bubble {
  position: relative; padding: 9px 13px 11px; background: #fff; color: #1F2C34;
  border-radius: 0 14px 14px 14px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 14px 26px -16px rgba(0, 0, 0, .55);
}
.bubble::before { /* colita de la burbuja */
  content: ''; position: absolute; top: 0; left: -8px; width: 10px; height: 13px;
  background: #fff; clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.bubble:nth-child(2) { margin-left: 22px; }
.bubble:nth-child(3) { margin-left: 8px; }
.bubble:nth-child(4) { margin-left: 30px; }
.b-name { display: block; font-size: .8rem; font-weight: 700; line-height: 1.25; }
.b-name em { font-style: normal; font-weight: 500; color: #7A8790; }
.b-name--orange { color: #E9561B; }
.b-name--teal { color: #1B8F7E; }
.b-name--brown { color: #8A5A16; }
.b-stars { display: block; margin-top: 1px; font-size: .78rem; letter-spacing: 2px; line-height: 1.2; color: #FBBC04; }
.cta .chat .b-text { margin: 3px 0 0; font-size: .92rem; line-height: 1.38; color: #1F2C34; }

@media (max-width: 1100px) {
  .cta-in { display: flex; flex-direction: column; align-items: center; }
  .chat { position: static; transform: none; width: min(340px, 100%); order: -1; margin-bottom: 34px; }
}

/* Pan del banner como franja al pie cuando el chat se apila sobre el texto */
@media (max-width: 1100px) {
  .cta { padding-bottom: calc(var(--wave-h) + clamp(200px, 48vw, 300px)); }
  .cta-media {
    top: auto; left: 0; width: 100%; height: clamp(230px, 56vw, 340px);
    -webkit-mask-image: radial-gradient(ellipse 75% 85% at 62% 78%, #000 28%, rgba(0, 0, 0, .5) 48%, transparent 72%);
    mask-image: radial-gradient(ellipse 75% 85% at 62% 78%, #000 28%, rgba(0, 0, 0, .5) 48%, transparent 72%);
  }
}

/* ==========================================================================
   Retoques de animación
   ========================================================================== */

/* Flechas del proceso: se dibujan una tras otra y luego "empujan" en cadena hacia la derecha */
.js .step-arrow svg { clip-path: inset(0 100% 0 0); }
.js .steps.is-in .step-arrow svg {
  clip-path: inset(0 0 0 0);
  transition: clip-path .5s ease calc(var(--k, 0) * .3s + .5s);
  animation: arrow-nudge 2.6s ease-in-out infinite;
  animation-delay: calc(var(--k, 0) * .32s + 1.4s);
}
.js .steps:not(.is-in) .step-arrow svg { animation: da-line 0s 6.5s forwards; }
@keyframes arrow-nudge {
  0%, 60%, 100% { transform: translateX(0); color: #8B8877; }
  22% { transform: translateX(9px); color: var(--orange); }
  40% { transform: translateX(0); color: #B9541F; }
}
/* Números: rebotan al aparecer */
.js .steps.is-in .step-n { animation: n-pop .55s cubic-bezier(.3, 1.7, .5, 1) both; animation-delay: calc(var(--d, 0s) + .15s); }
@keyframes n-pop { 0% { transform: scale(.3); } 100% { transform: scale(1); } }
.step-ico { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.step:hover .step-ico { transform: translateY(-4px) rotate(-6deg) scale(1.08); }

/* Tarjetas de menú: la foto crece y el título cambia de color */
.meal { cursor: default; }
.meal-body { transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease; }
.meal-body h3 { transition: color .3s ease, letter-spacing .35s ease; }
.meal:hover .meal-img { transform: scale(1.045); }
.meal:hover .meal-img img { transform: scale(1.14); }
.meal:hover .meal-body { transform: translateY(-8px); box-shadow: 0 22px 34px -18px rgba(55, 36, 8, .55), 0 0 0 1px rgba(255, 255, 255, .6) inset; }
.meal:hover .t-orange { color: var(--olive); letter-spacing: .025em; }
.meal:hover .t-olive { color: var(--orange); letter-spacing: .025em; }

/* ==========================================================================
   Precios por escala (plan para empresas)
   ========================================================================== */
.price-card { margin: 20px 0 12px; padding: 16px 16px 14px; background: var(--cream-2); border-radius: 20px; --icon-cut: var(--cream-2); }
.price-head { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.price-head svg { flex: none; width: 28px; height: 28px; color: var(--olive); }
.price-head b { font-weight: 700; color: var(--ink); }
.price-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 12px; }
.price-tiers li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 12px 14px 11px;
  background: var(--card-soft); border-radius: 14px; box-shadow: 0 8px 18px -14px rgba(55, 46, 15, .5);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
}
.price-tiers li:hover { transform: translateY(-3px); box-shadow: 0 14px 22px -14px rgba(55, 46, 15, .55); }
.price-tiers small { font-size: .8rem; font-weight: 600; color: var(--olive); }
.price-tiers b { font-size: 1.55rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--orange); }
.price-tiers span { font-size: .8rem; color: var(--muted); }
.price-foot { font-size: .82rem; line-height: 1.4; color: var(--muted); }
.price-foot b { font-weight: 700; color: var(--ink-2); }
.plan-pill { margin-top: 0; }
.plan-note { margin: 0 0 20px; }

@media (max-width: 640px) {
  .price-tiers { grid-template-columns: 1fr; gap: 8px; }
  .price-tiers li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "q p" "q s"; align-items: center; column-gap: 12px; padding: 11px 16px; }
  .price-tiers small { grid-area: q; font-size: .95rem; }
  .price-tiers b { grid-area: p; justify-self: end; font-size: 1.5rem; }
  .price-tiers span { grid-area: s; justify-self: end; }
}
