/* V5: ajustes aprobados y escenas de servicios. */
.work-section{border-radius:0;margin-top:-2px;padding-top:90px}
.work-item-2{max-width:420px;justify-self:center;margin-top:-15px}
.work-item-2 .work-image{max-width:420px}
.contact-section h2{line-height:1.12;max-width:1200px}
.closing-line{padding:.08em .045em .2em;margin:-.08em -.045em -.2em;overflow:visible}
@supports(overflow:clip){.closing-line{overflow:clip;overflow-clip-margin:.22em}}
@keyframes closing-title{from{transform:translateX(-100px);clip-path:inset(-25% 10% -30% -10%)}to{transform:none;clip-path:inset(-25% -10% -30% -10%)}}
@keyframes closing-title-second{from{transform:translateX(100px);clip-path:inset(-25% -10% -30% 10%)}to{transform:none;clip-path:inset(-25% -10% -30% -10%)}}
.facilities{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:center;padding-block:125px 10px;view-timeline:--facilities block}
.facilities-copy .display{font-size:clamp(3.5rem,5.7vw,6rem);line-height:1.04}
.facilities-copy p{font-size:.87rem;color:var(--muted);max-width:460px;margin-top:25px}
.facilities-photo{max-width:650px;justify-self:end;overflow:hidden}
.facilities-photo img{width:100%;height:auto;max-width:720px;border-radius:28px}
.facilities-photo figcaption{font-size:.7rem;color:var(--muted);margin-top:16px;line-height:1.6}
.service-scene{position:relative;z-index:9;padding-block:120px;overflow:hidden}
.scene-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:45px;align-items:center}
.scene-copy{position:relative;z-index:3;min-width:0}
.scene-copy .display{font-size:clamp(4rem,7vw,6.8rem);line-height:1.03}
.scene-copy p{font-size:.87rem;max-width:435px;margin-top:24px;color:var(--muted)}
.scene-copy .scene-lead{font-size:1.13rem;line-height:1.65;color:inherit;margin-top:32px}
.scene-copy .round-link{margin-top:35px}
.scene-art{position:relative;min-width:0;isolation:isolate}
.scene-art img{position:relative;width:100%;max-width:100%;height:auto;margin-left:0;z-index:2;object-fit:contain;aspect-ratio:3/2}
.scene-art figcaption{position:relative;z-index:3;text-align:center;font-size:.7rem;line-height:1.6;margin-top:15px;color:var(--muted)}
.transport-scene{padding-bottom:155px;view-timeline:--transport block}
.transport-art{align-self:center}
.transport-course{position:absolute;left:0;right:0;bottom:70px;height:1px;background:#1c244b26}
.transport-course span{position:absolute;left:0;top:-2px;width:14%;height:5px;background:var(--orange);border-radius:4px}
.survey-scene{background:var(--navy);color:var(--paper);view-timeline:--survey block;padding-block:140px}
.survey-scene .scene-layout{grid-template-columns:1.1fr 1fr;gap:100px}
.survey-scene .scene-copy p,.survey-art figcaption{color:var(--soft)}
.survey-scene .scene-copy .scene-lead{color:var(--paper)}
.survey-scan{position:absolute;top:7%;bottom:16%;left:50%;width:1px;z-index:3;background:var(--orange);box-shadow:0 0 22px #ff660344;pointer-events:none}
.survey-scan::before,.survey-scan::after{content:'';position:absolute;left:-6px;width:13px;height:1px;background:var(--orange)}
.survey-scan::before{top:0}.survey-scan::after{bottom:0}
.filming-scene{view-timeline:--filming block;padding-block:140px}
.filming-art{padding-block:30px}

.filming-art img{width:100%;max-width:100%;margin-left:0;border-radius:28px;aspect-ratio:3/2;object-fit:cover}
.filming-art figcaption{margin-top:30px}
.site-footer{display:block;min-height:0;padding:85px 0 28px;color:var(--soft);background:var(--navy);font-size:.78rem}
.footer-main{display:grid;grid-template-columns:1.3fr .85fr 1fr;gap:80px}
.site-footer .brand{width:260px;margin:0 0 28px}
.footer-about p{max-width:380px;font-size:.8rem;line-height:1.9}
.site-footer h2{font-size:1rem;font-weight:600;line-height:1.5;color:var(--paper);margin-bottom:22px}
.site-footer .footer-navigation{margin:0;display:flex;flex-direction:column;gap:13px;align-items:start}
.footer-navigation h2{margin-bottom:7px}
.footer-contact p{margin-bottom:22px;line-height:1.9}
.footer-contact>a{display:block;margin-top:12px;overflow-wrap:anywhere;color:var(--paper)}
.footer-partners{display:flex;gap:65px;justify-content:center;align-items:center;margin-block:65px 55px;padding-block:38px;border-block:1px solid #c1cbe12b}
.footer-partners img{object-fit:contain;width:auto;max-width:190px;height:auto;max-height:80px}
.footer-partners img:nth-child(1){max-width:70px}

.footer-bottom{padding-bottom:42px;display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;font-size:.68rem;line-height:1.7}
.footer-bottom>span{width:auto}.footer-bottom>span a{color:#ff9a59}
.site-footer .footer-bottom nav{align-items:center;gap:20px;margin:0;flex-wrap:wrap}
.footer-navigation a:hover,.footer-bottom a:hover,.footer-contact a:hover{color:var(--paper)}
@media(prefers-reduced-motion:no-preference){@supports((animation-timeline:view()) and (animation-range:entry)){
 html:not(.motion-off) .facilities-photo img{animation:facility-open auto linear both;animation-timeline:--facilities;animation-range:entry 0% entry 85%}
 html:not(.motion-off) .transport-art img{animation:boat-transport auto linear both;animation-timeline:--transport;animation-range:entry 0% cover 55%}
 html:not(.motion-off) .transport-course span{animation:route-progress auto linear both;animation-timeline:--transport;animation-range:entry 0% exit 0%}
 html:not(.motion-off) .survey-scan{animation:hull-survey auto linear both;animation-timeline:--survey;animation-range:entry 15% cover 70%}
 html:not(.motion-off) .survey-art img{animation:survey-settle auto linear both;animation-timeline:--survey;animation-range:entry 0% entry 90%}
 html:not(.motion-off) .filming-art img{animation:camera-travel auto linear both;animation-timeline:--filming;animation-range:entry 10% cover 65%}
 @keyframes facility-open{from{clip-path:inset(0 75% 0 0 round 28px);transform:translateX(50px)}to{clip-path:inset(0 round 28px);transform:none}}
 @keyframes boat-transport{from{transform:translateX(160px) rotate(3deg)}to{transform:translateX(-15px) rotate(-1deg)}}
 @keyframes route-progress{from{transform:translateX(-100%)}to{transform:translateX(600%)}}
 @keyframes hull-survey{from{transform:translateX(-240px)}to{transform:translateX(240px)}}
 @keyframes survey-settle{from{transform:translateY(65px) rotate(-5deg)}to{transform:none}}
 @keyframes camera-travel{from{transform:translateX(-80px) rotate(-6deg)}to{transform:translateX(15px) rotate(2deg)}}
 .service-scene:focus-within *{animation:none!important;clip-path:none!important}
}}
@media(max-width:1100px){.facilities{gap:50px}.scene-layout{gap:25px}.survey-scene .scene-layout{gap:50px}.footer-main{gap:40px}.footer-partners{gap:40px}.site-footer .brand{width:220px}}
@media(max-width:900px){.facilities{grid-template-columns:1fr;gap:40px;padding-top:85px}.facilities-copy{max-width:580px}.facilities-photo{justify-self:end;width:85%}.scene-layout,.survey-scene .scene-layout{grid-template-columns:1fr;gap:35px}.scene-copy{max-width:650px}.scene-copy p{max-width:520px}.scene-art{width:85%;max-width:680px;justify-self:end}.survey-art{grid-row:2;justify-self:start}.service-scene{padding-block:85px}.scene-copy .display{font-size:5.5rem}.transport-scene{padding-bottom:135px}.transport-course{bottom:50px}.footer-main{grid-template-columns:1fr 1fr;gap:45px}.footer-about{grid-column:1/-1}.footer-about p{max-width:600px}.site-footer .brand{width:245px}.footer-partners{gap:30px}.footer-partners img{max-width:150px}.footer-bottom{align-items:start;gap:15px}}
@media(max-width:600px){.work-section{padding-top:65px}.work-item-2{width:88%;max-width:340px;margin:0}.facilities{padding-top:65px;gap:30px}.facilities-copy .display{font-size:3.3rem;line-height:1.08}.facilities-copy p{font-size:.82rem;margin-top:20px}.facilities-photo{width:100%}.facilities-photo img{border-radius:22px}.facilities-photo figcaption{font-size:.65rem}.contact-section h2{font-size:clamp(3.45rem,16vw,4.25rem);line-height:1.12}.closing-line{padding-bottom:.25em;margin-bottom:-.25em}.service-scene{padding-block:65px}.scene-layout,.survey-scene .scene-layout{gap:30px}.scene-copy .display{font-size:clamp(3rem,14.8vw,3.55rem);line-height:1.05}.scene-copy .scene-lead{font-size:1rem;margin-top:26px}.scene-copy p{font-size:.82rem;margin-top:20px}.scene-copy .round-link{font-size:.75rem;margin-top:26px;gap:16px}.scene-art{width:100%;max-width:100%}.scene-art img{width:100%;max-width:100%;margin-left:0}.scene-art figcaption{font-size:.65rem;margin-top:0}.transport-scene{padding-bottom:110px}.transport-course{bottom:38px}.filming-art{padding-block:30px}.filming-art figcaption{margin-top:25px}.survey-scan{top:4%;bottom:17%}.site-footer{padding:60px 0 35px;font-size:.76rem}.footer-main{grid-template-columns:1fr;gap:38px}.footer-about{grid-column:auto}.site-footer .brand{width:250px;margin-right:0}.site-footer h2{font-size:1rem;margin-bottom:16px}.footer-about p{font-size:.78rem}.site-footer .footer-navigation{gap:13px}.footer-navigation h2{margin-bottom:3px}.footer-partners{flex-wrap:wrap;gap:30px 40px;margin-block:45px 30px;padding-block:30px}.footer-partners img{max-width:145px;max-height:65px}.footer-partners img:nth-child(1){max-width:65px}.footer-bottom{padding-bottom:0;flex-direction:column;font-size:.65rem;gap:17px}.footer-bottom>span{width:auto}.site-footer .footer-bottom nav{align-items:center;gap:20px;justify-content:start}
 @media(prefers-reduced-motion:no-preference){@supports((animation-timeline:view()) and (animation-range:entry)){
  @keyframes boat-transport{from{transform:translateX(45px) rotate(2deg)}to{transform:none}}
  @keyframes hull-survey{from{transform:translateX(-120px)}to{transform:translateX(120px)}}
  @keyframes camera-travel{from{transform:translateX(-30px) rotate(-3deg)}to{transform:translateX(10px) rotate(1deg)}}
  @keyframes facility-open{from{clip-path:inset(0 45% 0 0 round 22px);transform:translateX(15px)}to{clip-path:inset(0 round 22px);transform:none}}
  @keyframes closing-title{from{transform:translateX(-30px);clip-path:inset(-25% 5% -30% -10%)}to{transform:none;clip-path:inset(-25% -10% -30% -10%)}}
  @keyframes closing-title-second{from{transform:translateX(30px);clip-path:inset(-25% -10% -30% 5%)}to{transform:none;clip-path:inset(-25% -10% -30% -10%)}}
 }}
}

.footer-bottom button{border:0;background:none;color:inherit;font:inherit;padding:0;min-height:36px;cursor:pointer;text-decoration:underline;text-underline-offset:.3em}
@media(max-width:359px){.site-header{padding-inline:16px;gap:8px}.site-header .brand{width:124px}.opening-copy h1{font-size:clamp(4.7rem,23.7vw,5.35rem)}}
@media(max-width:359px){#work-title{font-size:3.25rem}}

.flag-filter{position:absolute;pointer-events:none;overflow:hidden}.buoy-object img{filter:url(#buoy-wind)}
@media(prefers-reduced-motion:reduce){.buoy-object img{filter:none}}

.optimized-picture{display:contents}

.legacy-anchor{position:absolute;top:0;scroll-margin-top:110px;width:0;height:0;pointer-events:none}

.work-item,.team-layout,.team-information,.facilities{position:relative}

/* Preserve the hero descender without changing its tightly set line rhythm. */
@supports (overflow:clip) and (overflow-clip-margin:.16em){.word-mask{overflow:clip;overflow-clip-margin:.16em}}
.footer-partners .partner-bluemagic{width:340px;max-width:min(340px,70vw);max-height:none;height:auto;filter:brightness(0) invert(1)}

/* Keep the approved buoy frame while fitting the edited raster proportionally. */
.buoy-object img,.buoy-reflection img{aspect-ratio:1199/1312;object-fit:contain}
