/* Restaurado completo para mantener el layout original.
   Si necesitas que lo minifique/ordene después, lo hacemos sin cambiar el diseño. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: #333; background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

:root {
  --navy:    #1a2872;
  --navy-dk: #0d1340;
  --navy-lt: #2244cc;
  --navy-mid:#1a35cc;
  --navy-bar:#1e3ab8;
  --cta-bg:  #1a2872;
  --cta-hov: #111d5e;
  --yellow:  #f5c400;
  --yellow-dk:#d4a800;
  --yellow-lt:#ffe066;
  --gray-50: #f5f6fa;
  --gray-100:#eef0f5;
  --gray-200:#d8dce8;
  --gray-400:#9aa0b8;
  --gray-600:#555d7a;
  --gray-900:#0d1340;
  --border:  #e2e5ef;
  --radius:  6px;
  --shadow:  0 2px 16px rgba(1,33,135,.09);
  --shadow-md:0 6px 32px rgba(1,33,135,.13);
  --tr: .28s ease;
  --nav-font:'Montserrat', 'Open Sans', sans-serif;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.bg-gray    { background: #f4f6fb; }

.tag { display:inline-block; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--navy); margin-bottom:10px; padding:4px 12px; background:var(--yellow); border-radius:4px; }
.badge-conf { display:inline-block; font-size:11px; font-weight:700; letter-spacing:.02em; color:#fff; padding:3px 10px; background:var(--navy); border-radius:4px; white-space:nowrap; }
.badge-tall { display:inline-block; font-size:11px; font-weight:700; letter-spacing:.02em; color:var(--navy); padding:3px 10px; background:var(--yellow); border-radius:4px; white-space:nowrap; }
.section-title { font-size:clamp(22px,3.5vw,36px); font-weight:800; color:var(--navy); line-height:1.18; margin-bottom:14px; }
.section-title span { color:var(--navy); }
.section-body { font-size:15px; color:#444d6e; line-height:1.75; max-width:560px; }
.section-hd { margin-bottom:48px; }
.section-hd.center { text-align:center; }
.section-hd.center .section-body { margin:0 auto; }

.rv { opacity:1; transform:none; }
.rv.on { opacity:1; transform:none; }
.rv1{transition-delay:.08s} .rv2{transition-delay:.16s} .rv3{transition-delay:.24s} .rv4{transition-delay:.32s}

.btn { display:inline-flex; align-items:center; gap:7px; font-family:'Open Sans',sans-serif; font-size:13px; font-weight:700; letter-spacing:.01em; padding:13px 26px; border-radius:var(--radius); border:none; cursor:pointer; transition:var(--tr); }
.btn-yellow { background:var(--yellow); color:var(--navy); }
.btn-red  { background:var(--gold); color:var(--navy-hd); font-weight:800; }
.btn-yellow:hover { background:var(--yellow-dk); color:var(--navy); transform:translateY(-1px); box-shadow:0 6px 20px rgba(245,196,0,.35); }
.btn-red:hover  { background:var(--gold-dk); transform:translateY(-1px); box-shadow:0 6px 20px rgba(245,196,0,.4); }
.btn-navy { background:var(--navy);  color:#fff; }
.btn-navy:hover { background:var(--navy-lt); transform:translateY(-1px); }
.btn-ow   { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.5); }
.btn-ow:hover { background:rgba(255,255,255,.1); border-color:#fff; }

/* TOPBAR — exact USIL style */
#topbar { background:#002286 !important; font-size:11.5px; padding:0; position:fixed; top:0; left:0; right:0; z-index:1001; }
#topbar .container { display:flex; justify-content:space-between; align-items:center; min-height:36px; padding:0 28px; max-width:100%; width:100%; }
.tb-title { color:rgba(255,255,255,.82); font-size:11.5px; font-weight:400; letter-spacing:.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:46vw; }
.tb-r { display:flex; align-items:center; gap:0; }
.tb-r a { font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.82); padding:0 18px; border-left:1px solid rgba(255,255,255,.15); transition:background .2s,color .2s; min-height:36px; display:flex; align-items:center; white-space:nowrap; }
.tb-r a:hover { background:rgba(255,255,255,.1); color:#fff; }
.tb-sep { display:none; }

/* NAVBAR — always blue, exactly like usil.edu.pe */
#navbar { position:fixed; top:36px; left:0; right:0; z-index:1000; background:#1F50DB !important; transition:top .28s ease; }
#navbar.scrolled { top:36px !important; background:#1F50DB !important; }
.nav-w { display:flex; align-items:center; justify-content:space-between; max-width:100%; margin:0; padding:0 32px; height:62px; }
.nav-brand { display:flex; align-items:center; gap:16px; }
.nav-logo { height:42px; width:auto; display:block; }
.nav-sep { width:1px; height:32px; background:rgba(255,255,255,.3); }
.nav-sub { font-size:16px; font-weight:700; color:#fff; letter-spacing:0; font-family:var(--nav-font); }
.nav-links { display:flex; align-items:center; gap:6px; list-style:none; }
.nav-links a { font-size:11.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:rgba(255,255,255,.92); padding:8px 14px; border-radius:var(--radius); transition:var(--tr); white-space:nowrap; font-family:var(--nav-font); }
.nav-links a:hover { background:rgba(255,255,255,.12); color:#fff; }
.nav-links .ncta { background:var(--cta-bg); color:#fff!important; padding:10px 24px; border-radius:30px; display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; letter-spacing:.01em; font-family:var(--nav-font); }
.nav-links .ncta::before { content:'→'; font-size:16px; font-weight:400; }
.nav-links .ncta:hover { background:var(--cta-hov)!important; }
.hbg { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:6px; }
.hbg span { display:block; width:22px; height:2px; background:#fff; border-radius:2px; }

/* MOBILE — misma tipografía que .nav-links y .tb-r */
.mob { display:none; position:fixed; inset:0; background:#1f50db; z-index:1001; flex-direction:column; overflow-y:auto; color:#fff; }
.mob.open { display:flex; }
.mob-top { display:flex; justify-content:space-between; align-items:center; padding:14px 18px 12px; border-bottom:1px solid rgba(255,255,255,.35); }
.mob-logo { height:30px; width:auto; }
.mob-x { background:none; border:none; font-size:32px; cursor:pointer; color:#fff; line-height:.8; font-weight:300; }
.mob-tb { padding:10px 18px 6px; border-bottom:1px solid rgba(255,255,255,.2); }
.mob-tb-label { font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.55); margin-bottom:8px; font-family:var(--nav-font); }
.mob-tb a { display:flex; align-items:center; min-height:36px; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.82); padding:8px 0; border-bottom:1px solid rgba(255,255,255,.12); font-family:var(--nav-font); }
.mob-tb a:last-child { border-bottom:none; }
.mob-tb a:hover { color:#fff; }
.mob-main { padding:10px 18px 6px; }
.mob-main a { font-size:11.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:rgba(255,255,255,.92); padding:8px 14px; margin:0 -14px; border-radius:var(--radius); display:block; font-family:var(--nav-font); }
.mob-main a:hover { background:rgba(255,255,255,.12); color:#fff; }
.mob-cta-wrap { padding:8px 18px 18px; }
.mob-cta { display:inline-flex; align-items:center; gap:8px; background:var(--cta-bg); color:#fff!important; padding:10px 24px; border-radius:30px; font-size:13px; font-weight:700; letter-spacing:.01em; font-family:var(--nav-font); }
.mob-cta::before { content:'\2192'; font-size:16px; font-weight:400; }
.mob-cta:hover { background:var(--cta-hov)!important; }

/* HERO */
#hero { position:relative; height:92vh; min-height:560px; overflow:hidden; background:#002286; margin-top:98px; }
.slide { position:absolute; inset:0; opacity:0; transition:opacity 1.1s ease; }
.slide.on { opacity:1; }
.slide-bg { width:100%; height:100%; transform:scale(1.04); transition:transform 9s ease; }
.slide.on .slide-bg { transform:scale(1); }



.sdeco { position:absolute; right:0; top:0; width:50%; height:100%; pointer-events:none; }
.sdeco::before { content:''; position:absolute; right:80px; top:15%; width:320px; height:320px; border:1px solid rgba(255,255,255,.06); border-radius:50%; }
.sdeco::after  { content:''; position:absolute; right:180px; bottom:18%; width:180px; height:180px; border:1px solid rgba(255,255,255,.04); border-radius:50%; }
.sov { position:absolute; inset:0; background:linear-gradient(90deg,rgba(1,12,64,.9) 0%,rgba(1,12,64,.55) 50%,rgba(1,12,64,.12) 100%); }
.hero-c { position:absolute; inset:0; display:flex; align-items:center; z-index:5; padding:0 0 0 7vw; max-width:800px; }
.hero-ey { display:flex; align-items:center; gap:10px; font-size:11px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--yellow); margin-bottom:18px; opacity:0; animation:fu .7s .3s forwards; }
.hero-ey::before { content:''; display:block; width:28px; height:2px; background:var(--yellow); }
.hero-h1 { font-size:clamp(32px,5.5vw,62px); font-weight:800; color:#fff; line-height:1.08; letter-spacing:-.02em; margin-bottom:18px; }
.hero-h1 em { font-style:normal; color:var(--yellow); }
.hero-p { font-size:15px; color:rgba(255,255,255,.72); line-height:1.75; max-width:460px; margin-bottom:32px; }
.hero-btns { display:flex; gap:12px; flex-wrap:wrap; }
@keyframes fu { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.hero-prog { position:absolute; bottom:0; left:0; right:0; height:3px; background:rgba(255,255,255,.1); z-index:8; }
#pbar { height:100%; width:0%; background:var(--gold); }
.hero-dots { position:absolute; bottom:28px; left:7vw; z-index:8; display:flex; gap:8px; }
.dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.35); border:none; cursor:pointer; padding:0; transition:all .3s; }
.dot.on { background:var(--gold); transform:scale(1.3); }
.harr { position:absolute; top:50%; transform:translateY(-50%); z-index:8; width:40px; height:40px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; color:#fff; transition:var(--tr); }
.harr:hover { background:var(--red); border-color:var(--navy-mid); }
.harr.l { left:18px; } .harr.r { right:18px; }
.harr svg { width:16px; height:16px; }





/* CARRERAS */
.cg { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.cg-bottom { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:66.66%; margin:24px auto 0; }
.cg-bottom { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:66.66%; margin:0 auto; }
.cc { background:#fff; border-radius:var(--radius); border:1px solid var(--border); overflow:hidden; transition:var(--tr); display:flex; flex-direction:column; }
.cc:hover { box-shadow:var(--shadow-md); transform:translateY(-5px); }
.cc { position:relative; }
.cc-overlay { position:absolute; inset:0; background:linear-gradient(135deg,var(--navy-hd) 0%,var(--navy-lt) 100%); opacity:0; transition:opacity .35s ease; display:flex; align-items:center; justify-content:center; padding:24px; z-index:10; border-radius:var(--radius); }
.cc:hover .cc-overlay { opacity:1; }
.cc-overlay-inner { color:#fff; text-align:center; }
.cc-overlay-inner h4 { font-size:16px; font-weight:800; color:#fff; margin-bottom:10px; line-height:1.25; }
.cc-overlay-inner p  { font-size:12.5px; color:rgba(255,255,255,.82); line-height:1.65; margin-bottom:16px; }
.cc-overlay-inner ul { list-style:none; text-align:left; margin-bottom:16px; display:flex; flex-direction:column; gap:5px; }
.cc-overlay-inner ul li { font-size:11.5px; color:rgba(255,255,255,.8); display:flex; align-items:flex-start; gap:6px; line-height:1.4; }
.cc-overlay-inner ul li::before { content:"\2713"; color:var(--gold); font-weight:700; flex-shrink:0; margin-top:1px; }
.cc-overlay-link { display:inline-flex; align-items:center; gap:6px; border:1.5px solid rgba(255,255,255,.5); color:#fff; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; padding:9px 20px; border-radius:30px; transition:background .2s,border-color .2s; }
.cc-overlay-link:hover { background:rgba(255,255,255,.15); border-color:#fff; }
.cc { position:relative; }
.cc-overlay { position:absolute; inset:0; background:linear-gradient(135deg,var(--navy-hd) 0%,var(--navy-lt) 100%); opacity:0; transition:opacity .35s ease; display:flex; align-items:center; justify-content:center; padding:24px; z-index:10; border-radius:var(--radius); }
.cc:hover .cc-overlay { opacity:1; }
.cc-overlay-inner { color:#fff; text-align:center; }
.cc-overlay-inner h4 { font-size:16px; font-weight:800; color:#fff; margin-bottom:10px; line-height:1.25; }
.cc-overlay-inner p  { font-size:12.5px; color:rgba(255,255,255,.82); line-height:1.65; margin-bottom:16px; }
.cc-overlay-inner ul { list-style:none; text-align:left; margin-bottom:16px; display:flex; flex-direction:column; gap:5px; }
.cc-overlay-inner ul li { font-size:11.5px; color:rgba(255,255,255,.8); display:flex; align-items:flex-start; gap:6px; line-height:1.4; }
.cc-overlay-inner ul li::before { content:'✓'; color:var(--gold); font-weight:700; flex-shrink:0; margin-top:1px; }
.cc-overlay-link { display:inline-flex; align-items:center; gap:6px; border:1.5px solid rgba(255,255,255,.5); color:#fff; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; padding:9px 20px; border-radius:30px; transition:background .2s,border-color .2s; }
.cc-overlay-link:hover { background:rgba(255,255,255,.15); border-color:#fff; }
.cc { position:relative; }
.cc-overlay {
  position:absolute; inset:0;
  background:linear-gradient(135deg, var(--navy-hd) 0%, var(--navy-lt) 100%);
  opacity:0; transition:opacity .35s ease;
  display:flex; align-items:center; justify-content:center;
  padding:24px; z-index:10; border-radius:var(--radius);
}
.cc:hover .cc-overlay { opacity:1; }
.cc-overlay-inner { color:#fff; text-align:center; }
.cc-overlay-inner h4 { font-size:16px; font-weight:800; color:#fff; margin-bottom:10px; line-height:1.25; }
.cc-overlay-inner p  { font-size:12.5px; color:rgba(255,255,255,.82); line-height:1.65; margin-bottom:18px; }
.cc-overlay-inner ul { list-style:none; text-align:left; margin-bottom:18px; display:flex; flex-direction:column; gap:5px; }
.cc-overlay-inner ul li { font-size:11.5px; color:rgba(255,255,255,.8); display:flex; align-items:flex-start; gap:6px; line-height:1.4; }
.cc-overlay-inner ul li::before { content:'✓'; color:var(--gold); font-weight:700; flex-shrink:0; margin-top:1px; }
.cc-overlay-link {
  display:inline-flex; align-items:center; gap:6px;
  border:1.5px solid rgba(255,255,255,.5); color:#fff;
  font-size:12px; font-weight:700; text-transform:uppercase;
  letter-spacing:.06em; padding:9px 20px; border-radius:30px;
  transition:background .2s, border-color .2s;
}
.cc-overlay-link:hover { background:rgba(255,255,255,.15); border-color:#fff; }
.ci { height:180px; position:relative; overflow:hidden; }
.ci::after { content:''; position:absolute; bottom:0; right:0; width:30%; height:5px; background:var(--yellow); }
.cib { width:100%; height:100%; display:flex; align-items:center; justify-content:center; transition:transform .55s ease; }
.cc:hover .cib { transform:scale(1.06); }
.ci1{background:linear-gradient(135deg,#011260 0%,#1244c0 100%)}
.ci2{background:linear-gradient(135deg,#0d1f6e 0%,#2255d0 100%)}
.ci3{background:linear-gradient(135deg,#061540 0%,#0a3098 100%)}
.cil { position:absolute; top:14px; left:14px; background:var(--yellow); color:var(--navy); font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:4px 10px; border-radius:4px; }
.cb { padding:22px; flex:1; display:flex; flex-direction:column; }
.ct { font-size:17px; font-weight:700; color:var(--navy); margin-bottom:8px; line-height:1.25; }
.cd { font-size:13.5px; color:var(--gray-600); line-height:1.7; margin-bottom:18px; flex:1; }
.cf { display:flex; justify-content:space-between; align-items:center; padding-top:14px; border-top:1px solid var(--gray-100); }
.cdur { font-size:12px; color:var(--gray-400); display:flex; align-items:center; gap:5px; }
.cdur svg { width:13px; height:13px; }
.cl { font-size:12.5px; font-weight:700; color:var(--navy-mid); text-transform:uppercase; letter-spacing:.04em; display:flex; align-items:center; gap:4px; transition:gap .2s,color .2s; }
.cc:hover .cl { gap:8px; color:var(--navy); }

/* SERVICIOS */
.svg { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.svi { position:relative; }
.svim { width:100%; aspect-ratio:4/3; border-radius:8px; background:linear-gradient(135deg,var(--navy-dk),var(--navy-lt)); display:flex; align-items:center; justify-content:center; }
.svim svg { width:80px; height:80px; fill:rgba(255,255,255,.1); }
.svbadge { position:absolute; bottom:-20px; right:-20px; width:140px; height:140px; background:var(--yellow); border-radius:8px; display:flex; flex-direction:column; align-items:center; justify-content:center; box-shadow:var(--shadow-md); }
.svbn { font-size:40px; font-weight:800; color:var(--navy); line-height:1; }
.svbl { font-size:10px; font-weight:600; color:var(--navy-mid); text-transform:uppercase; letter-spacing:.06em; text-align:center; margin-top:4px; padding:0 10px; }
.svlist { display:flex; flex-direction:column; gap:4px; }
.svi2 { display:flex; gap:16px; align-items:flex-start; padding:18px 16px; border-radius:var(--radius); transition:background var(--tr); }
.svi2:hover { background:var(--gray-50); }
.svic { width:42px; height:42px; flex-shrink:0; border-radius:8px; background:var(--navy); display:flex; align-items:center; justify-content:center; }
.svic svg { width:20px; height:20px; fill:#fff; }
.svic.r { background:var(--yellow); }
.svic.r svg { fill:var(--navy) !important; }
.svt h4 { font-size:14.5px; font-weight:700; color:var(--navy-hd); margin-bottom:3px; }
.svt p  { font-size:13px; color:var(--gray-600); line-height:1.6; }

/* GRUPOS */
.gg { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.gc { display:flex; background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:var(--tr); }
.gc:hover { box-shadow:var(--shadow); transform:translateY(-3px); }
.gim { width:110px; flex-shrink:0; }
.gimb { width:100%; height:100%; transition:transform .5s ease; }
.gc:hover .gimb { transform:scale(1.08); }
.gi1{background:linear-gradient(160deg,#0a3080,#2060c8)}
.gi2{background:linear-gradient(160deg,#062040,#0a5a90)}
.gi3{background:linear-gradient(160deg,#600a10,#c01520)}
.gi4{background:linear-gradient(160deg,#0a3a20,#157040)}
.gb { padding:18px 20px; }
.gtg { font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--navy); margin-bottom:5px; display:inline-block; padding:2px 8px; background:var(--yellow); border-radius:3px; }
.gtt { font-size:14px; font-weight:700; color:var(--navy-hd); line-height:1.3; margin-bottom:6px; }
.gtd { font-size:12.5px; color:var(--gray-600); line-height:1.6; }

/* CARRERAS LISTA */
.cl-grid { display:flex; flex-direction:column; gap:0; border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.cl-item { display:flex; align-items:center; gap:20px; padding:20px 28px; background:#fff; border-bottom:1px solid var(--border); text-decoration:none; transition:var(--tr); }
.cl-item:last-child { border-bottom:none; }
.cl-item:hover { background:var(--navy); }
.cl-num { font-size:13px; font-weight:800; color:var(--gray-200); letter-spacing:.06em; min-width:28px; transition:color var(--tr); }
.cl-item:hover .cl-num { color:rgba(255,255,255,.4); }
.cl-info { flex:1; }
.cl-title { font-size:16px; font-weight:700; color:var(--navy-hd); margin-bottom:3px; transition:color var(--tr); }
.cl-sub { font-size:12px; color:var(--gray-400); font-weight:400; transition:color var(--tr); }
.cl-item:hover .cl-title,.cl-item:hover .cl-sub { color:rgba(255,255,255,.9); }
.cl-arrow { font-size:18px; color:var(--gray-200); transition:var(--tr); }
.cl-item:hover .cl-arrow { color:var(--gold); transform:translateX(6px); }

/* EVENTOS */
.ev-img-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.ev-img-card { background:#fff; border:1px solid var(--border); border-radius:10px; overflow:hidden; transition:var(--tr); }
.ev-img-card:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); }
.ev-img-top { height:190px; background-size:cover; background-position:center; position:relative; display:flex; align-items:flex-end; padding:14px 16px; }
.ev-img-top::after { content:''; position:absolute; inset:0; background:linear-gradient(to bottom,transparent 30%,rgba(0,17,51,.65)); }
.ev-img-top > * { position:relative; z-index:1; }
@media(max-width:768px){ .ev-img-grid{grid-template-columns:1fr} }
.ev-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.ev-card { background:#fff; border:1px solid var(--border); border-radius:10px; overflow:hidden; display:flex; gap:0; transition:var(--tr); }
.ev-card:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); }
.ev-date { background:var(--navy); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:0 20px; min-width:70px; flex-shrink:0; }
.ev-day { font-size:28px; font-weight:800; line-height:1; }
.ev-mon { font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.65); margin-top:3px; }
.ev-body { padding:20px; }
.ev-tag { font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-dk); margin-bottom:8px; }
.ev-title { font-size:15px; font-weight:700; color:var(--navy-hd); margin-bottom:8px; line-height:1.3; }
.ev-desc { font-size:13px; color:var(--gray-600); line-height:1.6; margin-bottom:14px; }
.ev-link { font-size:12.5px; font-weight:700; color:var(--navy); transition:color .2s; }
.ev-link:hover { color:var(--navy-lt); }
@media(max-width:768px){ .ev-grid{grid-template-columns:1fr} .cl-item{padding:16px 20px} }

/* TITULACIÓN */
.tit-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.tit-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:28px 24px; display:flex; flex-direction:column; gap:0; transition:var(--tr); }
.tit-card:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); }
.tit-icon { font-size:36px; margin-bottom:14px; }
.tit-title { font-size:16px; font-weight:700; color:var(--navy-hd); margin-bottom:10px; line-height:1.3; }
.tit-desc { font-size:13.5px; color:var(--gray-600); line-height:1.65; margin-bottom:20px; }
.tit-reqs { background:var(--gray-50); border-radius:8px; padding:16px; margin-bottom:20px; flex:1; }
.tit-req-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--navy-mid); margin-bottom:10px; }
.tit-reqs ul { list-style:none; display:flex; flex-direction:column; gap:7px; }
.tit-reqs ul li { font-size:12.5px; color:var(--gray-600); display:flex; gap:8px; align-items:flex-start; line-height:1.45; }
.tit-reqs ul li::before { content:"✓"; color:var(--navy); font-weight:700; flex-shrink:0; }
.tit-link { font-size:13px; font-weight:700; color:var(--navy); text-transform:uppercase; letter-spacing:.04em; transition:color .2s; margin-top:auto; }
.tit-link:hover { color:var(--navy-mid); }
@media(max-width:768px){ .tit-grid{grid-template-columns:1fr} }

/* CONTACTO */
.ctg { display:grid; grid-template-columns:1fr; max-width:680px; margin:0 auto; gap:40px; }
.ctf, .cti { background:#fff; border:1px solid var(--border); border-radius:8px; padding:36px; }
.cth { font-size:18px; font-weight:700; color:var(--navy-hd); margin-bottom:24px; }
.fg { margin-bottom:18px; }
.fg label { display:block; font-size:12px; font-weight:700; color:var(--gray-600); margin-bottom:7px; text-transform:uppercase; letter-spacing:.04em; }
.fg input,.fg textarea,.fg select { width:100%; padding:11px 14px; border:1.5px solid var(--gray-200); border-radius:var(--radius); font-family:'Open Sans',sans-serif; font-size:13.5px; color:var(--gray-900); outline:none; background:#fff; transition:border-color .2s; }
.fg input:focus,.fg textarea:focus { border-color:var(--navy); }
.fg textarea { resize:vertical; min-height:100px; }
#fb { display:none; padding:11px 16px; border-radius:var(--radius); font-size:13px; font-weight:600; margin-bottom:16px; }
#fb.ok  { background:#ecfdf5; color:#065f46; display:block; }
#fb.err { background:#fef2f2; color:#991b1b; display:block; }
.cir { display:flex; gap:14px; align-items:flex-start; padding:14px 0; border-bottom:1px solid var(--gray-100); }
.cir:last-of-type { border-bottom:none; }
.cii { width:36px; height:36px; flex-shrink:0; background:var(--gray-50); border:1px solid var(--border); border-radius:8px; display:flex; align-items:center; justify-content:center; }
.cii svg { width:16px; height:16px; fill:var(--navy); }
.cit strong { display:block; font-size:12.5px; font-weight:700; color:var(--gray-900); margin-bottom:2px; }
.cit span   { font-size:13px; color:var(--gray-600); }
.chl { margin-top:24px; padding:20px; background:var(--navy); border-radius:8px; color:#fff; }
.chl h4 { font-size:13px; font-weight:700; margin-bottom:4px; }
.chl p  { font-size:12px; opacity:.7; margin-bottom:10px; }
.chl a  { font-size:16px; font-weight:800; color:var(--yellow); }

/* FOOTER */
footer { background:var(--navy-dk); color:rgba(255,255,255,.6); padding:64px 0 0; }
.ftg { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:48px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.07); }
.ftbrand { }
.ftbn { font-size:15px; font-weight:700; color:#fff; margin-bottom:5px; letter-spacing:-.01em; }
.ftbn span { color:var(--gold); }
.ftbs { font-size:11px; color:rgba(255,255,255,.4); margin-bottom:18px; letter-spacing:.04em; }
.fttg { font-size:13px; line-height:1.7; max-width:270px; margin-bottom:22px; }
.ftsc { display:flex; gap:8px; }
.fts { width:34px; height:34px; border-radius:6px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:var(--tr); }
.fts:hover { background:var(--yellow); }
.fts:hover svg { fill:var(--navy) !important; }
.fts svg { width:15px; height:15px; fill:rgba(255,255,255,.55); transition:fill .2s; }
.fts:hover svg { fill:#fff; }
.ftcol h4 { font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#fff; margin-bottom:20px; }
.ftcol ul { list-style:none; display:flex; flex-direction:column; gap:9px; }
.ftcol li a { font-size:13.5px; color:rgba(255,255,255,.58); transition:color .2s; line-height:1; }
.ftcol ul { gap:14px; }
.ftcol li a:hover { color:#fff; }
.ftct { display:flex; flex-direction:column; gap:10px; }
.ftci { display:flex; gap:8px; font-size:12.5px; color:rgba(255,255,255,.5); line-height:1.5; }
.ftci svg { width:15px; height:15px; fill:rgba(255,255,255,.6); flex-shrink:0; margin-top:3px; }
.ftci { font-size:13px; color:rgba(255,255,255,.58); line-height:1.6; }
.ftbot { padding:20px 0; border-top:1px solid rgba(255,255,255,.1); margin-top:8px; }
.ftcopy { font-size:12.5px; color:rgba(255,255,255,.4); font-weight:300; }
.ftleg { display:flex; gap:18px; }
.ftleg a { font-size:11.5px; color:rgba(255,255,255,.3); transition:color .2s; }
.ftleg a:hover { color:rgba(255,255,255,.7); }

/* RESPONSIVE */
@media(max-width:1024px){
  .tb-title{display:none}
  #topbar .container{padding:0 16px}
  .tb-r a{padding:0 12px; font-size:10px}
  .cg{grid-template-columns:1fr 1fr}
  .cg-bottom{grid-template-columns:1fr 1fr;max-width:100%;margin-top:24px}
  .cg-bottom{grid-template-columns:1fr 1fr; max-width:100%}
  .ftg{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .tb-title{display:block!important;max-width:72vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #topbar .tb-r{display:none!important}
  .section{padding:56px 0}
  .nav-links{display:none}
  .hbg{display:flex}
  .hero-c{padding:0 0 0 24px}
  .cg,.cg-bottom,.svg,.gg,.ctg{grid-template-columns:1fr; max-width:100%}
  .svi{display:none}
  .ftg{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .ftg,.gg,.cg,.cg-bottom{grid-template-columns:1fr; max-width:100%}
}
[id]{scroll-margin-top:102px}

/* ── INV PAGE EXTRAS ── */
.inv-hero { background:linear-gradient(135deg,var(--navy-dk) 0%,var(--navy) 100%); padding:80px 0 56px; text-align:center; color:#fff; }
.inv-hero h1 { font-size:clamp(28px,4vw,46px); font-weight:800; letter-spacing:-.02em; margin-bottom:14px; }
.inv-hero p { font-size:16px; color:rgba(255,255,255,.75); max-width:540px; margin:0 auto; line-height:1.7; }
.tab-bar { background:#fff; border-bottom:1px solid var(--border); position:sticky; top:98px; z-index:90; }
.tabs { display:flex; justify-content:center; gap:4px; padding:0; flex-wrap:wrap; }
.tab-btn { font-size:13px; font-weight:700; padding:14px 26px; border-radius:0; border:none; border-bottom:3px solid transparent; cursor:pointer; transition:var(--tr); letter-spacing:.03em; font-family:inherit; background:transparent; color:var(--gray-600); }
.tab-btn.active { color:var(--navy); border-bottom-color:var(--navy); background:transparent; }
.tab-btn:hover:not(.active) { color:var(--navy-mid); background:var(--gray-50); }
.tab-content { display:none; }
.tab-content.active { display:block; }
.mod-list { display:flex; flex-direction:column; gap:16px; max-width:860px; margin:0 auto; }
.mod-card { background:#fff; border:1px solid var(--border); border-radius:10px; overflow:hidden; box-shadow:var(--shadow); }
.mod-head { display:flex; align-items:center; justify-content:space-between; padding:22px 28px; cursor:pointer; user-select:none; transition:background .2s; }
.mod-head:hover { background:var(--gray-50); }
.mod-hl { display:flex; align-items:center; gap:16px; }
.mod-icon { font-size:28px; line-height:1; }
.mod-title { font-size:16px; font-weight:700; color:var(--navy-hd); margin-bottom:3px; }
.mod-sub { font-size:13px; color:var(--gray-600); }
.mod-arr { width:32px; height:32px; border-radius:50%; background:var(--gray-100); display:flex; align-items:center; justify-content:center; transition:transform .3s,background .2s; flex-shrink:0; }
.mod-arr svg { width:16px; height:16px; fill:var(--navy-mid); transition:fill .2s; }
.mod-card.open .mod-arr { transform:rotate(180deg); background:var(--navy); }
.mod-card.open .mod-arr svg { fill:#fff; }
.mod-body { display:none; border-top:1px solid var(--gray-100); }
.mod-card.open .mod-body { display:block; }
.mod-tabs { display:flex; gap:0; border-bottom:1px solid var(--gray-100); padding:0 28px; }
.mod-tab { font-size:12.5px; font-weight:700; padding:12px 18px; border:none; border-bottom:2px solid transparent; cursor:pointer; font-family:inherit; background:transparent; color:var(--gray-600); transition:var(--tr); }
.mod-tab.active { color:var(--navy); border-bottom-color:var(--navy); }
.mod-pane { display:none; padding:24px 28px 28px; }
.mod-pane.active { display:block; }
.mod-pane ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.mod-pane ul li { display:flex; align-items:flex-start; gap:10px; font-size:13.5px; color:var(--gray-600); line-height:1.65; }
.mod-pane ul li::before { content:"•"; color:var(--navy); font-weight:700; flex-shrink:0; margin-top:3px; }
.mod-pane ol { list-style:none; display:flex; flex-direction:column; gap:14px; }
.mod-pane ol li { display:flex; align-items:flex-start; gap:14px; font-size:13.5px; color:var(--gray-600); line-height:1.65; }
.mod-step { min-width:28px; height:28px; border-radius:50%; background:var(--gold); color:var(--navy-hd); font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.inf-item { display:flex; align-items:center; gap:12px; font-size:13.5px; color:var(--navy); padding:12px 0; border-bottom:1px solid var(--gray-100); }
.inf-item:last-child { border-bottom:none; }
.inf-icon { font-size:18px; }
.doc-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.doc-item { display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--border); border-radius:10px; padding:18px 24px; transition:var(--tr); }
.doc-item:hover { box-shadow:var(--shadow-md); transform:translateX(4px); }
.doc-ico { width:44px; height:44px; background:var(--gray-100); border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.doc-ico svg { width:22px; height:22px; fill:var(--navy); }
.doc-name { font-size:14px; font-weight:600; color:var(--navy-hd); flex:1; }
.doc-dl { width:38px; height:38px; border-radius:50%; background:var(--navy); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .2s; }
.doc-dl:hover { background:var(--navy-lt); }
.doc-dl svg { width:17px; height:17px; fill:#fff; }
.tips-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.tip-card { background:#fff; border:1px solid var(--border); border-radius:10px; padding:24px; display:flex; flex-direction:column; gap:12px; transition:var(--tr); }
.tip-card:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); }
.tip-icon { font-size:36px; }
.tip-title { font-size:16px; font-weight:700; color:var(--navy-hd); }
.tip-desc { font-size:13px; color:var(--gray-600); line-height:1.65; flex:1; }
.tip-btn { display:inline-flex; align-items:center; gap:8px; background:#b91c1c; color:#fff; font-size:12.5px; font-weight:700; padding:9px 18px; border-radius:8px; margin-top:auto; transition:background .2s; width:fit-content; }
.tip-btn:hover { background:#991b1b; }
.tip-btn svg { width:14px; height:14px; fill:#fff; }
.search-wrap { max-width:480px; margin:0 auto 36px; position:relative; }
.search-wrap input { width:100%; padding:13px 20px 13px 48px; border:1.5px solid var(--gray-200); border-radius:30px; font-size:14px; font-family:inherit; color:var(--gray-900); outline:none; transition:border-color .2s; }
.search-wrap input:focus { border-color:var(--navy); }
.search-wrap svg { position:absolute; left:16px; top:50%; transform:translateY(-50%); width:18px; height:18px; }
.asesores-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.asesor-card { background:#fff; border:1px solid var(--border); border-radius:10px; overflow:hidden; transition:var(--tr); }
.asesor-card:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); }
.asesor-img { height:200px; background:linear-gradient(135deg,var(--navy-dk),var(--navy)); overflow:hidden; }
.asesor-img img { width:100%; height:100%; object-fit:cover; object-position:top; }
.asesor-body { padding:16px; }
.asesor-name { font-size:13.5px; font-weight:700; color:var(--navy-hd); margin-bottom:4px; line-height:1.3; }
.asesor-esp { font-size:12px; color:var(--gray-600); margin-bottom:14px; }
.asesor-btn { display:inline-flex; align-items:center; gap:6px; background:var(--navy); color:#fff; font-size:11.5px; font-weight:700; padding:8px 14px; border-radius:6px; transition:background .2s; }
.asesor-btn:hover { background:var(--navy-lt); }
#no-results { display:none; text-align:center; padding:48px; color:var(--gray-600); font-size:14px; }
@media(max-width:768px) {
  .tips-grid,.asesores-grid{ grid-template-columns:1fr 1fr; }
  .nav-links{ display:none; }
  .hbg{ display:flex; }
}
@media(max-width:480px) {
  .tips-grid,.asesores-grid{ grid-template-columns:1fr; }
}
