/* Semillitas Buin — estilos de la landing. Referencia estructural: donosito.cl */
:root {
  --verde: #1C7F30;
  --verde-oscuro: #145C23;
  --naranja: #E7601F;
  --naranja-oscuro: #B84810;
  --amarillo: #F2C230;
  --amarillo-claro: #F8E38A;
  --tierra: #73321A;
  --crema: #FFF9EC;
  --blanco: #FFFFFF;
  --texto: #22302A;
  --texto-suave: #5A6A62;
  --radio: 14px;
  --ancho: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: 'Nunito', system-ui, sans-serif; color: var(--texto); background: var(--crema); line-height: 1.6; font-size: 17px; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 .4em; color: var(--verde-oscuro); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--verde); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--amarillo); padding: .5rem 1rem; border-radius: 8px; }
.saltar:focus { left: 8px; z-index: 10; }

/* Botones */
.boton { display: inline-block; background: var(--naranja); color: #fff; font-weight: 800; padding: .75rem 1.4rem; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; }
.boton:hover { background: var(--naranja-oscuro); }
.boton-claro { background: var(--blanco); color: var(--verde); border: 2px solid var(--verde); padding: .5rem 1.1rem; }
.boton-borde { background: transparent; color: var(--blanco); border: 2px solid rgba(255,255,255,.7); }
.boton-borde:hover { background: rgba(255,255,255,.12); }
.boton-whatsapp { background: #25D366; color: #fff; }
.boton-whatsapp:hover { background: #1fb858; }
.enlace { font-weight: 600; color: var(--verde-oscuro); }

/* Cabecera */
.cabecera { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: .8rem clamp(1rem, 4vw, 3rem); background: var(--blanco); border-bottom: 4px solid var(--amarillo); position: sticky; top: 0; z-index: 5; }
.marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--verde-oscuro); }
.marca-icono { width: 60px; height: auto; }
.marca span { display: flex; flex-direction: column; line-height: 1.05; }
.marca small { font-size: .72rem; font-weight: 600; color: var(--tierra); }
.marca strong { font-size: 1.35rem; font-weight: 800; }
.cabecera nav { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; align-items: center; }
.cabecera nav a { color: var(--texto); text-decoration: none; font-weight: 600; font-size: .95rem; }
.cabecera nav a:hover { color: var(--verde); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; max-width: var(--ancho); margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) 1rem 3rem; }
.hero-sobre { font-weight: 800; color: var(--naranja-oscuro); margin-bottom: .6rem; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); max-width: 14ch; }
.hero-bajada { font-size: 1.2rem; max-width: 42ch; color: var(--texto-suave); }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; margin-top: 1.4rem; }
.hero-figura { margin: 0; justify-self: center; width: 100%; max-width: 520px; }
.hero-figura img { width: 100%; height: auto; max-height: 440px; object-fit: cover; display: block; border-radius: var(--radio); box-shadow: 0 16px 40px rgba(20,92,35,.18); }
.hero-figura figcaption { font-size: .85rem; color: var(--texto-suave); margin-top: .5rem; text-align: center; }

/* Banda historia (azul de Don Osito → verde) */
.banda { background: var(--verde); color: var(--blanco); display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; padding: 2rem clamp(1rem, 4vw, 3rem); }
.banda h2 { color: var(--blanco); margin-bottom: .2em; font-size: 1.5rem; }
.banda p { margin: 0; max-width: 62ch; color: rgba(255,255,255,.9); }
.banda > div:nth-child(2) { flex: 1 1 420px; }
.banda-icono { width: 76px; height: 76px; border-radius: 50%; background: var(--blanco); display: grid; place-items: center; flex: none; }
.banda-icono svg { width: 44px; height: 44px; }

/* Secciones */
.seccion { max-width: var(--ancho); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1rem; }
.seccion-cabecera { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.seccion-cabecera p { color: var(--texto-suave); margin: 0; }
.seccion-cabecera h2::after { content: ''; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--amarillo); margin: .6rem auto 0; }
.seccion-patron { background: radial-gradient(circle at 1px 1px, rgba(28,127,48,.12) 1.5px, transparent 1.6px) 0 0 / 22px 22px, var(--crema); max-width: none; }
.seccion-patron > * { max-width: var(--ancho); margin-left: auto; margin-right: auto; }
.seccion-verde { background: var(--verde-oscuro); color: var(--blanco); max-width: none; }
.seccion-verde h2, .seccion-verde h3 { color: var(--blanco); }
.seccion-verde .seccion-cabecera p { color: rgba(255,255,255,.8); }
.seccion-verde > * { max-width: var(--ancho); margin-left: auto; margin-right: auto; }

