/* ============================================================
   Propuesta Farm Spray · Navegantes.ai
   Tema claro · acento único lima · base verde de marca
   ============================================================ */

:root {
  /* Marca */
  --bg:        #F4F6EF;   /* off-white cálido, leve verde */
  --bg-2:      #ECF0E4;
  --surface:   #FFFFFF;
  --ink:       #142318;   /* texto principal, verde-negro */
  --ink-soft:  #4C5B50;   /* texto secundario */
  --brand:     #14492E;   /* verde campo profundo (color primario) */
  --brand-2:   #2E7D4F;   /* verde medio */
  --lime:      #C7E94B;   /* acento único */
  --lime-soft: #E4F4A8;
  --line:      rgba(20, 73, 46, .14);
  --line-soft: rgba(20, 73, 46, .08);

  /* Sombras tingidas de verde */
  --shadow-sm: 0 2px 8px rgba(20, 73, 46, .06);
  --shadow-md: 0 18px 40px -18px rgba(20, 73, 46, .28);
  --shadow-lg: 0 40px 80px -30px rgba(20, 73, 46, .35);

  /* Radios (sistema único: cards 22, botones pill, chips pill) */
  --r-card: 22px;
  --r-pill: 999px;

  /* Tipografía */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 11vw, 140px); }
.section__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section__lead { margin-top: 18px; color: var(--ink-soft); font-size: 1.1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 16px;
}
.mark {
  position: relative;
  white-space: nowrap;
}
.mark::after {
  content: "";
  position: absolute;
  left: -.04em; right: -.04em; bottom: .08em;
  height: .34em;
  background: var(--lime);
  z-index: -1;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  animation: markIn .8s .6s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes markIn { to { transform: scaleX(1); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .25s, background .2s, color .2s;
  white-space: nowrap;
  line-height: 1;
}
.btn i { font-size: 1.15em; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; margin-top: 26px; }

.btn--primary { background: var(--brand); color: #F4FBF0; }
.btn--primary:hover { background: #0f3a24; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }

.btn--lime { background: var(--lime); color: var(--brand); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(199,233,75,.7); filter: brightness(1.04); }

.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); transform: translateY(-2px); }

.btn--ghost-dark { background: rgba(255,255,255,.06); color: #EAF6E6; border-color: rgba(255,255,255,.28); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  height: 72px;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav.is-scrolled {
  background: rgba(244,246,239,.82);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: .95rem; font-weight: 600; color: var(--ink-soft);
  position: relative; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--brand); transition: width .25s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 124px;
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(199,233,75,.20), transparent 60%),
    radial-gradient(55% 60% at 0% 100%, rgba(46,125,79,.12), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  margin: 6px 0 22px;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 30ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line);
}
.hero__facts li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.hero__facts i { color: var(--brand-2); font-size: 1.25rem; }

