/* =========================================================
   CÍRCULO SUR — Hoja de estilos de la landing page
   Residencia del Sur · Programa de recomendaciones

   Todas las clases llevan el prefijo .cs- para que no
   choquen con el CSS del sitio en producción.
   Cargar DESPUÉS de la hoja de estilos general del sitio.
   ========================================================= */

:root {
  --cs-azul: #244e93; /*#01245B;   /* azul institucional del sitio #0C486C; */
  --cs-azul-osc: #093a57;
  --cs-azul-pie: #0053a0;
  --cs-naranja: #d9741f; /* acento: SOLO botones y filetes */
  --cs-naranja-osc: #bf6215;
  --cs-texto: #2a3b47;
  --cs-texto-sec: #4a6377;
  --cs-gris: #f4f7f9;
  --cs-gris-osc: #424242; /* #9e9d9d gris intermedio  */
  --cs-borde: #dfe7ec;
  --cs-blanco: #ffffff;
  --cs-verde: #1e7a46;
  --cs-rojo: #b3261e;
}

/* ---------- base ---------- */
.cs-page {
  color: var(--cs-texto);
  font-size: 18px;
  line-height: 1.6;
}
.cs-page *,
.cs-page *::before,
.cs-page *::after {
  box-sizing: border-box;
}
.cs-wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}
.cs-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cs-sec {
  padding: 62px 0;
}
.cs-sec--alt {
  background: var(--cs-gris);
}

.cs-h2 {
  font-size: 34px;
  line-height: 1.22;
  color: var(--cs-azul);
  font-weight: 700;
  margin: 0;
}
.cs-h2 span {
  font-weight: 400;
  color: var(--cs-texto-sec);
}
.cs-rule {
  width: 64px;
  height: 4px;
  background: var(--cs-naranja);
  margin: 18px 0 0;
}
.cs-lead {
  font-size: 18px;
  line-height: 1.72;
  color: var(--cs-texto-sec);
  margin: 18px 0 0;
}

/* ---------- botón ---------- */
.cs-btn {
  display: inline-block;
  background: var(--cs-naranja);
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  padding: 16px 32px;
  border-radius: 32px;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  min-height: 48px;
  text-align: center;
  transition: background 0.15s ease-in-out;
}
.cs-btn:hover,
.cs-btn:focus {
  background: var(--cs-naranja-osc);
  color: #fff !important;
}
.cs-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.cs-btn--full {
  display: block;
  width: 100%;
}

/* ---------- 1. bienvenida ---------- */
.cs-hero {
  position: relative;
  background: var(--cs-gris-osc);
  overflow: hidden;
}
.cs-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-repeat: no-repeat;
  background-size: cover;
}
.cs-hero__inner {
  position: relative;
  padding: 86px 0 76px;
}
.cs-hero__h1 {
  font-size: 56px;
  line-height: 1.05;
  color: #fff;
  font-weight: 700;
  margin: 0;
}
.cs-hero__sub {
  font-size: 22px;
  line-height: 1.35;
  color: #a8d4ee;
  font-style: italic;
  margin: 8px 0 0;
}
.cs-hero__p {
  font-size: 19px;
  line-height: 1.65;
  color: #eaf3f9;
  margin: 22px 0 0;
  max-width: 660px;
}
.cs-hero .cs-btn {
  margin-top: 28px;
}

/* ---------- 2. qué es ---------- */
.cs-cols {
  display: block;
}
.cs-cols::after {
  content: "";
  display: table;
  clear: both;
}
.cs-col-img {
  float: left;
  width: 44%;
}
.cs-col-img img {
  border-radius: 4px;
}
.cs-col-txt {
  float: right;
  width: 52%;
}

.cs-quien {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--cs-borde);
  border-left: 5px solid var(--cs-azul);
  padding: 20px 24px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--cs-texto-sec);
}
.cs-quien b {
  color: var(--cs-azul);
}

/* ---------- 3. beneficios ---------- */
.cs-cards {
  display: block;
  margin-top: 36px;
}
.cs-cards::after {
  content: "";
  display: table;
  clear: both;
}
.cs-card {
  float: left;
  width: 31.33%;
  margin-right: 3%;
  background: #fff;
  border: 1px solid var(--cs-borde);
  border-top: 5px solid var(--cs-azul);
  border-radius: 4px;
  padding: 30px 26px 26px;
}
.cs-card:last-child {
  margin-right: 0;
}
.cs-card__ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eaf2f8;
  color: var(--cs-azul);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 54px;
}
.cs-card h3 {
  font-size: 20px;
  line-height: 1.32;
  color: var(--cs-azul);
  margin: 18px 0 0;
}
.cs-card p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--cs-texto-sec);
  margin: 10px 0 0;
}
.cs-nota {
  margin: 26px 0 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--cs-texto-sec);
}
.cs-nota a {
  color: var(--cs-azul);
  text-decoration: underline;
}

/* ---------- 4. mecánica ---------- */
.cs-steps {
  display: block;
  margin-top: 38px;
}
.cs-steps::after {
  content: "";
  display: table;
  clear: both;
}
.cs-step {
  float: left;
  width: 22.75%;
  margin-right: 3%;
}
.cs-step:last-child {
  margin-right: 0;
}
.cs-step__n {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cs-azul);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  line-height: 46px;
}
.cs-step h3 {
  font-size: 18px;
  line-height: 1.36;
  color: var(--cs-azul);
  margin: 14px 0 0;
}
.cs-step p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--cs-texto-sec);
  margin: 8px 0 0;
}
.cs-cta-mid {
  margin-top: 42px;
  text-align: center;
}

