/* Tokens y base */
@font-face{font-family:'Open Sans';src:url('../fonts/open-sans.ttf') format('truetype');font-style:normal;font-weight:300 800;font-display:swap}
:root{--navy:#06152e;--blue:#1765e8;--sky:#38b6e9;--gray:#f4f7fb;--white:#fff;--text:#535b68;--line:#dce3ed}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--navy);background:white;font:17px/1.6 Arial,sans-serif}h1,h2,h3{font-family:'Open Sans',Arial,sans-serif;line-height:1.2;margin:0 0 18px;letter-spacing:-.045em}h1{font-size:clamp(38px,4.7vw,66px);font-weight:600}h2{font-size:clamp(27px,2.6vw,36px);font-weight:600}h3{font-size:19px;letter-spacing:-.025em}p{margin:0 0 20px;color:var(--text)}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}img{max-width:100%;height:auto;display:block}svg{width:25px;height:25px;flex-shrink:0}figure{margin:0}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--sky);outline-offset:4px}.container{width:min(1200px,90%);margin-inline:auto}.section{padding-block:55px}.eyebrow{color:var(--blue);font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;display:flex;align-items:center;gap:18px;margin-bottom:17px}.eyebrow span{width:30px;height:1px;background:currentColor}.button{display:inline-flex;align-items:center;justify-content:center;gap:17px;background:var(--blue);border:1px solid var(--blue);color:white;padding:15px 20px;border-radius:5px;font-size:12px;text-transform:uppercase;font-weight:700;line-height:1.4;min-height:48px;transition:background .2s}.button:hover{background:#104fb9}.button svg{width:21px;height:21px}.outline{color:var(--blue);background:transparent}.outline:hover{background:#e9f1ff}.light{border-color:#c6d3e7;color:white}.light:hover{background:#183254}.actions{display:flex;gap:16px;flex-wrap:wrap}.center{text-align:center;margin-top:24px}.skip{position:fixed;z-index:20;background:white;padding:12px;top:-100px}.skip:focus{top:5px}
/* Header */
.header{position:absolute;top:0;left:0;width:100%;z-index:3}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:125px}.logo{width:245px;height:auto}.header nav{display:flex;gap:28px;align-items:center}.header nav a{font-size:12px;font-weight:700;text-transform:uppercase;padding:12px 0;position:relative;white-space:nowrap}.header nav a:hover:after,.header nav a[aria-current]:after{content:'';position:absolute;bottom:2px;height:2px;background:var(--blue);left:0;right:0}.menu-toggle{display:none}.header-cta{padding:13px 19px}
/* Inicio */
.hero{position:relative;min-height:760px;padding-top:190px;padding-bottom:150px;display:flex;flex-direction:column;justify-content:center}.hero-image,.hero-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}.hero-shade{background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.91) 28%,rgba(255,255,255,.38) 53%,rgba(6,21,46,.03) 100%)}.hero-content{position:relative;z-index:1}.hero h1{max-width:650px}.hero h1 span{color:var(--blue)}.hero-content>p:not(.eyebrow){max-width:370px}.benefits{position:absolute;bottom:20px;left:5%;right:5%;background:rgba(6,21,46,.94);color:white;display:grid;grid-template-columns:repeat(4,1fr);padding:25px 20px;border:1px solid #67798f;border-radius:8px;gap:20px}.benefits>div{display:flex;gap:16px;padding-right:15px;border-right:1px solid #536176}.benefits>div:last-child{border:0}.benefits svg{width:43px;height:43px;color:var(--sky)}.benefits h3{font:700 12px/1.3 Arial;margin:0 0 8px;letter-spacing:0;text-transform:uppercase}.benefits p{font-size:12px;color:#d7dfed;margin:0}.about{display:grid;grid-template-columns:.9fr 1.3fr;gap:65px;align-items:center}.about>div>p:not(.eyebrow){font-size:16px}.about figure{position:relative}.about figure>img{width:100%;height:410px;object-fit:cover;border-radius:12px}.about figcaption{position:absolute;bottom:0;right:0;background:var(--navy);color:white;padding:30px 35px;border-radius:10px 0 10px 0;line-height:1.7}.about figcaption strong{font-size:24px}.check-list{list-style:none;padding:0;margin:22px 0 0}.check-list li{position:relative;padding-left:35px;margin-bottom:15px;font-size:14px}.check-list li:before{content:'✓';position:absolute;left:0;top:1px;background:var(--blue);border-radius:50%;color:white;width:20px;height:20px;text-align:center;line-height:20px}.check-list strong,.check-list span{display:block}.check-list span{color:var(--text)}.services{background:var(--gray)}.section-title{text-align:center}.section-title .eyebrow{justify-content:center}.service-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.service-grid article{background:white;border:1px solid #e7ebf1;border-radius:12px;padding:26px 15px;text-align:center}.service-grid svg{width:65px;height:65px;color:var(--blue);margin-bottom:12px}.service-grid h3{font-size:17px;min-height:42px}.service-grid p{font-size:14px;margin:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:20px}.section-heading h2{margin:0}.projects{background:var(--navy);color:white;padding-block:35px}.projects .eyebrow{color:white}.project-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.project-grid figure{position:relative;overflow:hidden;border-radius:6px}.project-grid img{width:100%;height:220px;object-fit:cover;transition:transform .3s}.project-grid figure:hover img{transform:scale(1.04)}.project-grid figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(6,21,46,.9));font-size:12px;padding:30px 12px 10px;line-height:1.3}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.news-grid article{display:grid;grid-template-columns:.85fr 1fr;gap:16px}.news-grid img{width:100%;height:180px;object-fit:cover;border-radius:7px}.news-grid h3{font-size:17px;margin-block:10px}.news-grid p{font-size:13px;margin:0}.tag{color:var(--blue);border:1px solid var(--blue);font-size:10px;text-transform:uppercase;border-radius:3px;padding:2px 5px}.editorial-note{font-size:12px;margin:18px 0 0}.quote{background:linear-gradient(100deg,#06152ef2,#103158f5),url('../img/hero.webp') center/cover;color:white;padding:35px 0}.quote-inner{display:flex;gap:30px;align-items:center}.quote-inner>svg{width:85px;height:85px;padding:20px;border:2px solid var(--blue);border-radius:50%;color:var(--sky)}.quote h2{margin:0 0 8px}.quote p{color:white;margin:0}.quote-inner>div:last-child{margin-left:auto;flex-shrink:0}.phone{display:block;text-align:center;font-size:23px;margin-top:10px}
/* Footer */
.footer{background:var(--navy);color:white;padding:35px 0 12px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1.1fr 1fr 1fr;gap:28px}.footer-grid>div+div{border-left:1px solid #20314b;padding-left:25px}.footer .logo{width:200px}.footer p,.footer a,.text-button{font-size:12px;color:#d5deeb}.footer p{margin:14px 0}.footer h2{font:700 12px Arial;text-transform:uppercase;letter-spacing:0;margin:5px 0 20px}.footer-grid>div>a:not(:has(img)){display:block;margin-bottom:7px}.text-button{padding:0;border:0;background:none;text-align:left}.footer a:hover,.text-button:hover{color:var(--sky)}.footer-gallery{display:grid;grid-template-columns:1fr 1fr;gap:6px}.footer-gallery img{width:100%;height:60px;object-fit:cover;border-radius:3px}.copyright{border-top:1px solid #20314b;text-align:center;font-size:11px;color:#c9d3e3;margin-top:25px;padding-top:12px}
/* Diálogo y WhatsApp */
.whatsapp-float{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:5;border:2px solid white;background:#147c47;color:white;width:59px;height:59px;border-radius:50%;display:grid;place-items:center;box-shadow:0 5px 25px #06152e33}.whatsapp-float svg{width:32px;height:32px}dialog{position:fixed;inset:auto max(16px,env(safe-area-inset-right)) max(92px,calc(env(safe-area-inset-bottom) + 80px)) auto;width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 120px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:0;padding:25px;border:1px solid var(--line);border-radius:12px;color:var(--navy);overflow:auto;overscroll-behavior:contain;box-shadow:0 15px 70px #06152e44}dialog::backdrop{background:#06152e66}.dialog-heading{display:flex;align-items:flex-start;gap:10px}.dialog-heading h2{font-size:23px;letter-spacing:-.035em}.dialog-close{border:0;background:var(--gray);font-size:26px;line-height:1;width:36px;height:36px;flex-shrink:0;border-radius:50%}dialog>p{font-size:14px}dialog label{display:block;font-size:14px;font-weight:700;margin-top:13px}dialog label span{font-size:11px;font-weight:400}dialog input{display:block;width:100%;min-width:0;padding:10px 12px;border:1px solid #a4afbf;border-radius:5px;margin-top:5px;font-size:16px}.message-label{font-size:12px;margin:17px 0 5px;font-weight:700}.message-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--gray);padding:12px;font-size:13px;border-radius:5px;margin:0 0 16px}dialog .button{width:100%}.privacy{font-size:11px;margin:12px 0 0}.noscript{padding:15px;text-align:center}.error-page{min-height:65vh;padding-top:190px}
/* Adaptación */
@media(min-width:1334px){.benefits{left:calc((100% - 1200px)/2);right:auto}}@media(max-width:1100px){.header nav{gap:17px}.logo{width:200px}.header-cta{display:none}.benefits{gap:12px}.benefits>div{gap:9px}.benefits svg{width:30px}.about{gap:35px}.service-grid{grid-template-columns:repeat(3,1fr)}.service-grid h3{min-height:0}.footer-grid{grid-template-columns:repeat(3,1fr)}.footer-grid>div+div{border:0;padding-left:0}.news-grid{gap:18px}.news-grid article{display:block}.news-grid img{height:160px;margin-bottom:12px}}
@media(max-width:700px){body{font-size:16px}.section{padding-block:38px}.container{width:90%}.header-inner{min-height:95px}.logo{width:185px}.menu-toggle{display:flex;gap:10px;align-items:center;border:1px solid #a5b8d4;background:#ffffffed;color:var(--navy);border-radius:5px;padding:9px 12px;font-size:14px}.header nav{display:none;position:absolute;top:88px;left:5%;right:5%;padding:15px 25px;background:white;box-shadow:0 12px 30px #06152e22;border-radius:8px}.header nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:2px}.hero{padding-top:145px;padding-bottom:25px;min-height:800px;justify-content:flex-start}.hero-content>p:not(.eyebrow){max-width:330px}.hero h1{font-size:clamp(35px,8.5vw,52px)}.hero-image{object-position:65% center}.hero-shade{background:linear-gradient(180deg,#ffffffec 0%,#ffffffe8 43%,#ffffff55 70%,#06152e33)}.eyebrow{font-size:10px}.benefits{position:relative;left:auto;right:auto;bottom:auto;margin-top:65px;grid-template-columns:1fr 1fr;padding:20px 15px;gap:20px 12px}.benefits>div{border:0;padding:0}.benefits h3{font-size:10px}.benefits p{font-size:11px}.benefits svg{width:25px;height:25px}.actions{gap:10px}.actions .button{padding:12px;font-size:10px;gap:8px}.about{grid-template-columns:1fr;gap:20px}.about figure>img{height:310px}.about figcaption{padding:18px 25px;font-size:14px}.about figcaption strong{font-size:20px}.service-grid{grid-template-columns:repeat(2,1fr);gap:10px}.service-grid article{padding:22px 12px}.service-grid svg{width:52px;height:52px}.service-grid h3{font-size:16px}.service-grid p{font-size:13px}.section-heading{align-items:flex-start;flex-direction:column;gap:15px}.project-grid{grid-template-columns:repeat(2,1fr)}.project-grid figure:last-child{grid-column:1/-1}.project-grid img{height:205px}.project-grid figure:last-child img{height:220px}.news-grid{grid-template-columns:1fr;gap:24px}.news-grid article{display:grid;grid-template-columns:110px 1fr}.news-grid img{height:145px;margin:0}.quote-inner{flex-wrap:wrap;gap:18px}.quote-inner>svg{width:55px;height:55px;padding:12px}.quote-inner>div:nth-child(2){flex:1}.quote h2{font-size:24px}.quote p{font-size:15px}.quote-inner>div:last-child{margin-inline:auto}.footer-grid{grid-template-columns:1fr 1fr;gap:25px}.footer-grid>div:first-child{grid-column:1/-1}.footer-grid>div:last-child{display:none}.footer .logo{width:190px}.copyright{padding-bottom:65px}.whatsapp-float{width:54px;height:54px;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}dialog{padding:20px}.error-page{padding-top:140px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Contactos independientes */
.contact-section{display:grid;grid-template-columns:1fr 1.4fr;gap:65px;padding-bottom:100px}.contact-section>*,.contact-fields>*{min-width:0}.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.contact-fields .full{grid-column:1/-1}.contact-fields label{display:block;font-size:14px;font-weight:700;margin-bottom:5px}.contact-fields input,.contact-fields textarea{width:100%;min-width:0;padding:12px;border:1px solid #a4afbf;border-radius:6px;font:16px/1.5 Arial,sans-serif}.contact-fields textarea{resize:vertical}.contact-section .button{margin-top:20px}.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.form-notice{padding:16px;border-radius:6px;margin-bottom:22px;font-size:15px;overflow-wrap:anywhere}.form-notice ul{padding-left:20px;margin:0}.is-error{background:#fff0ef;color:#8f2219;border:1px solid #db9c95}.is-success{background:#e8f7ee;color:#185637;border:1px solid #91c4a7}.contact-section:has(:focus-visible)~*{scroll-margin-bottom:90px}
.whatsapp-float{background:#168544}.whatsapp-float:hover{background:#106533}#whatsapp-dialog{padding:0;border:0;border-radius:16px;width:min(370px,calc(100vw - 32px));max-height:calc(100dvh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.wa-header{background:#12694d;color:white;display:flex;align-items:center;gap:12px;padding:20px 18px}.wa-header>img{width:90px;height:auto;flex-shrink:0}.wa-header>div{min-width:0}.wa-header h2{font-size:19px;margin:0 0 4px;letter-spacing:0}.wa-online{font-size:12px}.wa-online>span{color:#83ffb0;margin-right:3px}.wa-header .dialog-close{margin-left:auto;background:#ffffff20;color:white;width:36px;height:36px}.wa-body{padding:20px 22px}.wa-body>p{font-size:14px;margin-bottom:16px}.wa-body .button{background:#168544;border-color:#168544;text-transform:none;font-size:15px}.wa-body .button:hover{background:#106533}.wa-body .message-preview{font-size:12px}.wa-body .privacy{margin-bottom:0}body:has(#whatsapp-dialog[open]){overflow:hidden}.contact-fields input,.contact-fields textarea{scroll-margin-block:25px 100px}
@media(max-width:700px){.contact-section{grid-template-columns:1fr;gap:25px;padding-bottom:100px}.contact-fields{grid-template-columns:1fr}.contact-fields>*{grid-column:1/-1}.wa-header{padding:16px}.wa-body{padding:18px}.wa-header>img{width:82px}}
@media(max-height:500px){#whatsapp-dialog{inset: max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) auto auto;max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}

body:has(#contact-form :focus) .whatsapp-float{visibility:hidden}
/* Fotografías completas: sin deformación ni recorte de los trabajos. */
.hero-image{object-fit:contain;object-position:right center;background:var(--gray)}.about figure>img,.project-grid img,.news-grid img,.footer-gallery img{height:auto;object-fit:contain}.about figcaption{position:static;border-radius:0 0 10px 10px;padding:18px 25px}.about figure>img{border-radius:12px 12px 0 0}.project-grid figure{align-self:start}.project-grid figcaption{position:static;background:#10233f;padding:12px;min-height:55px}.project-grid figure:hover img{transform:none}.news-grid article{align-items:start}.footer-gallery img{align-self:center}.project-grid figure:last-child img{height:auto}

/* Correcciones visuales del index: hero pendiente, jerarquía, proyectos y galería. */
main h1,main h2{font-weight:700}main h3{font-weight:600}.hero .button,.projects .button{font-weight:700}.hero .outline{background:#fff;color:#104fb9;border:2px solid #1765e8;box-shadow:0 2px 8px #06152e12}.hero .outline:hover{background:#e6efff;color:#06152e}.hero-awaiting-photo{background:var(--gray)}.hero-awaiting-photo .hero-shade{background:linear-gradient(115deg,#fff 12%,#f4f7fb 65%,#eaf2ff 100%)}
.projects .project-grid{align-items:stretch}.projects .project-grid figure{align-self:stretch;display:flex;flex-direction:column;background:#10233f}.projects .project-grid .media-trigger{display:block;position:relative;overflow:hidden}.projects .project-grid img,.projects .project-grid figure:last-child img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center}.projects .project-grid figcaption{height:72px;min-height:72px;padding:12px;font-size:12px;line-height:1.4;display:flex;align-items:center}.projects .project-grid figure:last-child{grid-column:auto}.project-enlarge{position:absolute;right:9px;bottom:9px;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#06152ee6;color:white;font-size:19px}.projects .media-trigger:hover img{transform:scale(1.025)}.media-trigger:focus-visible{outline:3px solid var(--sky);outline-offset:3px;z-index:1}
.photo-gallery{background:#fff;padding-block:65px}.gallery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:30px}.gallery-heading h2{text-transform:uppercase;font-size:clamp(26px,2.6vw,36px);letter-spacing:-.04em}.gallery-heading p:last-child{margin:0}.gallery-link{display:flex;align-items:center;gap:12px;color:#104fb9;font-size:14px;font-weight:700;flex-shrink:0;padding-bottom:5px}.gallery-link:hover{text-decoration:underline}.editorial-gallery{column-count:3;column-gap:22px}.gallery-card{break-inside:avoid;margin:0 0 24px;display:inline-block;width:100%;vertical-align:top}.gallery-card .media-trigger{display:block;position:relative;border-radius:8px;overflow:hidden;background:var(--gray)}.gallery-card img{width:100%;height:auto;object-fit:contain;transition:filter .2s}.gallery-card:nth-child(3n+2){padding-top:26px}.gallery-card figcaption{font-size:13px;color:var(--text);padding:10px 2px 0;line-height:1.5}.gallery-action{position:absolute;bottom:12px;right:12px;color:white;background:#06152ee6;padding:6px 11px;border-radius:30px;font-size:12px;font-weight:700}.gallery-card a:hover img{filter:brightness(.96)}
/* Visor independiente: no comparte controles ni estado con los formularios. */
.media-lightbox{inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#06152ef7;color:#fff;overflow:hidden;box-shadow:none}.media-lightbox::backdrop{background:#06152e}.lightbox-shell{width:min(1400px,96%);height:100%;margin-inline:auto;padding:16px max(8px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom));display:flex;flex-direction:column}.lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 5px 12px;flex-shrink:0}.lightbox-toolbar>span{font-size:13px;color:#cbd8ea}.media-lightbox button{border:1px solid #5d6b82;color:white;background:#17304f;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:30px;line-height:1;flex-shrink:0}.media-lightbox button:hover{background:#1765e8}.media-lightbox button:focus-visible{outline:3px solid #38b6e9;outline-offset:3px}.lightbox-stage{flex:1;min-height:0;display:grid;grid-template-columns:50px minmax(0,1fr) 50px;gap:12px;align-items:center}.lightbox-content{min-width:0;min-height:0;height:100%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.lightbox-content img,.lightbox-content video{max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 180px);object-fit:contain;touch-action:pan-y}.lightbox-content img[hidden],.lightbox-content video[hidden]{display:none}.lightbox-content figcaption{font-size:15px;line-height:1.4;text-align:center;color:#fff;max-width:780px;overflow-wrap:anywhere}.media-lightbox #lightbox-help{color:#b8c9de;font-size:12px;text-align:center;margin:18px 0 0;flex-shrink:0}body:has(.media-lightbox[open]){overflow:hidden}
@media(max-width:900px){.editorial-gallery{column-count:2}.gallery-heading{align-items:flex-start;flex-direction:column;gap:15px}.gallery-card:nth-child(3n+2){padding-top:0}.gallery-card:nth-child(even){padding-top:20px}}
@media(max-width:540px){.photo-gallery{padding-block:40px}.editorial-gallery{column-count:1}.gallery-card:nth-child(even){padding-top:0}.gallery-heading h2{font-size:25px}.lightbox-shell{width:100%;padding-top:max(12px,env(safe-area-inset-top))}.lightbox-stage{grid-template-columns:1fr;position:relative;padding-bottom:55px}.lightbox-content{grid-column:1;grid-row:1}.media-lightbox .lightbox-prev,.media-lightbox .lightbox-next{position:absolute;bottom:0;z-index:1}.media-lightbox .lightbox-prev{left:calc(50% - 58px)}.media-lightbox .lightbox-next{right:calc(50% - 58px)}.lightbox-content img,.lightbox-content video{max-height:calc(100dvh - 245px)}.lightbox-content figcaption{font-size:13px;padding-inline:8px}.media-lightbox #lightbox-help{font-size:11px;margin-top:12px}}
@media(prefers-reduced-motion:reduce){.gallery-card img,.projects .project-grid img{transition:none}.projects .media-trigger:hover img{transform:none}}
@media(min-width:701px) and (max-width:1000px){.projects .project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Fotografía del hero proporcionada y autorizada por el cliente. */
.hero-with-photo .hero-image{object-fit:cover;object-position:center center}.hero-with-photo .hero-shade{background:linear-gradient(90deg,#fffffff2 0%,#ffffffd9 28%,#ffffff59 54%,#ffffff00 78%)}
@media(max-width:700px){.hero-with-photo .hero-image{object-position:67% center}.hero-with-photo .hero-shade{background:linear-gradient(180deg,#ffffffed 0%,#ffffffe0 43%,#ffffff44 72%,#06152e22 100%)}}
/* Accesos del footer a la galería, conservando título y miniaturas. */
.footer .footer-gallery-title{font:inherit;color:inherit}.footer-gallery>a{display:block;min-width:0;cursor:pointer;border-radius:3px}.footer-gallery>a:focus-visible,.footer-gallery-title:focus-visible{outline:3px solid var(--sky);outline-offset:4px}.footer-gallery>a:hover{opacity:.9}

.copyright a{font:inherit;color:inherit}
/* Dos estados del header, fuera del flujo para evitar saltos al compactarse. */
:root{--header-compact-height:90px}html{scroll-padding-top:0}#contenido,#nosotros,#servicios,#proyectos,#galeria,#contactos,#solicitud{scroll-margin-top:calc(var(--header-compact-height) + env(safe-area-inset-top,0px) + 16px)}
.header{--header-expanded-height:125px;--header-logo-width:245px;position:fixed;inset:0 0 auto;width:100%;z-index:10;margin:0;padding-top:env(safe-area-inset-top,0px);background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;transition:background-color .25s ease,box-shadow .25s ease}.header-inner{min-height:var(--header-expanded-height);transition:min-height .25s ease}.header-inner>a{flex-shrink:0}.header .logo{width:var(--header-logo-width);transition:width .25s ease}.header nav{margin-left:auto}.header nav a{text-shadow:0 0 4px #fff,0 1px 6px #ffffffcc;transition:padding .25s ease,text-shadow .25s ease}.header-cta{transition:padding .25s ease,min-height .25s ease,background-color .2s ease}
.header.is-scrolled{background:rgba(255,255,255,.98);box-shadow:0 3px 16px #06152e12}.header.is-scrolled .header-inner{min-height:var(--header-compact-height)}.header.is-scrolled .logo{width:calc(var(--header-logo-width) * .74)}.header.is-scrolled nav a{padding-block:8px;text-shadow:none}.header.is-scrolled .header-cta{padding:10px 15px;min-height:40px}
@media(max-width:1100px){.header{--header-logo-width:200px}}
@media(max-width:700px){:root{--header-compact-height:70px}.header{--header-expanded-height:95px;--header-logo-width:185px}.header nav{top:100%;margin-left:0;background:#fff;max-height:calc(100dvh - 95px - env(safe-area-inset-top,0px) - 16px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 12px 30px #06152e22}.header nav a{text-shadow:none}.header .menu-toggle{min-width:44px;min-height:44px}.header.is-scrolled nav{max-height:calc(100dvh - var(--header-compact-height) - env(safe-area-inset-top,0px) - 16px)}}
@media(prefers-reduced-motion:reduce){.header,.header-inner,.header .logo,.header nav a,.header-cta{transition:none}}
