/*
 * Landing de Vaquero según Claude Design (docs/diseño/pantallas/marca/landing-escritorio.html y
 * landing-celular.html). Los valores salen de esas maquetas. Es una pieza de marca: tiene un solo modo
 * (verde, crema y blanco), igual que el splash. Las páginas de texto usan estilos.css.
 */
:root {
  --verde: #1f5a2c;
  --verde-presionado: #164520;
  --verde-suave: #e3eee4;
  --crema: #f4ebdd;
  --pasto: #9fd6a8;
  --arena: #f2f0ea;
  --cuero: #7a4a1e;
  --cuero-suave: #f1e4d3;
  --tinta: #111612;
  --texto-2: #3d4640;
  --borde: rgba(17, 22, 18, 0.16);
  --peligro: #a8321f;
  --exito-texto: #1f6e3a;
  --exito-suave: #ddf0e2;
  --lado: 20px;
  color-scheme: light;
}
@media (min-width: 720px) {
  :root {
    --lado: 48px;
  }
}
@media (min-width: 1200px) {
  :root {
    --lado: 96px;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #ffffff;
  color: var(--tinta);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 2px;
}
.heroe :focus-visible,
.cabecera :focus-visible,
.acceso :focus-visible,
.pie :focus-visible {
  outline-color: var(--crema);
}
.saltar {
  position: absolute;
  left: -999px;
}
.saltar:focus {
  left: 16px;
  top: 8px;
  z-index: 10;
  background: #ffffff;
  color: var(--tinta);
  padding: 8px 12px;
}
.resorte {
  flex-grow: 1;
}
svg.trazo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.trazo--grueso {
  width: 20px;
  height: 20px;
  stroke-width: 2.8;
}

/* Botones */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.boton[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.boton--chico {
  min-height: 48px;
  padding: 0 18px;
  font-size: 16px;
}
.boton--grande {
  min-height: 60px;
  padding: 0 26px;
  font-size: 19px;
}
.boton--ancho {
  width: 100%;
}
.boton--crema {
  background: var(--crema);
  border-color: var(--crema);
  color: var(--verde);
}
.boton--crema:active {
  background: #e6dac6;
}
.boton--contorno {
  border-color: rgba(244, 235, 221, 0.6);
  color: var(--crema);
  font-size: 17px;
  font-weight: 800;
}
.boton--verde {
  background: var(--verde);
  border-color: var(--verde);
  color: #ffffff;
}
.boton--verde:active {
  background: var(--verde-presionado);
}
.boton--borde {
  border-color: var(--verde);
  color: var(--verde);
  background: #ffffff;
}

/* Cabecera */
.cabecera {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px var(--lado);
  background: var(--verde);
  color: var(--crema);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--crema);
  text-decoration: none;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.logo .simbolo {
  width: 40px;
  height: 40px;
}
.cabecera__nav {
  display: none;
  gap: 24px;
}
.cabecera__nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--crema);
  font-weight: 700;
  text-decoration: none;
}
.cabecera__nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Héroe */
.heroe {
  background: var(--verde);
  color: var(--crema);
  padding: 32px var(--lado) 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
}
.heroe__texto {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 600px;
}
.sobretitulo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pasto);
}
h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.bajada {
  font-size: 19px;
  line-height: 1.45;
  opacity: 0.92;
}
.heroe__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.heroe__nota {
  font-size: 15px;
  opacity: 0.8;
}
.heroe__maqueta {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.heroe__pie {
  font-size: 13px;
  opacity: 0.7;
}

/* Maqueta del celular (el contenido viene de _maqueta.html con sus estilos en línea) */
.maqueta {
  position: relative;
  width: 330px;
  height: 632px;
  flex-shrink: 0;
  color: var(--tinta);
  user-select: none;
  pointer-events: none;
}
.maqueta__telefono {
  position: absolute;
  left: 30px;
  top: 0;
  transform: scale(0.9);
  transform-origin: 0 0;
}
.maqueta__burbuja {
  position: absolute;
  left: 0;
  top: 300px;
  width: 300px;
  background: #efe7da;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Cifras */
.cifras {
  background: var(--cuero-suave);
  padding: 40px var(--lado);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cifras h2 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 820px;
}
.grilla-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.cifra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 4px solid var(--cuero);
  padding-top: 14px;
}
.cifra__numero {
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cuero);
}
.cifra__texto {
  font-size: 18px;
  font-weight: 600;
}
.cifra__fuente {
  font-size: 14px;
  color: var(--texto-2);
}

