/* ============ VARIABLES DE MARCA ============ */
:root {
     --navy: #101B7A;
     --navy-dark: #0A1152;
     --navy-deep: #070C3A;
     --yellow: #FFDD00;
     --yellow-soft: #FFF4B8;
     --white: #ffffff;
     --grey-bg: #F5F7FB;
     --grey-text: #5A6178;
     --dark-text: #12162E;
     --radius: 18px;
     --shadow: 0 12px 40px rgba(10, 17, 82, 0.10);
     --shadow-hover: 0 22px 55px rgba(10, 17, 82, 0.18);
     --font-title: 'Sora', sans-serif;
     --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
     font-family: var(--font-body);
     color: var(--dark-text);
     background: var(--white);
     line-height: 1.7;
     overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
section { padding: 50px 6%; } /*cambiar espacio entre secciones*/

.container { max-width: 1200px; margin: 0 auto; }

/* ============ ANIMACIONES SCROLL ============ */
.reveal { opacity: 0; transform: translateY(35px); transition: all .8s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ ETIQUETAS DE SECCIÓN ============ */
.tag {
     display: inline-block; background: var(--yellow-soft); color: var(--navy);
     font-weight: 700; font-size: .78rem; letter-spacing: 2px; text-transform: uppercase;
     padding: 7px 18px; border-radius: 50px; margin-bottom: 16px;
}
.section-head h2 {
     font-family: var(--font-title); font-size: clamp(1.7rem, 3.5vw, 2.5rem);
     color: var(--navy-dark); line-height: 1.25; margin-bottom: 14px;
}
.section-head p { color: var(--grey-text); max-width: 640px; }
.section-head.center { text-align: center; }
.section-head.center p { margin: 0 auto; }

/* ============ NAVBAR ============ */
.navbar {
     position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
     display: flex; align-items: center; justify-content: space-between;
     padding: 14px 6%; background: rgba(255,255,255,.92);
     backdrop-filter: blur(14px); box-shadow: 0 2px 20px rgba(10,17,82,.08);
     transition: padding .3s;
}
.navbar .logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a {
     font-weight: 600; font-size: .92rem; color: var(--navy-dark);
     position: relative; padding: 6px 0; transition: color .3s;
}
.nav-links a::after {
     content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px;
     background: var(--yellow); border-radius: 3px; transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
     background: var(--navy); color: #fff !important; padding: 11px 24px !important;
     border-radius: 50px; transition: all .3s !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--yellow); color: var(--navy) !important; transform: translateY(-2px); }
.hamburger { display: none; font-size: 1.6rem; color: var(--navy); background: none; border: none; cursor: pointer; }

/* ============ HERO SLIDER (ALTO UNIFORME FIX) ============ */
.hero {
     height: 85vh;               /* Define una altura fija/proporcional para el viewport */
     min-height: 580px;          /* Evita que se encoja en pantallas con poca altura */
     max-height: 750px;          /* Limita el alto máximo en monitores Ultra-Wide */
     position: relative; 
     overflow: hidden;
     background: var(--navy-deep);
}

.hero::before {
     content: ''; 
     position: absolute; 
     right: -180px; 
     top: -180px; 
     width: 520px; 
     height: 520px;
     background: radial-gradient(circle, rgba(255,221,0,.22), transparent 65%); 
     border-radius: 50%;
     z-index: 3;
     pointer-events: none;
}

/* Todos los slides quedan siempre en posición absoluta */
.hero .slide {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     display: flex;
     align-items: center;
     padding: 90px 6% 40px;
     opacity: 0;
     visibility: hidden;
     transition: opacity 0.8s ease, visibility 0.8s ease;
     background: 
          linear-gradient(115deg, rgba(7,12,58,.96) 40%, rgba(16,27,122,.32) 70%, rgba(16,27,122,.55)),
          var(--bg-img) center/cover no-repeat;
     z-index: 1;
}

/* El slide activo simplemente se vuelve visible sin cambiar el flujo del DOM */
.hero .slide.active {
     opacity: 1;
     visibility: visible;
     z-index: 2;
}

.hero-content { max-width: 720px; position: relative; z-index: 2; }

.hero-badge {
     display: inline-flex; align-items: center; gap: 10px; background: rgba(255,221,0,.14);
     border: 1px solid rgba(255,221,0,.4); color: var(--yellow);
     padding: 8px 20px; border-radius: 50px; font-size: .85rem; font-weight: 600; margin-bottom: 26px;
}

.hero h1 {
     font-family: var(--font-title); font-size: clamp(1.8rem, 4vw, 2.6rem);
     color: #fff; line-height: 1.18; margin-bottom: 16px;
}

.hero h1 span { color: var(--yellow); }

.hero p { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 560px; margin-bottom: 26px; }

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
     display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px;
     border-radius: 50px; font-weight: 700; font-size: .95rem; transition: all .3s; cursor: pointer; border: none;
}