/* Razones (círculos numerados, como Don Osito) */
.razones { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2.2rem 1.5rem; text-align: center; }
.razones li { position: relative; }
.razones h3 { font-size: 1.05rem; }
.razones p { color: var(--texto-suave); font-size: .95rem; margin: 0; }
.num { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .9rem; font-size: 1.5rem; font-weight: 800; color: var(--blanco); }
.num-verde { background: var(--verde); }
.num-amarillo { background: var(--naranja); color: #fff; }

/* Indicadores */
.indicadores { background: var(--amarillo); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; padding: 2.2rem clamp(1rem, 4vw, 3rem); text-align: center; }
.indicadores strong { display: block; font-size: 2.6rem; font-weight: 800; color: var(--naranja-oscuro); line-height: 1; }
.indicadores span { color: var(--tierra); font-weight: 600; }

/* Niveles */
.niveles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.niveles li { background: var(--blanco); border-top: 6px solid var(--naranja); border-radius: 0 0 var(--radio) var(--radio); padding: 1.2rem 1.3rem; }
.niveles li:nth-child(even) { border-top-color: var(--verde); }
.niveles h3 { margin-bottom: .1em; }
.edades { color: var(--naranja-oscuro); font-weight: 800; margin-bottom: .5em; }
.niveles p:last-child { margin: 0; color: var(--texto-suave); font-size: .95rem; }
.nota { text-align: center; margin-top: 2rem; font-weight: 600; }

/* Un día */
.dia { list-style: none; padding: 0; margin: 0; max-width: 720px; }
.dia li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.dia time { font-weight: 800; color: var(--amarillo); font-size: 1.1rem; }
.dia h3 { font-size: 1.05rem; margin-bottom: .15em; }
.dia p { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }

/* Documentos */
.documentos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .6rem 2rem; max-width: 820px; margin-inline: auto; }
.documentos li { padding-left: 1.8rem; position: relative; }
.documentos li::before, .lista-check li::before { content: ''; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--amarillo); background: linear-gradient(135deg, transparent 45%, var(--amarillo) 46%, var(--amarillo) 54%, transparent 55%); }
.documentos a { font-weight: 600; }

/* Contacto */
.contacto { background: var(--blanco); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: var(--ancho); margin: 3rem auto; padding: 2.5rem; border-radius: var(--radio); box-shadow: 0 10px 40px rgba(28,127,48,.10); }
.contacto-datos { margin-top: 1.5rem; color: var(--texto-suave); }
.formulario { display: grid; gap: .8rem; background: var(--crema); padding: 1.5rem; border-radius: var(--radio); }
.formulario h3 { margin: 0; }
.formulario label { display: grid; gap: .25rem; font-weight: 600; font-size: .9rem; }
.formulario input, .formulario textarea { font: inherit; padding: .6rem .8rem; border: 1px solid #cfd8d2; border-radius: 8px; background: var(--blanco); }
.formulario-nota { margin: 0; font-size: .85rem; color: var(--texto-suave); }

/* Pie (3 columnas, como Don Osito) */
.pie { background: var(--verde); color: rgba(255,255,255,.9); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; padding: 3rem clamp(1rem, 4vw, 3rem) 1.5rem; }
.pie h3 { color: var(--blanco); font-size: 1.05rem; margin-top: 1.2rem; }
.pie h3:first-child { margin-top: 0; }
.pie a { color: var(--amarillo-claro); }
.lista-check { list-style: none; padding: 0; margin: 0; }
.lista-check li { position: relative; padding-left: 1.6rem; margin-bottom: .35rem; font-size: .95rem; }
.pie-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.2); padding-top: 1rem; margin: 1rem 0 0; font-size: .85rem; text-align: center; }

/* Responsive */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero h1, .hero-bajada { margin-inline: auto; }
  .hero-acciones { justify-content: center; }
  .hero-figura { max-width: 100%; }
  .contacto { grid-template-columns: 1fr; padding: 1.5rem; margin-inline: 1rem; }
  .cabecera nav { width: 100%; justify-content: center; }
  .dia li { grid-template-columns: 4rem 1fr; }
}

/* Lema */
.lema { text-align: center; padding: 2.5rem 1rem 0; }
.lema p { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--verde-oscuro); margin: 0; }
.lema p::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--naranja); margin: .6rem auto 0; }
