/* ===============================
   CONTACTANOS – Mendieta Oficial
   =============================== */

.contactPage {
  background: #ffffff;
}

.contactHero {
  padding: 80px 0 60px;
}

.contactHero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

/* ASIDE WRAPPER (para bajar y alinear la card con el bloque izquierdo) */
.contactHero__aside {
  padding-top: 145px; /* ajusta 32-56px si quieres más abajo */
}

/* TEXT */
.contactHero__kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #0c433d;
  margin-bottom: 10px;
}

.contactHero__title {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -1px;
  color: #0c433d;
  margin-bottom: 12px;
}

.contactHero__sub {
  max-width: 72ch;
  line-height: 1.8;
  font-weight: 600;
  color: #475569;
  margin-bottom: 22px;
}

/* FORM */
.contactForm {
  background: #ffffff;
  border-radius: 24px;
  padding: 22px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 60px rgba(2, 15, 13, 0.08);
}

.fGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fField {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fField--full {
  grid-column: 1 / -1;
}

.fField label,
.fRadio legend {
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
}

.fHint {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}

.fField input,
.fField select,
.fField textarea {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 14px;
  background: #fff;
}

.fField textarea {
  resize: vertical;
  min-height: 120px;
}

.fField input:focus,
.fField select:focus,
.fField textarea:focus {
  outline: none;
  border-color: #0c433d;
  box-shadow: 0 0 0 3px rgba(12, 67, 61, 0.15);
}

/* RADIO */
.fRadio {
  background: #f8fafc;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid #e5e7eb;
}

.rItem {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-weight: 700;
  color: #334155;
  margin-top: 10px;
}

.rItem input {
  accent-color: #0c433d;
}

/* ACTIONS */
.fActions {
  display: grid;
  gap: 10px;
}

.fPrivacy {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

/* ASIDE */
.cCard {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(2, 15, 13, 0.08);
  position: sticky;
  top: 150px;
  margin-top: 92px;
}

.cCard__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cCard__badge {
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  color: #0c433d;
}

.cCard__mini {
  font-weight: 800;
  color: #64748b;
}

.cCard__title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #0c433d;
}

.cCard__text {
  line-height: 1.8;
  color: #475569;
  margin-bottom: 14px;
}

.cCard__list {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}

.cCard__list li {
  display: flex;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cCard__list i {
  color: #0c433d;
}

.cCard__note {
  margin-top: 14px;
  font-size: 13px;
  color: #64748b;
}

/* HONEYPOT */
.hp {
  position: absolute;
  left: -9999px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .contactHero__inner {
    grid-template-columns: 1fr;
  }
  .cCard {
    position: static;
  }
}

@media (max-width: 720px) {
  .fGrid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FIX SELECT DROPDOWN (Windows/Chrome)
   ========================= */

/* El control cerrado */
.fField select {
  color: #0f172a;
  background-color: #fff;
}

/* Las opciones cuando se abre el dropdown (nativo) */
.fField select option {
  color: #0f172a;
  background: #fff;
}

/* Placeholder del select (la primera opción disabled) */
.fField select option[disabled] {
  color: #94a3b8;
}

/* Si tu sistema usa dark-mode/auto, esto fuerza colores correctos */
.fField select {
  color-scheme: light;
}

/* Extra: evita que algún estilo global “mate” el texto */
.fField select,
.fField select * {
  text-shadow: none !important;
}

/* ===============================
   FIX ESPACIO EXCESIVO EN MOBILE
   =============================== */

@media (max-width: 720px) {
  /* elimina el espacio grande antes de la card */
  .contactHero__aside {
    padding-top: 12px;
  }

  /* reduce aire interno de la card */
  .cCard {
    padding: 18px;
    margin-top: 0;
  }

  /* acerca el bloque al formulario */
  .contactHero {
    padding-bottom: 36px;
  }
}

/* ===============================
   FIX: base.css pone texto blanco en inputs
   (solo Contactanos)
   =============================== */
.contactPage .contactForm input,
.contactPage .contactForm select,
.contactPage .contactForm textarea {
  color: rgba(15, 23, 42, 0.92) !important;
  background: #fff !important;
}

/* placeholder */
.contactPage .contactForm input::placeholder,
.contactPage .contactForm textarea::placeholder {
  color: rgba(100, 116, 139, 0.85) !important;
  opacity: 1;
}

/* opciones del select (dropdown blanco) */
.contactPage .contactForm select,
.contactPage .contactForm option {
  color: rgba(15, 23, 42, 0.92) !important;
  background: #fff !important;
}

/* ======================================================
   FIX DEFINITIVO: texto blanco en inputs (base.css)
   ====================================================== */

/* Máxima especificidad + fuerza en text-fill */
.contactPage .contactForm .fField input,
.contactPage .contactForm .fField select,
.contactPage .contactForm .fField textarea {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important; /* clave si sigue blanco */
  caret-color: #0f172a !important;
  background-color: #fff !important;
}

/* Placeholder */
.contactPage .contactForm .fField input::placeholder,
.contactPage .contactForm .fField textarea::placeholder {
  color: rgba(100, 116, 139, 0.9) !important;
  -webkit-text-fill-color: rgba(100, 116, 139, 0.9) !important;
  opacity: 1 !important;
}

/* Dropdown del select (opciones) */
.contactPage .contactForm .fField option {
  color: #0f172a !important;
  background: #fff !important;
}

/* Autofill (Chrome) — a veces lo vuelve blanco o raro */
.contactPage .contactForm input:-webkit-autofill,
.contactPage .contactForm textarea:-webkit-autofill,
.contactPage .contactForm select:-webkit-autofill {
  -webkit-text-fill-color: #0f172a !important;
  box-shadow: 0 0 0px 1000px #fff inset !important;
  caret-color: #0f172a !important;
}

/* ======================================================
   FIX FINAL (incluye focus) — SOLO CONTACTANOS
   ====================================================== */
.contactPage .contactForm input,
.contactPage .contactForm select,
.contactPage .contactForm textarea,
.contactPage .contactForm input:focus,
.contactPage .contactForm select:focus,
.contactPage .contactForm textarea:focus,
.contactPage .contactForm input:active,
.contactPage .contactForm select:active,
.contactPage .contactForm textarea:active {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  caret-color: #0f172a !important;
  background-color: #fff !important;
}

/* Placeholder */
.contactPage .contactForm input::placeholder,
.contactPage .contactForm textarea::placeholder {
  color: rgba(100, 116, 139, 0.9) !important;
  -webkit-text-fill-color: rgba(100, 116, 139, 0.9) !important;
  opacity: 1 !important;
}

/* Select opciones */
.contactPage .contactForm option {
  color: #0f172a !important;
  background: #fff !important;
}

/* Autofill (Chrome) */
.contactPage .contactForm input:-webkit-autofill,
.contactPage .contactForm textarea:-webkit-autofill,
.contactPage .contactForm select:-webkit-autofill {
  -webkit-text-fill-color: #0f172a !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  caret-color: #0f172a !important;
}
