/* EFO Food Service */
:root {
  --green-950: #062616;
  --green-900: #0b3320;
  --green-800: #0f4229;
  --green-700: #155a34;
  --lime: #8dc63f;
  --lime-600: #6fa82a;
  --cream: #f5f8f1;
  --ink: #1d2b22;
  --muted: #5a6b60;
  --line: #e2e9de;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(6, 38, 22, .08);
  --shadow-lg: 0 24px 60px rgba(6, 38, 22, .16);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
main { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; color: var(--green-900); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--green-950); padding: 8px 14px; z-index: 999; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--lime-600); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--lime); border-radius: 3px; }
.eyebrow--light { color: var(--lime); }

.ico { width: 18px; height: 18px; flex: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: .95rem; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--lime); color: var(--green-950); box-shadow: 0 8px 20px rgba(141, 198, 63, .35); }
.btn--primary:hover { background: #9ed34f; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--outline { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn--outline:hover { background: var(--green-800); color: #fff; }

/* Topbar */
.topbar { background: var(--green-950); color: rgba(255, 255, 255, .8); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__tag { margin: 0; letter-spacing: .04em; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__links a:hover { color: var(--lime); }
.topbar .ico { width: 15px; height: 15px; color: var(--lime); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(6, 38, 22, .08); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { font-family: var(--head); font-weight: 600; font-size: .92rem; color: var(--green-900); padding: 10px 14px; border-radius: 8px; position: relative; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--lime); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; padding: 11px 20px; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--cream); border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: max(640px, calc(100svh - var(--header-h) - 38px)); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--green-950); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 45%, rgba(6, 38, 22, .82), rgba(6, 38, 22, .35) 70%), linear-gradient(180deg, rgba(6, 38, 22, .25), rgba(6, 38, 22, .1) 50%, rgba(6, 38, 22, .9)); }
.hero__leaf { position: absolute; width: 90px; height: 90px; color: var(--lime); opacity: .9; stroke-width: 1.2; }
.hero__leaf--tl { top: 40px; left: 4%; transform: rotate(-20deg); }
.hero__content { position: relative; text-align: center; padding: 90px 0 150px; max-width: 900px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.6vw, 4.2rem); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: .45em; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero h1 span { color: var(--lime); }
.hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255, 255, 255, .9); max-width: 640px; margin: 0 auto 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero .eyebrow { justify-content: center; }
.hero .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--lime); border-radius: 3px; }
.hero__features { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(180deg, rgba(6, 38, 22, 0), rgba(6, 38, 22, .6)); }
.hero__features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feat { display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--head); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; padding: 0 12px; }
.feat + .feat { border-left: 1px solid rgba(141, 198, 63, .45); }
.feat__ico { width: 38px; height: 38px; color: var(--lime); flex: none; stroke-width: 1.5; }

/* Nosotros */
.about { background: linear-gradient(180deg, var(--cream), #fff); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about__media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 3px solid var(--lime); border-radius: 28px; z-index: -1; }
.about__badge { position: absolute; right: -20px; bottom: -28px; background: var(--green-900); color: #fff; padding: 22px 26px; border-radius: 18px; box-shadow: var(--shadow-lg); font-family: var(--head); text-transform: uppercase; line-height: 1.25; }
.about__badge small { display: block; font-size: .72rem; letter-spacing: .14em; color: rgba(255, 255, 255, .8); }
.about__badge strong { display: block; font-size: 1.25rem; color: var(--lime); margin: 4px 0; letter-spacing: .02em; }
.about__text p { color: var(--muted); }
.about__text p strong { color: var(--green-800); }
.pillars { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillars li { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.pillars__ico { width: 30px; height: 30px; color: var(--lime-600); }
.pillars strong { display: block; font-family: var(--head); font-size: .85rem; text-transform: uppercase; color: var(--green-900); letter-spacing: .04em; }
.pillars span { font-size: .85rem; color: var(--muted); }

/* Catálogo */
.catalog { background: #fff; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head .eyebrow { justify-content: center; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--lime); border-radius: 3px; }
.section__head p:last-child { color: var(--muted); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 3/2; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.07); }
.card__body { position: relative; padding: 38px 22px 24px; flex: 1; }
.card__ico { position: absolute; top: -28px; left: 22px; width: 56px; height: 56px; border-radius: 50%; background: var(--green-900); color: var(--lime); display: grid; place-items: center; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(6, 38, 22, .2); }
.card__ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .4em; }
.card p { font-size: .92rem; color: var(--muted); margin: 0; }
.catalog__cta { margin-top: 56px; padding: 28px 32px; border-radius: 20px; background: var(--cream); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border: 1px dashed #c9dbb8; }
.catalog__cta p { margin: 0; font-family: var(--head); font-weight: 700; color: var(--green-900); font-size: 1.1rem; }

/* Compromiso */
.commit { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--green-900); color: #fff; overflow: hidden; }
.commit__media { position: relative; min-height: 420px; }
.commit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.commit__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--green-900)); }
.commit__body { position: relative; padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 90px); }
.commit__leaf { position: absolute; top: 40px; right: 40px; width: 64px; height: 64px; color: var(--lime); opacity: .35; stroke-width: 1.2; }
.commit h2 { color: #fff; }
.commit p { color: rgba(255, 255, 255, .82); max-width: 560px; }
.commit__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 36px; }
.commit__grid div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 0 8px; }
.commit__grid div + div { border-left: 1px solid rgba(141, 198, 63, .35); }
.commit__grid svg { width: 40px; height: 40px; color: var(--lime); stroke-width: 1.4; }

