* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background: #fff;
  color: #222;
  position: relative;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(24, 72, 134, 0.95); /* sólido azul */
  color: #fff;
  padding: 15px 0;
  z-index: 1200; /* sobre modales/menú */
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
header.scrolled {
  background: rgba(24, 72, 134, 0.95); /* sólido azul */
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

.logo1 {
  height: 50px;
}

.logo1 img {
  font-size: 32px;
  font-weight: bold;
  height: 60px;
  margin-top: -5px;
  filter: brightness(0) invert(1);
}

nav {
  position: relative;
}
nav .menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
nav .menu > li {
  position: relative;
  margin: 0;
}
nav .menu > li > a {
  display: block;
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 500;
  margin-left: 20px;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none !important;
}

nav .menu > li > a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0b5fae, #7c7c7c);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav .menu > li > a:hover::after {
  width: 80%;
}

nav .menu > li > a.active::after {
  width: 80%;
}

nav .menu > li > a:hover {
  text-decoration: none !important;
}

nav .menu > li.dropdown:hover > .submenu,
nav .menu > li.dropdown.open > .submenu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

nav .menu > li.dropdown::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  z-index: 999;
}

nav .submenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav .submenu li {
  margin: 0;
  position: relative;
  overflow: hidden;
}

nav .submenu li a {
  display: flex;
  align-items: center;
  padding: 12px 20px 12px 24px;
  color: #2d3748 !important;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.15px;
}

nav .submenu li a::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(11, 95, 174, 0.08) 0%,
    rgba(11, 95, 174, 0.04) 50%,
    transparent 100%
  );
  transition: left 0.35s ease;
  z-index: -1;
}

nav .submenu li a:hover::before {
  left: 0;
}

nav .submenu li a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  height: 0;
  width: 3px;
  background: linear-gradient(to bottom, #0b5fae 0%, #008c4c 100%);
  border-radius: 0 2px 2px 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

nav .submenu li a:hover::after {
  height: 50%;
  transform: translateY(-50%) scaleY(1);
}

nav .submenu li a i {
  margin-right: 14px;
  width: 18px;
  text-align: center;
  color: #0b5fae;
  transition: all 0.3s ease;
  font-size: 15px;
}

nav .submenu li a:hover i {
  transform: translateX(4px);
  color: #008c4c;
}

nav .submenu li:not(:last-child)::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 0 16px;
}

nav .menu > li.dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.85);
  margin-left: 8px;
  transition: all 0.25s ease;
  vertical-align: middle;
}

nav .menu > li.dropdown:hover > a::after {
  transform: rotate(180deg);
  border-top-color: #fff;
}

nav .menu > li.dropdown {
  transition: all 0.3s ease;
}

@keyframes submenuSlide {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

nav .menu > li.dropdown:hover > .submenu {
  animation: submenuSlide 0.3s ease forwards;
}

nav .menu{
  display:flex; align-items:center; gap:20px; list-style:none; margin:0; padding:0;
}
nav .menu > li{ position:relative; }
nav .menu > li > a{ display:inline-flex; align-items:center; padding:10px 12px; text-decoration:none; }

/* Submenú en desktop por hover */
nav .submenu{
  position:absolute; top:100%; left:0; min-width:220px; list-style:none; margin:0; padding:8px 0;
  background:#ffffff; color:#0a0a0a; display:none; z-index:1000; box-shadow:0 10px 24px rgba(0,0,0,.18);
  border-radius:8px;
}
nav .submenu li a{ display:block; padding:10px 14px; color:#0a0a0a; text-decoration:none; white-space:nowrap; }
nav .submenu li a:hover{ background:#f3f5f7; }

@media (min-width: 769px){
  nav .menu{ display:flex !important; }
  nav .menu > li:hover > .submenu{ display:block; }
  .menu-overlay{ display:none !important; }
  .menu-toggle{ display:none !important; }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    backdrop-filter: blur(3px);
}

.menu-overlay.active {
    display: block;
}

nav .menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav .menu > li {
    position: relative;
    margin: 0;
}

nav .menu > li > a {
    display: block;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
    transition: all 0.3s ease;
    position: relative;
}

nav .menu > li > a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0b5fae, #7c7c7c);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav .menu > li > a:hover::after {
    width: 80%;
}

nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    min-width: 280px;
    z-index: 1000;
    padding: 8px 0;
    margin: 15px 0 0 0;
    list-style: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
}

nav .menu > li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav .submenu li a {
    display: block;
    padding: 12px 20px;
    color: #2d3748 !important;
    text-decoration: none;
    transition: background 0.3s ease;
}

nav .submenu li a:hover {
    background: #f7fafc;
}

nav .menu > li.dropdown > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.85);
    margin-left: 8px;
    transition: all 0.25s ease;
    vertical-align: middle;
}

