/* ============================================================
   Rockwater Partners · Formulario de contacto
   Archivo: /rw/rw-form.css
   Lo carga hoy solo /contactenos/. Reutilizable en cualquier
   pagina del sitio que necesite el formulario de conversion.

   Medidas en PIXELES: Bootstrap 3 declara html{font-size:10px}
   y cualquier rem se dibuja al 62,5%.

   Version 1.0 · 24 de agosto de 2026
   ============================================================ */

/* ══ COLUMNA IZQUIERDA · argumentos y datos ════════════════ */
.rwf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.rwf-intro { font-size: 19px; line-height: 1.75; color: #33475F; margin: 0 0 32px; }
.rwf-intro strong { color: #0A1628; font-weight: 600; }

.rwf-puntos { list-style: none; margin: 0 0 38px; padding: 0; }
.rwf-punto { display: flex; gap: 14px; margin-bottom: 18px; }
.rwf-punto:last-child { margin-bottom: 0; }
.rwf-bullet { width: 8px; height: 8px; border-radius: 50%; background: #2563A8; flex-shrink: 0; margin-top: 11px; }
.rwf-punto p { margin: 0; font-size: 17px; line-height: 1.65; color: #5A6B82; }
.rwf-punto strong { color: #0A1628; font-weight: 600; }

.rwf-datos { border-top: 1px solid #DCE6F2; padding-top: 28px; }
.rwf-dato { display: flex; gap: 14px; margin-bottom: 16px; font-size: 17px; line-height: 1.6; color: #33475F; }
.rwf-dato:last-child { margin-bottom: 0; }
.rwf-dato svg { width: 19px; height: 19px; color: #2563A8; flex-shrink: 0; margin-top: 4px; }
.rwf-dato a { color: #1A4A82; text-decoration: none; border-bottom: 1px solid rgba(26,74,130,.3); }
.rwf-dato a:hover { color: #2E80E8; border-bottom-color: #2E80E8; }

/* ══ TARJETA DEL FORMULARIO ════════════════════════════════ */
.rwf-card {
  background: #FFFFFF;
  border: 1px solid #DCE6F2;
  border-top: 4px solid #2563A8;
  border-radius: 3px;
  box-shadow: 0 6px 28px rgba(10,22,40,.09);
  padding: 34px 34px 30px;
}
.rwf-card h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px; font-weight: 600; line-height: 1.2;
  color: #0A1628; margin: 0 0 6px; padding: 0;
}
.rwf-card-sub { font-size: 16px; color: #6B7A8D; margin: 0 0 26px; }

.rwf-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rwf-campo { margin-bottom: 18px; }
.rwf-campo label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: #33475F; margin-bottom: 7px;
}
.rwf-campo input, .rwf-campo select {
  display: block; width: 100%; height: auto;
  font-family: 'Outfit', 'Open Sans', sans-serif;
  font-size: 17px; line-height: 1.4; color: #0A1628;
  padding: 13px 14px;
  background: #F7F9FC; border: 1px solid #DCE6F2; border-radius: 2px;
  transition: border-color .15s, background .15s;
}
.rwf-campo input::placeholder { color: #9AA9BC; }
.rwf-campo input:focus, .rwf-campo select:focus {
  outline: none; background: #fff; border-color: #2563A8;
  box-shadow: 0 0 0 3px rgba(37,99,168,.12);
}
.rwf-campo select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6B82' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 38px;
}

/* Honeypot: invisible para humanos, visible para robots */
.rwf-control { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rwf-legal { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 24px; }
.rwf-legal input { width: 16px; height: 16px; margin: 4px 0 0; flex-shrink: 0; }
.rwf-legal label {
  font-size: 13px; line-height: 1.55; color: #6B7A8D;
  font-weight: 400; letter-spacing: 0; text-transform: none; margin: 0;
}
.rwf-legal a { color: #1A4A82; }

.rwf-enviar {
  display: block; width: 100%; border: none; cursor: pointer;
  font-family: 'Outfit', 'Open Sans', sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: #0A1628;
  padding: 17px 20px; border-radius: 2px;
  transition: background .2s;
}
.rwf-enviar:hover, .rwf-enviar:focus { background: #2563A8; color: #fff; }

.rwf-nota { font-size: 13px; color: #8FA3BC; text-align: center; margin: 12px 0 0; }
.rwf-error {
  background: #FDECEC; border-left: 3px solid #C0392B; color: #922B21;
  font-size: 15px; line-height: 1.55; padding: 14px 16px; margin: 0 0 22px; border-radius: 2px;
}

.rwf-sep { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; }
.rwf-sep::before, .rwf-sep::after { content: ''; flex: 1; height: 1px; background: #DCE6F2; }
.rwf-sep span { font-size: 13px; color: #8FA3BC; }

.rwf-wa {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #128C41 !important; background: #fff;
  border: 1px solid #25D366; border-radius: 2px;
  padding: 15px 20px; text-decoration: none; transition: background .2s, color .2s;
}
.rwf-wa:hover, .rwf-wa:focus { background: #25D366; color: #fff !important; text-decoration: none; }
.rwf-wa svg { width: 19px; height: 19px; }

/* ══ FRANJA DE SALIDA ══════════════════════════════════════ */
.rwf-salida { background: #F7F9FC; border-top: 1px solid #DCE6F2; padding: 44px 48px; }
.rwf-salida-inner { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 18px; }
.rwf-salida p { margin: 0; font-size: 18px; color: #5A6B82; }
.rwf-salida-links { display: flex; flex-wrap: wrap; gap: 26px; }
.rwf-salida-links a {
  font-size: 16px; font-weight: 600; color: #1A4A82; text-decoration: none;
  border-bottom: 1px solid rgba(26,74,130,.3); padding-bottom: 2px;
}
.rwf-salida-links a:hover { color: #2E80E8; border-bottom-color: #2E80E8; }

/* ══ RESPONSIVE ════════════════════════════════════════════ */
@media (max-width: 900px) {
  .rwf-cols { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .rwf-card { padding: 24px 20px 22px; }
  .rwf-card h2 { font-size: 25px; }
  .rwf-fila { grid-template-columns: 1fr; gap: 0; }
  .rwf-intro { font-size: 18px; }
  .rwf-salida { padding: 32px 20px; }
  .rwf-salida-inner { flex-direction: column; align-items: flex-start; }
}