/* Visual del hero */
.hero__visual { position: relative; min-height: 440px; }
.hero__photo {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo2 {
  position: absolute;
  left: -38px; bottom: -34px;
  width: 58%;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid var(--surface);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
}
.hero__photo2 img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  top: -22px; right: -10px;
  background: var(--surface);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.hero__badge strong { display: block; font-family: var(--font-display); color: var(--brand); font-size: 1rem; }
.hero__badge span { font-size: .8rem; color: var(--ink-soft); }

/* Browser frame */
.browser {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.browser__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: #EEF1E8;
  border-bottom: 1px solid var(--line-soft);
}
.browser__dot { width: 10px; height: 10px; border-radius: 50%; background: #C6CFBC; }
.browser__url {
  margin-left: 12px; font-size: .76rem; color: var(--ink-soft);
  background: var(--surface); padding: 3px 12px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600;
}
.browser img { width: 100%; display: block; }

/* ============================================================
   DESAFÍO
   ============================================================ */
.desafio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.desafio__media { position: relative; }
.desafio__media img { border-radius: var(--r-card); box-shadow: var(--shadow-md); aspect-ratio: 5/4; object-fit: cover; }
.desafio__since {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(20,35,24,.78);
  backdrop-filter: blur(6px);
  color: #EAF6E6; font-weight: 600; font-size: .85rem;
  padding: 9px 16px; border-radius: var(--r-pill);
}
.desafio__text h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 22px; }
.desafio__text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 52ch; }
.checklist { margin-top: 26px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checklist i { color: var(--brand-2); font-size: 1.4rem; flex-shrink: 0; }

/* ============================================================
   BENTO (Lo que incluye)
   ============================================================ */
.incluye { background: var(--bg-2); }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}
.bento__cell {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 28px;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.bento__cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento__cell h3 { font-size: 1.3rem; margin-bottom: 8px; }
.bento__cell p { color: var(--ink-soft); font-size: .98rem; }
.bento__icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--bg-2); color: var(--brand);
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px;
}
.bento__cell--feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.bento__cell--feature h3 { font-size: 1.8rem; }
.bento__cell--feature p { font-size: 1.08rem; max-width: 46ch; }
.bento__inline { display: grid; gap: 12px; margin-top: 24px; }
.bento__inline-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: var(--bg-2); border-radius: 14px;
}
.bento__inline-item > i {
  font-size: 1.45rem; color: var(--brand); flex-shrink: 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--surface); border-radius: 11px;
}
.bento__inline-item strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.bento__inline-item span { font-size: .88rem; color: var(--ink-soft); }
.bento__art { margin-top: auto; padding-top: 26px; }
.bento__art-label {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 13px;
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  background: var(--bg-2); border: 1px solid var(--line-soft);
  padding: 8px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: .85rem; color: var(--brand);
}
.bento__cell--photo {
  grid-row: span 2; padding: 0; overflow: hidden; position: relative;
}
.bento__cell--photo img { width: 100%; height: 100%; object-fit: cover; }
.bento__photo-label {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(20,35,24,.8); backdrop-filter: blur(6px);
  color: #EAF6E6; font-weight: 600; font-size: .9rem;
  padding: 10px 16px; border-radius: 12px;
}
.bento__cell--lime { background: var(--lime-soft); border-color: transparent; }
.bento__cell--lime .bento__icon { background: var(--lime); color: var(--brand); }
.incluye__note {
  margin-top: 28px; display: flex; align-items: center; gap: 12px;
  color: var(--ink-soft); font-weight: 600;
}
.incluye__note i { color: var(--brand-2); font-size: 1.4rem; }

/* ============================================================
   BANDA PARALLAX
   ============================================================ */
.band {
  position: relative;
  min-height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  color: #F4FBF0;
}
.band__bg {
  position: absolute; inset: -12% 0;
  background: linear-gradient(rgba(15,40,25,.74), rgba(15,40,25,.74)), url('../assets/hero-campo.jpg') center/cover;
  will-change: transform;
}
.band__inner { position: relative; padding-block: 90px; }
.band__title { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.band__title .count { color: var(--lime); }
.band__sub { margin-top: 16px; font-size: 1.15rem; color: rgba(244,251,240,.85); }

/* ============================================================
   TRABAJOS (galería)
   ============================================================ */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { display: block; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.card .browser { box-shadow: var(--shadow-md); transition: box-shadow .3s; }
.card:hover { transform: translateY(-6px); }
.card:hover .browser { box-shadow: var(--shadow-lg); }
.card__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink);
}
.card__meta i { color: var(--brand-2); transition: transform .25s; }
.card:hover .card__meta i { transform: translate(3px, -3px); }

