/* Estilos específicos para la página de Cotización */

/* Base styles */
:root {
  --text-dark: #222222;
  --text-muted: #666666;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.1);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background-color: #2E7D32;
  color: white;
}
.button.secondary {
  background-color: transparent;
  color: #2E7D32;
}

/* Estilos de error para campos */
input.error, select.error, textarea.error {
  border-color: #c62828 !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.2) !important;
  background-color: #fef5f5 !important;
}

input.error:focus, select.error:focus, textarea.error:focus {
  outline: none !important;
  border-color: #c62828 !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.3) !important;
}

/* Hero Section */
.hero {
  background: url('../../assets/img/contact/hero-cotizacion-ecoverde.webp') no-repeat center center/cover;
  height: 100vh;
  min-height: 400px;
  margin-bottom: 4rem;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.20);
  backdrop-filter: saturate(140%) blur(2px);
  border-radius: 12px;
  color: #fff;
}

/* Asegurar énfasis en blanco dentro del hero */
.hero h1,
.hero p { color: #fff; }
.hero-content a { color: #fff; text-decoration: underline; }
.hero-content a:hover { text-decoration: none; }

.hero h1 {
  font-size: 3.75rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.40),
    0 6px 18px rgba(0, 0, 0, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero p {
  font-size: 1.35rem;
  margin-bottom: 0;
  opacity: 1;
  font-weight: 500;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.30);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
}

/* Progreso del Formulario */
.progreso-formulario {
  background-color: #f9f9f9;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pasos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.paso {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.paso-numero {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #757575;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.paso-texto {
  font-size: 0.85rem;
  color: #757575;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.paso.activo .paso-numero {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.paso.activo .paso-texto {
  color: var(--text-dark);
  font-weight: 600;
}

.paso.completado .paso-numero {
  background-color: #4caf50;
  color: white;
  border-color: #4caf50;
}

.paso.completado .paso-texto {
  color: #4caf50;
  font-weight: 600;
}

.linea {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 1;
}

/* Progreso visual de la línea */
.linea::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progreso, 0%);
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transition: width 0.3s ease;
}

/* Formulario de Cotización */
.formulario-cotizacion {
  padding: 4rem 0;
  background-color: #fff;
}

.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.divider {
  display: none;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* Estilos del Formulario */
.form-cotizacion {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.paso-contenido {
  padding: 2.5rem;
  display: none;
}

.paso-contenido.activo {
  display: block;
}

/* Los hints siempre visibles */
.form-group .hint {
  display: block;
  font-size: 12px;
  color: #6b7280; /* gris profesional */
  margin-top: 4px;
}

/* Errores ocultos por defecto */
.form-group .error-message {
  display: none;
  font-size: 12px;
  color: #dc2626; /* rojo */
  margin-top: 4px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 107, 92, 0.1);
  background-color: white;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #cbd5e1;
  background-color: #fcfcfc;
}

input:disabled,
select:disabled,
textarea:disabled {
  opacity: .7;
  cursor: not-allowed;
  background-color: #f3f4f6;
}

html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="tel"],
html[data-theme="dark"] input[type="number"],
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background-color: #0f1418;
  border-color: #334155;
  color: #e5e7eb;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #93a2b1; }

