/* =========================================================
   VARIABLES GLOBALES
   ========================================================= */

:root{
  --line: var(--brand-dark);
  --text: #0b0f1a;
  --muted: rgba(11,15,26,.70);
  --bg: #ffffff;
  --radius: 14px;
  --gap: 22px;
}


/* =========================================================
   NEWSLETTER — SECCIÓN
   ========================================================= */

.newsletter{
  text-align: center;
}

.newsletter .seccion_container .text-top{
  color: var(--brand);
  font-weight: bold;
}

.newsletter .seccion_container h2{
  color: var(--brand-dark);
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.uform{
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  padding: 26px 28px;
  border-radius: var(--radius);
}


/* =========================================================
   FILAS Y GRILLAS
   ========================================================= */

.uform__row{
  display: grid;
  gap: var(--gap);
  margin-bottom: 26px;
}

.uform__row--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* =========================================================
   LABELS
   ========================================================= */

.uform__label{
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}

.uform__req{
  color: #ff2d2d;
  margin-left: 2px;
}


/* =========================================================
   INPUTS
   ========================================================= */

.uform__input{
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;

  font-size: 18px;
  padding: 14px 2px 12px;
  color: var(--text);

  /* underline */
  border-bottom: 2px solid var(--line);

  /* interacción */
  transition:
    background-color 0.25s ease,
    border-bottom-color 0.25s ease;

  -webkit-tap-highlight-color: transparent;
}


/* Placeholder */

.uform__input::placeholder{
  color: rgba(11,15,26,.35);
}


/* Hover */

.uform__input:hover{
  background-color: rgba(0,0,0,0.03);
  border-bottom-color: var(--brand);
}


/* Focus */

.uform__input:focus{
  background-color: rgba(0,0,0,0.05);
  border-bottom-width: 3px;
  border-bottom-color: var(--brand);
}


/* =========================================================
   BOTÓN
   ========================================================= */

.uform__btn{
  border: 0;
  background: var(--text);
  color: #ffffff;

  padding: 12px 16px;
  border-radius: 12px;

  font-weight: 600;
  cursor: pointer;
}

.uform__btn:focus-visible{
  outline: 3px solid var(--brand-dark);
  outline-offset: 3px;
}


/* =========================================================
   RESPONSIVE — NEWSLETTER
   ========================================================= */

@media (max-width: 959px){
  .newsletter{
    padding: 5em 13%;
  }
}

@media (min-width: 960px){
  .newsletter{
    padding-top: 5em;
    padding-bottom: 5em;
  }
}


/* =========================================================
   RESPONSIVE — FORMULARIO
   ========================================================= */

@media (max-width: 720px){

  .uform{
    padding: 18px 16px;
  }

  .uform__row--2{
    grid-template-columns: 1fr;
  }

  .uform__label,
  .uform__input{
    font-size: 16px;
  }
}
