/* ==========================================================================
   FOODINN · Landing empresas
   Colores tomados de los verdes del logo (#004D00 y #00B200) sobre fondos cálidos.
   Las tipografías (Fraunces + Nunito Sans) son PROVISORIAS hasta tener el manual de marca.
   Para ajustar la marca, cambiá los valores de :root.
   ========================================================================== */
:root {
  --cream: #FBF5EC;
  --cream-2: #F4EADB;
  --warm: #F6E3D3;
  --ink: #2B2219;
  --ink-soft: #5A4D40;
  --accent: #004D00;        /* verde oscuro del logo: títulos de énfasis y detalles */
  --accent-dark: #003A00;
  --leaf: #00B200;          /* verde claro del logo: solo detalles decorativos (no para texto) */
  --green: #004D00;         /* botón de WhatsApp */
  --green-dark: #003300;
  --line: #E6D8C5;
  --white: #fff;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --shadow: 0 8px 28px rgba(60, 38, 18, .10);
  --gutter: 20px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }

.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 .75em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn .ico { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn-wa { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(0,77,0,.28); }
.btn-wa:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn.is-pending { background: #8a8178; box-shadow: none; cursor: not-allowed; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--accent-dark); padding: 12px 4px; border-bottom: 2px solid transparent; }
.link-arrow:hover { border-bottom-color: currentColor; }

/* ---------- Franja de contacto (arriba de todo, discreta) ---------- */
.contact-strip { background: var(--cream-2); border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--ink-soft); }
.contact-strip[hidden] { display: none; }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 20px; min-height: 36px; padding-block: 4px; }
.strip-item[hidden] { display: none; }
.strip-label { display: none; font-weight: 700; color: var(--accent-dark); }
.contact-strip a { color: inherit; text-underline-offset: 3px; }
.phone { font-weight: 700; font-variant-numeric: tabular-nums; user-select: all; -webkit-user-select: all; white-space: nowrap; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,245,236,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }
.brand img { width: 128px; height: auto; }
.brand-foot img { width: 168px; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--accent); letter-spacing: -.02em; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; }
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; position: relative; transition: transform .2s; }
.menu-btn .bars::before { position: absolute; top: -6px; }
.menu-btn .bars::after { position: absolute; top: 6px; }

.nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); display: none; flex-direction: column; padding: 8px var(--gutter) 16px; }
.nav.open { display: flex; }
.nav a { text-decoration: none; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.nav a:last-child { border-bottom: 0; }

/* ---------- Hero (banner de ancho completo) ----------
   Base = celular/tablet: la foto va arriba con el título encima (degradado superior)
   y la bajada + botón quedan en un bloque contiguo, para no tapar la comida.
   Desde 1100 px todo se superpone a la foto, en la zona superior izquierda. */
.hero { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; background: var(--cream); }
.hero-media {
  grid-area: 1 / 1; position: relative; overflow: hidden; background: linear-gradient(135deg, #003A00, #004D00);
  height: clamp(380px, 58vh, 560px); height: clamp(380px, 58svh, 560px);
}
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,22,5,.74) 0%, rgba(5,22,5,.46) 26%, rgba(5,22,5,0) 50%); }
.hero-media .slot-ph { position: absolute; right: 16px; bottom: 16px; z-index: 3; min-height: 0; height: auto; max-width: 300px; padding: 12px; }

.hero-title { grid-area: 1 / 1; z-index: 2; align-self: start; padding: 22px var(--gutter) 0; color: #fff; }
.hero h1 { color: #fff; font-size: clamp(1.85rem, 7.6vw, 2.6rem); margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.4); text-wrap: balance; }
.hero h1 .l1, .hero h1 .l2 { display: inline; }
.hero h1 .l2 { color: #B9F0A0; }

.hero-sub { grid-area: 2 / 1; position: relative; z-index: 2; padding: 24px var(--gutter) 44px; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 44ch; margin-bottom: 1.4em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.cta-row .btn { width: 100%; }
.hero-note { margin: 16px 0 0; font-size: .9375rem; color: var(--ink-soft); }
.hero.no-hero .hero-media { height: auto; min-height: 340px; }

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--cream-2); }
.section-warm { background: var(--warm); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section h2 { font-size: clamp(1.75rem, 5.5vw, 2.6rem); }
.section-lead { font-size: 1.125rem; color: var(--ink-soft); }
.center .section-head, .center .section-lead { margin-inline: auto; }

.cards { display: grid; gap: 16px; }
.cards + .cards { margin-top: 16px; }
.cards .card > p:last-child { margin-bottom: 0; }
.scope { max-width: 760px; margin: 0 0 32px; padding-left: 20px; border-left: 4px solid var(--leaf); font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 3.4vw, 1.5rem); line-height: 1.35; color: var(--accent-dark); }
.cards-note { margin: 16px 0 24px; font-weight: 700; color: var(--accent-dark); }
.subhead { margin: 48px 0 20px; font-size: clamp(1.5rem, 4.4vw, 2rem); color: var(--accent-dark); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.35rem; color: var(--accent-dark); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); transform: rotate(-45deg) translateY(-30%); }

/* Planes */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); align-items: stretch; }
.plans[data-count="1"] { max-width: 620px; margin-inline: auto; }
.plans[data-count="2"] { max-width: 820px; margin-inline: auto; }
.plan h3 { font-size: 1.5rem; }
.plan > p { color: var(--ink); font-size: 1.2rem; font-weight: 600; line-height: 1.4; margin-bottom: 0; }
.plan .ticks { margin-top: 16px; }
.plan-featured { border: 2px solid var(--accent); }
.plan-empty { font-size: .9375rem; }

