@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root { 
  --primary: #fb9f2ee2;
  --primary-orange: rgba(249, 145, 9, 0.9);
  --primary-orange-light: rgba(249, 145, 9, 0.7);
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-light: #4AE371;
  --email-blue: #3498db;
  --email-blue-dark: #2980b9;
  --email-blue-light: #5DADE2;
  --map-red: #e74c3c;
  --map-red-dark: #c0392b;
  --map-red-light: #EC7063;
  --dark: #333;
  --bg: #f0eaea;
  --round: 5px;
  --font: 'Poppins', sans-serif;
  --shadow-orange: 0 5px 15px rgba(249, 145, 9, 0.4);
  --shadow-green: 0 5px 15px rgba(37, 211, 102, 0.4);
  --shadow-blue: 0 5px 15px rgba(52, 152, 219, 0.4);
  --shadow-red: 0 5px 15px rgba(231, 76, 60, 0.4);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
}

.container {
  width: 85%;
  max-width: 1100px;
  margin: 0 auto;
}

/* SECCIÓN CONTACTO PRINCIPAL */
/*MODIFICADO*/
.contacto-section {
  padding: 80px 0;
  background-color: transparent;
  position: relative;
}

.contacto-header {
  text-align: center;
  margin-bottom: 40px;
}

.contacto-header h2 {
  font-size: 2.8rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: 800;
  text-align: center;
}

.contacto-header h2 i {
  color: #f49d32; 
  font-size: 2.4rem;
  transition: transform 0.3s ease;
}

.contacto-header:hover h2 i {
  transform: rotate(15deg) scale(1.1);
}

.contacto-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.contacto-header::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: #f49d32;
  margin: 20px auto 0;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .contacto-header h2 {
    font-size: 2rem;
  }
  .contacto-header h2 i {
    font-size: 1.8rem;
  }
}

/* SECCIÓN DE CONFIANZA */
.confianza-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);
}

.confianza-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-orange-light), var(--primary));
  color: white;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
}

.certificaciones h3 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.certificaciones h3 i {
  color: var(--primary);
}

.cert-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.cert-item:hover {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.cert-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

.cert-item span {
  font-weight: 500;
  color: var(--dark);
}

/* SECCIÓN DE 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 h3 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.testimonios-section h3 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: all 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;
  font-size: 0.9rem;
}

.testimonio-rating {
  margin-top: 15px;
}

.testimonio-rating i {
  color: #ffc107;
  margin-right: 2px;
}

/* INFORMACIÓN DE CONTACTO */
.contacto-info {
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.contacto-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.contacto-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid;
}

.contacto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.whatsapp-card {
  border-top-color: var(--whatsapp);
}

.whatsapp-card:hover {
  box-shadow: var(--shadow-green);
}

.email-card {
  border-top-color: var(--email-blue);
}

.email-card:hover {
  box-shadow: var(--shadow-blue);
}

.ubicacion-card {
  border-top-color: var(--map-red);
}

.ubicacion-card:hover {
  box-shadow: var(--shadow-red);
}

.card-icon {
  text-align: center;
  margin-bottom: 20px;
}

.whatsapp-card .card-icon i {
  font-size: 3rem;
  color: var(--whatsapp);
}

.email-card .card-icon i {
  font-size: 3rem;
  color: var(--email-blue);
}

.ubicacion-card .card-icon i {
  font-size: 3rem;
  color: var(--map-red);
}

.card-content h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
}

.contact-detail {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  margin-bottom: 10px;
}

.contact-status {
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
  margin-bottom: 20px;
}

.card-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-contact-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-orange));
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.whatsapp-card .btn-contact-primary {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
}

.email-card .btn-contact-primary {
  background: linear-gradient(135deg, var(--email-blue), var(--email-blue-dark));
}

.ubicacion-card .btn-contact-primary {
  background: linear-gradient(135deg, var(--map-red), var(--map-red-dark));
}

.btn-contact-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-contact-secondary {
  background: #f8f9fa;
  color: var(--dark);
  border: 2px solid #e9ecef;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-contact-secondary:hover {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
}

/* FORMULARIO DE CONTACTO */
/* FORMULARIO DE CONTACTO */
.formulario-contacto-section {
  background: linear-gradient(135deg, #ffffff 0%, #fff6ec 100%);
  border-radius: 30px;
  padding: 80px 50px;
  margin: 100px auto;
  max-width: 1000px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.15);
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 300px;
  position: relative;
  overflow: hidden;

  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
  transform: translateY(40px);
}

