/* Creando Jardines — estilos de landing, app y páginas legales. Paleta provisoria. */
:root {
  --text: #1f2a24; --bg: #fbfcfa; --accent: #2f5d46; --accent-soft: #5f8f75;
  --muted: #5b675f; --border: #e2e8e2; --tint: #eef4ee; --btn-text: #fff;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 1.02rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 680px; padding-top: 2rem; padding-bottom: 3rem; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.topbar a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .92rem; }
.topbar .brand { color: var(--accent); font-weight: 600; font-size: 1.1rem; }
.topbar nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.2; color: var(--accent); font-weight: 600; margin: 0 0 .75rem; }
h2 { font-size: 1.4rem; color: var(--accent); font-weight: 600; margin-top: 2.25rem; }
h3 { font-size: 1.05rem; color: var(--accent); }
.lead { color: var(--muted); font-size: 1.12rem; }
.btn { display: inline-block; background: var(--accent); color: var(--btn-text); padding: .7rem 1.4rem; border: 0;
  border-radius: 999px; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-soft); }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.hero { display: grid; gap: 2rem; align-items: center; padding: 3rem 1.25rem; }
@media (min-width: 800px) { .hero { grid-template-columns: 1.1fr .9fr; } }
.hero-img { background: var(--tint); border-radius: 18px; aspect-ratio: 4 / 5; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding: 0; list-style: none; }
.cards li { background: var(--tint); border-radius: 14px; padding: 1.25rem; }
.cards h3 { margin-top: 0; }
.steps { counter-reset: s; padding: 0; list-style: none; display: grid; gap: .9rem; }
.steps li { counter-increment: s; padding-left: 2.6rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.band { background: var(--tint); padding: 2.5rem 0; margin-top: 2.5rem; }
.footer { border-top: 1px solid var(--border); margin-top: 3rem; padding: 2rem 1.25rem; font-size: .88rem; color: var(--muted); }
.footer a { color: var(--muted); }
.footer .links { display: flex; gap: .4rem 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
/* App y formularios */
fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
legend { font-weight: 600; font-size: 1.15rem; color: var(--accent); margin-bottom: .75rem; }
label { display: block; margin-bottom: 1rem; font-weight: 500; }
input[type=text], input[type=email], input[type=tel], select, input[type=file] {
  display: block; width: 100%; margin-top: .3rem; padding: .65rem .8rem; font: inherit; border: 1px solid var(--border);
  border-radius: 10px; background: #fff; }
.check { font-weight: 400; display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; }
.check input { margin-top: .35rem; flex: none; }
.hint { color: var(--muted); font-size: .9rem; }
.error { color: #9b2c2c; }
.nav { display: flex; gap: .75rem; margin-top: 1.25rem; }
.progress { color: var(--muted); font-size: .88rem; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
/* Páginas legales */
.legal h2 { font-size: 1.15rem; margin-top: 1.75rem; }
.legal .draft { background: #fff7e0; border: 1px solid #e9d28a; border-radius: 10px; padding: .8rem 1rem; font-size: .9rem; }
.legal .todo { background: #fff7e0; padding: 0 .25rem; border-radius: 4px; }

.byline { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .92rem; margin-top: 1.25rem; }
.byline img { border-radius: 50%; object-fit: cover; width: 56px; height: 56px; }
.about { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 700px) { .about { grid-template-columns: 280px 1fr; } }
.about-photo { border-radius: 16px; width: 100%; height: auto; }
.cards li img { border-radius: 10px; margin-bottom: .75rem; width: 100%; height: auto; }
.hero-img img { aspect-ratio: 4 / 5; }
.byline img { aspect-ratio: 1; }
.topbar a.btn { color: #fff; }
.topbar a.btn:hover { color: #fff; }
