/* Sitio web Terranova Jardinería — verdes del logo, blanco y gris oscuro; primero celular */
:root {
  --bg: #f6f7f4; --surface: #fff; --ink: #1f2420; --muted: #5f665f; --line: #e1e5de;
  --brand: #3f8a24; --brand-2: #4a9a2b; --brand-dark: #2b6118; --soft: #eaf4e5; --chrome: #333;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.sub { color: var(--muted); margin: 0 0 28px; font-size: 1.05rem; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--brand); transition: background .15s; white-space: nowrap; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.big { padding: 14px 24px; font-size: 1.05rem; }
.btn.small { padding: 8px 16px; font-size: .92rem; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.contacto .btn.ghost { color: var(--brand); border-color: var(--brand); }
.contacto .btn.ghost:hover { background: var(--soft); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.cta.center { justify-content: center; }

/* encabezado */
.top { position: sticky; top: 0; z-index: 20; background: var(--chrome); box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.top-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo img { height: 50px; width: auto; }
.menu { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.menu a { color: #eee; text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu a:hover { color: #9fdc7f; }
.menu .app-link { border: 1px solid rgba(255,255,255,.35); padding: 6px 12px; border-radius: 8px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
@media (max-width: 900px) {
  .burger { display: block; }
  .top .btn.small { margin-left: auto; }
  .menu { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--chrome); padding: 8px 20px 18px; transform: translateY(-120%); transition: transform .2s; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
  .menu a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .menu .app-link { margin-top: 10px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.35); }
  body.menu-open .menu { transform: none; }
}

/* portada */
.hero { color: #fff; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(159,220,127,.35), transparent 60%),
  linear-gradient(135deg, #2f6d1a 0%, #3f8a24 45%, #2b6118 100%); }
.hero-in { padding: 72px 20px 80px; max-width: 820px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; opacity: .85; margin: 0 0 10px; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 16px; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); opacity: .95; margin: 0; }
.hero .btn:not(.ghost) { background: #fff; color: var(--brand-dark); border-color: #fff; }
.hero .btn:not(.ghost):hover { background: #eaf4e5; }
.hero-note { margin: 14px 0 0; font-size: .9rem; opacity: .85; }

/* cifras */
.cifras { background: var(--surface); border-bottom: 1px solid var(--line); }
.cifras-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 28px 20px; text-align: center; }
.cifras b { display: block; font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--brand); line-height: 1.1; }
.cifras span { color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .cifras-in { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } }

/* secciones */
.sec { padding: 72px 0; }
.sec.alt { background: var(--surface); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--soft); color: var(--brand); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 12px; }
.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); }
.planes { margin-top: 26px; background: var(--chrome); color: #eee; border-radius: 14px; padding: 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.planes h3 { color: #fff; }
.planes p { margin: 0; max-width: 680px; }
.dos { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .dos { grid-template-columns: 1fr; gap: 24px; } }
.valores { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.valores li { background: var(--bg); border-left: 4px solid var(--brand); border-radius: 10px; padding: 14px 16px; }
.valores b { display: block; }
.valores span { color: var(--muted); }
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.galeria figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.galeria img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.galeria figcaption { padding: 10px 12px; font-size: .9rem; color: var(--muted); }
.pasos { list-style: none; counter-reset: p; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.pasos li { counter-increment: p; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; position: relative; }
.pasos li::before { content: counter(p); width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.pasos b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.pasos span { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--soft); color: var(--brand-dark); border-radius: 99px; padding: 6px 14px; font-weight: 600; font-size: .92rem; }
.datos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.datos li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.datos span { display: block; color: var(--muted); font-size: .85rem; }
.datos a { font-weight: 700; text-decoration: none; word-break: break-word; }

/* pie */
.pie { background: var(--chrome); color: #bbb; padding: 30px 0; }
.pie-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.pie p { margin: 0; font-size: .9rem; }
.pie img { height: 44px; width: auto; }
.app-pie { color: #9fdc7f; text-decoration: none; font-weight: 600; }

/* cifras de a tres */
.cifras-in.tres { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .cifras-in.tres { grid-template-columns: repeat(3, 1fr); } .cifras-in.tres span { font-size: .8rem; } }

/* planes */
.planes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; color: var(--brand-dark); }
.plan-sub { color: var(--muted); margin: 0 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.plan.destacado { background: var(--chrome); color: #eee; border-color: var(--chrome); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.plan.destacado h3 { color: #fff; }
.plan.destacado .plan-sub { color: #bbb; }
.plan.destacado li::before { color: #9fdc7f; }
.etiqueta { position: absolute; top: -12px; right: 18px; background: #9fdc7f; color: #1d3d10; font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; }
.btn.ghost-v { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn.ghost-v:hover { background: var(--soft); }