.formulario-contacto-section::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(249,145,9,0.20) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  z-index: 0;
}

.formulario-contacto-section::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(249,145,9,0.15) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  z-index: 0;
}

.formulario-contacto-section * {
  position: relative;
  z-index: 1;
}

/* IMAGEN MÁS GRANDE E IMPACTANTE */
.imagen-formulario {
  width: 420px;              /* 🔥 más grande */
  max-width: 100%;
  margin-bottom: 40px;
  border-radius: 30px;

  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.25),
    0 0 0 8px rgba(249,145,9,0.08);

  transition: all 0.5s ease;
}

.imagen-formulario:hover {
  transform: scale(1.12) translateY(-8px);
  box-shadow: 
    0 45px 110px rgba(0, 0, 0, 0.35),
    0 0 0 12px rgba(249,145,9,0.15);
}

/* Animación */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TITULO MÁS FUERTE */
.formulario-contacto-section h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.formulario-contacto-section h3 i {
  color: var(--primary);
}

/* SUBTITULO */
.form-subtitle {
  color: #555;
  margin-bottom: 40px;
  font-size: 1.15rem;
}

/* BOTÓN MÁS IMPACTANTE */
.boton-correo {
  background: linear-gradient(135deg, var(--primary), var(--primary-orange));
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  transition: all 0.3s ease;
  box-shadow: 0 15px 40px rgba(249, 145, 9, 0.35);
}

.boton-correo:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 55px rgba(249, 145, 9, 0.45);
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .formulario-contacto-section {
    padding: 60px 30px;
  }

  .imagen-formulario {
    width: 300px;
  }

}

/* MODAL */
.modal-enhanced {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-enhanced:not(.oculto) {
  display: flex;
}

.modal-content-enhanced {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

.modal-header-enhanced {
  background: linear-gradient(135deg, var(--primary), var(--primary-orange));
  color: white;
  padding: 25px 30px;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header-enhanced h2 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-enhanced {
  font-size: 2rem;
  cursor: pointer;
  color: white;
  transition: color 0.3s ease;
}

.close-enhanced:hover {
  color: #f8f9fa;
}

/* INDICADOR DE PROGRESO */
.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 {
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
  font-weight: 500;
}

.step.active .step-label {
  color: var(--dark);
  font-weight: 600;
}

/* FORMULARIO PASOS */
.form-step {
  display: none;
  padding: 30px;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  color: var(--dark);
  margin-bottom: 25px;
  font-size: 1.3rem;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.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;
  font-size: 1rem;
  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;
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 5px;
}

.validation-message {
  font-size: 0.8rem;
  color: #dc3545;
  margin-top: 5px;
}

/* NAVEGACIÓN DEL FORMULARIO */
.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));
  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);
}

/* SCROLL TO HOME */
.scrollToHome {
  border-radius: 20px;
  background: linear-gradient(135deg, #f49d32, #ff6b35);
  bottom: 20px;
  color: #ffffff;
  display: none;
  font-size: 20px;
  height: 55px;
  line-height: 55px;
  padding: 0;
  position: fixed;
  right: 20px;
  text-align: center;
  width: 55px;
  z-index: 99999;
  box-shadow: 0 8px 25px rgba(244, 157, 50, 0.4);
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease-in-out;
}

.scrollToHome:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #ff6b35, #e8890b);
  box-shadow: 0 12px 35px rgba(244, 157, 50, 0.6);
  color: #ffffff;
}

.scrollToHome:active {
  transform: translateY(-1px) scale(1.02);
  transition: all 0.1s ease;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  text-decoration: none;
  color: white;
  font-size: 24px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* FOOTER */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

footer p {
  margin: 0 0 15px 0;
  font-size: 1rem;
  font-weight: 400;
}

.redes-sociales {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.redes-sociales a {
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
}

.redes-sociales a:hover {
  color: var(--primary);
  background: rgba(251, 159, 46, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(251, 159, 46, 0.3);
}

@media (max-width: 480px) {
  .contacto-header h2 {
    font-size: 1.8rem;
  }

  .contacto-header h2 i {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .cert-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .card-icon i {
    font-size: 2.5rem !important;
  }

  .contact-detail {
    font-size: 1.1rem;
  }

  .scrollToHome {
    width: 45px;
    height: 45px;
    font-size: 16px;
    line-height: 45px;
    border-radius: 15px;
    bottom: 15px;
    right: 15px;
  }

  /* Footer responsivo */
  footer {
    padding: 25px 15px;
  }

  footer p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .redes-sociales {
    gap: 15px;
  }

  .redes-sociales a {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 22px;
    bottom: 15px;
    left: 15px;
  }

  .progress-indicator {
    flex-direction: column;
    gap: 15px;
  }

  .step:not(:last-child)::after {
    display: none;
  }
}

/* ESTILOS PARA NUEVOS ELEMENTOS DEL FORMULARIO */
.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;
  font-size: 1.1rem;
}

#captcha-input {
  width: 80px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
}

/* CHECKBOX DE POLÍTICA */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  transform: scale(1.2);
  accent-color: #e67e22;
}

.checkbox-group label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  cursor: pointer;
}

