/* =============================================================
   ARCHIVO: contacto.css — ORDENADO Y LIMPIO
   Basado en la estructura real de contacto.html
   =============================================================
   ÍNDICE DE SECCIONES:
   1  Contacto Header
   2  Contacto Info - Contenedor
   3  Contacto Cards - Grid
   4  Contacto Card - Base Moderna
   5  Card Icon - Badge Moderno
   6  Card Content
   7  Card Actions
   8  Testimonios
   9  Formulario CTA - Premium
   10 Modal Formulario Multi‑Paso
   11 Progress Indicator
   12 Form Steps & Fields
   13 Captcha
   14 Checkbox Política
   15 Form Navigation
   16 Resumen (Paso 3)
   17 Confirmación de Envío
   18 Modal Política de Privacidad
   ============================================================= */
/* ==========================================================
   HERO CONTACTO - ESTILO LINEAL MINIMALISTA
   ========================================================== */

#inicio.contacto-section {
  padding: 0;
}

.contact-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: flex-start; 
  justify-content: center;
  overflow: hidden;
  padding: 2rem 2rem 6rem; 
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 45%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border: 1px solid rgba(249, 145, 9, 0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.contact-hero-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-hero-title {
  color: #111;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0; 
}

/* Corrección del colapso del texto naranja */
.contact-hero-title span {
  display: block;
  color: #f99109;
  margin-top: 0.5rem;
  line-height: 1.2;
}

.contact-hero-description {
  color: #555555;
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

/* COLUMNA DERECHA: Flujo de Pasos con Línea de Tiempo */
.contact-hero-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3.5rem; /* Espacio amplio para que respire cada instrucción */
  padding-left: 2rem;
}

/* La línea vertical guía perfecta */
.contact-hero-steps::before {
  content: '';
  position: absolute;
  left: 41px; /* Centrado matemático exacto con el eje del círculo (21px padding + 20px radio) */
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, 
    #f99109 0%, 
    rgba(249, 145, 9, 0.4) 60%, 
    rgba(249, 145, 9, 0.1) 100%
  );
  z-index: 1;
}

/* Contenedor de cada paso (Sin cajas contenedoras blancas) */
.hero-step {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: transform 0.3s ease;
}

/* Círculos numéricos impecables */
.step-number {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fdf6ee; /* Igual al fondo para ocultar la línea que pasa por detrás */
  border: 2px solid #f99109;
  color: #f99109;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px #fdf6ee; /* Truco UI: genera un anillo invisible que limpia la línea guía */
  transition: all 0.3s ease;
}

/* Textos informativos de los pasos */
.hero-step h4 {
  margin: 0 0 6px 0;
  color: #111111;
  font-size: 1.3rem;
  font-weight: 700;
}

.hero-step p {
  margin: 0;
  color: #777777;
  font-size: 1rem;
}

/* Ocultamos elementos innecesarios del esquema viejo */
.step-line,
.contact-hero-tag {
  display: none;
}

/* Micro-interacción premium al pasar el mouse */
.hero-step:hover {
  transform: translateX(8px);
}

.hero-step:hover .step-number {
  background: #f99109;
  color: #ffffff;
  box-shadow: 0 0 0 6px #fdf6ee, 0 4px 12px rgba(249, 145, 9, 0.25);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 992px) {
  .contact-hero {
    min-height: 700px;
  }
}

@media (max-width: 768px) {
  #inicio.contacto-section {
    padding: 0 15px 50px;
  }

  .contact-hero {
    min-height: 500px;
    padding: 4rem 1.5rem;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-hero-left {
    text-align: center;
  }

  .contact-hero-title,
  .contact-hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-hero-steps {
    max-width: 350px;
    margin: 0 auto;
  }
}
/* ==========================================================
   1 A 7 CONTACTO MODERNO ESTILO IMAGEN
   ========================================================== */

.contact-tag {
  display: block;
  color: #f99109; /* Color de la marca */
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-title {
  color: #111111;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 35px;
  line-height: 1.2;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 30px auto 0;
}

/* Tarjeta Base Estilo Imagen */
.contact-card {
  background: #ffffff;
  border: 1px solid #e2e0dc;
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* COLORES LATERALES */
.whatsapp-card {
  border-left: 5px solid #25d366;
}

.email-card {
  border-left: 5px solid #ff8c00;
}

.office-card {
  grid-column: span 2; /* Ancho completo */
  border-left: 5px solid #e2e0dc; /* Borde normal sutil */
  flex-direction: row; /* Diseño horizontal para escritorio */
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 30px;
}

/* TEXTOS INTERNOS */
.card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #999999;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-card h3 {
  margin: 0 0 15px 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #111111;
}

/* ESTADOS (BARRAS DE DISPONIBILIDAD) */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #666666;
  margin-bottom: 25px;
  background: transparent;
  padding: 0;
}

