/* === SECCIÓN CONTACTO === */
#contacto {
  background: #f7f8fa;
  padding: 90px 0;
}
 
#contacto .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
 
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
 
/* --- COLUMNA IZQUIERDA --- */
.contact-info {
  padding-top: 8px;
}
 
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8edf5;
  color: #1a3060;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}
 
.contact-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #1a3060;
  border-radius: 50%;
  flex-shrink: 0;
}
 
.contact-info h2 {
  font-size: 36px;
  font-weight: 700;
  color: #12203f;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.4px;
}
 
.contact-info h2 span {
  color: #2c5fac;
}
 
.contact-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #1a3060, #2c5fac);
  border-radius: 2px;
  margin-bottom: 24px;
}
 
.contact-info > p {
  font-size: 15px;
  color: #5a6477;
  line-height: 1.75;
  margin-bottom: 36px;
}
 
/* Info cards */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
 
.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e7f0;
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
 
.info-card:hover {
  border-color: #b8c9e8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18,32,63,0.06);
}
 
.info-icon {
  width: 42px;
  height: 42px;
  background: #12203f;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}
 
.info-icon svg {
  width: 18px;
  height: 18px;
}
 
.info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
 
.info-label {
  font-size: 11px;
  color: #8a94a6;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
 
.info-value {
  font-size: 14px;
  color: #12203f;
  font-weight: 500;
}
 
/* Trust row */
.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid #e2e7f0;
}
 
.trust-avatars {
  display: flex;
}
 
.trust-avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  margin-left: -10px;
}
 
.trust-avatars span:first-child  { margin-left: 0; background: #2c5fac; }
.trust-avatars span:nth-child(2) { background: #1a3060; }
.trust-avatars span:nth-child(3) { background: #3d70c4; }
 
.trust-text {
  font-size: 13px;
  color: #5a6477;
  line-height: 1.45;
}
 
.trust-text strong {
  color: #12203f;
  font-weight: 700;
}
 
.stars {
  display: block;
  color: #f59e0b;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 2px;
}
 
/* --- COLUMNA DERECHA: FORMULARIO --- */
.contact-form {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e7f0;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(26, 48, 96, 0.07);
}
 
.contact-form h3 {
  font-size: 22px;
  color: #12203f;
  font-weight: 700;
  margin-bottom: 6px;
}
 
.form-subtitle {
  font-size: 13px;
  color: #8a94a6;
  margin-bottom: 28px;
}
 
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
 
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
 
.form-row .form-group {
  margin-bottom: 0;
}
 
.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: #3d4a60;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
 
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid #dde2eb;
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 14px;
  color: #12203f;
  background: #fafbfd;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  font-family: inherit;
}
 
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2c5fac;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(44,95,172,0.12);
}
 
.form-group textarea {
  height: 115px;
  resize: none;
}
 
.btn-form {
  width: 100%;
  padding: 14px;
  background: #12203f;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  margin-top: 4px;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
}
 
.btn-form:hover  { background: #1a3060; }
.btn-form:active { transform: scale(0.99); }
 
.form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: #8a94a6;
}
 
.form-footer svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #8a94a6;
}

/* === PREGUNTAS FRECUENTES (acordeón) === */
.faq-block {
  margin-top: 96px;
  padding-top: 84px;
  border-top: 1px solid #e2e7f0;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-subtitle {
  font-size: 15px;
  color: #5a6477;
  line-height: 1.75;
  max-width: 520px;
  margin: -0.5rem auto 0;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e7f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.open {
  border-color: #b8c9e8;
  box-shadow: 0 8px 24px rgba(18, 32, 63, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #12203f;
  line-height: 1.4;
  transition: background 0.2s, color 0.2s;
}

.faq-question:hover {
  background: #f4f7fc;
}

.faq-item.open .faq-question {
  color: #1a3060;
}

.faq-num {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #2c5fac;
  font-variant-numeric: tabular-nums;
}

.faq-q-text {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #8a94a6;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: #2c5fac;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 22px 22px 62px;
}

.faq-answer-inner p {
  font-size: 14px;
  color: #5a6477;
  line-height: 1.75;
  margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
 
  .contact-info h2 {
    font-size: 28px;
  }
}
 
@media (max-width: 540px) {
  #contacto .section-inner {
    padding: 0 20px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .faq-block {
    margin-top: 72px;
    padding-top: 60px;
  }

  .faq-question {
    padding: 15px 16px;
    gap: 12px;
    font-size: 13.5px;
  }

  .faq-answer-inner {
    padding: 0 16px 18px 46px;
  }
}