* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
    color: #333;
}

/* Top Header - Burgundy */
.top-header {
    background-color: #611232;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .secondary-nav {
      background-color: #4a1425;
      padding: 12px 0;
      position: sticky;
      top: 70px;
      z-index: 999;
  }

.top-header .container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 0px;
}

.gob-logo-header img{
    height: 46px;  
    width: auto;
}

.gob-logo-header{
    margin-left: 180px; 
}

.accessibility-btn{
    filter: invert();
}

.accessibility-btn{
  margin-left: -90px;     
  position: relative;
  bottom: 40px;

  width: 36px;          
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: scale(.7);       
  transform-origin: center;    
}

.accessibility-btn svg{
  width: 20px;
  height: 20px;
}

.top-nav{
    margin-right: 48px; /* prueba 20, 40, 60 */
}

.top-nav{
    gap: 15px;  /* antes 25px */
}

.top-nav{
    position: relative;
    bottom: 24px;
    display: flex;
    gap: 14px;
}

.top-nav a{
    font-family: 'Noto Sans', sans-serif;
    font-size: 15px;
    font-weight: 280;   /* weight 300 */
    color: #fff;
    text-decoration: none;
}
.search-icon img{
  width: 18px;
  height: 18px;
}

.search-icon{
    filter: invert();
}
/* Secondary Nav - Dark Burgundy */
.secondary-nav {
    background-color: #a57f2c;
    padding: 12px 0;
}

.secondary-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.site-title{
    position: relative;
    left: 70px;

}

.site-title{
    font-family: 'Noto Sans', sans-serif;
    font-size: 21px;
    font-weight: 400;   /* weight 300 */
    color: #fff;
    text-decoration: none;
}


.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #d4a574;
}

.main-nav {
    position: relative;
    right: 95px;
}

/*slider*/

.hero-slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000; /* opcional para que no se vea vacío */
}

.hero-slide img{
  object-fit: cover;
  object-position: center top;   /* prueba top, bottom, left, right */
}
.hero-slider{
  position: relative;
  width: 100%;
  height: 350px;
  overflow: visible;
}

.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero-slide.active{
  opacity: 1;
}

.hero-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px; /* ajusta si los quieres más abajo */
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot{
  width: 14px;
  height: 14px;
  background: #d9d9d9;  /* gris claro */
  border-radius: 0;     /* 👈 cuadrado */
  border: none;
  transition: background .3s ease;
  cursor: pointer;
}

.dot{
  width: 10px;
  height: 10px;
}

.dot.active{
  background: #b89559;  /* dorado SIGED */
}

/* Main Title Section */
.main-title-section {
    padding: 40px 20px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-title-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: #9a7b4f;
    letter-spacing: -1px;
    padding-bottom: 15px;
    border-bottom: 2px solid #9a7b4f;
     display: block;
  width: 90%;
  margin: 0 auto;

}

/* Consultas Section */
.consultas-section {
    max-width: 1090px;
    margin: 0 auto;
    padding: 0px 20px 50px;
}

.consultas-header h3 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
}

.consultas-header p {
    color: #666;
    font-size: 15px;
    margin-bottom: 30px;
}

.consultas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.consulta-card {
    background: #fff;
    border: 2px solid #c9a227;
    border-radius: 18px;
    padding: 25px 20px;   /* 🔽 menos padding */
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.consulta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.2);
    background: #1a5a4a;
    border-color: #1a5a4a;
}

.consulta-card:hover span {
    color: #c9a227;
}

/* ÍCONO */
.consulta-card .icon {
    width: 95px;      /* 🔽 más pequeño */
    height: 95px;
    margin: 0 auto 12px;  /* 🔽 menos espacio abajo */
    display: flex;
    align-items: center;
    justify-content: center;
}

.consulta-card .icon img {
    width: 190%;   /* 🔥 aumenta aquí */
    height: 190%;
}

.consultas-grid .consulta-card:nth-child(2) .icon img{ transform: translateY(7px); }
.consultas-grid .consulta-card:nth-child(4) .icon img{ transform: translateY(20px); }

/* TEXTO */
.consulta-card span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #b88b3a;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* También Section */

.tambien-section {
    background: #f9f9f9;
    padding: 50px 20px;
}

.tambien-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.tambien-header {
    text-align: center;
    margin-bottom: 30px;
}

.tambien-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #691c32;
    display: inline-block;
}

