*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f9fd;color:#17314f;font-family:Inter,system-ui,Arial,sans-serif}a{text-decoration:none;color:inherit}.top{position:sticky;top:0;z-index:30;background:#ffffffed;backdrop-filter:blur(15px);box-shadow:0 3px 18px #08294c13}.bar{max-width:1220px;margin:auto;min-height:78px;display:flex;align-items:center;justify-content:space-between;padding:10px 24px;gap:20px}.logo{width:142px;max-height:56px;object-fit:contain}.nav{display:flex;gap:17px;align-items:center;flex-wrap:wrap}.nav a{font-size:13px;font-weight:700}.nav a:hover{color:#1688d4}.btn{display:inline-block;border-radius:10px;padding:14px 21px;background:#0a569a;color:#fff!important;font-weight:750;border:0;cursor:pointer}.btn.secondary{background:#fff;color:#0b4d88!important}.hero{position:relative;min-height:530px;display:flex;align-items:center;background:linear-gradient(90deg,#062b55ee 0%,#074477e5 45%,#06497c55 100%),var(--photo) center/cover;color:white;overflow:hidden}.hero:before{content:'';position:absolute;width:530px;height:530px;border:1px solid #ffffff35;border-radius:50%;right:-100px;top:-180px;animation:float 12s ease-in-out infinite alternate}.inner{max-width:1180px;margin:auto;padding:75px 24px;position:relative;width:100%}.hero h1{font-size:clamp(38px,5.4vw,72px);line-height:1.08;letter-spacing:-.045em;max-width:900px;margin:0 0 22px}.hero p{font-size:clamp(17px,2vw,22px);max-width:730px;line-height:1.65}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}.eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;font-weight:800;color:#1c95db}.hero .eyebrow{color:#9bd8ff}.section{max-width:1180px;margin:auto;padding:75px 24px}.section h2{font-size:clamp(30px,3.5vw,46px);letter-spacing:-.04em;margin:8px 0 20px}.section>p{max-width:760px;line-height:1.75;color:#4c6076}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}.card{background:#fff;border:1px solid #e3edf7;border-radius:19px;overflow:hidden;box-shadow:0 10px 30px #0a39650b;transition:transform .35s,box-shadow .35s}.card:hover{transform:translateY(-7px);box-shadow:0 18px 35px #0a396522}.card img{width:100%;height:190px;object-fit:cover;transition:transform .6s}.card:hover img{transform:scale(1.045)}.card .copy{padding:24px}.card h3{margin:0 0 12px;font-size:21px}.card p{line-height:1.65;color:#536b82}.card a{color:#0874c3;font-weight:800}.stripe{background:#e9f3fc}.two{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.two img{width:100%;border-radius:20px;max-height:430px;object-fit:cover}.two p{line-height:1.8;color:#526b80}.foot{background:#082a4e;color:#d8e9f9;padding:48px 24px}.foot>div{max-width:1180px;margin:auto;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.foot a{display:inline-block;margin:7px 12px 7px 0}.reveal{opacity:0;transform:translateY(20px);transition:opacity .65s,transform .65s}.reveal.show{opacity:1;transform:none}.form{max-width:690px;display:grid;gap:14px}.form input,.form textarea,.form select{width:100%;padding:15px;border:1px solid #b8cce0;border-radius:9px;font:inherit}.note{font-size:13px;color:#687d90}@keyframes float{to{transform:translate(-55px,80px)}}@media(max-width:850px){.bar{align-items:flex-start;flex-direction:column}.nav{gap:12px}.grid{grid-template-columns:1fr 1fr}.two{grid-template-columns:1fr}.hero{min-height:490px}}@media(max-width:550px){.grid{grid-template-columns:1fr}.hero h1{font-size:38px}.inner{padding:70px 22px}.nav a{font-size:12px}.section{padding:55px 22px}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}
.hero.no-photo{background:linear-gradient(110deg,#05284d,#0c67a9)}.hero.has-photo{background:linear-gradient(90deg,#062b55ee 0%,#074477d8 50%,#06497c33 100%),var(--photo) center/cover}.tags{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.tags span{background:#e8f3fb;color:#104d7c;border-radius:25px;padding:11px 17px;font-weight:650}.section.two{grid-template-columns:1fr 1fr}.section.two:not(:has(img)){grid-template-columns:1fr}.section.two p{white-space:normal}.card img{display:block}.section p{line-height:1.8}@media(max-width:850px){.section.two{grid-template-columns:1fr}}
/* V3 — navegación, contacto y pie institucional */
.footer-grid{display:grid!important;grid-template-columns:1.1fr 1fr 1.15fr;gap:36px;align-items:start}.footer-logo{width:185px;max-height:95px;object-fit:contain;background:#fff;border-radius:12px;padding:8px}.footer-brand p{line-height:1.6}.footer-grid h3{font-size:17px;color:#fff;margin:0 0 17px}.footer-grid a:hover{text-decoration:underline}.footer-links{display:flex;flex-direction:column;align-items:flex-start}.footer-links a{margin:0 0 9px}.footer-bottom{max-width:1180px;margin:35px auto 0;padding-top:18px;border-top:1px solid #ffffff29;color:#bad4e9;font-size:13px}.footer-wa{color:#a5edc6!important;font-weight:750}.whatsapp-float{position:fixed;right:23px;bottom:24px;z-index:100;display:grid;place-items:center;width:61px;height:61px;border-radius:50%;background:#25d366;color:white;box-shadow:0 8px 22px #0c332a45;transition:transform .25s}.whatsapp-float:hover{transform:translateY(-4px) scale(1.04)}.contact-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,.85fr);gap:40px}.contact-layout h2{margin:10px 0 18px}.contact-layout p{line-height:1.7}.contact-form{display:grid;gap:18px;margin-top:30px}.contact-form label{display:grid;gap:8px;font-weight:650;font-size:14px}.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{width:100%;border:1px solid #bed0e1;border-radius:10px;padding:14px 15px;font:inherit;color:#183755;background:#fff}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contact-form .consent{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.5}.contact-form .consent input{margin-top:4px}.contact-form button{justify-self:start}.form-note{font-size:13px;color:#5a6d80;margin:0}.contact-details{background:#e9f3fc;border-radius:18px;padding:28px;align-self:start}.contact-details p{margin-bottom:23px}.contact-details a:not(.btn){color:#075b9c;overflow-wrap:anywhere}.map-section{padding-top:12px}.map-frame{overflow:hidden;border-radius:18px;border:1px solid #d4e2ef;box-shadow:0 10px 28px #0a396516}.map-frame iframe{display:block;width:100%;height:400px;border:0}.foot{padding-bottom:25px}@media(max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}.contact-layout{grid-template-columns:1fr}}@media(max-width:620px){.footer-grid{grid-template-columns:1fr}.field-row{grid-template-columns:1fr}.whatsapp-float{right:15px;bottom:16px;width:55px;height:55px}.map-frame iframe{height:320px}}
/* V4: Ajustes exclusivos de la página de Inicio. Las páginas internas quedan intactas. */
.home-contact-strip{background:#0870c4;color:white;padding:6px max(24px,calc((100vw - 1310px)/2));font-size:13px;font-weight:650}
.home-nav-cta{background:#0878cb;color:#fff;border-radius:7px;padding:12px 16px;font-size:13px;font-weight:750;white-space:nowrap;box-shadow:0 5px 15px #0866b22a}
.home-hero{min-height:unset;isolation:isolate;align-items:center;background:linear-gradient(100deg,rgba(3,49,103,.95) 0%,rgba(6,88,167,.89) 52%,rgba(9,106,187,.66) 100%),var(--photo) center 42%/cover}
.home-hero:before{width:410px;height:410px;top:-230px;right:6%;opacity:.6;pointer-events:none}
.home-hero .inner{max-width:1360px;padding:58px 34px 45px;z-index:2}
.home-hero h1{max-width:1180px;font-size:clamp(38px,4.4vw,65px);line-height:1.08;letter-spacing:-.036em;margin:12px 0 18px;text-wrap:balance}
.home-hero p{max-width:1050px;font-size:clamp(15px,1.38vw,18px);line-height:1.58;margin:0;text-wrap:pretty}
.home-hero .actions{margin-top:24px}.home-hero .btn{padding:13px 23px;background:#0d8bdc;box-shadow:0 8px 20px #002d5540}.home-hero .btn.secondary{background:transparent;border:1px solid #ffffffc9;color:white!important;box-shadow:none}
.home-indicators{display:flex;flex-wrap:wrap;gap:11px;margin-top:32px}.home-indicators span{border:1px solid #ffffff65;background:#ffffff18;backdrop-filter:blur(5px);border-radius:9px;padding:11px 16px;font-size:13px;font-weight:650}
.hero-lines{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}.hero-lines i{position:absolute;display:block;width:80vw;height:80vw;max-width:950px;max-height:950px;border:1px solid #ffffff2b;border-radius:50%;right:-33vw;top:-36vw;animation:homeOrbit 17s ease-in-out infinite alternate}.hero-lines i:nth-child(2){width:60vw;height:60vw;right:-23vw;top:-26vw;animation-duration:23s}.hero-lines i:nth-child(3){width:44vw;height:44vw;right:-14vw;top:-18vw;animation-duration:13s}.hero-lines i:nth-child(4){width:120%;height:1px;border:0;border-top:1px solid #ffffff24;border-radius:0;right:-20%;top:74%;transform:rotate(-10deg);animation:homeSweep 9s ease-in-out infinite alternate}
@keyframes homeOrbit{to{transform:translate(-50px,45px) rotate(18deg)}}@keyframes homeSweep{to{transform:translateY(-95px) rotate(-7deg)}}
@media(min-width:1000px){body:has(.home-hero) .bar{max-width:1390px}.home-hero .inner{padding-left:45px;padding-right:45px}}
@media(max-width:1100px){.home-nav-cta{display:none}.home-hero h1{font-size:clamp(36px,5vw,58px)}}
@media(max-width:650px){.home-hero .inner{padding:45px 22px 35px}.home-hero h1{font-size:clamp(33px,8vw,45px)}.home-hero p{font-size:15px}.home-indicators{margin-top:25px}.home-indicators span{font-size:11px;padding:9px 11px}.home-contact-strip{padding:6px 20px}.hero-lines i{right:-55vw;top:-35vw}}
@media(prefers-reduced-motion:reduce){.hero-lines i{animation:none!important}}

/* V5 — Inicio completo */
body:has(.home-hero){background:#fff}body:has(.home-hero) .bar{max-width:1480px;min-height:72px}body:has(.home-hero) .nav a{font-size:clamp(12px,.9vw,14px);font-weight:600}body:has(.home-hero) .logo{width:148px}
.home-hero{min-height:480px;background:linear-gradient(95deg,rgba(0,42,104,.97),rgba(0,77,166,.91) 54%,rgba(0,70,148,.73)),var(--photo) center/cover!important}.home-hero .inner{max-width:1560px;padding:55px 38px 44px}.home-hero h1{max-width:none;width:100%;font-size:clamp(30px,3.35vw,54px);letter-spacing:-.038em;line-height:1.13;text-wrap:nowrap}.home-hero p{max-width:1450px;font-size:clamp(15px,1.22vw,18px);line-height:1.7;text-wrap:initial}.home-hero .btn{background:#0874d0}.home-hero .btn.secondary{background:transparent}.home-indicators{margin-top:24px}.hero-lines i{border-color:#b8e7ff75;border-width:2px}.hero-lines i:nth-child(4){border-top:2px solid #a2e3ff99}.home-hero:before{border-color:#ffffff77}
body:has(.home-hero) .section{max-width:1320px;padding:72px 32px}.home-sectors{background:white}.sector-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:32px}.sector-grid a{border:1px solid #dce9f5;background:#f5f9fd;border-radius:12px;padding:19px;font-weight:650;transition:.25s}.sector-grid a:hover{background:#dcefff;transform:translateY(-3px)}.home-differentials{border-top:1px solid #e5edf7}.diff-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:30px}.diff-grid article{padding:18px 6px;border-top:2px solid #c6e3f9}.diff-grid h3{margin:12px 0 5px}.diff-grid p{margin:0;color:#56708b;line-height:1.65}.diff-icon{font-weight:800;color:#0878ce}.home-feature{background:#eef6fd}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.feature-grid img{width:100%;border-radius:20px;object-fit:cover;box-shadow:0 20px 45px #073e7130}.feature-grid p{line-height:1.7;color:#4b6278}.feature-pills{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:25px 0}.feature-pills span{padding:12px 14px;background:#fff;border:1px solid #d8e8f7;border-radius:10px;font-size:14px}.text-link{color:#0874c3;font-weight:800}.process-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:22px;counter-reset:process;margin-top:35px}.process-grid li{counter-increment:process;display:flex;align-items:center;gap:12px;line-height:1.4}.process-grid li:before{content:counter(process);background:#0879d4;color:white;border-radius:50%;width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;font-weight:800}.home-cta{background:linear-gradient(120deg,#003b8d,#006dca);color:#fff;text-align:center}.home-cta .section{padding:54px 28px!important}.home-cta h2{max-width:750px;margin:0 auto 15px}.home-cta p{max-width:680px;margin:0 auto 24px;line-height:1.6}.home-cta .btn{background:#fff;color:#075aa9!important}.foot:has(.footer-social){background:#064f9f;padding:58px 28px 22px}.foot:has(.footer-social) .footer-grid{max-width:1320px;grid-template-columns:1.25fr 1fr 1fr 1.1fr;gap:35px}.foot:has(.footer-social) .footer-bottom{max-width:1320px;display:flex;justify-content:space-between}.foot:has(.footer-social) .footer-links a{font-size:14px;line-height:1.35}.foot:has(.footer-social) .footer-logo{width:145px}.foot:has(.footer-social) h3{font-size:14px;letter-spacing:.07em}
@media(max-width:1100px){.home-hero h1{white-space:normal;text-wrap:initial}.sector-grid{grid-template-columns:repeat(2,1fr)}.foot:has(.footer-social) .footer-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.home-hero .inner{padding:42px 20px}.home-hero h1{font-size:clamp(31px,7.3vw,45px)}.home-hero p{font-size:15px}.sector-grid,.diff-grid,.feature-grid,.process-grid{grid-template-columns:1fr}.foot:has(.footer-social) .footer-grid{grid-template-columns:1fr}.home-indicators span{font-size:11px}body:has(.home-hero) .section{padding:52px 22px}.feature-grid{gap:22px}.foot:has(.footer-social) .footer-bottom{display:block}}