/* Secciones */
.seccion {
  padding: 48px var(--lado);
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: #ffffff;
}
.seccion--arena {
  background: var(--arena);
  gap: 28px;
}
.titulo-grande {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.encabezado {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.encabezado p {
  font-size: 18px;
  color: var(--texto-2);
}
.tarjeta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 2px solid var(--borde);
  border-radius: 8px;
}
.tarjeta__icono {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: var(--verde-suave);
  color: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tarjeta__icono svg.trazo {
  width: 30px;
  height: 30px;
}
.tarjeta h3 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}
.tarjeta p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--texto-2);
}

/* Planes */
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  border: 2px solid var(--borde);
  background: #ffffff;
}
.plan--destacado {
  border: 4px solid var(--verde);
}
.plan h3 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}
.plan__limite {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--texto-2);
}
.plan__precio {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.plan__precio small {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--texto-2);
}
.plan ul {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.plan li svg {
  color: var(--verde);
  margin-top: 2px;
}
.nota {
  font-size: 15px;
  color: var(--texto-2);
}

/* Pedir acceso */
.acceso {
  padding: 48px var(--lado);
  background: var(--verde);
  color: var(--crema);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  scroll-margin-top: 8px;
}
.acceso__texto {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.acceso h2 {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.acceso__texto p {
  font-size: 19px;
  line-height: 1.5;
  opacity: 0.92;
}
.acceso__formulario,
.formulario {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.campos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
label {
  font-size: 15px;
  font-weight: 700;
}
input {
  width: 100%;
  min-height: 56px;
  padding: 0 14px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #ffffff;
  color: var(--tinta);
  font: inherit;
  font-size: 17px;
}
input::placeholder {
  color: #7a827c;
}
input[aria-invalid='true'] {
  border-color: #ffb4a6;
  box-shadow: 0 0 0 2px var(--peligro) inset;
}
.campo__error {
  font-size: 14px;
  font-weight: 700;
  color: #ffd9d1;
}
.formulario__estado {
  font-size: 15px;
  font-weight: 700;
}
.formulario__estado:empty {
  display: none;
}
.formulario__estado--error {
  padding: 12px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--peligro);
}
.gracias {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 8px;
  background: var(--exito-suave);
  color: var(--exito-texto);
}
.gracias h3 {
  font-size: 22px;
  font-weight: 900;
}
.gracias p {
  font-size: 17px;
  font-weight: 700;
}
.acceso__nota {
  font-size: 14px;
  opacity: 0.85;
}
.trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Pie */
.pie {
  padding: 32px var(--lado);
  background: var(--tinta);
  color: #e6e8e5;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pie__marca {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}
.pie__marca svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.pie__enlaces {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.pie a {
  color: #e6e8e5;
  font-size: 15px;
  font-weight: 700;
}
.pie__contacto {
  font-size: 15px;
  opacity: 0.8;
}

@media (min-width: 720px) {
  .cabecera__nav {
    display: flex;
  }
  .grilla-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .campos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .campo--ancho {
    grid-column: 1 / -1;
  }
  .cifras {
    padding: 64px var(--lado);
  }
  .cifras h2 {
    font-size: 40px;
  }
  .seccion,
  .acceso {
    padding: 88px var(--lado);
  }
  .titulo-grande {
    font-size: 48px;
  }
  h1 {
    font-size: 56px;
  }
}
@media (min-width: 1100px) {
  .heroe {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 64px var(--lado) 80px;
  }
  h1 {
    font-size: 76px;
  }
  .bajada {
    font-size: 22px;
  }
  .heroe__maqueta {
    flex-shrink: 0;
  }
  /* Medidas de la maqueta de escritorio. */
  .maqueta {
    width: 520px;
    height: 700px;
  }
  .maqueta__telefono {
    left: 150px;
    transform: none;
  }
  .maqueta__burbuja {
    top: 330px;
    width: 330px;
  }
  .acceso {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 64px;
  }
  .acceso h2 {
    font-size: 56px;
  }
  .pie {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