.btn-yellow { background: var(--yellow); color: var(--navy-dark); box-shadow: 0 10px 30px rgba(255,221,0,.35); }
.btn-yellow:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(255,221,0,.5); }

.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.btn-outline:hover { background: #fff; color: var(--navy); }

.hero-stats {
     display: flex; gap: 28px; margin-top: 20px; flex-wrap: wrap;
}
.hero-stats div h3 { font-family: var(--font-title); color: var(--yellow); font-size: 2rem; }
.hero-stats div p { font-size: .85rem; margin: 0; color: rgba(255,255,255,.7); }

/* Flechas de Navegación */
.slider-arrow {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(7, 12, 58, 0.6);
     border: 1px solid rgba(255, 255, 255, 0.2);
     color: #fff;
     width: 46px;
     height: 46px;
     border-radius: 50%;
     cursor: pointer;
     z-index: 10;
     transition: background 0.3s, color 0.3s, transform 0.3s;
     display: flex;
     align-items: center;
     justify-content: center;
}

.slider-arrow:hover {
     background: var(--yellow);
     color: var(--navy-dark);
     transform: translateY(-50%) scale(1.08);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Indicadores de Puntos */
.slider-dots {
     position: absolute;
     bottom: 20px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 10px;
     z-index: 10;
}

.dot {
     width: 12px;
     height: 12px;
     background: rgba(255, 255, 255, 0.4);
     border-radius: 50%;
     cursor: pointer;
     transition: background 0.3s, transform 0.3s;
}

.dot.active {
     background: var(--yellow);
     transform: scale(1.25);
}

/* ============ FRANJA DE CONFIANZA ============ */
.trustbar {
     background: var(--navy-deep); padding: 22px 6%; display: flex; justify-content: center;
     gap: 60px; flex-wrap: wrap; align-items: center; margin-bottom: -30px;
}
.trustbar span { color: rgba(255,255,255,.85); font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 10px; }
.trustbar i { color: var(--yellow); }

/* ============ NOSOTROS ============ */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.about-card {
     background: var(--white); border-radius: var(--radius); padding: 20px 32px;
     box-shadow: var(--shadow); border-top: 5px solid var(--yellow); transition: all .4s;
     display: flex; flex-direction: column; align-items: center; text-align: center; /* Opcional: centra el texto del título */
}
.about-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.about-card .icon {
     width: 64px; height: 64px; border-radius: 16px; background: var(--navy);
     display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
     margin-left: auto; margin-right: auto;
}
.about-card .icon i { color: var(--yellow); font-size: 1.5rem; }
.about-card h3 { font-family: var(--font-title); color: var(--navy-dark); font-size: 1.2rem; margin-bottom: 5px;  text-align: center; }
.about-card p { color: var(--grey-text); font-size: .95rem; text-align: justify; text-justify: inter-word; }

/* ============ SOLICITUD (FORMULARIO BD - NO TOCAR LÓGICA) ============ */
.solicitud-titulo {    
     margin-bottom: 6px; 
     font-family: var(--font-title); 
     font-size: clamp(1.1rem, 1.5rem, 1.8rem);
     color: var(--navy-dark); 
     line-height: 1.25; 
}

#about { 
     background: var(--grey-bg); 
     position: relative; 
     overflow: hidden; 
     padding: 10px 0; 
}

#about::before {
     content: ''; 
     position: absolute; 
     left: -140px; 
     bottom: -140px; 
     width: 420px; 
     height: 420px;
     background: radial-gradient(circle, rgba(16,27,122,.08), transparent 70%); 
     border-radius: 50%;
}

.solicitud-wrap { 
     display: grid; 
     grid-template-columns: 0.5fr 0.5fr; 
     gap: 36px;                    /* antes 56px */
     align-items: start; 
     position: relative; 
     z-index: 2; 
}

/* ===== FORMULARIO ===== */
.form-card {
     background: #fff; 
     border-radius: 20px; 
     padding: 24px 28px;           /* más compacto */
     box-shadow: var(--shadow);
}

.form-card h2 {
     font-family: var(--font-title); 
     color: var(--navy-dark);
     font-size: 1.25rem;           /* más pequeño */
     margin-bottom: 4px;
}

.form-card .subtitle { 
     color: var(--grey-text); 
     font-size: .85rem; 
     margin-bottom: 18px; 
}

