/* ============================================================
   Rockwater Partners · Bloque de cierre de paginas interiores
   Archivo unico: /rw/rw-cierre.css
   Todas las clases van con prefijo rw-. Unica excepcion:
   .my-container, que se sobrescribe a proposito (bloque 3).

   IMPORTANTE: todas las medidas van en PIXELES a proposito.
   Bootstrap 3 declara html{font-size:10px}, asi que cualquier
   valor en rem se dibuja al 62,5% del tamano esperado. La v1
   de este archivo estaba en rem y por eso el bloque de cierre
   se veia un tercio mas pequeno de lo previsto.

   Version 2.2 · 21 de agosto de 2026
   v2.2: el titular del CTA pasa a Cormorant Garamond 40px para
   hablar con la misma voz tipografica de las paginas nuevas.
   Requiere que la pagina cargue la fuente (ver /servicios/).
   ============================================================ */


/* ══ 1 · PARRAFO DE CONEXION ═══════════════════════════════
   Hoy solo lo usa /servicios/. Las paginas de servicio con la
   plantilla nueva usan .rws-encaja-caja de rw-servicio.css.
   ------------------------------------------------------- */
.rw-conexion {
  max-width: 1040px;
  margin: 0 auto 44px;
  padding: 30px 34px 32px;
  background: #F2F6FB;
  border-left: 4px solid #2563A8;
  border-radius: 0 3px 3px 0;
  font-family: "Open Sans", sans-serif;
  font-size: 19px;
  line-height: 1.75;
  color: #33475F;
}
.rw-conexion strong { color: #0A1628; font-weight: 600; }


/* ══ 2 · BLOQUE DE CIERRE ══════════════════════════════════ */
.rw-cierre {
  background: #F2F6FB;
  border-top: 1px solid #D8E4F0;
  padding: 72px 20px;
  margin-top: 48px;
}
.rw-cierre-card {
  max-width: 1040px;
  margin: 0 auto;
  background: linear-gradient(160deg, #0A1628 0%, #12294A 100%);
  border: 1px solid #0A1628;
  border-top: 4px solid #2563A8;
  border-radius: 3px;
  box-shadow: 0 10px 34px rgba(10,22,40,.28);
  padding: 52px 52px 40px;
  text-align: left;
}
.rw-cierre-card h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 30px;
  line-height: 1.22;
  letter-spacing: -.01em;
}
.rw-dolor {
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
  color: #E8EFF8;
  margin: 0 0 26px;
}
.rw-flecha {
  display: inline-block;
  margin-top: 7px;
  font-size: 18px;
  color: #8FC2F2;
  font-weight: 600;
}
.rw-cierre-lead {
  font-size: 19px;
  line-height: 1.65;
  font-weight: 400;
  color: #B9CBE0;
  margin: 30px 0 0;
}
.rw-cierre-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 34px 0 28px;
}
.rw-btn {
  display: inline-block;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 17px 32px;
  border-radius: 2px;
  text-decoration: none;
  line-height: 1.2;
  transition: background .2s, color .2s;
  background: #fff;
  color: #1A4A82 !important;
  border: 1px solid #fff;
}
.rw-btn:hover, .rw-btn:focus, .rw-btn:active {
  background: #2E80E8;
  border-color: #2E80E8;
  color: #fff !important;
  text-decoration: none;
}
.rw-btn-ghost {
  background: #fff;
  border: 1px solid #25D366;
  color: #128C41 !important;
}
.rw-btn-ghost:hover, .rw-btn-ghost:focus, .rw-btn-ghost:active {
  background: #25D366;
  border-color: #25D366;
  color: #fff !important;
}
.rw-cierre-cifras {
  font-size: 15px;
  font-style: italic;
  color: #8FA3BC;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 24px;
  margin: 0;
  line-height: 1.6;
}


/* ══ 3 · ENCABEZADO DE LAS PAGINAS DE SERVICIO (transitorio)
   Banda navy en lugar de la foto recortada, para las paginas
   que todavia no tienen la plantilla rw-servicio.css.
   Se puede borrar cuando las seis esten migradas.
   ------------------------------------------------------- */
.my-container {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0A1628 0%, #12294A 100%);
  border-bottom: 4px solid #2563A8;
  padding: 54px 0 58px;
}
.my-container h1 {
  position: static;
  margin: 0;
  padding: 0;
  text-align: left;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-shadow: none;
}
.my-container img { display: none; }


/* ══ 4 · MOVIL ═════════════════════════════════════════════ */
@media (max-width: 767px) {
  .rw-conexion { padding: 22px 20px 24px; font-size: 17px; margin-bottom: 32px; }

  .rw-cierre { padding: 44px 14px; margin-top: 32px; }
  .rw-cierre-card { padding: 32px 22px 28px; }
  .rw-cierre-card h2 { font-size: 29px; margin-bottom: 22px; }
  .rw-dolor { font-size: 17px; margin-bottom: 20px; }
  .rw-flecha { font-size: 16px; }
  .rw-cierre-lead { font-size: 17px; margin-top: 24px; }
  .rw-cierre-btns { margin: 26px 0 22px; gap: 11px; }
  .rw-btn { font-size: 14px; padding: 15px 24px; }
  .rw-cierre-cifras { font-size: 14px; }

  .my-container { padding: 34px 0 38px; }
  .my-container h1 { font-size: 27px; }
}