.tambien-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tambien-card {
    background: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.tambien-card:hover {
    transform: translateY(-5px);
}

.tambien-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tambien-card-img img {
    width: 100%;
    height: auto;
}

.tambien-card-content {
    padding: 0;
    text-align: center;
}

.tambien-card-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2d5a4a;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Footer */

.footer-logo {
    width: 65px;   /* 🔥 reduce tamaño */
    height: auto;
}

.footer{
    margin-top: 150px;
}

.footer {
    background: #691c32;
    color: #fff;
    padding: 40px 0 20px;
}

.footer .container {
    max-width: 1200px;
    margin: 0;              /* 🔥 quita el centrado */
    padding-left: 180px;     /* espacio izquierdo controlado */
    padding-right: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #d4a574;
}

.footer-section p,
.footer-section a {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    text-decoration: none;
}

/* Redes sociales horizontales */
.footer-section.redes {
    display: flex;
    flex-direction: column;
}

.footer-section.redes a {
    display: inline-block;
    margin-right: 12px;
}

.footer-section.redes img {
    width: 22px;   /* tamaño ícono */
    height: auto;
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* =========================
   SIGED-like Consulta Page
   ========================= */

.consulta-wrapper{
  background:#fff;
}

/* HERO */
.consulta-hero{
  position: relative;
  border-top: 0px solid #c9a227;
  padding: 60px 0 40px;
  overflow: hidden;

  /* Imagen de fondo */
  background-image: url('/validacion-folios/admin/img/validacion.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  /* Fondo base gris claro */
  background-color: #f5f5f5;
}

/* fondo tipo “marcas de agua” (simple, sin imágenes externas) */
.consulta-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 12% 35%, rgba(201,162,39,.10) 0 2px, transparent 3px) 0 0/90px 90px,
    radial-gradient(circle at 80% 25%, rgba(201,162,39,.10) 0 2px, transparent 3px) 0 0/110px 110px,
    radial-gradient(circle at 55% 70%, rgba(201,162,39,.10) 0 2px, transparent 3px) 0 0/120px 120px;
  opacity:.9;
  pointer-events:none;
}

.consulta-container{
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

/* breadcrumb */
.breadcrumbs{
  margin-top: 18px;
  font-size: 18px;
  color: #333;
}
.breadcrumbs a{
  color:#333;
  text-decoration:none;
}
.breadcrumbs span.sep{
  margin: 0 10px;
  color:#999;
}

/* títulos */
.consulta-kicker{
  font-family: 'Open Sans', sans-serif;
  font-size: 34px;
  font-weight: 600;
  color:#333;
  margin: 8px 0 8px;
}

.consulta-title{
  font-family: 'Open Sans', sans-serif;
  font-size: 40px;
  line-height: 1.05;
  font-weight: 600;
  color:#111;
  margin: 0 0 10px;
}

/* CONTENIDO */
.consulta-content{
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 18px 50px;
}

/* Caja buscador */
.siged-search{
  border: 2px solid #c9a32700;
  border-radius: 10px;
  padding: 22px 22px 16px;
  background: #fff;
}

.siged-search-row{
  display: grid;
  grid-template-columns: 1fr 320px 320px;
  gap: 18px;
  align-items: center;
}

@media (max-width: 980px){
  .siged-search-row{
    grid-template-columns: 1fr;
  }
}

.siged-input{
  width: 100%;
  height: 52px;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 20px;
  color:#333;
}

.siged-input:focus{
  outline: none;
  border-color:#c9a227;
  box-shadow: 0 0 0 3px rgba(201,162,39,.18);
}

.siged-btn{
  height: 52px;
  border: none;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}

.siged-btn-search{
  background: #1f5a4f; /* verde */
  color: #fff;
}
.siged-btn-search:hover{ filter: brightness(.95); }

.siged-btn-reset{
  background: #6b6f73; /* gris */
  color:#fff;
}
.siged-btn-reset:hover{ filter: brightness(.95); }

.siged-help-link{
  display:block;
  text-align:center;
  margin-top: 14px;
  font-size: 22px;
  color: #b5831a;
  text-decoration: underline;
  font-weight: 500;
}

/* Aviso azul inferior */
.siged-info{
  margin-top: 28px;
  background: #d9eef9;
  border: 1px solid #b8dcf0;
  color:#1d4e6d;
  border-radius: 4px;
  padding: 18px 18px;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.siged-info .icon{
  font-size: 22px;
}

/* ===== RESULTADO INVALIDO ===== */
.siged-result.invalid{
  background: #ffebee;
  border: 2px solid #c62828;
  border-radius: 10px;
  padding: 18px;
  margin-top: 22px;
}

.siged-result.invalid h2{
  margin: 0 0 8px;
  font-family: 'Montserrat', sans-serif;
  color:#c62828;
}

/* ===== DETALLE DEL DOCUMENTO (SIGED) ===== */

.siged-docwrap{
  margin-top: 30px;
}

/* pestaña verde */
.siged-doc-tab{
  display: inline-block;
  background: #1f5a4f;
  color: #fff;
  padding: 12px 20px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 2px;
}

/* panel */
.siged-docpanel{
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 36px 40px;
  margin-top: 6px;

  display: grid;
  grid-template-columns: 120px 1fr; /* icono + contenido */
  gap: 30px;
  align-items: start;
}

/* icono */
.siged-doc-icon{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
}

/* contenido UNA columna (porque tú pediste 5 datos en una columna) */
/* Contenedor 2 columnas */
.siged-doc-content{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 140px;   /* separación grande como SIGED */
}

/* cada columna */
.siged-col{
  display: flex;
  flex-direction: column;
  gap: 36px;   /* espacio vertical */
}

@media (max-width: 900px){
  .siged-doc-content{
    grid-template-columns: 1fr;
  }
}

/* label */
.siged-label{
  font-weight: 700;
  font-size: 22px;
  color: #333;
  margin-bottom: 6px;
}

/* value */
.siged-value{
  font-size: 20px;
  color: #7a7a7a;
  line-height: 1.4;
}

/* mayúsculas */
.siged-upper{
  text-transform: uppercase;
}

/* folio azul */
.siged-folio{
  display: inline-block;
  background: #2f6eda00;
  color: #000000;
  padding: 6px 10px;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 18px;
  text-transform: none;
}

/* responsive */
@media (max-width: 900px){
  .siged-docpanel{
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
  .siged-doc-icon{
    justify-content: flex-start;
  }
}
.siged-details{
  margin-top: 14px;
  background:#fff;
  border-radius: 8px;
  padding: 16px;
}

.siged-row{
  display:flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.siged-row:last-child{ border-bottom:none; }

.siged-label{
  min-width: 170px;
  font-weight: 700;
  color:#666;
}
.siged-value{ flex:1; }

.siged-code{
  background: #f5f0e6;
  padding: 2px 10px;
  border-radius: 4px;
  color:#691c32;
  font-weight: 700;
}

/* Input estilo SIGED */
.siged-input{
  width: 100%;
  height: 56px;                 /* más alto */
  border: 1px solid #d0d0d0;
  border-radius: 4px;           /* en SIGED es poquito redondeado */
  padding: 0 18px;
  font-size: 22px;              /* texto grande */
  color: #333;
  background: #fff;

  /* efecto “cajita” */
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

.siged-input::placeholder{
  color: #9a9a9a;
  font-size: 22px;
}

/* cuando hace focus */
.siged-input:focus{
  outline: none;
  border-color: #c9a227;
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.06),
    0 0 0 3px rgba(201,162,39,0.18);
}

.siged-search{
  background: #f8f8f800;
  border: 2px solid #c9a227;
  border-radius: 14px;
  padding: 30px 35px 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.siged-search-row{
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;  /* el input ocupa 3 partes */
  gap: 18px;
  align-items: center;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: #691c32;
    color: #fff;
    width: 100%;
}

.btn-primary:hover {
    background: #4a1425;
}

.btn-secondary {
    background: #fff;
    color: #555;
    border: 2px solid #999;
}

.btn-secondary:hover {
    background: #f0f0f0;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.result {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.result-valid {
    background: #e8f5e9;
    border: 2px solid #2e7d32;
}

.result-valid h2 {
    color: #2e7d32;
    font-family: 'Montserrat', sans-serif;
}

.result-invalid {
    background: #ffebee;
    border: 2px solid #c62828;
}

.result-invalid h2 {
    color: #c62828;
    font-family: 'Montserrat', sans-serif;
}

.result-details {
    text-align: left;
    margin-top: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    min-width: 140px;
    color: #666;
}

.detail-value {
    flex: 1;
}

.detail-value code {
    background: #f5f0e6;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #691c32;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
}

.modal-header {
    background: #691c32;
    color: #fff;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 25px;
}

.modal-option {
    display: block;
    width: 70%;
    padding: 18px;
    margin-bottom: 0 auto 12px;
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
}


.modal-option:hover {
    background: #fff5e6;
    border-color: #c9a227;
}

.modal-option strong {
    display: block;
    font-size: 14px;
    color: #691c32;
    margin-bottom: 5px;
}

.modal-option small {
    font-size: 12px;
    color: #888;
}

.modal-footer {
    padding: 15px 25px 25px;
    text-align: right;
}

.modal-footer button {
    padding: 12px 30px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.modal-footer button:hover {
    background: #5a6268;
}

/* Modal Documentos - Estilo tarjeta institucional */
#modal-documentos .modal {
    max-width: 800px;
}

#modal-documentos .modal-header {
    background: #3f4547;
}

#modal-documentos .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px;
    align-items: center;   /* 🔥 centra verticalmente */
    justify-items: center; /* 🔥 centra horizontalmente */
}

#modal-documentos .modal-option {
    display: flex;
    align-items: center;     /* 🔥 centra vertical */
    justify-content: center; /* 🔥 centra horizontal */
    text-align: center;
}

#modal-documentos .modal-option {
    background: #fff;
    border: 2px solid #a08221;
    border-radius: 12px;
    padding: 65px 175px;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

#modal-documentos .modal-option::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 290px;
    height: 290px;
    background: url('../../admin/img/documentossbg.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.25;
    filter: sepia(1) saturate(5) hue-rotate(10deg) brightness(0.85);
    pointer-events: none;
}

#modal-documentos .modal-option strong {
    color: #3f4547;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

#modal-documentos .modal-option:hover {
    background: #1a5a4a;
    border-color: #1a5a4a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 90, 74, 0.3);
}

#modal-documentos .modal-option:hover strong {
    color: #c9a227;
}

#modal-documentos .modal-option:hover::after {
    opacity: 0.15;
    filter: brightness(5);
}