.form-control {
     width: 100%; 
     padding: 11px 14px;           /* más compacto */
     margin-bottom: 5px;
     border: 2px solid #E4E8F2; 
     border-radius: 10px; 
     font-family: var(--font-body);
     font-size: .78rem; 
     color: var(--dark-text); 
     background: #FAFBFE;
     transition: all .3s; 
     outline: none; 
     resize: vertical;
}

.form-control:focus { 
     border-color: var(--navy); 
     background: #fff; 
     box-shadow: 0 0 0 3px rgba(16,27,122,.08); 
}

.form-control::placeholder { 
     color: #A0A7BC; 
     font-size: .72rem; 
}

.char-count { 
     display: block; 
     text-align: right; 
     color: var(--grey-text); 
     font-size: .52rem !important; 
     margin: -22px 0 -6px; 
}

.check-title {
     display: block; 
     text-align: center; 
     font-size: .75rem; 
     color: var(--navy);
     font-weight: 700; 
     margin: 12px 0 -6px;
}

/* Checklist más compacto */
.checklist-moderno {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 16px;
}

.checklist-moderno .opcion {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(41, 41, 72, 0.15);
}

.checklist-moderno .opcion:hover {
  transform: translateY(-3px);
  background: #f3f6ff;
  box-shadow: 0 5px 12px rgba(27, 35, 196, 0.15);
  border-color: #1b23c4;
}

.checklist-moderno input[type="checkbox"] {
  accent-color: #1b23c4;
  transform: scale(1.15);
  cursor: pointer;
  margin-right: 8px;
}

.checklist-moderno label {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
}

.checklist-moderno input[type="checkbox"]:checked + span {
  color: #1b23c4;
  font-weight: 700;
}

.checklist-moderno .comentario {
  font-size: 9px;
  color: #ca0d1c;
  margin-top: 6px;
  display: none;
  line-height: 1.35;
}

.checklist-moderno .opcion:hover .comentario {
  display: block;
}

.file-zone {
     border: 2px dashed #C4CCE0; 
     border-radius: 10px; 
     padding: 8px;
     text-align: center; 
     margin-bottom: 8px; 
     background: #FAFBFE; 
     transition: border-color .3s;
}

.file-zone:hover { border-color: var(--navy); }
.file-zone label { display: block; font-size: .65rem; color: var(--grey-text); cursor: pointer; }
.file-zone label strong { color: var(--navy); }
.file-zone .file-hint { font-size: .55rem; color: #A0A7BC; margin-bottom: 1px; display: block; }
.file-zone input[type="file"] { font-size: .72rem; margin: 0 auto; }

.recaptcha-enviar { display: flex; align-items: center; gap: 12px; margin-top: 6px; }

#btnEnviar {
     width: 100%; 
     background: linear-gradient(135deg, var(--navy), var(--navy-dark));
     color: #fff; 
     font-family: var(--font-body); 
     font-size: 0.78rem; 
     font-weight: 700;
     padding: 11px; 
     border: none; 
     border-radius: 50px; 
     cursor: pointer;
     transition: all .3s; 
     box-shadow: 0 8px 22px rgba(16,27,122,.28); 
     letter-spacing: .4px;
}

#btnEnviar:hover { 
     background: var(--yellow); 
     color: var(--navy-dark); 
     transform: translateY(-2px); 
     box-shadow: 0 12px 28px rgba(255,221,0,.35); 
}

#resultado { 
     margin-top: 8px; 
     background: #E8FBEF; 
     border: 2px solid #34C77B; 
     border-radius: 10px; 
     padding: 6px; 
     text-align: center; 
}

h7 { color: #147A46; font-size: 0.78rem; font-weight: 800; }

/* ===== TARJETA DE POLÍTICA ===== */
.policy-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: 20px;
    padding: 24px 22px;            /* más compacto */
    color: #ffffff;
    min-height: 470px;             /* antes 420px */
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-logo {
    max-width: 85px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.25));
}

.policy-title {
    font-family: var(--font-title);
    color: var(--yellow);
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    text-align: center;
}

.policy-body p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
    text-justify: inter-word;
    margin: 0;
}

/* Modal resultado */
.cuadrado-azul {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(7,12,58,.5);
    border: 1px solid rgba(255,221,0,.35);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.cuadrado-azul h4 { color: var(--yellow); font-family: var(--font-title); font-size: 1.45rem; margin-bottom: 6px; }
.cuadrado-azul h5 { color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 600; }
.cuadrado-azul h6 { color: rgba(255,255,255,.55); font-size: .7rem; font-weight: 400; margin-top: 6px; line-height: 1.5; }

#numero2-container {
     color: var(--navy-dark); 
     background: var(--yellow); 
     display: inline-block;
     font-size: 1.9rem; 
     font-weight: 800; 
     font-family: var(--font-title);
     padding: 8px 32px; 
     border-radius: 12px; 
     margin: 8px 0;
}

