/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #ffffff;
  --bg-2:      #f3f9f2;
  --card:      #ffffff;
  --green:     #1f8a3d;
  --green-dark:#146629;
  --green-light: #e5f6e8;
  --promo:     #e8542e;
  --promo-light: #fdece6;
  --ink:       #20261e;
  --ink-soft:  #495245;
  --ink-mute:  #7c8577;
  --line:      rgba(32,38,30,0.1);
  --line-soft: rgba(32,38,30,0.06);
  --whatsapp:  #25d366;
  --whatsapp-dark: #1da851;
  --shadow:    rgba(20,60,30,0.14);

  --display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container: 1220px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; }
ul { list-style: none; padding: 0; }
::selection { background: var(--green); color: #fff; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--green); }

.section { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { max-width: 620px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: .5rem; color: var(--ink); }
.section-lede { color: var(--ink-soft); font-size: 1.02rem; margin-top: 1rem; max-width: 52ch; }
.section-head.center .section-lede { margin-inline: auto; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.8rem; border-radius: 14px;
  font-weight: 700; font-size: .95rem; font-family: var(--sans);
  transition: transform .35s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--whatsapp), var(--whatsapp-dark));
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(37,211,102,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(37,211,102,0.6); }
.btn-ghost {
  border: 1.5px solid var(--green);
  color: var(--green-dark);
  background: var(--green-light);
}
.btn-ghost:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: .65rem; }
.nav-logo {
  width: 42px; height: 42px; border-radius: 12px; background: var(--green);
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: 0 6px 16px -4px var(--shadow);
}
.nav-logo svg { width: 24px; height: 24px; }
.nav-brand-name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.nav-brand-name em { font-style: normal; color: var(--green); }
.nav-links { display: none; align-items: center; gap: 1.7rem; }
.nav-links a {
  position: relative; font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  padding-block: .3rem; transition: color .3s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--green); transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cta { display: none; }
.nav-burger {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.7);
}
.nav-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav.is-menu-open .nav-burger span { background: transparent; }
.nav.is-menu-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-menu-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(255,255,255,0.99);
  display: flex; flex-direction: column; gap: 0;
  padding: 1.5rem 1.25rem 2rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  padding: 1.05rem 0; font-size: 1.35rem; font-family: var(--display); font-weight: 700;
  border-bottom: 1px solid var(--line-soft); color: var(--ink);
}
.mobile-menu .btn { margin-top: 1.5rem; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .mobile-menu { display: none; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  padding-block: calc(var(--nav-h) + 2.5rem) 4rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
  overflow: clip;
}
.hero-blob {
  position: absolute; z-index: 0; inset: -10% -15% auto auto; width: 640px; height: 640px;
  background: var(--green-light);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  animation: blobMorph 20s ease-in-out infinite;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; transform: rotate(0deg); }
  50% { border-radius: 58% 42% 40% 60% / 55% 58% 42% 45%; transform: rotate(10deg); }
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.2rem); color: var(--ink); }
.hero-title em { font-style: normal; color: var(--green); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); margin-top: 1.1rem; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.hero-trust span {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700; color: var(--green-dark);
  background: var(--green-light); padding: .5rem 1rem; border-radius: 999px;
}
.hero-trust svg { width: 15px; height: 15px; }
.hero-visual { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/3.4; box-shadow: 0 30px 60px -20px var(--shadow); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-radius: 16px; padding: .8rem 1.1rem;
  display: flex; align-items: center; gap: .6rem;
  box-shadow: 0 12px 24px -10px var(--shadow);
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-light); }
.hero-badge span { font-size: .85rem; font-weight: 700; color: var(--ink); }

/* =============================================================
   7. Categorías
   ============================================================= */
.categorias { background: var(--card); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (min-width: 640px)  { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1/1;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -18px var(--shadow); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,38,20,0) 40%, rgba(15,30,16,0.82) 100%);
}
.cat-card-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.cat-card-label span { color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.02rem; }

/* =============================================================
   8. Promociones
   ============================================================= */
