/* SAMY Semilla · página de presentación. Misma paleta y tipos que la app: bosque, pergamino, terracota, dorado. */
:root {
  --tinta: #1E2A22; --tinta-2: #2A3A2F; --tinta-3: #3B4F40;
  --crema: #F7F0DF; --crema-2: #E9DDBF;
  --terracota: #B8502F; --ambar: #E0A93B; --oliva: #8FB04A; --lino: #3F6F94;
  --texto-claro: #26332a; --silencio: #5a6657;
  --f-titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tinta); color: var(--crema); font-family: var(--f-texto); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
.ancho { width: min(var(--ancho), 100% - 40px); margin-inline: auto; }
.estrecho { width: min(760px, 100% - 40px); }
:focus-visible { outline: 3px solid var(--ambar); outline-offset: 3px; border-radius: 4px; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--ambar); color: var(--tinta); padding: .5em 1em; border-radius: 8px; z-index: 50; }
.saltar:focus { left: 8px; }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 20; background: rgba(30, 42, 34, .92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(247, 240, 223, .08); }
.fila-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.marca { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-titulo); font-weight: 800; font-size: 1.45rem; text-decoration: none; }
.marca svg { width: 2rem; height: 2rem; }
.marca i { font-style: normal; font-weight: 700; font-size: .55em; letter-spacing: .14em; color: var(--ambar); margin-right: .1em; }
.menu { display: flex; align-items: center; gap: 22px; font-weight: 500; }
.menu a { text-decoration: none; opacity: .9; }
.menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.menu .btn { opacity: 1; text-decoration: none; white-space: nowrap; }
.marca span { white-space: nowrap; }
@media (max-width: 420px) { .marca { font-size: 1.25rem; } .menu .btn { font-size: .92rem; padding: .4em .8em; min-height: 40px; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; border-radius: 12px; padding: .55em 1.1em; min-height: 44px; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.btn-ambar { background: var(--ambar); color: var(--tinta); }
.btn-terracota { background: var(--terracota); color: #fff; }
.btn-linea { background: transparent; border-color: rgba(247, 240, 223, .55); color: var(--crema); box-shadow: none; }
.btn-linea:hover { background: rgba(247, 240, 223, .1); }
.claro .btn-linea { border-color: var(--tinta-3); color: var(--tinta); }
.claro .btn-linea:hover { background: rgba(30, 42, 34, .07); }
.btn-grande { font-size: 1.08rem; padding: .7em 1.4em; min-height: 52px; }

/* Portada */
.portada-web { background: radial-gradient(circle at 12% 10%, rgba(224, 169, 59, .18), transparent 42%), radial-gradient(circle at 92% 88%, rgba(143, 176, 74, .16), transparent 45%), var(--tinta); padding-block: clamp(36px, 7vw, 88px) clamp(44px, 7vw, 96px); overflow: hidden; }
.portada-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.sobre { color: var(--ambar); font-weight: 600; letter-spacing: .04em; font-size: .95rem; margin-bottom: 14px; }
.portada-texto h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.01em; }
.portada-texto h1 em { font-style: normal; color: var(--ambar); }
.entrada { font-size: clamp(1.1rem, 2vw, 1.3rem); margin-top: 18px; max-width: 34em; color: var(--crema-2); }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cifras { margin-top: 20px; font-size: .95rem; color: var(--crema-2); opacity: .85; }
.collage { position: relative; min-height: 420px; }
.carta { position: absolute; margin: 0; width: 66%; background: var(--crema); color: var(--tinta); border-radius: 16px; padding: 8px 8px 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.carta img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.carta figcaption { font-family: var(--f-titulo); font-weight: 700; font-size: 1.05rem; padding: 8px 6px 0; }
.carta small { display: block; font-family: var(--f-texto); font-weight: 500; font-size: .82rem; color: var(--silencio); }
.c1 { left: 0; top: 0; transform: rotate(-4deg); z-index: 2; }
.c2 { right: 0; top: 70px; transform: rotate(3deg); z-index: 3; }
.c3 { left: 14%; bottom: 0; transform: rotate(-1.5deg); z-index: 1; }

/* Secciones */
section { padding-block: clamp(44px, 7vw, 88px); }
section[id] { scroll-margin-top: 56px; }
.claro { background: var(--crema); color: var(--texto-claro); }
.oscuro { background: var(--tinta-2); }
section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.lema { margin-top: 12px; max-width: 40em; font-size: 1.1rem; opacity: .85; }
.claro .lema { color: var(--silencio); opacity: 1; }
.pasos { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pasos li { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 6px 0 rgba(30, 42, 34, .1); }
.pasos h3 { font-size: 1.35rem; margin: 12px 0 8px; }
.pasos p { color: var(--silencio); }
.num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--terracota); color: #fff; font-family: var(--f-titulo); font-weight: 800; }
.nota { margin-top: 26px; font-size: 1.05rem; }
.temas { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.temas li { background: var(--tinta-3); border-radius: 99px; padding: .2em .9em; font-size: .92rem; font-weight: 500; }
.temas b { color: var(--ambar); font-weight: 700; }
.rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 28px; }
.tarjeta-web { background: var(--tinta); border-radius: 16px; padding: 12px 12px 16px; box-shadow: 0 6px 0 rgba(0, 0, 0, .25); display: flex; flex-direction: column; }
.tarjeta-web img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; background: var(--tinta-3); margin-bottom: 12px; }
.tarjeta-web h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tarjeta-web p { font-size: .93rem; color: var(--crema-2); opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tarjeta-web .cita { margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--ambar); }
.aparte { margin-top: 28px; }
.cuatro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.cuatro article { border-top: 4px solid var(--terracota); padding-top: 14px; }
.cuatro h3 { font-size: 1.25rem; margin-bottom: 8px; }
.cuatro p { color: var(--silencio); font-size: 1rem; }

/* Planes */
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; align-items: stretch; }
.plan { background: var(--tinta); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.plan.destacado { border: 3px solid var(--ambar); }
.plan h3 { font-size: 1.6rem; }
.etiqueta { color: var(--ambar); font-weight: 600; font-size: .95rem; }
.plan ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; align-content: start; flex: 1; color: var(--crema-2); }
.plan .btn { align-self: flex-start; }

/* Formulario */
.formulario { margin-top: 28px; background: #fff; border-radius: 20px; padding: clamp(18px, 4vw, 32px); box-shadow: 0 6px 0 rgba(30, 42, 34, .12); display: grid; gap: 16px; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: grid; gap: 6px; min-width: 0; }
.campo label { font-weight: 600; font-size: .95rem; }
input[type="text"], input[type="email"], input[type="number"], select, textarea { font: inherit; width: 100%; color: var(--tinta); background: var(--crema); border: 2px solid var(--crema-2); border-radius: 10px; padding: .6em .8em; min-height: 46px; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--terracota); outline: 3px solid rgba(184, 80, 47, .3); outline-offset: 0; }
.acepto { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--silencio); }
.acepto input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--terracota); }
.acepto a { color: var(--terracota); font-weight: 600; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { background: #fbe6df; border: 2px solid var(--terracota); color: #6a2410; border-radius: 10px; padding: .6em .9em; }
.gracias { background: #e9f2d6; border: 2px solid var(--oliva); color: #2f4116; border-radius: 10px; padding: .8em 1em; }
.gracias a { font-weight: 700; }
.formulario .btn { justify-self: start; }

/* Preguntas */
.faq { margin-top: 24px; display: grid; gap: 10px; }
details { background: var(--tinta); border-radius: 14px; padding: 4px 18px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ambar); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 16px; color: var(--crema-2); max-width: 60ch; }

/* Pie */
.pie { background: var(--tinta); border-top: 1px solid rgba(247, 240, 223, .1); padding-block: 26px; font-size: .95rem; }
.pie-fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pie a { opacity: .85; }
.pie a:hover { opacity: 1; }

/* Política de datos */
.texto-legal { background: var(--crema); color: var(--texto-claro); padding-block: 40px 72px; }
.texto-legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 8px; }
.texto-legal h2 { font-size: 1.4rem; margin: 30px 0 8px; }
.texto-legal p, .texto-legal li { max-width: 68ch; }
.texto-legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.texto-legal a { color: var(--terracota); font-weight: 600; }
.texto-legal .fecha { color: var(--silencio); }

/* Móvil */
@media (max-width: 900px) {
  .portada-grid { grid-template-columns: 1fr; }
  .collage { min-height: 360px; max-width: 460px; width: 100%; margin-inline: auto; }
  .pasos, .planes { grid-template-columns: 1fr; }
  .cuatro { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .menu a:not(.btn) { display: none; }
  .dos { grid-template-columns: 1fr; }
  .cuatro { grid-template-columns: 1fr; }
  .acciones .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