.solicitud-side img { 
     border-radius: 20px; 
     box-shadow: var(--shadow-hover); 
     width: 100%; 
     object-fit: cover; 
}

.solicitud-side .info-box {
     background: var(--navy); 
     border-radius: 16px; 
     padding: 22px; 
     margin-top: 18px; 
     color: #fff;
}

.solicitud-side .info-box h4 { 
     font-family: var(--font-title); 
     color: var(--yellow); 
     margin-bottom: 8px; 
     font-size: 1rem; 
}

.solicitud-side .info-box p { font-size: .85rem; color: rgba(255,255,255,.8); }
.solicitud-side .info-box a { color: var(--yellow); font-weight: 700; }

/* Responsive */
@media (max-width: 560px) {
    .policy-card {
        padding: 20px 16px;
        min-height: auto;
    }
    .policy-header {
        flex-direction: column;
        text-align: center;
    }
    .policy-title {
        text-align: center;
    }
    .policy-logo {
        max-width: 80px;
    }
    .policy-body p {
        font-size: 0.8rem;
        text-align: left;
    }
}

/* ============ SISTEMAS ============ */
.sys-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 20px; }
.sys-card {
     background: #fff; border-radius: var(--radius); overflow: hidden;
     box-shadow: var(--shadow); transition: all .4s;
}
.sys-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.sys-card img { height: 180px; width: 100%; object-fit: cover; }
.sys-card .body { padding: 12px 22px; }
.sys-card h3 { font-family: var(--font-title); font-size: 1.02rem; color: var(--navy-dark); margin-bottom: 8px; }
.sys-card p { font-size: .86rem; color: var(--grey-text); }

/* ============ SERVICIOS ============ */
#testimonial { background: var(--navy-deep); }
#testimonial .section-head h2 { color: #fff; }
#testimonial .section-head p { color: rgba(255,255,255,.65); }
.serv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 20px; }
.serv-card {
     background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
     border-radius: var(--radius); overflow: hidden; display: flex; transition: all .4s;
}
.serv-card:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); border-color: rgba(255,221,0,.4); }
.serv-card img { width: 200px; object-fit: cover; flex-shrink: 0; }
.serv-card .body { padding: 18px 6px; }
.serv-card h3 { font-family: var(--font-title); color: var(--yellow); font-size: 1.1rem; margin-bottom: 10px; }
.serv-card p { color: rgba(255,255,255,.72); font-size: .88rem; }

/* ============ EQUIPO ============ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.team-card {
     background: #fff; border-radius: var(--radius); padding: 32px 28px;
     box-shadow: var(--shadow); transition: all .4s; border-left: 5px solid var(--yellow);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.team-card .role-icon {
     width: 54px; height: 54px; background: var(--yellow-soft); border-radius: 14px;
     display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.team-card .role-icon i { color: var(--navy); font-size: 1.3rem; }
.team-card h3 { font-family: var(--font-title); font-size: 1.05rem; color: var(--navy-dark); margin-bottom: 8px; }
.team-card p.desc { color: var(--grey-text); font-size: .87rem; margin-bottom: 16px; }
.team-card .contact-line { font-size: .84rem; color: var(--navy); font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 5px; word-break: break-all; }
.team-card .contact-line i { color: var(--yellow); background: var(--navy); border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: .6rem; flex-shrink: 0; }

/* ============ CONTACTO ============ */
#contact { background: var(--grey-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; margin-top: 20px; align-items: start; }
.contact-grid form { background: #fff; padding: 40px; border-radius: 24px; box-shadow: var(--shadow); }
.contact-grid form input[type="submit"] {
     background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff;
     font-weight: 700; border: none; cursor: pointer; padding: 16px; border-radius: 50px;
     transition: all .3s; font-size: 1rem;
}
.contact-grid form input[type="submit"]:hover { background: var(--yellow); color: var(--navy-dark); transform: translateY(-3px); }
.map-box { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 420px; }
.map-box iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ============ FOOTER ============ */
footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 70px 6% 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 44px; max-width: 1200px; margin: 0 auto; }
footer h4 { color: #fff; font-family: var(--font-title); font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--yellow); border-radius: 3px; }
footer p, footer li { font-size: .88rem; margin-bottom: 10px; }
footer ul { list-style: none; }
footer ul a:hover { color: var(--yellow); }
.footer-logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: 12px; margin-bottom: 18px; }
.footer-logo img { height: 46px; }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
     width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
     display: flex; align-items: center; justify-content: center; transition: all .3s; color: #fff;
}
.social-row a:hover { background: var(--yellow); color: var(--navy); transform: translateY(-4px); }
.footer-bottom {
     border-top: 1px solid rgba(255,255,255,.1); margin-top: 55px; padding: 22px 0;
     text-align: center; font-size: .82rem; color: rgba(255,255,255,.45);
}