/* ============================================================
   PROCESO (timeline)
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; top: 9px; left: 4%; right: 4%; height: 2px;
  background: var(--line);
}
.timeline__step { position: relative; padding-top: 36px; }
.timeline__step::before {
  content: ""; position: absolute; top: 2px; left: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--brand-2);
}
.timeline__step--final::before { background: var(--lime); border-color: var(--brand); }
.timeline__day { font-family: var(--font-display); font-weight: 700; color: var(--brand-2); font-size: .9rem; }
.timeline__step h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.timeline__step p { color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   INVERSIÓN (pricing)
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.price {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 38px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.price .btn--block { margin-top: auto; }
.price__foot {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 600;
}
.price__foot i { font-size: 1.3rem; color: var(--brand-2); }
.price--main {
  background: var(--brand);
  color: #EAF6E6;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.price__head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.price--main .price__head { border-color: rgba(255,255,255,.18); }
.price__tag { font-family: var(--font-display); font-weight: 600; font-size: 1rem; opacity: .85; }
.price__amount { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 6px; }
.price__currency { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; opacity: .8; }
.price__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.03em; }
.price--main .price__value { color: #fff; }
.price__per { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; opacity: .8; }
.price__note { font-size: .92rem; opacity: .8; }
.price--main .price__tag,
.price--main .price__note { color: var(--lime); opacity: 1; }
.price__list { display: grid; gap: 13px; }
.price__list li { display: flex; align-items: center; gap: 12px; font-size: .98rem; }
.price__list i {
  font-size: 1rem; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime-soft); color: var(--brand);
}
.price--main .price__list i { background: rgba(199,233,75,.22); color: var(--lime); }

/* ============================================================
   POR QUÉ
   ============================================================ */
.porque__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 70px); }
.porque__text { position: sticky; top: 110px; align-self: start; }
.porque__text h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.porque__text p { color: var(--ink-soft); }
.porque__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.porque__seal {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-weight: 600; font-size: .95rem; max-width: 34ch;
}
.porque__seal i { font-size: 1.6rem; color: var(--brand-2); flex-shrink: 0; }
.porque__list { display: grid; gap: 14px; }
.porque__list li {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-card); padding: 24px 26px;
  transition: transform .25s, box-shadow .25s;
}
.porque__list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.porque__list i {
  font-size: 1.7rem; color: var(--brand); flex-shrink: 0;
  width: 50px; height: 50px; border-radius: 14px; background: var(--bg-2);
  display: grid; place-items: center;
}
.porque__list h3 { font-size: 1.2rem; margin-bottom: 5px; }
.porque__list p { color: var(--ink-soft); font-size: .96rem; }

/* ============================================================
   CTA + CONTACTO
   ============================================================ */
.cta {
  background: var(--brand);
  color: #EAF6E6;
  text-align: center;
  padding-block: clamp(80px, 11vw, 140px);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 70% at 50% 0%, rgba(199,233,75,.18), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 760px; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.cta h2 + p { color: rgba(234,246,230,.85); font-size: 1.15rem; max-width: 48ch; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.cta__fine { margin-top: 34px; font-size: .88rem; color: rgba(234,246,230,.6); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0E2417; color: #C9D6C7; padding-top: 64px; }
.footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand img { height: 26px; margin-bottom: 16px; }
.footer__brand p { max-width: 38ch; color: rgba(201,214,199,.7); font-size: .95rem; }
.footer__contact { display: grid; gap: 12px; align-content: start; }
.footer__contact a { display: flex; align-items: center; gap: 10px; font-weight: 600; transition: color .2s; }
.footer__contact a:hover { color: var(--lime); }
.footer__contact i { color: var(--lime); font-size: 1.25rem; }
.footer__base {
  max-width: var(--maxw); margin-inline: auto; padding: 22px 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .85rem; color: rgba(201,214,199,.55);
}

/* WhatsApp flotante */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center; font-size: 2rem;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .2s;
  cursor: pointer;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   ANIMACIÓN (reveal) — controlada por JS/GSAP
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin-top: 30px; }
  .desafio__grid { grid-template-columns: 1fr; }
  .porque__grid { grid-template-columns: 1fr; }
  .porque__text { position: static; }
  .pricing { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .nav__links { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__cell--feature { grid-column: span 2; grid-row: auto; }
  .bento__cell--photo { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .gallery { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
  .hero__photo2 { width: 66%; left: -10px; }
  .footer__base { flex-direction: column; }
}

@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--feature, .bento__cell--photo { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; }
  .hero__badge { right: 0; }
}

/* Print / PDF: forzar contenido visible */
@media print {
  .nav, .wa-float { position: static; }
  .wa-float { display: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__copy [data-reveal], .hero__visual { opacity: 1 !important; transform: none !important; }
  .timeline__step { opacity: 1 !important; transform: none !important; }
  .band, .cta, .price--main { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

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