/* =====================================================
   CONTACTO – ESTILOS ESPECÍFICOS
===================================================== */

/* ==============================
   HERO CONTACTO
============================== */
.contact-hero {
  padding: 56px 0 48px;
  background: linear-gradient(
    120deg,
    #2F5468 0%,
    #4A7C8B 40%,
    #ffffff 100%
  );
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px;
  align-items: flex-start;
}

/* Texto izquierdo */
.contact-title {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.contact-subtitle {
  font-size: 16px;
  color: #e4f8ff;
  margin-bottom: 12px;
  max-width: 520px;
}

.contact-caption {
  font-size: 14px;
  color: #eefbff;
  max-width: 520px;
  margin-bottom: 22px;
}

.contact-highlights {
  margin-top: 18px;
}

.contact-highlight {
  background: rgba(255,255,255,0.92);
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 14px 30px rgba(15,23,42,0.18);
}

.contact-highlight h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.contact-highlight ul {
  padding-left: 18px;
  margin-bottom: 8px;
}

.contact-highlight li {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-note {
  font-size: 12px;
  color: var(--primary-dark);
  margin-top: 6px;
  font-weight: 500;
}

/* ==============================
   TARJETA FORMULARIO
============================== */
.contact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 22px 24px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(15,23,42,0.22);
}

.contact-card-head h2 {
  font-size: 20px;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.contact-card-head p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ==============================
   FORMULARIO
============================== */
.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.input,
.textarea,
select.input {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  background: #ffffff;
}

.textarea {
  border-radius: 16px;
  resize: vertical;
}

.input:focus,
.textarea:focus,
select.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(47,84,104,0.25);
}

.form-helper {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Botón principal */
.contact-form .btn-primary {
  margin-top: 8px;
  width: 100%;
}

/* ==============================
   CONTACTO ALTERNATIVO
============================== */
.contact-alt {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  text-align: center;
}

.contact-alt-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.contact-alt-text {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-alt .btn-outline {
  display: inline-block;
  margin-bottom: 6px;
}

.contact-alt-foot {
  font-size: 12px;
  color: var(--muted);
}

/* ==============================
   SECCIÓN CONFIANZA
============================== */
.contact-trust {
  padding: 36px 0 42px;
  background: #f7f9fc;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.trust-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
}

.trust-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.trust-card ul {
  padding-left: 18px;
}

.trust-card li {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.trust-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.trust-quote {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 16px;
  padding: 22px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quote-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 900px) {

  .contact-hero-inner {
    grid-template-columns: 1fr;
  }

  .contact-title {
    font-size: 26px;
  }

  .contact-card {
    margin-top: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

}
/* ==============================
   CONTACTO: BOTÓN PRINCIPAL
============================== */

.contact-form .btn-primary {
  width: 100%;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.contact-form .btn-primary:hover {
  background: #d83232;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(232, 56, 55, 0.25);
}

.contact-form .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(232, 56, 55, 0.2);
}
/* ==============================
   CONTACTO: BOTÓN WHATSAPP
============================== */

.contact-alt {
  margin-top: 22px;
  text-align: center;
}

.contact-alt-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.contact-alt-text {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-alt .btn-outline {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid #25D366;
  color: #25D366;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.contact-alt .btn-outline:hover {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.25);
}

.contact-alt-foot {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
/* ==============================
   CONTACTO: CTA EN "CONTACTO DIRECTO"
============================== */

.trust-contact p {
  margin: 8px 0;
}

.contact-link {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(47, 84, 104, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
  color: var(--accent);
  border-color: rgba(232, 56, 55, 0.55);
}

.contact-sep {
  color: var(--muted);
  margin: 0 6px;
}

.trust-ctas {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.trust-cta-btn:hover {
  background: #d83232;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(232, 56, 55, 0.18);
}

.trust-cta-btn.outline {
  background: transparent;
  color: #25D366;
  border-color: #25D366;
}

.trust-cta-btn.outline:hover {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.18);
}
