* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: #fafbfc;
  color: #2c3e50;
}

/* UTILIDADES */
.hidden {
  display: none !important;
}

/* PORTADA */
.hero-wrapper {
  width: 100%;
  background-color: #f7f5f2;
  display: flex;
  justify-content: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  line-height: 0;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  border-radius: 20px;
}

.btn-cita {
  top: 72.5%;
  left: 7.2%;
  width: 16%;
  height: 6.8%;
}

.btn-conocenos {
  top: 72.5%;
  left: 24.8%;
  width: 10%;
  height: 6.8%;
}

.nav-servicios {
  top: 6%;
  left: 79%;
  width: 7%;
  height: 4%;
}

.nav-contacto {
  top: 6%;
  left: 87.5%;
  width: 7%;
  height: 4%;
}

/* SECCIONES */
.section {
  padding: 60px 20px;
}

.bg-light {
  background-color: #f0f4f8;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  color: #0b3c5d;
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: #64748b;
  margin-bottom: 40px;
  font-size: 16px;
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.04);
  border-top: 4px solid #7a9a82;
}

.card h3 {
  color: #0b3c5d;
  margin-bottom: 12px;
}

.card p {
  line-height: 1.5;
  color: #475569;
}

/* DOS BOTONES NOM-035 */
.nom035-actions-wrapper {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 30px auto 40px auto;
  max-width: 850px;
  flex-wrap: wrap;
}

.btn-nom {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.btn-nom .btn-icon {
  font-size: 30px;
}

.btn-nom .btn-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 3px;
}

.btn-nom .btn-text small {
  display: block;
  font-size: 13px;
  opacity: 0.9;
}

.btn-nom.btn-info {
  background-color: #ffffff;
  border-color: #cbd5e1;
  color: #0b3c5d;
}

.btn-nom.btn-info:hover {
  border-color: #0b3c5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 60, 93, 0.1);
}

.btn-nom.btn-acceso {
  background-color: #556b2f;
  color: #ffffff;
}

.btn-nom.btn-acceso:hover {
  background-color: #435424;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(85, 107, 47, 0.25);
}

/* MODALES */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-card {
  background: #ffffff;
  border-radius: 14px;
  position: relative;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-lg { max-width: 820px; }
.modal-sm { max-width: 440px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #64748b;
  cursor: pointer;
}

.modal-title {
  color: #0b3c5d;
  font-size: 21px;
  margin-bottom: 24px;
}

.info-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.info-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 20px;
  border-radius: 10px;
}

.info-box h4 {
  color: #0b3c5d;
  margin-bottom: 10px;
  font-size: 16px;
}

.info-box.destacada {
  border-left: 4px solid #556b2f;
  background-color: #fdfdfd;
}

.btn-cotizar-modal {
  display: inline-block;
  background-color: #22c55e;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  margin-top: 24px;
}

.lock-circle {
  font-size: 38px;
  margin-bottom: 10px;
}

.login-header h3 {
  color: #0b3c5d;
  margin-bottom: 6px;
}

.login-header p {
  color: #64748b;
  font-size: 13.5px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14.5px;
}

.form-group input:focus {
  border-color: #556b2f;
  outline: none;
}

.btn-submit-login {
  width: 100%;
  background-color: #556b2f;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}

.login-error {
  color: #dc2626;
  font-size: 13px;
  margin-bottom: 12px;
}

/* BANNER DE AUTENTICADO */
.banner-autenticado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f0fdf4;
  border: 1px solid #22c55e;
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.btn-logout {
  background: transparent;
  border: 1px solid #dc2626;
  color: #dc2626;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

/* FORMULARIO Y CONTENEDORES NOM-035 */
.form-container {
  background: white;
  padding: 35px;
  border-radius: 12px;
  max-width: 850px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.form-container h3 {
  color: #0b3c5d;
  margin-bottom: 8px;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.form-row input {
  flex: 1;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 15px;
}

.pregunta-box {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

.pregunta-box p {
  font-weight: 600;
  margin-bottom: 10px;
}

.pregunta-box label {
  display: inline-block;
  margin-right: 15px;
  font-size: 14px;
}

.btn-submit {
  width: 100%;
  background-color: #7a9a82;
  color: white;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 25px;
  transition: background-color 0.2s;
}

.btn-submit:hover {
  background-color: #6a8671;
}

.categoria-header {
  background-color: #0b3c5d;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.categoria-header h4 {
  color: white;
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.pregunta-texto {
  font-size: 15px;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.4;
}

.opciones-nom {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.opciones-nom label {
  background: white;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.opciones-nom label:hover {
  border-color: #7a9a82;
  background-color: #f1f5f9;
}

.opciones-nom input[type="radio"] {
  accent-color: #0b3c5d;
}

.selector-guia-box {
  background-color: #f1f5f9;
  border-left: 5px solid #0b3c5d;
  padding: 18px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.selector-guia-box label {
  color: #0b3c5d;
  font-size: 15px;
}

.form-select {
  padding: 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  background-color: #ffffff;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.form-select:focus {
  border-color: #0b3c5d;
}

.tabs-evaluacion {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.btn-tab {
  flex: 1;
  min-width: 260px;
  padding: 14px 20px;
  background-color: #e2e8f0;
  color: #1e293b;
  border: none;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-tab.active {
  background-color: #0b3c5d;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(11, 60, 93, 0.2);
}

.btn-tab:hover:not(.active) {
  background-color: #cbd5e1;
}

.opciones-ats {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.opciones-ats label {
  background: white;
  border: 1px solid #cbd5e1;
  padding: 8px 24px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.opciones-ats label:hover {
  border-color: #0b3c5d;
  background-color: #f8fafc;
}

.alerta-normativa {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 14px;
  color: #92400e;
  line-height: 1.4;
}

.instrucciones-sec {
  font-size: 14px;
  color: #475569;
  margin-bottom: 12px;
}

.politica-acordeon-box {
  margin-bottom: 25px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.btn-acordeon-politica {
  width: 100%;
  padding: 14px 18px;
  background-color: #f8fafc;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  color: #0b3c5d;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.btn-acordeon-politica:hover {
  background-color: #edf2f7;
}

.contenido-politica-desplegable {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #334155;
  font-size: 13.5px;
  line-height: 1.6;
}

.contenido-politica-desplegable h4 {
  color: #0b3c5d;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 15px;
}

.contenido-politica-desplegable ul {
  padding-left: 20px;
  margin: 10px 0;
}

.contenido-politica-desplegable li {
  margin-bottom: 6px;
}

.nota-politica {
  font-size: 12px;
  color: #64748b;
  margin-top: 12px;
}

.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  color: #1e293b;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}

.form-textarea:focus {
  border-color: #0b3c5d;
  box-shadow: 0 0 0 2px rgba(11, 60, 93, 0.15);
}

footer {
  background-color: #0b3c5d;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
}