nav .menu > li.dropdown:hover > a::after {
    transform: rotate(180deg);
}

@media (max-width: 768px){
  .menu-toggle{
    display:flex; flex-direction:column; justify-content:space-between;
    width:30px; height:21px; background:transparent; border:0; cursor:pointer;
    position:static; margin-left:auto; z-index:1002; color:#fff;
    filter:drop-shadow(0 0 1px rgba(0,0,0,.45));
  }
  .menu-toggle span{
    display:block; width:100%; height:3px; border-radius:3px;
    background:currentColor; transition:all .3s ease; transform-origin:center;
  }

  nav .menu{
    display:none; position:fixed; top:0; right:-100%;
    width:300px; max-width:86vw; height:100vh;
    background:linear-gradient(180deg,#184886 0%,#0b315f 100%);
    box-shadow:-24px 0 40px rgba(0,0,0,.25);
    border-left:1px solid rgba(255,255,255,.08);
    flex-direction:column; align-items:stretch; padding:80px 16px 20px;
    transition:right .3s ease; z-index:999; overflow-y:auto; margin:0;
  }
  nav .menu.active{ display:flex; right:0; }

  /* Ítems */
  nav .menu > li{ width:100%; margin:0 0 6px 0; }
  nav .menu > li > a{
    color:#fff; font-size:16px; padding:12px 12px; border-radius:10px;
    display:flex; align-items:center; justify-content:space-between; gap:10px;
  }
  nav .menu > li > a::after{ display:none; }       /* sin subrayado en móvil */
  nav .menu > li > a:hover{ background:rgba(255,255,255,.08); }

  nav .submenu{
    position:static; display:none; max-height:0; overflow:hidden;
    margin:6px 0 0 0; padding:0; background:rgba(255,255,255,.06);
    border-left:2px solid rgba(255,255,255,.15); border-radius:8px;
    transition:max-height .3s ease;
  }
  nav .menu > li.dropdown.open > .submenu{
    display:block; max-height:600px;
  }
  nav .submenu li a{
    padding:12px 14px 12px 16px; font-size:14px;
    color:rgba(255,255,255,.95) !important;
  }
  nav .submenu li a:hover{ background:rgba(255,255,255,.08); }

  nav .menu > li.dropdown > a.has-submenu::after{
    font-size:16px; opacity:.9; transform:translateY(-1px);
    transition:transform .25s ease;
  }
  nav .menu > li.dropdown.open > a.has-submenu::after{
    transform:rotate(180deg);
  }


  .menu-overlay{
    position:fixed; inset:0; background:rgba(0,0,0,.45);
    opacity:0; visibility:hidden; transition:opacity .3s ease; z-index:998;
  }
  .menu-overlay.active{ opacity:1; visibility:visible; }
}


@media (min-width: 769px){
  nav .menu{
    display:flex !important; position:static !important; right:auto !important;
    width:auto; height:auto; padding:0; margin:0;
    background:transparent; box-shadow:none; border:0;
    flex-direction:row; align-items:center;
  }
  .menu-toggle{ display:none !important; }
  .menu-overlay{ display:none !important; }
}


.top-spacer {
  height: 84px;
}

/* Contenedor base */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Encabezado de página */
.page-head {
  padding: 28px 0 10px;
  background: radial-gradient(
    900px 300px at 50% -120px,
    rgba(0, 58, 116, 0.12),
    transparent 60%
  );
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: #4a5568;
}
.breadcrumbs a {
  color: #0b5fae;
  text-decoration: none;
}
.breadcrumbs .current {
  color: #0b1a33;
  font-weight: 600;
}
.page-head h1 {
  font-size: 34px;
  color: #0b1a33;
  margin: 10px 0 6px;
  letter-spacing: 0.2px;
}
.page-head .lead {
  color: #2a2a2a;
  opacity: 0.9;
}

/* Toolbar: búsqueda + tags */
.toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 14px;
  align-items: center;
}
.search {
  width: 100%;
  border: 1px solid rgba(0, 43, 91, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  box-shadow: 0 3px 10px rgba(0, 20, 60, 0.04);
}
.quick-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  border: 1px solid rgba(0, 43, 91, 0.18);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}
.tag.is-active,
.tag:hover {
  background: linear-gradient(135deg, #0b5fae, #a4aaa7);
  color: #fff;
  border-color: transparent;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 70px;
}
.doc-card {
  background: #fff;
  border: 1px solid rgba(0, 43, 91, 0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(0, 20, 60, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: grid;
  gap: 10px;
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 20, 60, 0.12);
}
.doc-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc-badge {
  display: inline-block;
  background: radial-gradient(120% 120% at 0% 0%, #0b5fae 0%, #003a74 100%);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  border-radius: 8px;
  padding: 6px 8px;
}
.doc-title {
  font-size: 18px;
  color: #0b1a33;
  line-height: 1.25;
}
.doc-desc {
  color: #2a2a2a;
  font-size: 15.5px;
  line-height: 1.55;
}
.doc-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
  color: #3a3a3a;
  font-size: 14px;
}

.doc-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.btn {
  appearance: none;
  border-radius: 10px;
  border: 1px solid rgba(0, 43, 91, 0.15);
  background: #fff;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover {
  border-color: rgba(0, 43, 91, 0.3);
}
.btn-primary {
  background: linear-gradient(135deg, #0b5fae, #a4aaa7);
  color: #fff;
  border: none;
  box-shadow: 0 10px 22px rgba(11, 95, 174, 0.28);
}
.btn-primary:hover {
  filter: brightness(0.96);
}
.btn-ghost {
  background: #f5f8fc;
  border: 1px dashed rgba(0, 43, 91, 0.2);
}

.doc-tags {
  margin-top: 2px;
}
.doc-tags span {
  font-size: 12px;
  color: #0b5fae;
  background: rgba(11, 95, 174, 0.08);
  padding: 4px 8px;
  border-radius: 999px;
}

.modal-content .bullets {
  margin: 8px 0 0;
  padding-left: 18px;
}
.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

body.modal-open {
  overflow: hidden;
}

/* Utilidades */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

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

footer {
  background: linear-gradient(135deg, #002b5b 0%, #001d3d 100%);
  color: #fff;
  padding: 60px 0 25px; /* Más espacio vertical */
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

/* Grid más simple y responsivo */
.footer-container {
  display: grid;
  /* Se ajusta automáticamente creando columnas de mínimo 240px */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 30px; /* Espacio entre filas y columnas */
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.footer-info h3 {
  font-size: 20px;
  margin-bottom: 18px; /* Más espacio bajo el título */
  position: relative;
  padding-bottom: 12px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.footer-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #0b5fae, #008c4c);
  border-radius: 3px;
}
.footer-info p {
  margin: 8px 0;
  line-height: 1.6; /* Texto más legible */
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}
.footer-info p strong {
  color: #fff;
  font-weight: 600;
}

.footer-map iframe {
  width: 100%;
  height: 180px; /* Altura ajustada */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Íconos sociales con mejor estilo */
.footer-social-links {
  display: flex;
  gap: 16px; /* Más espacio entre íconos */
  margin-top: 10px;
}
.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 20px;
}
.footer-social-links a:hover {
  background: #0b5fae; /* Color sólido al pasar el mouse */
  transform: translateY(-4px); /* Efecto de elevación */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Decoraciones */
.footer-decoration {
  position: absolute;
  opacity: 0.03;
  z-index: 1;
}
.footer-decoration.circle-1 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 20px solid #fff;
  bottom: -150px;
  right: -150px;
}
.footer-decoration.circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 15px solid #0b5fae;
  top: -100px;
  left: -100px;
}

/* Responsive fino para el padding en móviles */
@media (max-width: 768px) {
  .footer-container {
    padding: 0 20px;
    gap: 30px;
  }
}

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}
.floating-btn {
  background: radial-gradient(120% 120% at 0% 0%, #0b5fae 0%, #003a74 100%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s;
}
.floating-btn svg,
.floating-btn i {
  width: 28px;
  height: 28px;
  fill: #fff;
  color: #fff;
}
.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.modal.show {
  opacity: 1;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.modal-content h2 {
  margin-bottom: 20px;
}
.modal-content input,
.modal-content textarea,
.modal-content select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.modal-content button {
  background: #004aad;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.faq-modal .faq-content {
  max-width: 900px;
  width: 92%;
  max-height: 82vh;
  overflow: auto;
  border-radius: 16px;
  padding: 24px 22px;
}
.faq-title {
  font-size: 22px;
  color: #0b1a33;
  margin-bottom: 14px;
  text-align: center;
}
.faq-cats {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 10px 6px 12px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #fff 60%, rgba(255, 255, 255, 0.85));
  border-bottom: 1px solid rgba(0, 43, 91, 0.08);
}
.faq-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  background: #e9f2ff;
  color: #0b5fae;
  border: 1px solid rgba(11, 95, 174, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-cat:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(11, 95, 174, 0.12);
}
.faq-sections {
  display: grid;
  gap: 18px;
}
.faq-section h3 {
  color: #003a74;
  font-size: 18px;
  margin: 10px 0 8px;
}
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.faq-q {
  all: unset;
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 43, 91, 0.12);
  background: #f6f8fb;
  color: #1f2a33;
  font-size: 15.5px;
  line-height: 1.45;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.faq-q:hover {
  background: #e1e7ef;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 20, 60, 0.08);
}

.faq-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: #fff;
  border: 1px solid rgba(0, 43, 91, 0.08);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.faq-answer .faq-answer-content {
  max-width: 560px;
  width: 92%;
  border-radius: 14px;
  padding: 22px;
}
.faq-answer-title {
  font-size: 18px;
  color: #003a74;
  margin-bottom: 8px;
}
.faq-answer-text {
  color: #1f2a33;
  line-height: 1.6;
}
.faq-answer-close {
  margin-top: 14px;
  background: #0b5fae;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.faq-content::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}
.faq-content::-webkit-scrollbar-thumb {
  background: #cbd7e6;
  border-radius: 10px;
}

.faq-modal .faq-list .faq-q,
.faq-modal .faq-list button.faq-q,
.faq-modal button.faq-q[type="button"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: #f6f8fb !important;
  color: #1f2a33 !important;
  border: 1px solid rgba(0, 43, 91, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 14px 14px !important;
  text-align: left !important;
  width: 100% !important;
}
.faq-modal .faq-list .faq-q:hover {
  background: #e1e7ef !important;
  box-shadow: 0 6px 18px rgba(0, 20, 60, 0.08) !important;
  transform: translateY(-1px);
}

#c-campos-certificacion,
#p-campos-certificacion {
  margin-top: 10px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

#c-campos-certificacion .acw-form,
#p-campos-certificacion .acw-form {
  margin: 0;
}

.certification-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  cursor: pointer;
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 32px;
  background: #e5e7eb;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch::before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  top: 3px;
  left: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-input {
  display: none;
}

.toggle-input:checked + .toggle-switch {
  background: #2563eb;
}

.toggle-input:checked + .toggle-switch::before {
  transform: translateX(28px);
}

.toggle-label {
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.certification-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin-top: 12px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.toggle-input:checked ~ .certification-fields {
  opacity: 1;
  height: auto;
  overflow: visible;
}

/* Ajustes para responsividad */
@media (max-width: 520px) {
  .certificatio -fields {
    grid-template-columns: 1fr;
  }
}