html[data-theme="dark"] input:hover,
html[data-theme="dark"] select:hover,
html[data-theme="dark"] textarea:hover { border-color: #475569; }

html[data-theme="dark"] input:disabled,
html[data-theme="dark"] select:disabled,
html[data-theme="dark"] textarea:disabled { background-color: #0b0f13; color: #9aa7b6; }

.form-group:focus-within label {
  color: var(--primary);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Estados de validación */
.form-group .error-message {
  display: none;
  margin-top: 0.5rem;
  color: #c62828;
  font-size: 0.85rem;
}

.form-group .error-message {
  display: block;
  color: red;
  font-size: 12px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea,
.select2-container.error .select2-selection {
  border-color: #e53935 !important;
  background-color: #fff5f5;
}

.form-group.error .error-message {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e53935 !important;
  background-color: #fff5f5;
}

.form-group.has-error .error-message {
  display: block;
}

.hint {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

/* Estilos para Select2 */
.select2-container {
  width: 100%;
  max-width: 100%;
  position: relative;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
  border: 1px solid #ddd;
  border-radius: 5px;
  min-height: 46px;
  padding: 0.4rem 0.75rem;
  background-color: #f9f9f9;
}

/* Estado de error para Select2 */
.select2-container.error .select2-selection--single,
.select2-container.error .select2-selection--multiple {
  border-color: #e53935 !important;
  background-color: #fff5f5;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 107, 92, 0.1);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px;
  padding-left: 0;
  color: #333;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--primary);
  border: 1px solid var(--primary-dark);
  color: white;
  border-radius: 3px;
  padding: 0 8px;
  margin-top: 6px;
  margin-right: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: white;
  margin-right: 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding-right: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #ffeb3b;
}

/* Rango personalizado */
.rango-container {
  margin-top: 0.5rem;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e0e0e0;
  outline: none;
  margin: 1rem 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(0, 107, 92, 0.1);
}

.rango-valor {
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.rango-marcas {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: -0.5rem;
}

/* Checkboxes personalizados */
.checkboxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
}

.checkbox-item input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.checkbox-item input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkbox-item label {
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.checkbox-item input[type="checkbox"]:checked + label {
  color: var(--text-dark);
  font-weight: 500;
}


/* Navegación del formulario */
.form-navegacion {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

/* Botones del formulario (UX/UI profesional) */
.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition: filter .2s ease, box-shadow .2s ease, transform .02s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: #0f172a;
  border-color: #d1d5db;
}

.button:hover { filter: brightness(.98); }
.button:active { transform: translateY(1px); }

.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,107,92,.15), 0 1px 2px rgba(0,0,0,.06);
}

.button.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

.button.primary:hover { filter: brightness(1.02); }

.button.secondary {
  background: #fff;
  color: #111827;
  border-color: #d1d5db;
}

.button[disabled],
.button:disabled {
  opacity: .6;
  cursor: not-allowed;
  filter: grayscale(.1);
}

html[data-theme="dark"] .button { background:#0f1418; color:#e5e7eb; border-color:#334155; }
html[data-theme="dark"] .button.secondary { background:#0f1418; color:#e5e7eb; border-color:#334155; }
html[data-theme="dark"] .button.primary { background: var(--primary); border-color: #15803d; }

/* Botón en estado de envío */
.button .button-loading { display: none; }
.button.enviando .button-text { display: none; }
.button.enviando .button-loading { display: inline-flex; align-items: center; gap: 0.5rem; }

/* Resumen de la cotización */
.resumen-cotizacion {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.resumen-seccion {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.resumen-seccion:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.resumen-seccion h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.resumen-seccion h3 i {
  margin-right: 0.75rem;
  color: var(--primary);
}

.resumen-datos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.dato-resumen {
  margin-bottom: 0.75rem;
}

.dato-resumen strong {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.dato-resumen span {
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.5;
}

/* Términos y condiciones */
.terms {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.terms.final {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.terms input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.terms label {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
}

.terms a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.terms a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* Mensaje de éxito */
.mensaje-exito {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  display: none;
}

.mensaje-exito.activo {
  display: block;
  animation: fadeIn 0.5s ease;
}

.icono-exito {
  width: 80px;
  height: 80px;
  background-color: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.icono-exito i {
  font-size: 40px;
  color: #4caf50;
}

.mensaje-exito h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.mensaje-exito p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.botones-accion {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.botones-accion .button {
  min-width: 180px;
}

/* Sección de Beneficios */
.beneficios-cotizacion {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.beneficio {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficio:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.beneficio-icono {
  width: 112px;
  height: 112px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  font-size: 2rem;
  transition: all 0.3s ease;
}

/* Tamaños consistentes para los SVG de beneficios */
.beneficio-icono img {
  width: 100px;
  height: 100px;
  display: block;
}

.beneficio:hover .beneficio-icono {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.beneficio h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.beneficio p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Preguntas Frecuentes */
.preguntas-frecuentes {
  padding: 5rem 0;
  background-color: white;
}

.acordeon {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.acordeon-item {
  border-bottom: 1px solid #eceff1;
  background: #fff;
}

.acordeon-item:last-child {
  border-bottom: none;
}

.acordeon-titulo {
  width: 100%;
  padding: 1.25rem 1.75rem;
  background: #fff;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.acordeon-titulo:hover {
  background-color: #f7faf9;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.035);
}

.acordeon-titulo[aria-expanded="true"] {
  background-color: #f1f8f5;
  color: var(--primary);
}

.acordeon-icono {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 1rem;
}

.acordeon-icono::before,
.acordeon-icono::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
  border-radius: 2px;
}

.acordeon-icono::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  transform: translateY(-50%);
}

.acordeon-icono::after {
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  transform: translateX(-50%) rotate(0deg);
}

.acordeon-titulo[aria-expanded="true"] .acordeon-icono::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* Estado activo: resaltar icono y título ligeramente */
.acordeon-titulo[aria-expanded="true"] .acordeon-icono {
  color: var(--primary);
}

/* Accesibilidad: foco visible en títulos */
.acordeon-titulo:focus-visible {
  outline: 3px solid rgba(0, 107, 92, 0.25);
  outline-offset: 2px;
  border-radius: 8px;
}

.acordeon-contenido {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease, background-color .2s ease;
  background-color: white;
  border-top: 1px solid #f0f2f4;
}

.acordeon-contenido[aria-hidden="false"] {
  padding: 0 2rem 1.5rem;
  max-height: 700px;
}

.acordeon-contenido p,
.acordeon-contenido ul,
.acordeon-contenido ol {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.acordeon-contenido ul,
.acordeon-contenido ol {
  padding-left: 1.5rem;
}

.acordeon-contenido li {
  margin-bottom: 0.5rem;
}

.preguntas-cta {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.enlace-destacado {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.enlace-destacado:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Estilos para el datepicker de Flatpickr */
.flatpickr-calendar {
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.flatpickr-day.today {
  border-color: var(--primary);
}

.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
  background: var(--primary-light);
  color: var(--text-dark);
  border-color: var(--primary-light);
}

.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--text-dark);
}

/* Responsive */
@media (max-width: 1200px) {
  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .paso-texto {
    display: none;
  }
  
  .paso-numero {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .linea {
    top: 18px;
  }
  
  .resumen-datos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-content {
    max-width: 92%;
    text-align: center;
    color: white;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .paso-contenido {
    padding: 1.5rem;
  }
  
  .form-navegacion {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-navegacion .button {
    width: 100%;
  }
  
  .botones-accion {
    flex-direction: column;
  }
  
  .botones-accion .button {
    width: 100%;
  }
  
  .checkboxes-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .acordeon-titulo {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  
  .acordeon-contenido,
  .acordeon-contenido[aria-hidden="false"] {
    padding: 0 1.5rem 1.25rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero-content { max-width: 94%; padding: 0.6rem 0.9rem; }
  .hero p { font-size: 1rem; }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .beneficios-grid {
    grid-template-columns: 1fr;
  }

  /* Iconos de beneficios más compactos en móvil pequeño */
  .beneficio-icono { width: 88px; height: 88px; }
  .beneficio-icono img { width: 56px; height: 56px; }
  
  .checkboxes-grid {
    grid-template-columns: 1fr;
  }
  
  .preguntas-cto {
    font-size: 1rem;
  }
  
  .preguntas-cta {
    font-size: 1rem;
  }
  
  .paso-numero {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .linea {
    top: 16px;
  }
}