/* Sobre nuestro producto: texto + composición de doce viandas, sin tarjetas */
.product { display: grid; gap: 28px; margin-top: 44px; align-items: center; }
.product .subhead { margin: 0 0 18px; }
.ticks-lg { gap: 16px; font-size: 1.1rem; line-height: 1.55; }
.ticks-lg li { padding-left: 34px; }
.ticks-lg li::before { top: .55em; }
.product-media { margin: 0; }
/* El fondo de la foto está llevado a blanco: con multiply toma el color de la sección */
.product-media img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.app-fig img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 22px rgba(60,38,18,.16)); }

/* App y recorrido: mockups grandes + pasos livianos, en dos bloques alternados */
.app-flow { display: grid; gap: 48px; }
.app-block { display: grid; gap: 20px; align-items: center; }
.app-fig { margin: 0 auto; }
.app-fig-main { width: min(100%, 440px); }
.app-fig-support { width: min(64%, 270px); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.flow li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.flow-n { font: 700 2.6rem/1 var(--font-head); color: var(--leaf); min-width: 1.1em; }
.flow h3 { font-size: 1.35rem; margin: 0 0 .3em; }
.flow p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* Pasos */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 16px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 1.2rem var(--font-head); margin-bottom: 12px; }
.steps h3 { font-size: 1.3rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Conocé */
.about { display: grid; gap: 28px; align-items: center; }
.about-copy .tagline { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--accent-dark); margin-top: 1.2em; }
.about-media { display: grid; gap: 12px; }
.about-media img { width: 100%; max-width: 520px; margin-inline: auto; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 4%; box-shadow: var(--shadow); }
.about-media:empty { display: none; }

/* Lo que nos mueve (propósito, misión, valores) */
.moves { margin-top: 56px; }
.moves .subhead { margin-top: 0; }
.moves-grid { display: grid; gap: 16px; }
.moves .card h4 { margin: 0 0 .6em; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.15; color: var(--accent-dark); }
.moves .card p:last-child { margin-bottom: 0; }
.moves .ticks strong { color: var(--accent-dark); }