#modal-documentos .modal-footer {
    text-align: right;
    padding: 15px 30px 25px;
}

#modal-documentos .modal-footer button {
    background: #fff;
    color: #555;
    border: 2px solid #999;
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 500;
}

#modal-documentos .modal-footer button:hover {
    background: #f0f0f0;
    border-color: #666;
}

/* Modal Certificados - Estilo tarjeta institucional */
#modal-certificados .modal {
    max-width: 1020px;                   /*tamano de documento del modal despues de certificado*/
}

#modal-certificados .modal-header {
    background: #3f4547;
}

#modal-certificados .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 30px;
}

#modal-certificados .modal-option {
    background: #fff;
    border: 2px solid #c9a227;
    border-radius: 12px;
    padding: 35px 145px;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-certificados .modal-option::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    background: url('../../admin/img/documentossbg.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.25;
    filter: sepia(1) saturate(5) hue-rotate(10deg) brightness(0.85);
    pointer-events: none;
}

#modal-certificados .modal-option strong {
    color: #3f4547;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

/* SOLO en #modal-certificados: controla el texto */
#modal-certificados .modal-option strong{
  display: block;          /* importante */
  white-space: normal;     /* permite saltos */
  line-height: 1.25;       /* ajusta altura de líneas */
  text-align: center;
  word-break: normal;
}