.checkbox-group a {
  color: #e67e22;
  text-decoration: underline;
  font-weight: 600;
}

.checkbox-group a:hover {
  color: #d35400;
}

/* RESUMEN MEJORADO */
.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-size: 1.3rem;
  font-weight: 600;
}

.resumen-header h4 i {
  margin-right: 8px;
}

.resumen-subtitle {
  margin: 0;
  font-size: 0.9rem;
  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;
  font-size: 0.95rem;
}

.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;
  font-size: 0.9rem;
  justify-content: center;
}

.info-envio i {
  color: #3498db;
  font-size: 1.1rem;
}

/* MENSAJE DE CONFIRMACIÓN */
.confirmacion-envio {
  text-align: center;
  padding: 0;
}

.confirmacion-header {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 30px 25px;
  position: relative;
}

.check-animation {
  margin-bottom: 15px;
}

.check-animation i {
  font-size: 4rem;
  color: white;
  animation: checkBounce 0.6s ease-out;
}

@keyframes checkBounce {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.confirmacion-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.confirmacion-subtitle {
  margin: 0;
  font-size: 1rem;
  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;
}

.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;
  font-size: 0.95rem;
}

/* VALIDACIONES MEJORADAS */
.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);
}

/* RESPONSIVE PARA NUEVOS ELEMENTOS */
@media (max-width: 768px) {
  .captcha-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .checkbox-group {
    flex-direction: column;
    gap: 8px;
  }
  
  .resumen-contenido {
    padding: 20px;
  }
  
  .resumen-contenido strong {
    min-width: auto;
    display: block;
    margin-bottom: 5px;
  }
  
  .dato-label {
    min-width: auto;
    margin-bottom: 5px;
  }
  
  .dato-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .confirmacion-header {
    padding: 25px 20px;
  }
  
  .confirmacion-header h3 {
    font-size: 1.3rem;
  }
  
  .check-animation i {
    font-size: 3rem;
  }
  
  .confirmacion-body {
    padding: 25px 20px;
  }
  
  .mensaje-principal,
  .tiempo-respuesta,
  .contacto-directo {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ANIMACIONES */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.scroll-to-home-visible {
  display: block !important;
}

.modal-visible {
  display: flex !important;
}

@media (max-width: 480px) {
  footer {
    padding: 20px 10px;
  }

  footer p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .redes-sociales {
    gap: 12px;
    flex-wrap: wrap;
  }

  .redes-sociales a {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 12px;
    left: 12px;
  }
}

/*celulares pequeños */
@media (max-width: 768px) {
    header .container {
        justify-content: space-between;
    }
    
}
@media (max-width: 768px) {

  .contacto-section {
    padding-top: 0;  
  }

}

/*UNIFICAR TÍTULOS Y TEXTOS - CONTACTO*/
/* TÍTULOS PRINCIPALES */
.contacto-header h2,
.confianza-section h3,
.testimonios-section h3,
.formulario-contacto-section h3 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  color: var(--dark);
}

/* SUBTÍTULOS INTERNOS */
.card-content h3,
.certificaciones h3,
.form-step h3 {
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  color: var(--dark);
}

/* TEXTOS GENERALES */
.contacto-subtitle,
.stat-label,
.contact-detail,
.contact-status,
.testimonio-content p,
.cert-item span,
.form-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  color: #555;
}

/* NÚMEROS DESTACADOS */
.stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .contacto-header h2,
  .confianza-section h3,
  .testimonios-section h3,
  .formulario-contacto-section h3 {
    font-size: 1.8rem;
  }

  .card-content h3,
  .certificaciones h3,
  .form-step h3 {
    font-size: 1.4rem;
  }

  .contacto-subtitle,
  .stat-label,
  .contact-detail,
  .contact-status,
  .testimonio-content p,
  .cert-item span,
  .form-subtitle {
    font-size: 0.95rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}