/* ---------- 5. formulario ---------- */
.cs-form-sec {
  background: var(--cs-azul);
  padding: 62px 0;
}
.cs-form-sec .cs-h2 {
  color: #fff;
}
.cs-form-sec .cs-h2 span {
  color: #a8d4ee;
}
.cs-form-sec .cs-lead {
  color: #c3dced;
}
.cs-form-txt {
  float: left;
  width: 40%;
}
.cs-form-txt ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.cs-form-txt li {
  color: #dceaf4;
  font-size: 16.5px;
  line-height: 1.6;
  padding-left: 24px;
  margin-bottom: 14px;
  position: relative;
}
.cs-form-txt li b {
  color: #fff;
}
.cs-form-txt li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cs-naranja);
}
.cs-form-box {
  float: right;
  width: 55%;
  background: #fff;
  border-radius: 6px;
  padding: 32px;
}

.cs-ident {
  background: #eaf2f8;
  border: 1px solid #cfe0ec;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cs-azul);
}
.cs-ident a {
  color: #1f6fb2;
  text-decoration: underline;
}

.cs-grp {
  font-size: 12.5px;
  font-weight: 700;
  color: #6e8598;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 26px 0 0;
  border-bottom: 1px solid #e6edf2;
  padding-bottom: 7px;
}
.cs-field {
  margin-top: 18px;
}
.cs-field label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--cs-azul);
  margin-bottom: 6px;
}
.cs-field .cs-help {
  font-weight: 400;
  color: #6e8598;
}
.cs-input,
.cs-select,
.cs-textarea {
  width: 100%;
  border: 1px solid #c9d6e0;
  border-radius: 4px;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 17px;
  line-height: 1.4;
  font-family: inherit;
  color: var(--cs-texto);
  background: #fff;
}
.cs-textarea {
  min-height: 92px;
  resize: vertical;
}
.cs-input:focus,
.cs-select:focus,
.cs-textarea:focus {
  outline: 0;
  border-color: var(--cs-azul);
  box-shadow: 0 0 0 3px rgba(12, 72, 108, 0.14);
}
.cs-opt {
  display: block;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--cs-texto);
  margin-top: 12px;
  padding-left: 30px;
  position: relative;
  min-height: 26px;
  cursor: pointer;
}
.cs-opt input {
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  margin: 0;
}
.cs-consent {
  margin-top: 20px;
}
/* la casilla de consentimiento es un <label> dentro de .cs-field:
   se anula el estilo de etiqueta de campo para que no salga en negritas */
.cs-field label.cs-opt {
  font-weight: 400;
  color: var(--cs-texto);
  margin-bottom: 0;
}
.cs-fine {
  font-size: 14px;
  line-height: 1.55;
  color: #6e8598;
  margin: 16px 0 0;
}
.cs-fine a {
  color: #1f6fb2;
  text-decoration: underline;
}
.cs-form-box .cs-btn {
  margin-top: 20px;
}

/* errores */
.cs-error {
  display: none;
  font-size: 15px;
  line-height: 1.45;
  color: var(--cs-rojo);
  margin-top: 6px;
}
.cs-field--error .cs-error {
  display: block;
}
.cs-field--error .cs-input,
.cs-field--error .cs-select,
.cs-field--error .cs-textarea {
  border-color: var(--cs-rojo);
}
.cs-alert {
  background: #fdecea;
  border: 1px solid #f3c2bd;
  border-left: 5px solid var(--cs-rojo);
  color: #7a1b15;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 20px;
}

/* trampa antirrobots — no usar display:none */
.cs-trap {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* confirmación */
.cs-ok {
  background: #fff;
  border-radius: 6px;
  padding: 40px 34px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cs-ok__ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cs-verde);
  color: #fff;
  font-size: 30px;
  line-height: 64px;
  margin: 0 auto 18px;
}
.cs-ok h2 {
  font-size: 28px;
  line-height: 1.28;
  color: var(--cs-azul);
  margin: 0;
}
.cs-ok p {
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--cs-texto-sec);
  margin: 14px 0 0;
}
.cs-ok__next {
  text-align: left;
  background: var(--cs-gris);
  border-radius: 4px;
  padding: 18px 22px;
  margin-top: 22px;
}
.cs-ok__next b {
  color: var(--cs-azul);
  display: block;
  margin-bottom: 8px;
}
.cs-ok__next ul {
  margin: 0;
  padding-left: 20px;
}
.cs-ok__next li {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--cs-texto-sec);
  margin-bottom: 6px;
}

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .cs-col-img,
  .cs-col-txt,
  .cs-form-txt,
  .cs-form-box {
    float: none;
    width: 100%;
  }
  .cs-col-txt,
  .cs-form-box {
    margin-top: 30px;
  }
  .cs-card {
    float: none;
    width: 100%;
    margin: 0 0 18px;
  }
  .cs-step {
    float: none;
    width: 100%;
    margin: 0 0 26px;
  }
  .cs-hero__h1 {
    font-size: 42px;
  }
  .cs-hero__inner {
    padding: 60px 0 54px;
  }
  .cs-h2 {
    font-size: 28px;
  }
  .cs-sec,
  .cs-form-sec {
    padding: 46px 0;
  }
  .cs-btn {
    display: block;
    width: 100%;
  }
  .cs-form-box {
    padding: 24px 20px;
  }
}

@media print {
  .cs-hero__img {
    display: none;
  }
  .cs-btn {
    border: 1px solid #000;
    color: #000 !important;
    background: none;
  }
}