#modal-certificados .modal-option:hover {
    background: #1a5a4a;
    border-color: #1a5a4a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 90, 74, 0.3);
}

#modal-certificados .modal-option:hover strong {
    color: #bc955c;
}

#modal-certificados .modal-option:hover::after {
    opacity: 0.15;
    filter: brightness(5);
}

#modal-certificados .modal-footer {
    text-align: right;
    padding: 15px 30px 25px;
}

#modal-certificados .modal-footer button {
    background: #fff;
    color: #555;
    border: 2px solid #999;
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 500;
}

#modal-certificados .modal-footer button:hover {
    background: #f0f0f0;
    border-color: #666;
}

/* Modal Títulos - Estilo tarjeta institucional */
#modal-titulos .modal {
    max-width: 800px;
}

#modal-titulos .modal-header {
    background: #3f4547;
}

#modal-titulos .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 30px;
}

#modal-titulos .modal-option {
    background: #fff;
    border: 2px solid #c9a227;
    border-radius: 12px;
    padding: 60px 25px;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-titulos .modal-option::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background: url('../../admin/img/documentossbg.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.15;
    filter: sepia(1) saturate(5) hue-rotate(10deg) brightness(0.85);
    pointer-events: none;
}

#modal-titulos .modal-option strong {
    color: #3f4547;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

#modal-titulos .modal-option:hover {
    background: #1a5a4a;
    border-color: #1a5a4a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 90, 74, 0.3);
}

#modal-titulos .modal-option:hover strong {
    color: #c9a227;
}

#modal-titulos .modal-option:hover::after {
    opacity: 0.15;
    filter: brightness(5);
}

#modal-titulos .modal-footer {
    text-align: right;
    padding: 15px 30px 25px;
}

#modal-titulos .modal-footer button {
    background: #fff;
    color: #555;
    border: 2px solid #999;
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 500;
}

#modal-titulos .modal-footer button:hover {
    background: #f0f0f0;
    border-color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .consultas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tambien-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .slider-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .slider-illustration {
        flex: none;
    }
}

@media (max-width: 768px) {
    .top-header .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .secondary-nav .container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    .slider-content h1 {
        font-size: 22px;
    }
    .consultas-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tambien-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .top-nav {
        display: none;
    }
    .consultas-grid {
        grid-template-columns: 1fr;
    }
    .main-nav {
        gap: 15px;
        font-size: 12px;
    }
}