:root {
  --bg: #FBFAF6; --crema: #F4ECDE; --surface: #fff; --ink: #1D2A23; --ink-2: #4A564F; --muted: #7C857F; --line: #ECE9E0;
  --olive: #4D6B3C; --olive-dark: #2F4A2A; --leaf: #E6EDDC; --leaf-2: #F2F5EC; --lemon: #EFC94C; --lemon-soft: #FBF1CC; --rose: #C2614F;
  --shadow: 0 1px 2px rgba(29,42,35,.04), 0 12px 32px rgba(29,42,35,.08);
  --display: "Bricolage Grotesque", system-ui, sans-serif; --body: "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--olive); }
.contenedor { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 750; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 650; }
.sub { color: var(--ink-2); font-size: 19px; max-width: 620px; }
.boton { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 15px 26px; background: var(--olive); color: #fff; font-weight: 700; text-decoration: none; transition: transform .15s; }
.boton:hover { transform: translateY(-1px); }
.boton.claro { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Cabecera */
header { position: sticky; top: 0; z-index: 10; background: rgba(251,250,246,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header .contenedor { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 24px; }
.marca img { width: 40px; height: 40px; border-radius: 10px; }
.marca .yo { color: var(--olive-dark); } .marca .cocino { color: #E8B21F; }
nav.menu { display: flex; gap: 22px; align-items: center; }
nav.menu a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.menu a.boton { color: #fff; padding: 10px 18px; }

/* Portada */
.portada { padding: 64px 0 80px; }
.portada .contenedor { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.portada h1 em { font-style: normal; color: var(--olive); }
.portada .acciones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.portada .nota { color: var(--muted); font-size: 14px; margin-top: 14px; }
.movil { justify-self: center; width: 300px; background: var(--ink); border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px rgba(29,42,35,.25); }
.pantalla { background: var(--bg); border-radius: 34px; overflow: hidden; padding: 22px 16px; display: grid; gap: 12px; }
.pantalla .hola { font-family: var(--display); font-weight: 700; font-size: 22px; }
.pantalla .muted { color: var(--muted); font-size: 13px; margin-top: -8px; }
.tarjeta-plato { background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.tarjeta-plato .foto { height: 150px; background: linear-gradient(135deg, var(--leaf), var(--lemon-soft)); display: grid; place-items: center; font-size: 64px; }
.tarjeta-plato .cuerpo { padding: 12px 14px 14px; }
.tarjeta-plato .cuando { color: var(--olive); font-weight: 700; font-size: 12px; }
.tarjeta-plato .nombre { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 2px 0 10px; }
.tarjeta-plato .botones { display: flex; gap: 6px; }
.tarjeta-plato .botones span { flex: 1; text-align: center; border-radius: 99px; padding: 8px; font-size: 12px; font-weight: 700; background: var(--olive); color: #fff; }
.tarjeta-plato .botones span + span { flex: 0 0 auto; background: var(--leaf); color: var(--olive-dark); padding: 8px 12px; }
.mini-comida { display: flex; gap: 10px; align-items: center; background: var(--surface); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); font-size: 13px; }
.mini-comida i { font-style: normal; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--lemon-soft); font-size: 18px; }
.mini-comida b { display: block; font-size: 14px; }

/* Secciones */
section { padding: 80px 0; }
section.crema { background: var(--crema); }
.titulo { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.titulo p { color: var(--ink-2); font-size: 19px; margin: 14px 0 0; }
.rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.funcion { background: var(--surface); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.funcion .icono { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--leaf); margin-bottom: 16px; }
.funcion p { color: var(--ink-2); margin: 8px 0 0; font-size: 16px; }
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: paso; }
.paso { position: relative; padding: 28px 26px 26px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); }
.paso::before { counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--olive); color: #fff; font-family: var(--display); font-weight: 800; margin-bottom: 14px; }
.paso p { color: var(--ink-2); margin: 8px 0 0; font-size: 16px; }
.seguridad { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.seguridad ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.seguridad li { background: var(--surface); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; }
.seguridad li span { font-size: 22px; }

/* Precios */
.precios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.plan.destacado { background: var(--olive-dark); color: #fff; transform: scale(1.03); }
.plan.destacado p, .plan.destacado li { color: rgba(255,255,255,.85); }
.plan .precio { font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -.03em; }
.plan .precio small { font-size: 16px; font-weight: 600; opacity: .8; }
.plan ul { padding-left: 18px; margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }
.plan .etiqueta { align-self: flex-start; background: var(--lemon); color: var(--ink); border-radius: 99px; padding: 3px 12px; font-size: 13px; font-weight: 800; }

/* Preguntas */
.preguntas { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--surface); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--olive); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--ink-2); margin: 10px 0 0; }

/* Contacto y pie */
.contacto { text-align: center; }
.contacto .correo { font-family: var(--display); font-size: clamp(26px, 4vw, 38px); font-weight: 700; text-decoration: none; color: var(--olive-dark); }
footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 40px 0; font-size: 15px; }
footer .contenedor { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #fff; text-decoration: none; margin-right: 18px; }

/* Páginas legales */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: 40px; margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.pendiente { background: var(--lemon-soft); border-radius: 6px; padding: 0 4px; }

@media (max-width: 900px) {
  .portada .contenedor, .seguridad { grid-template-columns: 1fr; }
  .rejilla, .pasos, .precios { grid-template-columns: 1fr; }
  .plan.destacado { transform: none; }
  nav.menu a:not(.boton) { display: none; }
  section { padding: 60px 0; }
}
