
:root{
  --navy:#08264f;
  --navy-2:#0d376f;
  --gold:#c89b3c;
  --gold-soft:#e9d7ad;
  --ink:#172033;
  --muted:#5d6778;
  --surface:#ffffff;
  --surface-2:#f5f7fa;
  --border:#dfe5ec;
  --success:#19764a;
  --shadow:0 18px 50px rgba(8,38,79,.10);
  --radius:18px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter, ui-sans-serif, system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--surface);line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(calc(100% - 32px),var(--max));margin:auto}
.topbar{background:var(--navy);color:#fff;font-size:13px}
.topbar .container{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:9px 0}
.topbar .item{display:flex;gap:8px;align-items:center;opacity:.95}
.header{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:30;border-bottom:1px solid rgba(223,229,236,.9)}
.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand img{height:58px;width:auto}
.navlinks{display:flex;align-items:center;gap:30px;font-weight:650;color:#1b2b45}
.navlinks a:hover{color:var(--gold)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 20px;border-radius:10px;font-weight:750;border:1px solid transparent;transition:.2s ease;cursor:pointer}
.btn-primary{background:var(--navy);color:#fff;box-shadow:0 10px 24px rgba(8,38,79,.18)}
.btn-primary:hover{background:var(--navy-2);transform:translateY(-1px)}
.btn-outline{border-color:var(--navy);color:var(--navy);background:#fff}
.btn-outline:hover{background:#f4f7fb}
.btn-disabled{background:#edf1f5;color:#7c8797;cursor:not-allowed}
.hero{background:linear-gradient(135deg,#fff 0%,#f8fafc 63%,#eef3f8 100%);border-bottom:1px solid var(--border)}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:54px;padding:72px 0 62px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--navy);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:17px}
.eyebrow::before{content:"";width:28px;height:2px;background:var(--gold)}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;color:var(--navy);line-height:1.12;margin:0}
h1{font-size:clamp(44px,6vw,76px);letter-spacing:-.035em}
h1 span{color:var(--gold)}
.hero p{font-size:19px;color:#344259;max-width:670px;margin:24px 0 28px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.microtrust{display:flex;align-items:center;gap:10px;margin-top:18px;font-size:13px;color:var(--muted)}
.hero-card{position:relative;background:linear-gradient(155deg,var(--navy),#0c3b76);border-radius:26px;padding:32px;color:#fff;box-shadow:var(--shadow);min-height:410px;overflow:hidden}
.hero-card::after{content:"";position:absolute;width:290px;height:290px;border-radius:50%;background:rgba(200,155,60,.18);right:-70px;bottom:-90px}
.hero-card .tag{display:inline-flex;padding:8px 12px;border:1px solid rgba(255,255,255,.24);border-radius:999px;font-size:12px}
.hero-card h3{color:#fff;font-size:36px;margin:55px 0 14px}
.hero-card p{color:#dce7f4;font-size:16px;margin:0 0 28px}
.hero-card .proof{display:grid;grid-template-columns:1fr 1fr;gap:12px;position:relative;z-index:2}
.proof-card{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:15px;padding:16px}
.proof-card strong{display:block;font-size:24px}
.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-bottom:1px solid var(--border);background:#fff}
.trust-item{padding:27px 22px;border-right:1px solid var(--border)}
.trust-item:last-child{border-right:0}
.trust-item strong{display:block;color:var(--navy);margin-bottom:4px}
.trust-item span{font-size:14px;color:var(--muted)}
section{padding:86px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}
.section-head h2{font-size:42px}
.section-head p{max-width:620px;color:var(--muted);margin:0}
.deps{background:var(--surface-2)}
.dep-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.dep{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:28px;min-height:220px;box-shadow:0 8px 26px rgba(8,38,79,.04)}
.dep-badge{width:52px;height:52px;border-radius:14px;background:#edf3fa;display:grid;place-items:center;color:var(--navy);font-weight:900;margin-bottom:20px}
.dep h3{font-family:inherit;font-size:20px;margin-bottom:8px}
.dep p{margin:0;color:var(--muted);font-size:14px}
.notice{margin-top:18px;font-size:13px;color:var(--muted)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.step{position:relative;padding:28px;border:1px solid var(--border);border-radius:var(--radius);background:#fff}
.step-num{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#fff;font-weight:900;margin-bottom:18px}
.step h3{font-family:inherit;font-size:20px;margin-bottom:8px}
.step p{color:var(--muted);margin:0}
.verify{background:linear-gradient(135deg,#eef4fb,#f8fbff);padding:54px 0}
.verify-card{display:flex;justify-content:space-between;align-items:center;gap:30px}
.verify h2{font-size:36px}
.verify p{color:var(--muted);max-width:690px}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:52px;align-items:center}
.about-panel{background:var(--navy);color:#fff;border-radius:24px;padding:34px}
.about-panel h3{color:#fff;font-size:32px;margin-bottom:14px}
.about-panel p{color:#dbe6f3}
.about-copy h2{font-size:42px;margin-bottom:18px}
.about-copy p{color:var(--muted)}
.contact{background:var(--surface-2)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px}
.contact-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:30px}
.contact-card h3{font-family:inherit;font-size:22px;margin-bottom:18px}
.contact-line{display:flex;gap:12px;margin:12px 0;color:#334155}
.contact-line b{color:var(--navy)}
.cta-box{background:var(--navy);color:#fff;border-radius:var(--radius);padding:30px}
.cta-box h3{color:#fff;font-size:31px;margin-bottom:12px}
.cta-box p{color:#dbe6f3}
.footer{background:#061d3d;color:#dbe6f3;padding:48px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:34px}
.footer img{height:58px;filter:brightness(0) invert(1)}
.footer h4{color:#fff;margin:0 0 12px}
.footer p,.footer a{font-size:14px;color:#dbe6f3}
.footer a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:18px;font-size:12px;color:#aebbd0;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.mobile-toggle{display:none;border:0;background:transparent;font-size:28px;color:var(--navy)}
@media(max-width:900px){
  .topbar .container{justify-content:center}.topbar .item:last-child{display:none}
  .mobile-toggle{display:block}
  .navlinks{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;padding:18px 24px;border-bottom:1px solid var(--border);flex-direction:column;align-items:stretch}
  .navlinks.open{display:flex}
  .hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr}
  .hero-card{min-height:auto}
  .trust-strip{grid-template-columns:1fr 1fr}
  .trust-item:nth-child(2){border-right:0}
  .dep-grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr}
  .verify-card{align-items:flex-start;flex-direction:column}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .brand img{height:48px}
  .hero-grid{padding:48px 0}
  section{padding:64px 0}
  h1{font-size:44px}
  .section-head{align-items:flex-start;flex-direction:column}
  .section-head h2,.about-copy h2{font-size:34px}
  .trust-strip,.dep-grid{grid-template-columns:1fr}
  .trust-item{border-right:0;border-bottom:1px solid var(--border)}
  .hero-actions .btn{width:100%}
}

.brand img{height:54px;width:auto;object-fit:contain}
.institution-logo{height:72px;width:100%;object-fit:contain;object-position:left center;margin-bottom:18px}
.dep-logo{display:flex;flex-direction:column;justify-content:flex-start}
.more-mark{width:72px;height:72px;border-radius:16px;background:#edf3fa;color:var(--navy);display:grid;place-items:center;font-size:34px;font-weight:800;margin-bottom:18px}
.brand-panel{background:#fff;border:1px solid var(--border);color:var(--ink);padding:18px;overflow:hidden}
.brand-panel p{padding:0 14px 10px;color:var(--muted)}
.brand-art{width:100%;border-radius:14px;display:block}
.footer img{filter:none;background:#fff;border-radius:8px;padding:6px;height:54px}
@media(max-width:560px){.brand img{height:46px}.institution-logo{height:62px}}

.dep-name-mark{height:72px;display:flex;align-items:center;color:var(--navy);font-size:22px;font-weight:800;letter-spacing:.04em;margin-bottom:18px}
.office-map{margin-top:20px}
.office-map iframe{display:block;width:100%;height:230px;border:0;border-radius:14px}
.map-button{display:inline-block;margin-top:12px;padding:11px 18px;border:1px solid var(--navy);border-radius:10px;color:var(--navy);font-weight:700;text-decoration:none}
.map-button:hover{background:var(--navy);color:#fff}

/* V3 - Sección de dependencias sobria e institucional */
.institutions-panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 32px rgba(8,38,79,.05);
}
.institution-list{display:block}
.institution-row{
  display:grid;
  grid-template-columns:250px 1fr;
  gap:36px;
  align-items:center;
  padding:26px 30px;
  border-bottom:1px solid var(--border);
}
.institution-row:last-child{border-bottom:0}
.institution-name{
  font-family:Georgia,"Times New Roman",serif;
  color:var(--navy);
  font-size:28px;
  font-weight:700;
  letter-spacing:-.01em;
}
.institution-copy{
  color:#556174;
  font-size:15px;
  line-height:1.65;
}
.institution-more{background:#fbfcfe}
.institutional-note{
  margin-top:16px;
  max-width:1020px;
  line-height:1.6;
}
@media(max-width:700px){
  .institution-row{
    grid-template-columns:1fr;
    gap:8px;
    padding:22px;
  }
  .institution-name{font-size:24px}
}

/* V4 Gerencia: acabado institucional */
.premium-deps{
  background:
    radial-gradient(circle at 10% 10%, rgba(200,155,60,.07), transparent 32%),
    linear-gradient(180deg,#f8fafc 0%,#f3f6f9 100%);
}
.premium-head{margin-bottom:32px}
.institution-band{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  border:1px solid #d7dee7;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 16px 45px rgba(8,38,79,.06);
}
.institution-chip{
  min-height:128px;
  display:grid;
  grid-template-columns:105px 1fr;
  align-items:center;
  gap:22px;
  padding:26px 30px;
  border-right:1px solid #e2e7ed;
  border-bottom:1px solid #e2e7ed;
}
.institution-chip:nth-child(2n){border-right:0}
.institution-chip:nth-last-child(-n+2){border-bottom:0}
.inst-monogram{
  height:64px;
  min-width:88px;
  border-left:3px solid var(--gold);
  display:flex;
  align-items:center;
  padding-left:18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  font-weight:700;
  color:var(--navy);
  letter-spacing:.01em;
}
.institution-chip strong{
  display:block;
  color:#102744;
  font-size:17px;
  margin-bottom:5px;
}
.institution-chip small{
  display:block;
  color:#647084;
  font-size:14px;
}
.other-chip{background:#fbfcfe}
.institution-disclaimer{
  margin-top:18px;
  padding:14px 18px;
  border-left:3px solid #bfc9d6;
  color:#687487;
  font-size:12.5px;
  line-height:1.65;
}
.institution-disclaimer strong{color:#35455f}

.contact-premium-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:24px;
  align-items:stretch;
}
.contact-details{height:100%}
.contact-icon{
  width:28px;
  height:28px;
  border:1px solid #d8e0e9;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  color:var(--navy);
  font-weight:800;
  font-size:14px;
}
.map-card{
  min-height:460px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 16px 45px rgba(8,38,79,.06);
  display:grid;
  grid-template-rows:1fr auto;
}
.map-card iframe{min-height:360px;display:block}
.map-footer{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  padding:18px 20px;
}
.map-footer strong{display:block;color:var(--navy)}
.map-footer small{display:block;color:#6b7688;margin-top:3px}
.contact-cta{
  margin-top:24px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:20px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
.contact-cta strong{display:block;color:var(--navy);font-size:18px}
.contact-cta span{display:block;color:#667286;font-size:14px;margin-top:3px}

@media(max-width:900px){
  .institution-band,.contact-premium-grid{grid-template-columns:1fr}
  .institution-chip{border-right:0;border-bottom:1px solid #e2e7ed}
  .institution-chip:nth-last-child(-n+2){border-bottom:1px solid #e2e7ed}
  .institution-chip:last-child{border-bottom:0}
  .contact-cta{align-items:flex-start;flex-direction:column}
}
@media(max-width:560px){
  .institution-chip{grid-template-columns:1fr;gap:10px;padding:22px}
  .inst-monogram{height:auto;min-width:0;padding:0 0 8px;border-left:0;border-bottom:2px solid var(--gold)}
  .map-footer{align-items:flex-start;flex-direction:column}
  .map-card{min-height:390px}
  .map-card iframe{min-height:300px}
}
