:root{--navy:#073866;--blue:#0878b9;--gold:#ffbf00;--paper:#f5f8fc;--ink:#19334b}*{box-sizing:border-box}body{margin:0;font:17px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--paper)}a{color:inherit}header{position:sticky;top:0;z-index:10;background:white;border-bottom:1px solid #e1e9f2;box-shadow:0 3px 20px #0738660b}.nav{max-width:1600px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:8px 3vw}.brand img{width:140px;display:block}.links{display:flex;align-items:center;gap:clamp(10px,1.3vw,24px);flex-wrap:wrap}.links a{text-decoration:none;font-size:15px;font-weight:650;color:var(--navy);padding:10px 0;border-bottom:3px solid transparent;white-space:nowrap}.links a:hover,.links a[aria-current]{border-color:var(--gold)}.lang{display:flex;gap:6px;white-space:nowrap;font-size:13px;font-weight:700}.lang a{text-decoration:none;padding:6px}.lang a.active{background:var(--navy);color:white;border-radius:5px}.toggle{display:none}.hero{min-height:calc(100svh - 110px);display:flex;align-items:center;background:linear-gradient(90deg,#00264d40,transparent 65%),var(--hero) center/cover no-repeat;color:white;padding:7vw;position:relative}.hero-inner{max-width:570px;width:42%}.eyebrow{font-size:13px;letter-spacing:.18em;text-transform:uppercase;font-weight:750;color:var(--gold)}h1,h2,h3{line-height:1.15;color:var(--navy)}.hero h1{font-size:clamp(42px,5.1vw,82px);letter-spacing:-.05em;color:white;margin:20px 0}.hero h1 span{color:var(--gold)}.hero p{font-size:clamp(17px,1.55vw,23px);max-width:460px;margin:0 0 32px}.actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-block;text-decoration:none;padding:13px 22px;border-radius:9px;font-weight:750;background:var(--gold);color:#082e50;border:2px solid var(--gold)}.btn.secondary{background:transparent;color:inherit;border-color:currentColor}.btn:hover{filter:brightness(.94)}.page{max-width:1080px;margin:auto;padding:64px 24px 80px;min-height:65vh}.page h1{font-size:clamp(35px,5vw,60px);letter-spacing:-.035em;margin:10px 0 20px}.lead{font-size:21px;max-width:800px}.page .eyebrow{color:#896500}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;margin:35px 0}.tile{background:white;border:1px solid #e1e9f2;border-radius:15px;padding:26px;box-shadow:0 8px 25px #07386608}.tile h2{margin:0 0 12px;font-size:25px}.photo{min-height:180px;background:#e8eff6;border:1px dashed #91a9c1;border-radius:12px;display:grid;place-items:center;text-align:center;padding:20px;color:#49637c;font-size:15px;margin-bottom:20px}.note{font-size:14px;color:#526b81;border-left:3px solid var(--gold);padding:8px 14px;background:white}.contact{display:flex;flex-direction:column;gap:15px}.contact a{color:var(--navy)}footer{background:#062c50;color:#e3edf8;padding:22px 4vw;font-size:13px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}footer a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #e8a800;outline-offset:4px}@media(max-width:1100px){.nav{flex-wrap:wrap;gap:8px}.links{order:3;justify-content:center;width:100%;gap:15px}.brand img{width:115px}.hero{min-height:calc(100svh - 145px)}}@media(max-width:680px){.nav{padding:8px 16px}.brand img{width:105px}.toggle{display:block;border:0;background:#eaf1f8;padding:8px 12px;border-radius:6px;color:var(--navy);font-size:20px}.links{display:none;align-items:stretch;flex-direction:column;gap:0}.links.open{display:flex}.links a{padding:9px}.hero{min-height:calc(100svh - 90px);background-position:66% top;background-size:auto 65%;background-color:#052e57;align-items:flex-end;padding:45vh 24px 35px;background-image:linear-gradient(0deg,#052e57 1%,#052e5700 48%),var(--hero);background-repeat:no-repeat}.hero-inner{width:100%;max-width:none}.hero h1{font-size:43px;margin:10px 0}.hero p{font-size:17px;margin-bottom:20px}.page{padding-top:40px}.actions .btn{font-size:15px;padding:10px 14px}}

/* V0.2 */
.team-page{max-width:1180px}.profile{display:grid;grid-template-columns:minmax(220px, .75fr) minmax(0,1.25fr);gap:clamp(22px,4vw,55px);align-items:center;margin:36px 0;background:white;border-radius:20px;padding:clamp(20px,3vw,40px);border:1px solid #e1e9f2}.profile figure{margin:0}.profile figure img{display:block;width:100%;height:auto;border-radius:14px}.profile figcaption{font-size:13px;color:#526b81;margin-top:8px}.profile-copy h2{font-size:clamp(26px,3vw,40px);margin:10px 0}.profile-role{color:#1765a4;font-weight:700}.profile-copy p{margin:12px 0}.team-contact{margin-top:24px}.pending-profile .photo{margin:0}.brand img{width:148px}@media(max-width:680px){.profile{grid-template-columns:1fr}.profile figure{max-width:340px;margin:auto}.brand img{width:115px}}

/* V0.3 */
.hero-ca{--hero:url('assets/hero-ca.webp')}.hero-es{--hero:url('assets/hero-es.webp')}.hero{background-color:#052e57;background-image:linear-gradient(90deg,#052e57 0%,#052e57 34%,#052e57d9 39%,#052e5700 53%),var(--hero);background-size:100% 100%,auto 100%;background-position:center,right center;background-repeat:no-repeat;padding:5vw 6vw}.hero-inner{width:43%;max-width:580px}.news{display:flex;flex-direction:column;gap:4px;margin-top:24px;padding:12px 16px;border-left:4px solid var(--gold);background:#073866b8;text-decoration:none;max-width:390px}.news strong{font-size:12px;color:var(--gold);letter-spacing:.08em}.news span{font-size:21px;font-weight:700}.editorial{width:100%;height:auto;display:block;border-radius:16px;margin:24px 0}.gallery .editorial{margin:0}.letter{padding:30px clamp(20px,4vw,48px);background:#e8f2fc;border-left:5px solid var(--gold);border-radius:12px;margin:25px 0}.wa{position:fixed;bottom:18px;right:18px;background:#087d48;color:white;font-size:14px;font-weight:700;text-decoration:none;padding:10px 16px;border-radius:30px;z-index:12;box-shadow:0 3px 15px #0003}.tile a{color:var(--navy)}@media(max-width:680px){.hero{background-image:linear-gradient(0deg,#052e57 0%,#052e57 46%,#052e5700 70%),var(--hero);background-size:100% 100%,100% auto;background-position:center,center top;padding:65vw 24px 32px;min-height:auto;align-items:flex-end}.hero-inner{width:100%;max-width:none}.news{margin-top:16px}.wa{bottom:10px;right:10px}.page{padding-bottom:85px}}
/* V0.4 */
.home-services{max-width:1180px;margin:auto;padding:65px 24px}.home-services>h2{text-align:center;font-size:clamp(28px,4vw,44px)}.home-services .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.service-card{text-align:center;text-decoration:none;transition:transform .2s,border-color .2s}.service-card:hover{transform:translateY(-3px);border-color:var(--blue)}.service-card h2{font-size:23px}.service-icon{display:block;color:var(--blue);font-size:36px;margin-bottom:12px}.service-card p{margin:0}.trust{background:var(--navy);color:white;display:grid;grid-template-columns:repeat(3,1fr);padding:30px max(24px,8vw);gap:24px;text-align:center}.trust strong{display:block;color:var(--gold);font-size:44px}.trust span{display:block}.site-footer{display:block;padding:36px max(24px,6vw) 64px}.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;max-width:1180px;margin:auto}.site-footer h2{color:white;font-size:17px}.footer-brand{color:var(--gold);font-size:30px}.footer-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;border-top:1px solid #ffffff40;margin-top:24px;padding-top:20px}.footer-copy{text-align:center;margin-top:20px}.legal-page h2{margin-top:32px}@media(max-width:680px){.home-services .grid{grid-template-columns:1fr}.trust,.footer-grid{grid-template-columns:1fr}.home-services{padding:35px 20px}.trust{gap:15px}}
/* V0.5 */
.hero{padding:clamp(24px,3vw,48px) 5vw;min-height:calc(100svh - 100px)}.hero-inner{width:39%;max-width:640px}.hero h1{font-size:clamp(40px,4.5vw,76px);margin:14px 0}.hero .hero-lead{font-weight:700;font-size:clamp(17px,1.3vw,22px);margin:0 0 12px;max-width:none}.hero-copy p{font-size:clamp(15px,1.05vw,19px);line-height:1.55;margin:0 0 10px;max-width:none}.hero .actions{margin-top:20px}.hero .btn{font-size:15px;padding:10px 15px}.home-services{padding:30px 24px;scroll-margin-top:120px}.home-services>h2{margin:0 0 20px;font-size:clamp(26px,3vw,38px)}.home-services .grid{margin:0;gap:14px;perspective:1200px}.service-card{padding:16px 14px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:transform .25s,border-color .25s,box-shadow .25s}.service-card:hover{transform:translateY(-5px);box-shadow:0 10px 22px #07386624}.service-card h2{font-size:20px;margin:6px 0}.service-card p{font-size:15px;line-height:1.4}.service-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff0b5;margin:0;color:var(--navy)}.service-icon svg{width:25px;height:25px}.service-card.spin{animation:cardspin .65s ease-out both;animation-delay:var(--delay,0ms)}@keyframes cardspin{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}.site-footer{padding:22px 4vw 28px}.footer-grid{text-align:center;align-items:center;gap:20px}.footer-grid h2{margin:0 0 6px}.footer-grid p{margin:0;line-height:1.6}.social-links{display:flex;justify-content:center;gap:12px}.social-links a{width:42px;height:42px;display:grid;place-items:center;border-radius:9px}.social-links svg{width:26px;height:26px}.footer-legal{margin-top:18px;padding-top:12px}.footer-copy{margin-top:10px}.legal-page{padding-top:35px;padding-bottom:38px}.legal-page h2{font-size:23px;margin-top:24px}.cookie-dialog{border:0;border-radius:15px;padding:24px;width:min(560px,calc(100% - 28px));color:var(--ink);box-shadow:0 12px 50px #0005}.cookie-dialog::backdrop{background:#082f5355}.cookie-dialog h2{margin:0 0 10px}.cookie-dialog p{font-size:15px;line-height:1.5}.cookie-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.cookie-actions button{flex:1;background:var(--navy);color:white;border:2px solid var(--navy);padding:10px;border-radius:7px;font:inherit;font-size:14px;font-weight:650;cursor:pointer}.cookie-dialog a{color:var(--navy)}@media(max-width:900px){.hero-inner{width:46%}.hero-copy p{font-size:15px}}@media(max-width:680px){.hero{padding:65vw 22px 28px;min-height:auto}.hero-inner{width:100%;max-width:none}.hero-copy p{font-size:16px}.home-services .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.service-card{padding:12px 8px;min-height:145px}.service-card h2{font-size:17px}.service-card p{font-size:13px}.footer-grid{gap:20px}.site-footer{padding-bottom:65px}}@media(prefers-reduced-motion:reduce){.service-card,.service-card.spin{animation:none;transition:none}}
.cookie-dialog [hidden]{display:none!important}

/* V0.8 navigation */
.service-nav{position:relative;display:flex;align-items:center;gap:4px}.service-nav.current>a{border-bottom-color:var(--gold)}.service-toggle{background:transparent;border:0;color:var(--navy);font-size:18px;cursor:pointer;padding:8px;line-height:1}.service-menu{position:absolute;top:100%;left:0;min-width:235px;z-index:20;background:white;border:1px solid #e1e9f2;border-radius:10px;box-shadow:0 10px 24px #07386624;padding:6px 12px}.service-menu:not([hidden]){display:grid}.service-menu a{white-space:normal;padding:8px 4px}.page #particulares{scroll-margin-top:160px}@media(max-width:680px){.service-nav{flex-wrap:wrap;justify-content:space-between}.service-toggle{padding:10px 16px}.service-menu{position:static;width:100%;box-shadow:none;background:#f5f8fc}.service-menu a{padding-left:12px}.links.open{max-height:70vh;overflow:auto}}


/* V0.10 — unified navigation and prominent brand */
.nav{max-width:1700px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(20px,3vw,60px);padding:3px clamp(18px,4vw,70px)}
.nav .brand{display:block;justify-self:start}.nav .brand img{width:176px;height:auto;display:block}
.nav .links{display:flex;align-items:center;justify-content:space-evenly;gap:clamp(18px,2.4vw,45px);flex-wrap:nowrap;width:auto;order:0}
.nav .links a{font-size:18px;font-weight:700;line-height:1.35;padding:12px 0}.nav .links a.service-current{border-bottom-color:var(--gold)}
.nav .lang{font-size:14px;justify-self:end}.nav .toggle{display:none}
.services-overview{max-width:1320px;padding-top:30px;padding-bottom:38px;text-align:center}.services-overview .lead{margin:0 auto 20px}.services-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.english-service{grid-column:1/-1;min-height:0;padding:18px;gap:4px}.english-contact{font-weight:700;color:var(--navy);margin-top:5px}
@media(max-width:1100px){.nav{grid-template-columns:auto 1fr auto;gap:12px;padding:4px 20px}.nav .brand img{width:140px}.nav .lang{justify-self:end}.nav .toggle{display:block;border:0;background:#eaf1f8;padding:8px 13px;border-radius:6px;color:var(--navy);font-size:22px;cursor:pointer}.nav .links{display:none;grid-column:1/-1;grid-row:2;width:100%;padding:4px 0 10px;max-height:70vh;overflow:auto;gap:0}.nav .links.open{display:flex;flex-direction:column;align-items:stretch}.nav .links a{font-size:17px;padding:10px 12px}.nav .links a[aria-current]{align-self:stretch}}
@media(max-width:680px){.nav{padding:3px 14px;gap:8px}.nav .brand img{width:125px}.services-overview{padding:24px 16px 35px}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* V0.11 — compact centered navigation and eight equal service cards */
@media(min-width:1101px){.nav{grid-template-columns: minmax(176px,1fr) auto minmax(176px,1fr);gap:clamp(16px,2vw,36px)}.nav .links{justify-content:center;gap:clamp(22px,2.4vw,42px);justify-self:center}.nav .lang{justify-self:end}}
.services-overview .services-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;perspective:1200px;gap:16px}.services-overview .service-card{min-height:166px;padding:18px 12px}.services-overview .service-card h2{font-size:clamp(17px,1.5vw,20px)}.page #ciencias{scroll-margin-top:170px}
@media(max-width:900px){.services-overview .services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.services-overview .service-card{min-height:150px;padding:12px 8px}}
@media(max-width:680px){.services-overview .services-grid{gap:10px}.services-overview .service-card h2{font-size:17px}}

/* V0.16 contact and footer */
.footer-phone{margin-top:9px;display:grid;gap:4px;justify-items:center}.footer-phone>span{font-size:13px;font-weight:600}.footer-phone>div,.contact-phone{display:flex;align-items:center;justify-content:center;gap:8px}.footer-wa{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#12864a;color:white!important;vertical-align:middle}.footer-wa svg{width:24px;height:24px}.social-links a{color:white}.contact-page{max-width:1640px;padding:32px clamp(16px,3vw,48px) 40px;text-align:center}.contact-page .lead{margin:0 auto 22px}.contact-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.contact-cards .tile{padding:18px 14px}.contact-cards .service-icon{margin:0 auto 9px}.contact-cards h2{margin:6px 0 8px;font-size:23px}.contact-cards p{margin:0;line-height:1.55}.contact-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}.contact-layout .tile{padding:22px;min-width:0}.contact-layout h2{margin:0 0 16px}.contact-map{display:flex;flex-direction:column;align-items:center}.map-frame{width:100%;flex:1;min-height:320px;display:grid;position:relative;overflow:hidden;border-radius:10px;background:#e6eff7;border:1px solid #d5e0eb;margin-bottom:14px}.map-frame iframe{width:100%;height:100%;min-height:320px;border:0;position:absolute;inset:0}.map-placeholder{align-self:center;justify-self:center;max-width:390px;padding:24px}.map-placeholder p{line-height:1.6}.contact-form form{text-align:left}.form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-fields label{display:grid;gap:5px;font-weight:650;font-size:15px}.form-fields .full{grid-column:1/-1}.form-fields input,.form-fields select,.form-fields textarea{min-width:0;width:100%;box-sizing:border-box;font:inherit;font-weight:400;border:1px solid #bccddd;border-radius:7px;padding:10px;color:var(--ink);background:white}.form-fields textarea{resize:vertical}.form-note{font-size:13px;line-height:1.45;margin:12px 0}.privacy-check{display:flex;align-items:flex-start;gap:8px;font-size:14px;margin:12px 0}.privacy-check input{flex-shrink:0;margin-top:4px}.contact-form button[type=submit]{display:block;margin:14px auto 0}.contact-page button.btn{cursor:pointer;border:0;font:inherit;font-weight:700}.thanks-page{min-height:40vh}.cookie-dialog #cookie-details{display:flex;gap:8px;align-items:center;font-size:15px}.contact-page a:focus-visible,.contact-page button:focus-visible,.form-fields :focus-visible{outline:3px solid #0878b9;outline-offset:3px}@media(max-width:850px){.contact-layout{grid-template-columns:1fr}.map-frame{min-height:340px}.contact-cards{grid-template-columns:1fr;gap:10px}.contact-layout .tile{padding:16px}}@media(max-width:520px){.form-fields{grid-template-columns:1fr}.contact-page{padding:24px 14px}.map-frame{min-height:300px}.map-frame iframe{min-height:300px}}

/* V0.19: eight matching service cards on both homepages */
.home-services{max-width:1320px}.home-services .grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:16px}.home-services .service-card{min-height:166px;padding:18px 12px}.home-services .service-card h2{font-size:clamp(17px,1.5vw,20px)}
@media(max-width:900px){.home-services .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-services .service-card{min-height:150px;padding:12px 8px}}
@media(max-width:680px){.home-services .grid{gap:10px}.home-services .service-card h2{font-size:17px}}