/* Clientes */
.clients { background: var(--cream); }
.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.client { background: #fff; padding: 32px 26px; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--lime); }
.client svg { width: 44px; height: 44px; color: var(--lime-600); margin-bottom: 18px; stroke-width: 1.5; }
.client h3 { font-size: 1.1rem; }
.client p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Próximamente */
.soon { background: linear-gradient(90deg, rgba(6, 38, 22, .96) 30%, rgba(6, 38, 22, .78)), url("../img/contacto.webp") center / cover no-repeat, var(--green-950); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.soon::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(141, 198, 63, .22), transparent 70%); }
.soon__inner { display: flex; align-items: center; gap: 36px; position: relative; }
.soon__ico { flex: none; width: 110px; height: 80px; border: 3px solid #fff; border-radius: 10px; display: grid; place-items: center; position: relative; }
.soon__ico::after { content: ""; position: absolute; bottom: -12px; left: -14px; right: -14px; height: 9px; border: 3px solid #fff; border-radius: 0 0 8px 8px; }
.soon__ico svg { width: 44px; height: 44px; color: var(--lime); }
.soon__text { flex: 1; }
.soon h2 { color: #fff; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .3em; }
.soon p { margin: 0; color: rgba(255, 255, 255, .85); }
.script { font-family: "Caveat", cursive; font-size: 1.9rem; color: #fff; margin-left: 6px; display: inline-block; transform: rotate(-4deg); }

/* Contacto */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); }
.contact__ico { width: 50px; height: 50px; border-radius: 50%; background: var(--green-900); color: var(--lime); display: grid; place-items: center; flex: none; }
.contact__list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.contact__list div > a, .contact__list div > span { font-family: var(--head); font-weight: 700; color: var(--green-900); font-size: 1.02rem; word-break: break-word; }
.contact__list a:hover { color: var(--lime-600); }
.form { background: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-top: 5px solid var(--lime); }
.form h3 { font-size: 1.4rem; margin-bottom: 1em; }
.form label { display: block; font-size: .85rem; font-weight: 600; color: var(--green-900); margin-bottom: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; color: var(--ink); background: #fbfcfa; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--lime-600); box-shadow: 0 0 0 4px rgba(141, 198, 63, .2); background: #fff; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.form__error { color: #b42318; font-size: .9rem; margin: 0 0 12px; }
.map { margin-top: 64px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); height: 360px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.footer { background: var(--green-950); color: rgba(255, 255, 255, .75); padding-top: 72px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { width: 230px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--lime); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .82rem; text-align: center; color: rgba(255, 255, 255, .55); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 1000; -webkit-transform: translateZ(0); transform: translateZ(0); width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .25s; }
.wa-float:hover { transform: translateZ(0) scale(1.08); }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Animación al aparecer */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav a:not(.btn) { padding: 10px 9px; font-size: .88rem; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .burger { display: flex; }
  .nav { position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; height: calc(100dvh - var(--nav-top, var(--header-h))); z-index: 49; background: #fff; visibility: hidden; flex-direction: column; align-items: stretch; padding: 24px 20px; gap: 4px; transform: translateX(100%); transition: transform .35s ease, visibility .35s; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { font-size: 1.1rem; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin: 18px 0 0; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__badge { right: 12px; }
  .commit { grid-template-columns: 1fr; }
  .commit__media { min-height: 300px; }
  .commit__media::after { background: linear-gradient(180deg, transparent 50%, var(--green-900)); }
  .soon__inner { flex-direction: column; text-align: center; }
  .soon .eyebrow { justify-content: center; }
}

@media (max-width: 720px) {
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 16px; font-size: .78rem; }
  .hero { min-height: 0; }
  .hero__leaf { display: none; }
  .hero__content { padding: 64px 0 40px; }
  .hero__features { position: relative; background: rgba(6, 38, 22, .75); }
  .hero__features-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .feat { justify-content: flex-start; font-size: .74rem; gap: 10px; padding: 0 6px; }
  .feat + .feat { border-left: 0; }
  .feat__ico { width: 30px; height: 30px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li { flex-direction: row; align-items: center; }
  .commit__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .commit__grid div:nth-child(3) { border-left: 0; }
  .clients__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__actions .btn { width: 100%; }
  .catalog__cta { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { white-space: normal; text-align: center; }
}