.status.online {
  background-color: #e8f9ef;
  color: #128c7e;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  align-self: flex-start;
}

/* BOTONES REDISEÑADOS */
.contact-btn,
.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: max-content;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.contact-btn {
  background: #25d366;
  color: #fff;
}

.contact-btn:hover {
  background: #1ebd59;
  transform: translateY(-2px);
}

.email-btn {
  background: #ff8c00;
  color: #fff;
}

.email-btn:hover {
  background: #e07b00;
}

/* OFICINA DETALLES */
.office-left {
  flex: 1;
}

.office-left h3 {
  margin: 0;
  font-size: 1.25rem;
}

.office-center {
  flex: 0 1 auto;
  padding: 8px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: #666666;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.map-btn {
  background: #111111;
  color: #fff;
  white-space: nowrap;
}

.map-btn:hover {
  background: #333333;
  transform: translateY(-2px);
}

/* 8  Testimonios
   ============================================================= */
.testimonios-section {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.testimonios-section h2 {
  font-weight: 600;
  text-align: center;
  color: var(--dark);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.testimonios-section h2 i {
  color: var(--primary);
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonio-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  border-left: 4px solid var(--primary);
}
.testimonio-card:hover {
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
.testimonio-content p {
  font-style: italic;
  color: #495057;
  margin-bottom: 20px;
  line-height: 1.6;
}
.testimonio-autor strong {
  color: var(--dark);
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}
.testimonio-autor span {
  color: #6c757d;
}
.testimonio-rating {
  margin-top: 15px;
}
.testimonio-rating i {
  color: #ffc107;
  margin-right: 2px;
}

/* ==========================================================
   9. FORMULARIO DE CONTACTO – INLINE
   ========================================================== */

.formulario-contacto-section {
  max-width: 1280px;
  margin: 100px auto;
  padding: 60px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  background: #fff;
  border: 1px solid rgba(249, 145, 9, 0.12);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
}

/* ── Columna izquierda ── */
.formulario-content {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(249, 145, 9, 0.08);
  border: 1px solid rgba(249, 145, 9, 0.15);
  color: #d47b00;
  margin-bottom: 24px;
}

.formulario-content h2 {
  text-align: left;
  margin: 0 0 16px;
  color: #111;
}

.formulario-content h2 span {
  color: #f99109;
}

.form-subtitle {
  margin: 0 0 28px;
  color: #666;
}

.form-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-benefits span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: #fafafa;
  border: 1px solid rgba(249, 145, 9, 0.1);
  border-radius: 14px;
  color: #333;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.form-benefits span:hover {
  transform: translateX(5px);
  border-color: rgba(249, 145, 9, 0.28);
}

.form-benefits i {
  color: #f99109;
  flex-shrink: 0;
}

/* ── Columna derecha: wrapper del form ── */
.formulario-inline-wrapper {
  padding: 36px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(249, 145, 9, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* ── Progress indicator ── */
.progress-indicator-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-dot span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.step-dot.active span {
  background: #f99109;
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 0 0 7px rgba(249, 145, 9, 0.11);
}

.step-dot-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #bbb;
}

.step-dot.active .step-dot-label {
  color: #f99109;
}

.step-connector {
  width: 64px;
  height: 3px;
  margin: 0 4px 24px;
  border-radius: 999px;
  background: #ebebeb;
  transition: background 0.3s;
}

.step-connector.done {
  background: #f99109;
}

/* ── Pasos del form ── */
.formulario-inline-form .form-step {
  display: none;
  animation: fadeStep 0.28s ease;
}

.formulario-inline-form .form-step.active {
  display: block;
}

@keyframes fadeStep {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.formulario-inline-form .form-group {
  margin-bottom: 18px;
}

.formulario-inline-form input,
.formulario-inline-form textarea,
.formulario-inline-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  color: #222;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.formulario-inline-form input:focus,
.formulario-inline-form textarea:focus,
.formulario-inline-form select:focus {
  outline: none;
  border-color: #f99109;
  box-shadow: 0 0 0 3px rgba(249, 145, 9, 0.1);
}

.formulario-inline-form textarea {
  resize: vertical;
  min-height: 88px;
}

/* ── Captcha ── */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8f8f8;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  flex-wrap: wrap;
}

#captcha-input {
  width: 80px;
  text-align: center;
}

/* ── Checkbox ── */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #f99109;
  margin: 0;
  flex-shrink: 0;
}

.checkbox-group a {
  color: #f99109;
  text-decoration: underline;
}

.checkbox-group a:hover {
  color: #d47b00;
}

/* ── Validaciones ── */
.validation-message {
  margin-top: 4px;
  color: #e74c3c;
  display: flex;
  align-items: center;
  gap: 4px;
}

.validation-message.success { color: #27ae60; }

.char-counter {
  text-align: right;
  margin-top: 4px;
  color: #999;
}

input.valid, select.valid, textarea.valid {
  border-color: #27ae60;
}
input.invalid, select.invalid, textarea.invalid {
  border-color: #e74c3c;
}

/* ── Resumen (Paso 3) ── */
.resumen-intro {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #777;
}

.resumen-intro i { color: #f99109; }

.resumen-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.dato-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 11px 14px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #ededed;
  gap: 12px;
}

.dato-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  min-width: 80px;
  color: #aaa;
  flex-shrink: 0;
}

.dato-valor {
  text-align: right;
  flex: 1;
  word-break: break-word;
  color: #222;
}

.dato-mensaje {
  flex-direction: column;
}

.dato-mensaje .dato-valor {
  text-align: left;
  font-style: italic;
  color: #555;
  margin-top: 6px;
}

/* ── Confirmación ── */
.confirmacion-inline {
  text-align: center;
  padding: 16px 8px;
}

.confirmacion-inline .check-animation i {
  font-size: 3.2rem;
  color: #27ae60;
  margin-bottom: 10px;
  display: block;
  animation: pop 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes pop {
  from { transform: scale(0.75); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.confirmacion-inline h3 { margin: 0 0 6px; color: #111; }
.confirmacion-inline p  { color: #777; margin-bottom: 14px; }

.loading-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25d366;
}

/* ── Navegación ── */
.form-navigation-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 10px;
}

.btn-nav {
  padding: 11px 22px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}

.btn-nav-hidden {
  visibility: hidden;
  pointer-events: none;
}

.btn-primary  { background: #f99109; color: #fff; box-shadow: 0 4px 12px rgba(249,145,9,.28); }
.btn-primary:hover  { background: #e07f00; transform: translateY(-2px); }

.btn-secondary  { background: #f0f0f0; color: #333; }
.btn-secondary:hover { background: #e4e4e4; }

.btn-success  { background: #27ae60; color: #fff; box-shadow: 0 4px 12px rgba(39,174,96,.28); }
.btn-success:hover  { background: #219a54; transform: translateY(-2px); }

/* ── Responsive sección 9 ── */

/* Teléfono grande (≤ 768px) */
@media (max-width: 768px) {
  .formulario-contacto-section {
    grid-template-columns: 1fr;
    margin: 60px 20px;
    padding: 40px 28px;
    gap: 36px;
  }

  .formulario-content {
    position: static;
    text-align: center;
    align-items: center;
  }

  .form-badge {
    align-self: center;
  }

  .formulario-content h2 {
    text-align: center;
  }

  .form-benefits span {
    justify-content: flex-start;
  }

  .step-connector {
    width: 44px;
  }
}

/* Teléfono pequeño (≤ 480px) */
@media (max-width: 480px) {
  .formulario-contacto-section {
    margin: 40px 12px;
    padding: 28px 18px;
    border-radius: 22px;
  }

  .formulario-inline-wrapper {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .step-dot span {
    width: 38px;
    height: 38px;
  }

  .step-connector {
    width: 28px;
  }

  .dato-label {
    min-width: 68px;
  }

  .btn-nav {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* Teléfono muy pequeño (≤ 360px) */
@media (max-width: 360px) {
  .formulario-contacto-section {
    margin: 30px 8px;
    padding: 22px 14px;
    border-radius: 18px;
  }

  .progress-indicator-inline {
    gap: 0;
  }

  .step-connector {
    width: 16px;
  }

  .step-dot span {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .step-dot-label {
    font-size: 0.65rem;
  }

  .form-navigation-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-nav {
    justify-content: center;
  }

  .btn-nav-hidden {
    display: none;
  }
}


/* ==========================================================
   10. MODAL – POLÍTICA DE PRIVACIDAD
   ========================================================== */

.modal-enhanced {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-enhanced:not(.oculto) {
  display: flex;
}

.modal-content-enhanced {
  background: #fff;
  border-radius: 24px;
  max-width: 540px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: modalIn 0.28s ease-out;
}

@keyframes modalIn {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-header-enhanced {
  background: #f99109;
  color: #fff;
  padding: 22px 28px;
  border-radius: 24px 24px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modal-header-enhanced h2 {
  margin: 0;
  color: #fff;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-enhanced {
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.close-enhanced:hover {
  opacity: 0.75;
}

.modal-body-enhanced {
  padding: 28px;
  color: #333;
}

.modal-body-enhanced p {
  margin-bottom: 1rem;
}

.modal-body-enhanced h3,
.modal-body-enhanced h4 {
  color: #111;
}

.modal-body-enhanced ul {
  padding-left: 20px;
  line-height: 1.8;
  color: #555;
}

/* ── Responsive sección 10 ── */

/* Teléfono grande (≤ 768px) */
@media (max-width: 768px) {
  .modal-content-enhanced {
    border-radius: 20px;
    max-height: 90vh;
  }

  .modal-header-enhanced {
    padding: 18px 22px;
    border-radius: 20px 20px 0 0;
  }

  .modal-body-enhanced {
    padding: 22px 20px;
  }
}

/* Teléfono pequeño (≤ 480px) */
@media (max-width: 480px) {
  .modal-enhanced {
    padding: 12px;
    align-items: flex-end;
  }

  .modal-content-enhanced {
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    width: 100%;
  }

  .modal-header-enhanced {
    padding: 16px 18px;
    border-radius: 20px 20px 0 0;
  }

  .modal-body-enhanced {
    padding: 18px 16px;
  }
}

/* Teléfono muy pequeño (≤ 360px) */
@media (max-width: 360px) {
  .modal-header-enhanced h2 {
    font-size: 1.1rem;
  }

  .modal-body-enhanced {
    padding: 14px 12px;
  }

  .close-enhanced {
    font-size: 1.5rem;
  }
}
/* 11  Progress Indicator
   ============================================================= */
.progress-indicator {
  display: flex;
  justify-content: center;
  padding: 30px;
  background: #f8f9fa;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 200px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: #e9ecef;
  z-index: 1;
}
.step.active:not(:last-child)::after {
  background: var(--primary);
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.step.active .step-number {
  background: var(--primary);
  color: white;
}
.step-label {
  color: #6c757d;
  text-align: center;
  font-weight: 500;
}
.step.active .step-label {
  color: var(--dark);
  font-weight: 600;
}

/* 12  Form Steps & Fields
   ============================================================= */
.form-step {
  display: none;
  padding: 30px;
}
.form-step.active {
  display: block;
}
.form-step h3 {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(251, 159, 46, 0.1);
}
.char-counter {
  text-align: right;
  color: #6c757d;
  margin-top: 5px;
}
.validation-message {
  color: #dc3545;
  margin-top: 5px;
}
.validation-message.success {
  color: #27ae60;
  font-weight: 500;
}
.validation-message.error {
  color: #e74c3c;
  font-weight: 500;
}
input.valid,
select.valid,
textarea.valid {
  border-color: #27ae60;
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.1);
}
input.invalid,
select.invalid,
textarea.invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

/* 13  Captcha
   ============================================================= */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #e9ecef;
}
#captcha-question {
  font-weight: 600;
  color: #2c3e50;
}
#captcha-input {
  width: 80px;
  text-align: center;
  font-weight: bold;
}

/* 14  Checkbox Política
   ============================================================= */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;

  margin-top: 3px;
  flex-shrink: 0;

  accent-color: #f99109;
}

.checkbox-group label {
  margin: 0;

  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;

  cursor: pointer;
}
.checkbox-group a {
  color: #e67e22;
  text-decoration: underline;
  font-weight: 600;
}
.checkbox-group a:hover {
  color: #d35400;
}

/* 15  Form Navigation
   ============================================================= */
.form-navigation {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  background: #f8f9fa;
  border-radius: 0 0 20px 20px;
}
.btn-nav {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-nav-hidden {
  visibility: hidden;
}
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-orange-light)
  );
  color: white;
}
.btn-secondary {
  background: #6c757d;
  color: white;
}
.btn-success {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 16  Resumen (Paso 3)
   ============================================================= */
.resumen-contenido {
  background: #f8f9fa;
  padding: 0;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  margin-bottom: 20px;
  overflow: hidden;
}
.resumen-header {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 20px 25px;
  text-align: center;
}
.resumen-header h4 {
  margin: 0 0 8px 0;
  font-weight: 600;
}
.resumen-header h4 i {
  margin-right: 8px;
}
.resumen-subtitle {
  margin: 0;
  opacity: 0.9;
}
.resumen-datos {
  padding: 25px;
}
.dato-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #e67e22;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.dato-item:last-child {
  margin-bottom: 0;
}
.dato-label {
  color: #2c3e50;
  font-weight: 600;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dato-label i {
  color: #e67e22;
  width: 16px;
  text-align: center;
}
.dato-valor {
  color: #34495e;
  font-weight: 500;
  flex: 1;
  word-break: break-word;
}
.mensaje-item {
  flex-direction: column;
  align-items: flex-start;
}
.mensaje-item .dato-label {
  margin-bottom: 8px;
}
.mensaje-completo {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  width: 100%;
  line-height: 1.5;
  font-style: italic;
}
.resumen-footer {
  background: #e8f4f8;
  padding: 15px 25px;
  border-top: 1px solid #dee2e6;
}
.info-envio {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2c3e50;
  justify-content: center;
}
.info-envio i {
  color: #3498db;
  font-size: 1.1rem;
}
.resumen-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #e8f4f8;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}
.resumen-note i {
  color: #3498db;
  font-size: 1.2rem;
}
.resumen-note p {
  margin: 0;
  color: #2c3e50;
}

/* 17  Confirmación de Envío
   ============================================================= */
.confirmacion-envio {
  text-align: center;
  padding: 0;
}
.confirmacion-header {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 30px 25px;
}
.check-animation {
  margin-bottom: 15px;
}
.check-animation i {
  font-size: 4rem;
  color: white;
  animation: checkBounce 0.6s ease-out;
}
.confirmacion-header h3 {
  margin: 0 0 8px 0;
  font-weight: 600;
}
.confirmacion-subtitle {
  margin: 0;
  opacity: 0.9;
}
.confirmacion-body {
  padding: 30px 25px;
  background: white;
}
.mensaje-principal,
.tiempo-respuesta,
.contacto-directo {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 10px;
  text-align: left;
}
.mensaje-principal {
  background: #e8f4f8;
  border-left: 4px solid #3498db;
}
.tiempo-respuesta {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
}
.contacto-directo {
  background: #d4edda;
  border-left: 4px solid #25d366;
}
.mensaje-principal i,
.tiempo-respuesta i,
.contacto-directo i {
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.mensaje-principal i {
  color: #3498db;
}
.tiempo-respuesta i {
  color: #ffc107;
}
.contacto-directo i {
  color: #25d366;
}
.mensaje-principal p,
.tiempo-respuesta p,
.contacto-directo p {
  margin: 0;
  color: #2c3e50;
  line-height: 1.5;
}
.contacto-directo a {
  color: #25d366;
  font-weight: 600;
  text-decoration: none;
}
.contacto-directo a:hover {
  text-decoration: underline;
}
.confirmacion-footer {
  background: #f8f9fa;
  padding: 20px 25px;
  border-top: 1px solid #dee2e6;
}
.loading-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #25d366;
  font-weight: 600;
}
.loading-whatsapp i {
  font-size: 1.2rem;
}

/* 18  Modal Política de Privacidad
   ============================================================= */
.modal-body-enhanced {
  padding: 30px;
}
.modal-body-enhanced h3,
.modal-body-enhanced h4 {
  color: var(--dark);
}
.modal-body-enhanced ul {
  padding-left: 20px;
  color: #555;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .office-card { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 15px; padding: 30px 24px; }
  .office-center { width: 100%; box-sizing: border-box; text-align: center; }
  .contact-btn, .map-btn { width: 100%; box-sizing: border-box; }
  .contacto-section { padding-top: 40px; padding-bottom: 40px; }
}

@media (max-width: 480px) {
  .contact-card { padding: 28px 20px; }
  .contact-card h3 { font-size: 1.35rem; }
  .testimonios-section { width: calc(100% - 18px); padding: 32px 18px; margin: 40px auto; }
}

@media (max-width: 380px) {
  .testimonios-section { width: calc(100% - 22px); }
}