/* Jardinería — estilo compartido */
:root {
  --verde-900: #12291a;
  --verde-800: #1a3a24;
  --verde-600: #2e6b3f;
  --verde-500: #3d8b52;
  --verde-100: #e8f3ea;
  --crema: #faf8f2;
  --tierra: #b98a4e;
  --ink: #1d2b22;
  --muted: #5c6e61;
  --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--crema);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== Navegación ===== */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,242,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-weight: 800; font-size: 1.15rem; text-decoration: none;
  color: var(--verde-800); display: flex; align-items: center; gap: 9px;
  letter-spacing: -.01em;
}
.logo svg { width: 26px; height: 26px; }
nav.menu { display: flex; gap: 4px; flex-wrap: wrap; }
nav.menu a {
  text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--muted);
  padding: 8px 13px; border-radius: 999px; transition: all .2s;
}
nav.menu a:hover, nav.menu a[aria-current="page"] { background: var(--verde-100); color: var(--verde-800); }
.nav-cta {
  text-decoration: none; background: var(--verde-600); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  transition: background .2s, transform .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--verde-500); transform: translateY(-1px); }

/* ===== Hero portada ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 90% at 15% 10%, rgba(61,139,82,.35), transparent 55%),
    radial-gradient(70% 80% at 90% 20%, rgba(185,138,78,.22), transparent 60%),
    linear-gradient(175deg, var(--verde-900) 0%, var(--verde-800) 60%, #234a2f 100%);
  color: #f2f7f0;
  text-align: center;
  padding: clamp(70px, 12vw, 130px) 20px clamp(90px, 14vw, 150px);
}
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  max-width: 800px; margin: 0 auto 18px;
}
.hero h1 em { font-style: normal; color: #a8e6b6; }
.hero p.sub {
  font-size: clamp(1.02rem, 2.2vw, 1.25rem); color: #c4d6c6;
  max-width: 640px; margin: 0 auto 34px;
}
.hero .badge {
  display: inline-block; margin-bottom: 22px; padding: 7px 16px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); font-size: .85rem; letter-spacing: .05em;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 1rem; transition: transform .2s, box-shadow .2s;
}
.btn-wa { background: #22c15e; color: #fff; box-shadow: 0 10px 30px -8px rgba(34,193,94,.55); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(34,193,94,.65); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.hero .ola { position: absolute; bottom: -1px; left: 0; right: 0; }
.hero .ola svg { display: block; width: 100%; height: 70px; }

/* ===== Secciones ===== */
section.bloque { max-width: 1100px; margin: 0 auto; padding: clamp(50px, 8vw, 90px) 20px; }
.bloque h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.02em;
  color: var(--verde-800); margin-bottom: 10px;
}
.bloque p.intro { color: var(--muted); max-width: 640px; margin-bottom: 40px; font-size: 1.05rem; }

/* Tarjetas de servicios */
.grid-servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink);
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 2px 10px rgba(20,50,30,.05);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -12px rgba(20,50,30,.22); }
.card .thumb { aspect-ratio: 16/10; display: grid; place-items: center; position: relative; }
.card .thumb svg { width: 64px; height: 64px; }
.card .cuerpo { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.15rem; font-weight: 800; color: var(--verde-800); margin-bottom: 8px; }
.card p { font-size: .93rem; color: var(--muted); flex: 1; }
.card .mas { margin-top: 14px; font-weight: 700; font-size: .9rem; color: var(--verde-600); }
.card:hover .mas { text-decoration: underline; }

/* Página de servicio */
.hero-servicio {
  background: linear-gradient(170deg, var(--verde-900), var(--verde-800));
  color: #f2f7f0; padding: clamp(50px, 8vw, 80px) 20px;
}
.hero-servicio .inner { max-width: 1100px; margin: 0 auto; }
.hero-servicio .miga { font-size: .85rem; color: #9db8a0; margin-bottom: 14px; }
.hero-servicio .miga a { color: #a8e6b6; text-decoration: none; }
.hero-servicio h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; max-width: 720px; }
.hero-servicio p.sub { color: #c4d6c6; max-width: 620px; margin-top: 14px; font-size: 1.08rem; }

.dos-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
@media (max-width: 800px) { .dos-col { grid-template-columns: 1fr; } }
.prosa h2 { font-size: 1.45rem; color: var(--verde-800); margin: 28px 0 10px; }
.prosa h2:first-child { margin-top: 0; }
.prosa p, .prosa li { color: #40534a; margin-bottom: 10px; }
.prosa ul { padding-left: 22px; }
.prosa strong { color: var(--verde-800); }

/* Galería (placeholders hasta tener fotos reales) */
.galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: sticky; top: 90px; }
.galeria .foto {
  aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 600;
  text-align: center; padding: 10px;
}
.galeria .foto:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }

/* CTA final */
.cta-final {
  background: linear-gradient(170deg, var(--verde-800), var(--verde-900));
  border-radius: 24px; color: #fff; text-align: center;
  padding: clamp(40px, 7vw, 70px) 24px; margin: 0 20px;
}
.cta-final .inner { max-width: 1100px; margin: 0 auto; }
.cta-final h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.cta-final p { color: #c4d6c6; margin-bottom: 28px; }

/* Footer */
footer.pie {
  max-width: 1100px; margin: 0 auto; padding: 40px 20px 50px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: .88rem;
}
footer.pie nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.pie a { color: var(--muted); text-decoration: none; }
footer.pie a:hover { color: var(--verde-800); }

/* Botón flotante WhatsApp */
.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #22c15e; display: grid; place-items: center;
  box-shadow: 0 10px 28px -6px rgba(34,193,94,.6);
  transition: transform .2s;
}
.wa-flotante:hover { transform: scale(1.08); }
.wa-flotante svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 640px) {
  nav.menu { display: none; }
}
