/* PERFODOM Home — editorial identity V1.2.0. No cards, no visual-library dependencies. */
.perfodom-home{--pd-navy:#0a2239;--pd-blue:#405078;--pd-muted:#55677c;--pd-cold:#f3f6f9;--pd-ink:#12283f;background:#fff;color:var(--pd-ink)}
.perfodom-home *{min-width:0}
.pd-container,.pd-hero__container{width:100%;max-width:1260px;margin-inline:auto;padding-inline:36px;box-sizing:border-box}
.pd-eyebrow{margin:0 0 18px;color:#3c6292;font-size:14px;font-weight:750;line-height:1.4;letter-spacing:.15em;text-transform:uppercase}
.pd-eyebrow--light{color:#b4cbe0}
.pd-button{min-height:54px;padding:14px 23px;display:inline-flex;align-items:center;gap:22px;text-decoration:none;font-size:16px;font-weight:750;line-height:1.45;white-space:nowrap;transition:background-color .18s ease,transform .18s ease}
.pd-button svg,.pd-link svg,.pd-services__all svg,.pd-equipment__caption svg{width:18px;height:18px;flex:0 0 18px}
.pd-button--light{color:#0c2740;background:#fff}
.pd-button--light:hover{background:#ddebf8;transform:translateY(-1px)}
.pd-link{display:inline-flex;align-items:center;gap:14px;color:#264f7a;font-size:16px;font-weight:750;text-decoration:none;text-underline-offset:5px}
.pd-link:hover{text-decoration:underline}
.pd-link--light{color:#fff}
.pd-hero{position:relative;min-height:585px;color:#fff;isolation:isolate;display:flex;align-items:center;background:#0b263d;overflow:hidden}
.pd-hero__picture{position:absolute;inset:0;z-index:-2;display:block}
.pd-hero__image{display:block;width:100%;height:100%;object-fit:cover;object-position:center 58%}
.pd-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,27,45,.96) 0%,rgba(5,27,45,.90) 28%,rgba(5,27,45,.61) 48%,rgba(5,27,45,.1) 78%,rgba(5,27,45,.06))}
.pd-hero__copy{width:100%;padding:75px 0 86px}
.pd-hero h1{font-size:clamp(48px,5.15vw,76px);line-height:1.05;letter-spacing:-.047em;font-weight:800;max-width:740px;margin:0;color:#fff}
.pd-hero h1 span{color:#d4e1ee}
.pd-hero__summary{max-width:455px;font-size:18px;line-height:1.55;margin:22px 0 0;color:#e7eff7}
.pd-hero__actions{display:flex;flex-wrap:wrap;gap:22px;align-items:center;margin-top:33px}
.pd-context{background:#fff;border-bottom:1px solid #dce4ec}
.pd-context__inner{padding:26px 0;display:flex;align-items:center;justify-content:space-between;gap:25px}
.pd-context p{margin:0;font-size:16px;color:#486077}
.pd-context strong{color:#16395d;font-weight:800}
.pd-context a{display:inline-flex;align-items:center;gap:13px;white-space:nowrap;font-size:15px;font-weight:750;text-decoration:none;color:#244c79}
.pd-context a:hover{text-decoration:underline}
.pd-context svg{width:17px;height:17px}
.pd-section{padding:96px 0}
.pd-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.65fr);gap:80px;align-items:end;margin-bottom:42px}
.pd-section-head h2,.pd-equipment h2,.pd-story h2,.pd-projects h2{margin:0;font-size:clamp(36px,3.9vw,56px);font-weight:780;letter-spacing:-.043em;line-height:1.12}
.pd-section-head__text{margin:0 0 3px;color:var(--pd-muted);font-size:18px;line-height:1.65;max-width:480px}
.pd-services__layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:60px;align-items:stretch}
.pd-services__featured{position:relative;min-height:525px;overflow:hidden;display:block;background:#102f4c;color:#fff;text-decoration:none}
.pd-services__featured>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s ease}
.pd-services__featured:hover>img{transform:scale(1.025)}
.pd-services__featured:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,23,40,.95),rgba(5,23,40,.1) 65%)}
.pd-services__featured-bottom{position:absolute;z-index:1;bottom:0;left:0;right:0;display:flex;align-items:end;justify-content:space-between;gap:20px;padding:35px}
.pd-services__featured-bottom small{display:block;font-weight:800;letter-spacing:.15em;color:#bbd7ed;font-size:14px;margin-bottom:9px}
.pd-services__featured-bottom strong{font-size:clamp(24px,2.5vw,34px);line-height:1.18;letter-spacing:-.028em;display:block;max-width:400px}
.pd-arrow{flex:0 0 47px;width:47px;height:47px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.7)}
.pd-services__list{display:flex;flex-direction:column}
.pd-services__row{border-top:1px solid #cfdae5;padding:31px 0;display:grid;grid-template-columns:40px minmax(0,1fr) 28px;gap:15px;align-items:center;text-decoration:none;transition:padding-left .18s ease}
.pd-services__row:hover{padding-left:6px}
.pd-services__number{font-size:16px;color:#4f75a0;font-weight:700;align-self:start;padding-top:6px}
.pd-services__row-copy strong{display:block;font-size:clamp(20px,2.1vw,28px);line-height:1.24;letter-spacing:-.027em;color:#142d48}
.pd-services__row-copy small{display:block;font-size:16px;line-height:1.55;color:#68788a;margin-top:8px}
.pd-services__arrow{align-self:center;color:#3b638d}
.pd-services__arrow svg{width:21px;height:21px}
.pd-services__all{border-top:1px solid #cfdae5;margin-top:auto;padding:22px 0 0;color:#214e7d;display:inline-flex;align-items:center;gap:17px;font-weight:800;text-decoration:none;font-size:16px}
.pd-services__all:hover{text-decoration:underline}
.pd-equipment{background:#0b263e;color:#fff;padding:96px 0}
.pd-equipment__grid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.3fr);gap:76px;align-items:center}
.pd-equipment__content h2{color:#fff;max-width:460px}
.pd-equipment__content>p:not(.pd-eyebrow){margin:25px 0 30px;color:#cbdbe8;font-size:18px;line-height:1.7;max-width:460px}
.pd-equipment__media{background:#102d47}
.pd-equipment__media>a{display:block;overflow:hidden}
.pd-equipment__media img{width:100%;height:auto;display:block;aspect-ratio:16/10;object-fit:cover;transition:transform .3s ease}
.pd-equipment__media>a:hover img{transform:scale(1.018)}
.pd-equipment__caption{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(255,255,255,.2)}
.pd-equipment__caption a{color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 21px;text-decoration:none;font-size:16px;font-weight:750}
.pd-equipment__caption a+a{border-left:1px solid rgba(255,255,255,.2)}
.pd-equipment__caption a:hover{background:#194266}
.pd-story{background:#fff}
.pd-story__grid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.1fr);gap:clamp(55px,8vw,140px);align-items:center}
.pd-story__visual{max-height:650px;overflow:hidden;background:#eff2f5}
.pd-story__visual img{display:block;width:100%;height:100%;max-height:650px;min-height:500px;object-fit:cover;object-position:center 18%}
.pd-story h2{max-width:680px}
.pd-story__content>p:not(.pd-eyebrow){margin:26px 0 26px;max-width:605px;color:var(--pd-muted);font-size:18px;line-height:1.78}
.pd-story__signature{border-top:1px solid #d9e1e9;padding:19px 0 20px;display:flex;gap:8px;flex-direction:column;margin:24px 0 20px}
.pd-story__signature strong{font-size:20px;color:#173c60}
.pd-story__signature span{font-size:15px;color:#66798a}
.pd-projects{background:#f3f6f9}
.pd-projects__top{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:36px}
.pd-projects__top>div{max-width:730px}
.pd-projects__top p:last-child{font-size:17px;color:var(--pd-muted);line-height:1.55;margin:14px 0 0}
.pd-projects__gallery{display:grid;grid-template-columns:1.34fr .9fr;grid-template-rows:240px 240px;gap:18px}
.pd-projects__image{position:relative;overflow:hidden;margin:0;background:#dbe5ee}
.pd-projects__image--main{grid-row:1/3}
.pd-projects__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
.pd-projects__image:hover img{transform:scale(1.02)}
.pd-projects__image figcaption{position:absolute;bottom:0;left:0;right:0;padding:29px 20px 16px;color:#fff;font-size:15px;font-weight:750;letter-spacing:.01em;background:linear-gradient(0deg,rgba(7,27,45,.82),transparent)}
@media(max-width:1100px){.pd-services__layout,.pd-equipment__grid,.pd-story__grid{gap:34px}.pd-services__featured{min-height:540px}.pd-section-head{gap:38px}.pd-projects__gallery{grid-template-rows:200px 200px}}
@media(max-width:850px){.pd-container,.pd-hero__container{padding-inline:20px}.pd-hero{min-height:520px}.pd-hero h1{font-size:clamp(42px,6.4vw,60px);max-width:560px}.pd-section{padding:70px 0}.pd-section-head{grid-template-columns:1fr;gap:18px}.pd-services__layout{grid-template-columns:1fr}.pd-services__featured{min-height:460px}.pd-services__row{padding:27px 0}.pd-equipment{padding:75px 0}.pd-equipment__grid{grid-template-columns:1fr}.pd-equipment__content h2{max-width:700px}.pd-equipment__content>p:not(.pd-eyebrow){max-width:650px}.pd-story__grid{grid-template-columns:minmax(0,.7fr) minmax(0,1fr)}.pd-story__visual img{min-height:420px}.pd-projects__gallery{grid-template-rows:240px 240px}}
@media(max-width:680px){.pd-container,.pd-hero__container{padding-inline:18px}.pd-hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;background:#0a263f}.pd-hero:before{display:none}.pd-hero__copy{order:0;padding:53px 0 44px}.pd-hero__picture{order:1;position:relative;height:265px;inset:auto;z-index:auto}.pd-hero__image{object-position:center 50%}.pd-hero h1{font-size:clamp(37px,9vw,50px);line-height:1.1;max-width:520px}.pd-hero__summary{margin-top:19px;font-size:17px}.pd-hero__actions{margin-top:27px;gap:23px}.pd-hero .pd-button{width:auto}.pd-context__inner{display:block;padding:23px 0}.pd-context a{margin-top:15px}.pd-section{padding:62px 0}.pd-section-head h2,.pd-equipment h2,.pd-story h2,.pd-projects h2{font-size:clamp(32px,8.3vw,43px)}.pd-section-head__text{font-size:16px}.pd-services__featured{min-height:345px}.pd-services__featured-bottom{padding:23px}.pd-services__featured-bottom strong{font-size:25px}.pd-services__row{grid-template-columns:32px minmax(0,1fr) 23px;gap:10px;padding:22px 0}.pd-services__row-copy strong{font-size:21px}.pd-services__row-copy small{font-size:15px}.pd-equipment{padding:65px 0}.pd-equipment__content>p:not(.pd-eyebrow){font-size:17px}.pd-equipment__caption a{padding:17px 12px;font-size:15px}.pd-story__grid{grid-template-columns:1fr;gap:29px}.pd-story__visual{max-height:425px;max-width:470px}.pd-story__visual img{min-height:0;height:425px}.pd-story__content>p:not(.pd-eyebrow){font-size:17px}.pd-projects__top{display:block}.pd-projects__top .pd-link{margin-top:20px}.pd-projects__gallery{grid-template-columns:1fr 1fr;grid-template-rows:280px 155px;gap:10px}.pd-projects__image--main{grid-row:1;grid-column:1/-1}.pd-projects__image figcaption{font-size:14px;padding:20px 12px 12px}}
@media(max-width:390px){.pd-hero__actions{flex-direction:column;align-items:flex-start}.pd-services__featured{min-height:320px}.pd-equipment__caption{grid-template-columns:1fr}.pd-equipment__caption a+a{border-left:0;border-top:1px solid rgba(255,255,255,.2)}}

/* Reveal animations */
.pd-reveal{opacity:0;transform:translateY(34px);transition:opacity .72s ease,transform .72s cubic-bezier(.22,1,.36,1);will-change:opacity,transform}
.pd-reveal.is-visible{opacity:1;transform:none}
.pd-reveal--left{transform:translateX(-34px)}
.pd-reveal--right{transform:translateX(34px)}
.pd-reveal--zoom{transform:scale(.97);transform-origin:center center}
.pd-reveal.is-visible.pd-reveal--zoom{transform:scale(1)}
.pd-reveal-delay-1{transition-delay:.08s}
.pd-reveal-delay-2{transition-delay:.16s}
.pd-reveal-delay-3{transition-delay:.24s}
.pd-reveal-delay-4{transition-delay:.32s}

@media(prefers-reduced-motion:reduce){.pd-button,.pd-services__featured img,.pd-services__row,.pd-equipment__media img,.pd-projects__image img,.pd-reveal{transition:none!important;transform:none!important;opacity:1!important}}

/* V1.4.0 — corrección real de contenedor móvil y franja de contexto.
   Las reglas anteriores .pd-context__inner {padding:26px 0} eliminaban el padding horizontal. */
.pd-hero__copy .pd-hero__container { padding-inline: clamp(20px, 3.1vw, 40px); }
.pd-context .pd-context__inner { padding: 26px clamp(20px, 3.1vw, 40px); }
@media (max-width:680px) {
  .pd-hero__copy .pd-hero__container { padding-inline: 20px; }
  .pd-context .pd-context__inner { padding: 24px 20px; }
}
@media (max-width:380px) {
  .pd-hero__copy .pd-hero__container, .pd-context .pd-context__inner { padding-inline: 16px; }
}
/* Progresive enhancement: si JavaScript falla, todo el contenido permanece visible. */
.perfodom-home .pd-reveal { opacity:1; transform:none; }
.pd-motion-enabled .perfodom-home .pd-reveal:not(.is-visible){ opacity:0; transform:translateY(22px); }
.pd-motion-enabled .perfodom-home .pd-reveal--left:not(.is-visible){ transform:translateX(-22px); }
.pd-motion-enabled .perfodom-home .pd-reveal--right:not(.is-visible){ transform:translateX(22px); }
.pd-motion-enabled .perfodom-home .pd-reveal--zoom:not(.is-visible){ transform:scale(.985); }
@media (prefers-reduced-motion:reduce){ .pd-motion-enabled .perfodom-home .pd-reveal { opacity:1!important; transform:none!important; } }

/* V1.8.6 — Slider editorial: tres fotos reales y controles discretos. */
.pd-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.pd-hero-carousel{position:relative;isolation:isolate;background:#092238;color:#fff;overflow:hidden}
.pd-hero-carousel__stage{display:grid;min-height:600px}
.pd-hero-carousel__slide{grid-area:1/1;min-height:600px;height:100%;opacity:0;visibility:hidden;pointer-events:none;z-index:0;transition:opacity .65s ease,visibility 0s linear .65s}
.pd-hero-carousel__slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1;transition:opacity .65s ease,visibility 0s}
.pd-hero-carousel__slide .pd-hero__copy{z-index:1}
.pd-hero-carousel__slide .pd-hero__picture{z-index:0}
.pd-hero-carousel__slide:before{z-index:1;pointer-events:none}
.pd-hero-carousel__slide .pd-hero__copy{position:relative;z-index:2}
.pd-hero-carousel__slide h1,.pd-hero-carousel__slide h2{font-size:clamp(48px,5.15vw,76px);line-height:1.05;letter-spacing:-.047em;font-weight:800;max-width:740px;margin:0;color:#fff}
.pd-hero-carousel__slide h1 span,.pd-hero-carousel__slide h2 span{color:#d4e1ee}
.pd-hero-carousel__slide--operations .pd-hero__image{object-position:center 55%}
.pd-hero-carousel__slide--team .pd-hero__image{object-position:center 55%}
.pd-hero-carousel__toolbar{position:absolute;z-index:5;right:max(35px,calc((100vw - 1260px)/2 + 36px));bottom:25px;display:flex;align-items:center;gap:13px;padding:7px 7px 7px 18px;min-height:52px;background:rgba(5,30,49,.73);color:#fff;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.pd-hero-carousel__dots{display:flex;align-items:center;gap:5px}
.pd-hero-carousel__dot{border:0;background:transparent;display:grid;place-items:center;width:30px;height:42px;cursor:pointer;padding:0;color:#fff}
.pd-hero-carousel__dot span{display:block;width:24px;height:3px;background:rgba(255,255,255,.4);transition:background-color .2s ease,width .2s ease}
.pd-hero-carousel__dot[aria-current="true"] span{background:#fff;width:27px}
.pd-hero-carousel__counter{font-size:14px;font-weight:750;letter-spacing:.08em;white-space:nowrap;color:#dce8f3;min-width:57px;text-align:center;font-variant-numeric:tabular-nums}
.pd-hero-carousel__play,.pd-hero-carousel__arrow{display:grid;place-items:center;border:1px solid rgba(255,255,255,.38);background:transparent;color:#fff;border-radius:0;cursor:pointer;transition:background-color .18s ease;flex:0 0 auto}
.pd-hero-carousel__play{height:38px;width:38px}
.pd-hero-carousel__play svg{width:17px;height:17px}
.pd-hero-carousel__play .pd-hero-carousel__icon-play{display:none}
.pd-hero-carousel.is-paused .pd-hero-carousel__play .pd-hero-carousel__icon-pause{display:none}
.pd-hero-carousel.is-paused .pd-hero-carousel__play .pd-hero-carousel__icon-play{display:block}
.pd-hero-carousel__arrows{display:flex;gap:5px}
.pd-hero-carousel__arrow{width:40px;height:40px}
.pd-hero-carousel__arrow svg{height:20px;width:20px}
.pd-hero-carousel__arrow:hover,.pd-hero-carousel__play:hover{background:rgba(255,255,255,.22)}
.pd-hero-carousel button:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:850px){.pd-hero-carousel__stage{min-height:535px}.pd-hero-carousel__slide{min-height:535px}.pd-hero-carousel__slide h1,.pd-hero-carousel__slide h2{font-size:clamp(42px,6.4vw,60px);max-width:560px}.pd-hero-carousel__toolbar{right:20px;bottom:18px}}
@media(max-width:680px){
  .pd-hero-carousel__stage{min-height:0}
  .pd-hero-carousel__slide{min-height:0;height:100%;display:flex;flex-direction:column}
  .pd-hero-carousel__slide .pd-hero__copy{flex:1 0 auto;padding:52px 0 45px;display:flex;align-items:center;order:0;width:100%}
  .pd-hero-carousel__slide .pd-hero__picture{order:1;position:relative;inset:auto;width:100%;height:270px;flex:0 0 270px}
  .pd-hero-carousel__slide:before{display:none}
  .pd-hero-carousel__slide .pd-hero__image{object-position:center}
  .pd-hero-carousel__slide--team .pd-hero__image{object-position:center 45%}
  .pd-hero-carousel__slide h1,.pd-hero-carousel__slide h2{font-size:clamp(37px,9vw,50px);line-height:1.09;max-width:520px}
  .pd-hero-carousel__toolbar{right:15px;bottom:15px;gap:8px;padding:5px 6px 5px 10px;min-height:48px}
  .pd-hero-carousel__dot{width:22px;height:38px}
  .pd-hero-carousel__dot span{width:18px}
  .pd-hero-carousel__dot[aria-current="true"] span{width:20px}
  .pd-hero-carousel__counter{min-width:49px;font-size:14px}
  .pd-hero-carousel__arrow{width:34px;height:36px}
  .pd-hero-carousel__play{width:34px;height:36px}
}
@media(max-width:380px){.pd-hero-carousel__slide .pd-hero__copy{padding:44px 0 36px}.pd-hero-carousel__slide .pd-hero__picture{height:220px;flex-basis:220px}.pd-hero-carousel__slide h1,.pd-hero-carousel__slide h2{font-size:clamp(34px,9.4vw,40px)}.pd-hero-carousel__toolbar{right:12px;bottom:10px}.pd-hero-carousel__counter{min-width:42px}}
@media(prefers-reduced-motion:reduce){.pd-hero-carousel__slide,.pd-hero-carousel__dot span{transition:none!important}}

/* V1.8.7 — controles visibles antes del hero en móvil; ningún desbordamiento lateral. */
.pd-hero-carousel,
.pd-hero-carousel__stage,
.pd-hero-carousel__slide {max-width:100%;min-width:0;box-sizing:border-box}
.pd-hero-carousel__stage {grid-template-columns:minmax(0,1fr)}
.pd-hero-carousel__slide {width:100%;}
@media(max-width:680px) {
  .pd-hero-carousel {display:flex;flex-direction:column;width:100%;overflow-x:clip}
  .pd-hero-carousel__stage {width:100%;min-width:0;touch-action:pan-y}
  .pd-hero-carousel__slide .pd-hero__copy,
  .pd-hero-carousel__slide .pd-hero__container {max-width:100%;min-width:0;box-sizing:border-box}
  .pd-hero-carousel__slide .pd-hero__actions {max-width:100%}
  .pd-hero-carousel__toolbar {
    order:-1;position:relative;inset:auto;right:auto;bottom:auto;
    display:flex;justify-content:space-between;align-items:center;
    width:100%;max-width:100%;min-height:59px;
    gap:6px;padding:6px 14px;box-sizing:border-box;
    background:#0c2e4a;border-bottom:1px solid rgba(255,255,255,.16);
    backdrop-filter:none;-webkit-backdrop-filter:none;
  }
  .pd-hero-carousel__dots {gap:3px;flex:0 0 auto}
  .pd-hero-carousel__dot {width:25px;height:44px}
  .pd-hero-carousel__dot span {width:19px}
  .pd-hero-carousel__dot[aria-current="true"] span {width:21px}
  .pd-hero-carousel__counter {min-width:46px;font-size:14px}
  .pd-hero-carousel__play {width:40px;height:44px}
  .pd-hero-carousel__arrows {gap:4px}
  .pd-hero-carousel__arrow {width:40px;height:44px}
  .pd-hero-carousel__slide .pd-hero__picture {max-width:100%;overflow:hidden}
  .pd-hero-carousel__slide .pd-hero__image {max-width:100%}
}
@media(max-width:360px) {
  .pd-hero-carousel__toolbar {padding-inline:9px;gap:4px}
  .pd-hero-carousel__counter {min-width:42px}
  .pd-hero-carousel__dot {width:23px}
  .pd-hero-carousel__play {width:36px}
  .pd-hero-carousel__arrow {width:37px}
}


/* V1.8.9 — Desbordamiento horizontal del Home durante las animaciones.
   La animación translateX(22px) de servicios/equipos desbordaba entre 4 y
   22 px el viewport antes de la intersección. El Home no debe convertirse en
   contenedor de scroll horizontal. La navegación vertical sigue intacta. */
.perfodom-home {
  max-width: 100%;
  overflow-x: clip;
}
@media (max-width: 850px) {
  /* Se conserva la animación sin sacar elementos fuera de su columna. */
  .pd-motion-enabled .perfodom-home .pd-reveal--left:not(.is-visible),
  .pd-motion-enabled .perfodom-home .pd-reveal--right:not(.is-visible) {
    transform: translate3d(0, 16px, 0);
  }
}