/* Confianza */
/* Logos: siempre en una sola fila y del mismo tamaño. Si no entran, se deslizan solos (clase .marquee). */
.logos { --logo-gap: 12px; margin-bottom: 32px; }
.logos:last-child { margin-bottom: 0; }
.logos-track { position: relative; display: flex; flex-wrap: nowrap; width: max-content; }
.logo-tile { flex: none; width: 168px; display: grid; place-items: center; height: 104px; padding: 16px 20px; margin-right: var(--logo-gap); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.logos.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
.logos.marquee .logos-track { animation: logos-scroll var(--dur, 30s) linear infinite; will-change: transform; }
.logos.marquee:hover .logos-track { animation-play-state: paused; }
.logos.swipe { overflow-x: auto; padding-bottom: 10px; }
@keyframes logos-scroll { to { transform: translateX(calc(var(--set-w) * -1)); } }
.logo-tile.dark { background: #2D2C32; border-color: #2D2C32; }
.logo-tile img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.quotes { display: grid; gap: 16px; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.quote p { font-family: var(--font-head); font-size: 1.2rem; }
.quote footer { color: var(--ink-soft); font-size: .9375rem; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 56px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--ink-soft); }

/* Contacto */
.contact { background: var(--ink); color: #fff; }
.contact .section-lead { color: #E9DDCD; }
.contact-data { margin: 32px 0 0; display: grid; gap: 4px; justify-items: center; }
.contact-data p { margin: 0; }
.contact-data [hidden] { display: none; }
.contact-label { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #BFE8A8; }
.contact-data .phone { font-size: 1.5rem; font-family: var(--font-head); }
.contact-data a { color: #fff; font-weight: 600; font-size: 1.125rem; text-underline-offset: 4px; padding: 6px 2px; display: inline-block; }
.contact-data p + p { margin-top: 12px; }

/* Footer */
.site-footer { background: #1d1610; color: #E9DDCD; padding: 36px 0 96px; }
.foot-in { display: grid; gap: 8px; }
.site-footer .brand-text { color: #fff; }
.site-footer p { margin: 0; }
.site-footer .small { font-size: .875rem; opacity: .75; }

/* WhatsApp flotante (discreto, no tapa contenido: el footer tiene aire inferior) */
.wa-float { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: opacity .2s, transform .2s; }
.wa-float .ico { width: 28px; height: 28px; fill: currentColor; }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(.85); }
.wa-float.is-pending { display: none; }

/* ---------- Vista previa: pendientes ---------- */
.preview-bar { background: #FFF3C4; color: #4a3b00; border-bottom: 2px solid #E9C100; font-size: .875rem; padding: 8px var(--gutter); }
.preview-bar summary { cursor: pointer; font-weight: 700; }
.preview-bar ul { margin: 8px 0 4px; padding-left: 20px; }
.pending-box { outline: 2px dashed #E9C100; outline-offset: 4px; background-image: repeating-linear-gradient(45deg, rgba(233,193,0,.10) 0 10px, transparent 10px 20px); position: relative; }
.pending-tag { display: inline-block; background: #E9C100; color: #3a2e00; font: 700 .7rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; margin: 6px; }
.pending-note { margin-top: 10px; font-size: .875rem; color: #4a3b00; background: #FFF8DB; border: 2px dashed #E9C100; border-radius: 12px; padding: 8px 10px; }
.slot-ph { min-height: 200px; height: 100%; display: grid; place-content: center; text-align: center; padding: 20px; font-size: .9375rem; color: #4a3b00; background: #FFF8DB; border: 2px dashed #E9C100; border-radius: var(--radius); }

/* ---------- Animaciones sutiles ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .wa-float { transition: none; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .cta-row .btn { width: auto; }
  .brand img { width: 156px; }
  .brand-foot img { width: 180px; }
  .hero h1 .l2 { display: block; }
  .hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.2rem); }
  .hero-media { height: clamp(440px, 58vw, 640px); }
  .hero-media img { object-position: 50% 92%; }
  .hero-title { padding-top: 32px; }
  .hero-sub { padding-bottom: 56px; }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .strip-label { display: inline; }
  .strip-in { gap: 2px 28px; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .logos { --logo-gap: 16px; }
  .section { padding: 72px 0; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
  :root { --header-h: 72px; }
  .menu-btn { display: none; }
  .nav { position: static; display: flex; flex-direction: row; gap: 28px; padding: 0; background: none; border: 0; }
  .nav a { padding: 8px 2px; border: 0; font-size: .975rem; }
  .nav a:hover { color: var(--accent-dark); }
  .header-in { gap: 24px; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .logo-tile { width: 164px; height: 120px; }
  .moves-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .product { grid-template-columns: minmax(280px, .62fr) 1.38fr; gap: 56px; margin-top: 56px; }
  .app-flow { gap: 40px; }
  .app-block { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .app-block-rev { grid-template-columns: 1fr 1.05fr; }
  .app-block-rev .app-fig { order: 2; }
  .app-fig-main { width: 100%; max-width: 470px; }
  .app-fig-support { width: 100%; max-width: 280px; }
  .about { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .about.no-media { grid-template-columns: 1fr; max-width: 760px; }
  .section { padding: 96px 0; }
}

/* ---------- Hero superpuesto sobre la foto (escritorio) ----------
   Los textos van arriba a la izquierda: ahí hay mesa, servilleta y un plato, no el plato principal. */
@media (min-width: 1100px) {
  .hero { grid-template-rows: auto auto 1fr; }
  .hero-media { grid-area: 1 / 1 / -1 / 2; height: clamp(560px, 52vw, 900px); }
  .hero-media img { object-position: 50% 85%; }
  .hero-media::after {
    background:
      radial-gradient(ellipse 62% 74% at 0% 0%, rgba(5,22,5,.84) 0%, rgba(5,22,5,.6) 50%, rgba(5,22,5,0) 100%),
      linear-gradient(90deg, rgba(5,22,5,.55) 0%, rgba(5,22,5,0) 32%);
  }
  .hero.no-hero .hero-media { height: auto; min-height: 460px; }

  .hero-title { grid-area: 1 / 1; align-self: end; padding: clamp(40px, 5vw, 72px) 0 0 clamp(28px, 6vw, 120px); max-width: 62%; }
  .hero h1 { font-size: clamp(2.6rem, 3.9vw, 3.7rem); }
  .hero-sub { grid-area: 2 / 1; align-self: start; background: none; padding: 18px 0 0 clamp(28px, 6vw, 120px); }
  .lead { color: rgba(255,255,255,.95); text-shadow: 0 1px 12px rgba(0,0,0,.45); max-width: 31em; font-size: 1.125rem; }
  .hero-sub .btn-wa { background: #fff; color: var(--green); box-shadow: 0 8px 22px rgba(0,0,0,.28); }
  .hero-sub .btn-wa:hover { background: #F0F7EC; }
  .hero-sub .link-arrow { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
  .hero-note { color: rgba(255,255,255,.88); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
  .cta-row .btn { width: auto; }
}
@media (min-width: 1600px) {
  .hero-media img { object-position: 50% 85%; }
}