.promos { background: var(--bg-2); }
.promos-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 720px) { .promos-grid { grid-template-columns: repeat(3, 1fr); } }
.promo-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 1.8rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 20px 38px -18px var(--shadow); }
.promo-tag {
  display: inline-flex; align-items: center; font-family: var(--display); font-weight: 800;
  font-size: .8rem; letter-spacing: .04em; color: #fff; background: var(--promo);
  padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.promo-card h3 { font-size: 1.3rem; color: var(--ink); }
.promo-card p { color: var(--ink-mute); font-size: .9rem; margin-top: .5rem; }
.promos-note { text-align: center; margin-top: 2rem; color: var(--ink-mute); font-size: .85rem; font-style: italic; }

/* =============================================================
   9. Sobre nosotros
   ============================================================= */
.sobre-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .sobre-grid { grid-template-columns: .95fr 1.05fr; gap: 3.5rem; } }
.sobre-photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 30px 60px -22px var(--shadow); }
.sobre-photo img { width: 100%; height: 100%; object-fit: cover; }
.sobre-text p { color: var(--ink-soft); margin-top: 1.1rem; max-width: 56ch; }
.sobre-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 1.3rem; margin-top: 2rem; }
.sobre-pillar { border-top: 2px solid var(--green); padding-top: .9rem; }
.sobre-pillar strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: .25rem; }
.sobre-pillar span { color: var(--ink-mute); font-size: .85rem; }

/* =============================================================
   10. Horarios
   ============================================================= */
.horarios { background: var(--green-dark); color: #fff; }
.horarios .eyebrow { color: #cdeed6; }
.horarios .eyebrow::before { background: #cdeed6; }
.horarios .section-title { color: #fff; }
.horarios-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .horarios-grid { grid-template-columns: 1fr 1fr; } }
.horarios-list { display: flex; flex-direction: column; gap: .9rem; }
.horarios-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem; background: rgba(255,255,255,0.08); border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
}
.horarios-row strong { font-family: var(--display); font-weight: 600; }
.horarios-row span { color: #cdeed6; font-weight: 700; }
.horarios-visual {
  border-radius: 26px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  padding: 2.2rem; text-align: center;
}
.horarios-visual svg { width: 64px; height: 64px; margin-inline: auto; color: #cdeed6; }
.horarios-visual p { margin-top: 1rem; color: #e4f6e8; font-size: .95rem; max-width: 32ch; margin-inline: auto; }

/* =============================================================
   11. Ubicación
   ============================================================= */
.ubicacion-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 960px) { .ubicacion-grid { grid-template-columns: .85fr 1.15fr; gap: 3rem; } }
.ubicacion-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.ubicacion-row { display: flex; gap: 1rem; align-items: flex-start; }
.ubicacion-row svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: .15rem; }
.ubicacion-row h4 { font-family: var(--sans); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); margin-bottom: .3rem; }
.ubicacion-row p, .ubicacion-row a { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.map-frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--bg-2); }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* =============================================================
   12. Contacto
   ============================================================= */
.contacto { background: var(--card); text-align: center; }
.contacto-card {
  max-width: 640px; margin-inline: auto; background: var(--bg-2);
  border-radius: 30px; padding: clamp(2rem, 5vw, 3.2rem); border: 1px solid var(--line);
}
.contacto-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.contacto-social { display: flex; justify-content: center; gap: .8rem; margin-top: 1.8rem; }
.contacto-social a {
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  display: grid; place-items: center; background: var(--card);
  transition: all .3s var(--ease-out);
}
.contacto-social a:hover { border-color: var(--green); background: var(--green-light); transform: translateY(-2px); }
.contacto-social svg { width: 19px; height: 19px; color: var(--green-dark); }

/* =============================================================
   13. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 3rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.footer-brand span { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.footer-col p { color: var(--ink-mute); font-size: .92rem; max-width: 32ch; }
.footer-col h5 { font-family: var(--sans); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { color: var(--ink-soft); font-size: .92rem; }
.footer-col a:hover { color: var(--green-dark); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .8rem; color: var(--ink-mute);
}
.footer-bottom a { color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--green-dark); }

/* =============================================================
   14. Floating WhatsApp
   ============================================================= */
.float-whatsapp {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(180deg, var(--whatsapp), var(--whatsapp-dark));
  display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(0,0,0,0.3);
  animation: floatBob 3.4s ease-in-out infinite;
}
.float-whatsapp svg { width: 28px; height: 28px; color: #fff; }
@keyframes floatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* =============================================================
   15. Reveal
   ============================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   16. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
  .float-whatsapp { animation: none; }
}