/* ============ BOTÓN WHATSAPP ============ */
.wa-float {
     position: fixed; bottom: 26px; right: 26px; z-index: 900;
     width: 60px; height: 60px; background: #25D366; border-radius: 50%;
     display: flex; align-items: center; justify-content: center;
     color: #fff; font-size: 1.7rem; box-shadow: 0 10px 30px rgba(37,211,102,.45);
     transition: transform .3s; animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.12); }
@keyframes pulse {
     0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
     70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
     100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
     .sys-grid { grid-template-columns: repeat(2, 1fr); }
     .team-grid { grid-template-columns: repeat(2, 1fr); }
     .serv-grid { grid-template-columns: 1fr; }
     .about-grid { grid-template-columns: 1fr; }
     .policy-card { min-height: 400px; } 
}
@media (max-width: 860px) {
     .solicitud-wrap, .contact-grid { grid-template-columns: 1fr; }
     .nav-links {
          position: fixed; top: 76px; right: -100%; flex-direction: column;
          background: #fff; width: min(320px, 82vw); height: calc(100vh - 76px);
          padding: 40px 32px; gap: 22px; align-items: flex-start;
          box-shadow: -10px 0 40px rgba(10,17,82,.15); transition: right .4s;
     }
     .nav-links.open { right: 0; }
     .hamburger { display: block; }
     .slider-arrow { width: 38px; height: 38px; }
     .prev-btn { left: 10px; }
     .next-btn { right: 10px; }
}
@media (max-width: 560px) {
     section { padding: 64px 5%; }
     .sys-grid, .team-grid, .checklist-moderno { grid-template-columns: 1fr; }
     .serv-card { flex-direction: column; }
     .serv-card img { width: 100%; height: 190px; }
     .form-card { padding: 30px 22px; }
     .hero-stats { gap: 28px; }
     .footer-grid { grid-template-columns: 1fr; }
}

/* ============ ESTILOS TABLA REPORTE Y PAGINACIÓN ============ */
.tabla-reporte {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    font-family: var(--font-body);
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(10, 17, 82, 0.05);
    border-radius: 12px;
    overflow: hidden;
}
.tabla-reporte th, .tabla-reporte td {
    border: 1px solid #eef0f5;
    padding: 12px 15px;
    text-align: left;
}
.tabla-reporte th {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.tabla-reporte tr:nth-child(even) {
    background: var(--grey-bg);
}
.tabla-reporte tr:hover {
    background: var(--yellow-soft);
}

/* Botones Editar/Guardar dentro de la tabla */
.btn-editar-guardar {
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 2px;
    transition: all 0.3s;
}
.btn-editar-guardar:hover {
    background: var(--yellow);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

/* Botones de Paginación */
.boton-paginacion {
    background: #fff;
    border: 1px solid #E4E8F2;
    color: var(--navy-dark);
    margin: 0 3px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}
.boton-paginacion:hover:not(:disabled) {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateY(-2px);
}
.boton-paginacion:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.boton-paginacion.actual {
    background: var(--yellow);
    color: var(--navy-dark);
    border-color: var(--yellow);
}
/* --- Boton de archivo - copiado --- */
.file-upload-btn {
     display: inline-flex; /* importante, no block */
     width: fit-content; /* que solo mida lo del texto */
     margin: 8px auto 0 auto;
     max-width: fit-content;
     align-self: flex-start; /* por si tu file-zone es flex */
     background-color: var(--navy);
     color: #FFFFFF !important;
     padding: 5px 10px; /* antes tenias 14px, por eso se veia ancho */
     border-radius: 6px;
     font-size: 0.75rem;
     font-weight: 600;
     cursor: pointer;
     margin-top: 8px;
     transition: all 0.2s ease;
     white-space: nowrap; /* que no se parta en 2 lineas */
}
.file-upload-btn:hover {
     background-color: var(--yellow);
     color: var(--navy-dark) !important;
}
.file-zone input[type="file"] { display: none; }
#file-name-display {
     display: block;
     margin-top: 4px;
     font-size: 0.75rem;
     font-weight: 600;
     color: var(--navy);
}