/* Marketing Sin Miedo. Tokens desde brand.json. Mobile-first a 390 px. */
:root {
  --fondo: #FBF6F1;
  --texto: #2B1B17;
  --acento: #D9634A;
  --secundario: #F2C6BF;
  --apoyo: #7F9A86;
  --gris: #8A807B;
  --linea: #E8DED5;
  --radio: 8px;
  --titulos: "Fraunces", Georgia, serif;
  --cuerpo: "DM Sans", system-ui, -apple-system, sans-serif;
  --ancho: 640px;
  --margen: clamp(1rem, 4vw, 2rem);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--cuerpo);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.55;
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3 {
  font-family: var(--titulos);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(1.75rem, 1.3rem + 2.4vw, 2.75rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
}
h3 {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
}
p,
ul,
ol {
  margin: 0 0 1rem;
}
a {
  color: var(--acento);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
strong {
  font-weight: 700;
}

/* Estructura */
.contenedor {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 var(--margen);
}
.seccion {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.seccion + .seccion {
  border-top: 1px solid var(--linea);
}
.seccion--rosa {
  background: var(--secundario);
  border-top: 0;
}
.seccion--rosa + .seccion {
  border-top: 0;
}
.cabecera {
  padding: 1rem 0;
  border-bottom: 1px solid var(--linea);
}
.cabecera .contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.marca {
  font-family: var(--titulos);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--texto);
  text-decoration: none;
}
.cabecera__nota {
  font-size: 0.875rem;
  color: var(--gris);
}
.pie {
  border-top: 1px solid var(--linea);
  padding: 2rem 0 3rem;
  font-size: 0.875rem;
  color: var(--gris);
}
.pie a {
  color: var(--gris);
}
.pie__enlaces {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

/* Texto */
.antetitulo {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--acento);
  margin-bottom: 0.75rem;
}
.acento {
  color: var(--acento);
}
.destacado {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  line-height: 1.4;
}
.nota {
  font-size: 0.875rem;
  color: var(--gris);
}
.centrado {
  text-align: center;
}
.ancho-texto {
  max-width: 34em;
}

/* Botones */
.boton {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--acento);
  color: #FFFFFF;
  font-family: var(--cuerpo);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--acento);
  border-radius: var(--radio);
  cursor: pointer;
}
.boton:hover,
.boton:focus-visible {
  background: #C4553E;
  border-color: #C4553E;
}
.boton:focus-visible {
  outline: 3px solid var(--texto);
  outline-offset: 2px;
}
.boton--secundario {
  background: transparent;
  color: var(--texto);
  border-color: var(--texto);
}
.boton--secundario:hover,
.boton--secundario:focus-visible {
  background: var(--texto);
  border-color: var(--texto);
  color: var(--fondo);
}
.boton + .nota {
  margin-top: 0.75rem;
}

/* Portada */
.portada {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.portada h1 {
  margin-bottom: 1rem;
}
.portada .destacado {
  margin-bottom: 1.25rem;
}
.precio-linea {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.25rem;
}
.precio-linea__monto {
  font-family: var(--titulos);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  color: var(--acento);
  line-height: 1;
}
.precio-linea__detalle {
  font-size: 0.9375rem;
  color: var(--gris);
}

/* Imagen de portada */
.portada__imagen {
  display: block;
  width: 100%;
  height: auto;
  margin: 2rem 0 0;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
}

/* Listas */
.lista {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.lista li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}
.lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 2px;
  background: var(--apoyo);
}
.lista--acento li::before {
  background: var(--acento);
}
.lista--gris li::before {
  background: var(--gris);
}
.citas {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.citas li {
  font-family: var(--titulos);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  line-height: 1.35;
  padding: 0.875rem 0 0.875rem 1rem;
  border-left: 3px solid var(--secundario);
  margin-bottom: 0.75rem;
}

/* Tarjetas */
.tarjetas {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}
.tarjeta {
  background: #FFFFFF;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 1.25rem;
}
.tarjeta h3 {
  margin-bottom: 0.5rem;
}
.tarjeta p:last-child {
  margin-bottom: 0;
}
.tarjeta__numero {
  display: inline-block;
  font-family: var(--titulos);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--acento);
  margin-bottom: 0.5rem;
}
.tarjeta--si {
  border-top: 4px solid var(--apoyo);
}
.tarjeta--no {
  border-top: 4px solid var(--gris);
}

/* Bloque de precio */
.precio {
  background: #FFFFFF;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.precio__monto {
  font-family: var(--titulos);
  font-weight: 700;
  font-size: clamp(3rem, 2.5rem + 3vw, 4.5rem);
  color: var(--acento);
  line-height: 1;
  margin: 0.5rem 0 0.25rem;
}
.precio__equivalente {
  color: var(--gris);
  margin-bottom: 1.25rem;
}
.precio .lista {
  text-align: left;
  margin: 1.25rem auto;
  max-width: 28em;
}
.precio .boton {
  margin-top: 0.5rem;
}

/* Preguntas */
.pregunta {
  border-bottom: 1px solid var(--linea);
}
.pregunta summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2rem 1rem 0;
  font-weight: 700;
  position: relative;
}
.pregunta summary::-webkit-details-marker {
  display: none;
}
.pregunta summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.85rem;
  font-family: var(--titulos);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--acento);
}
.pregunta[open] summary::after {
  content: "\2013";
}
.pregunta p {
  padding-bottom: 1rem;
}

/* Formulario */
.formulario {
  background: #FFFFFF;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 1.5rem 1.25rem;
}
.campo {
  margin-bottom: 1rem;
}
.campo label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
}
.campo input {
  width: 100%;
  padding: 0.875rem 1rem;
  font: inherit;
  color: var(--texto);
  background: var(--fondo);
  border: 1px solid var(--gris);
  border-radius: var(--radio);
}
.campo input:focus-visible {
  outline: 3px solid var(--acento);
  outline-offset: 1px;
  border-color: var(--acento);
}
.formulario .nota {
  margin: 0.75rem 0 0;
}

/* Páginas legales y de gracias */
.legal h2 {
  margin-top: 2rem;
}
.legal p,
.legal li {
  font-size: 1rem;
}
.pasos {
  counter-reset: paso;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.pasos li {
  counter-increment: paso;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.25rem;
}
.pasos li::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: var(--radio);
  background: var(--secundario);
  color: var(--texto);
  font-family: var(--titulos);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.verificar {
  display: inline-block;
  background: var(--secundario);
  padding: 0 0.3em;
  border-radius: 3px;
}

/* Pantallas anchas */
@media (min-width: 720px) {
  .tarjetas--2 {
    grid-template-columns: 1fr 1fr;
  }
  .tarjetas--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .boton {
    width: auto;
    min-width: 18rem;
  }
  .boton--ancho {
    width: 100%;
  }
  .centrado .boton {
    margin-left: auto;
    margin-right: auto;
  }
  .portada .contenedor {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 960px;
  }
  .portada .portada__imagen {
    margin: 0;
  }
}
.centrado .ancho-texto {
  margin: 0 auto 1.5rem;
}
.aparte {
  margin-top: 2.5rem;
}
