@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;
}

/* Header y Navegación */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--primary);
  color: white;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.logo {
  height: 65px;
  transition: height 0.3s ease;
  border: 3px solid black;
  border-radius: 8px;
}

header.shrink .logo {
  height: 40px;
}

header.shrink {
  padding: 2px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
}

nav {
  margin: 5px -70px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-direction: row;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color .3s;
}

nav ul li a:hover {
  color: var(--dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: relative;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1101;
  font-size: 1.5rem;
}

.menu-toggle .bar {
  display: block;
  height: 3px;
  width: 30px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
  transform-origin: center;
  margin: 3px 0;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* SECCIÓN CONTACTO PRINCIPAL */
.contacto-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.contacto-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.contacto-header h2 {
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.contacto-header h2 i {
  color: var(--primary);
  font-size: 2.5rem;
}

.contacto-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* 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-contacto-section {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin: 60px auto;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.formulario-contacto-section h3 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.formulario-contacto-section h3 i {
  color: var(--primary);
}

.form-subtitle {
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.boton-correo {
  background: linear-gradient(135deg, var(--primary), var(--primary-orange));
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-orange);
}

.boton-correo:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(249, 145, 9, 0.4);
}

/* MODAL MEJORADO */
.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);
}

/* RESPONSIVIDAD */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.533);
    padding: 30px 20px;
    transition: right 0.6s ease;
    z-index: 1000;
  }

  nav.show {
    right: 0;
  }

  .menu-toggle {
    display: block;
    position: fixed;
    top: 26px;
    right: 12px;
    z-index: 1101;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  body.menu-abierto {
    overflow: hidden;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .contacto-header h2 {
    font-size: 2.2rem;
    flex-direction: column;
    gap: 10px;
  }

  .contacto-subtitle {
    font-size: 1.1rem;
  }

  .confianza-section,
  .testimonios-section,
  .formulario-contacto-section {
    margin: 20px;
    padding: 25px;
  }

  .confianza-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cert-items {
    grid-template-columns: 1fr;
  }

  .testimonios-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contacto-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-actions {
    flex-direction: column;
  }

  .btn-contact-primary,
  .btn-contact-secondary {
    width: 100%;
    justify-content: center;
  }

  .modal-content-enhanced {
    width: 95%;
    margin: 10px;
  }

  .modal-header-enhanced {
    padding: 20px;
  }

  .form-step {
    padding: 20px;
  }

  .form-navigation {
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .btn-nav {
    width: 100%;
    justify-content: center;
  }

  .progress-indicator {
    padding: 20px;
  }

  .step {
    max-width: 150px;
  }

  .step-label {
    font-size: 0.8rem;
  }
}

@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 */
.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 para móviles pequeños */
  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;
  }
}
