.reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s ease}
.reveal.in-view{opacity:1;transform:none}
.reveal[data-delay="1"]{transition-delay:.12s}
.job-card,.step-card,.service-row,.gallery-item{transition:transform .25s ease,border-color .25s ease}
.job-card:hover,.step-card:hover{transform:translateY(-6px);border-color:#cac3bd}
.service-row:hover{transform:translateX(6px)}
.gallery-item img{transition:transform .55s ease}
.gallery-item:hover img{transform:scale(1.035)}
.whatsapp-float{position:fixed;right:22px;bottom:22px;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;z-index:90;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.whatsapp-float svg{width:30px;height:30px;fill:currentColor}
.header-whatsapp{gap:8px}
.header-whatsapp svg{width:16px;height:16px;fill:currentColor;flex:0 0 auto}

@keyframes hero-photo-drift{from{transform:scale(1.025)}to{transform:scale(1.09)}}
@keyframes hero-panel-enter{from{opacity:0;transform:translateX(-22px)}to{opacity:1;transform:translateX(0)}}
@keyframes hero-title-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes corner-sweep{from{transform:translateY(35px) rotate(17deg);opacity:0}to{transform:translateY(0) rotate(17deg);opacity:1}}
@keyframes icon-hover-float{50%{transform:translateY(-4px)}}
@keyframes card-enter{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@keyframes badge-float{50%{transform:translateY(-5px)}}
@keyframes arrow-nudge{50%{transform:translateX(4px)}}
@keyframes soft-pulse{50%{box-shadow:0 0 0 7px rgba(37,211,102,.14)}}
@keyframes value-index-fade{from{opacity:.04}to{opacity:.13}}
@keyframes icon-turn{to{transform:rotate(8deg)}}

/* 1-8: Home hero, navigation, and trust row */
.ref-home-hero__photo{animation:hero-photo-drift 18s ease-in-out infinite alternate}
.ref-home-hero__panel{transform-origin:left center;animation:hero-panel-enter .75s ease-out both}
.ref-home-hero__content.in-view .ref-kicker{animation:hero-title-enter .55s .06s both}
.ref-home-hero__content.in-view h1{animation:hero-title-enter .65s .14s both}
.ref-home-hero__content.in-view>p:not(.ref-kicker){animation:hero-title-enter .65s .22s both}
.ref-home-hero__content.in-view .actions .button{animation:hero-title-enter .6s .3s both}
.ref-home-hero__content.in-view .actions .ref-outline-button{animation:hero-title-enter .6s .4s both}
.ref-red-corner{animation:corner-sweep 1s .25s both}
.brand img{transition:transform .35s ease}
.brand:hover img{transform:rotate(-5deg) scale(1.05)}
.site-nav>a:not(.button){transition:color .2s ease}
.site-nav>a:not(.button):hover{color:var(--red)}
.site-nav>a:not(.button):after{transition:transform .25s ease}
.site-nav>a:not(.button):hover:after{transform:scaleX(1)}
.nav-toggle span{transition:transform .22s ease,opacity .22s ease}
.nav-toggle:hover span:first-child{transform:translateX(-3px)}
.ref-home-benefits article{transition:background-color .25s ease,transform .25s ease}
.ref-home-benefits article:hover{background:#fffafa;transform:translateY(-3px)}
.ref-home-benefits article>span{transition:transform .25s ease}
.ref-home-benefits article:hover>span{transform:scale(1.12)}

/* 9-16: Home cards, images, and journey timeline */
.ext-category-grid>a{transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.ext-category-grid>a:hover{transform:translateY(-5px);border-color:#efb8bc;box-shadow:0 12px 28px rgba(31,25,25,.08)}
.ext-category-grid>a b{transition:transform .28s ease,background-color .28s ease}
.ext-category-grid>a:hover b{transform:rotate(-7deg);background:#ffe5e7}
.ext-home-photo-strip img{transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .4s ease}
.ext-home-photo-strip figure:hover img{transform:scale(1.06);filter:saturate(1.08)}
.ext-home-photo-strip figcaption{transition:color .22s ease,letter-spacing .22s ease}
.ext-home-photo-strip figure:hover figcaption{color:var(--red);letter-spacing:.02em}
.ext-home-feature__image img{transition:transform .65s ease,filter .45s ease}
.ext-home-feature__image:hover img{transform:scale(1.025);filter:saturate(1.08)}
.ext-home-feature__image:after{transition:width .35s ease,height .35s ease}
.ext-home-feature__image:hover:after{width:53%;height:57%}
.ext-benefit-list article{transition:padding-left .25s ease,border-color .25s ease}
.ext-benefit-list article:hover{padding-left:8px;border-color:#ef9da3}
.ext-benefit-list article>b{transition:transform .25s ease}
.ext-benefit-list article:hover>b{transform:scale(1.12)}
.ext-process-grid article{transition:background-color .25s ease,transform .25s ease}
.ext-process-grid article:hover{background:rgba(255,255,255,.045);transform:translateY(-4px)}
.ext-process-grid article>span{display:inline-block;transition:transform .25s ease}
.ext-process-grid article:hover>span{transform:scale(1.14)}

/* 17-22: About page photos, values, and mission panels */
.ref-inner-hero>img{transition:transform 1.1s ease}
.ref-inner-hero:hover>img{transform:scale(1.035)}
.ref-inner-hero__content.in-view h1{animation:hero-title-enter .6s .12s both}
.ref-about-image>img{transition:transform .55s ease,filter .45s ease}
.ref-about-image:hover>img{transform:scale(1.035);filter:saturate(1.08)}
.ref-about-image>div img{transition:transform .45s ease}
.ref-about-image:hover>div img{transform:scale(1.06) rotate(-3deg)}
.ref-facts article{transition:transform .25s ease}
.ref-facts article:hover{transform:translateY(-4px)}
.ext-mission article{transition:transform .3s ease,box-shadow .3s ease}
.ext-mission article:hover{transform:translateY(-5px);box-shadow:0 16px 35px rgba(0,0,0,.09)}
.ext-mission article>span{transition:transform .45s ease,color .3s ease}
.ext-mission article:hover>span{transform:translate(-5px,4px);color:rgba(225,38,50,.18)}
.ext-values__intro img{transition:transform .55s ease,filter .4s ease}
.ext-values__intro img:hover{transform:scale(1.025);filter:saturate(1.12)}
.ext-values__list article{transition:padding-left .25s ease,border-color .25s ease}
.ext-values__list article:hover{padding-left:10px;border-color:var(--red)}
.ext-about-photo-strip img{transition:transform .55s ease}
.ext-about-photo-strip figure:hover img{transform:scale(1.045)}

/* 23-28: Jobs and services */
.ref-job-list article{transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.ref-job-list article:hover{transform:translateY(-3px);border-color:#efadb2;box-shadow:0 9px 22px rgba(31,25,25,.07)}
.ref-job-list article>span{transition:background-color .25s ease,transform .25s ease}
.ref-job-list article:hover>span{background:#fff0f1;transform:rotate(-5deg)}
.ref-job-list article>a{transition:background-color .2s ease,transform .2s ease}
.ref-job-list article>a:hover{background:var(--red-dark);transform:translateX(2px)}
.ext-job-checklist article{transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.ext-job-checklist article:hover{transform:translateY(-4px);border-color:#efb8bc;box-shadow:0 10px 25px rgba(31,25,25,.07)}
.ext-job-checklist article>b{transition:transform .25s ease}
.ext-job-checklist article:hover>b{transform:scale(1.15)}
.ext-job-image img{transition:transform .55s ease}
.ext-job-image img:hover{transform:scale(1.025)}
.ext-job-image li{transition:transform .2s ease,color .2s ease}
.ext-job-image li:hover{transform:translateX(4px);color:var(--red)}
.ref-services-grid article{transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.ref-services-grid article:hover{transform:translateY(-5px);border-color:#efb8bc;box-shadow:0 13px 28px rgba(31,25,25,.08)}
.ref-services-grid article>span{transition:transform .3s ease,background-color .3s ease}
.ref-services-grid article:hover>span{transform:rotate(-7deg) scale(1.06);background:#ffe5e7}
.ref-services-grid article a{transition:letter-spacing .22s ease,color .22s ease}
.ref-services-grid article a:hover{letter-spacing:.035em;color:var(--red-dark)}
.ext-service-story__media img{transition:transform .6s ease}
.ext-service-story__media:hover img{transform:scale(1.035)}
.ext-service-story__media>div{transition:transform .3s ease,box-shadow .3s ease}
.ext-service-story__media:hover>div{transform:translateY(-5px);box-shadow:0 10px 25px rgba(0,0,0,.15)}
.ext-service-story__copy li{transition:padding-left .22s ease}
.ext-service-story__copy li:hover{padding-left:7px}

/* 29-34: Gallery, contact, and global calls to action */
.ref-gallery-tabs button{transition:color .22s ease,background-color .22s ease,border-color .22s ease,transform .22s ease}
.ref-gallery-tabs button:hover{transform:translateY(-2px);border-color:var(--red)}
.ref-gallery-grid figure img{transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .4s ease}
.ref-gallery-grid figure:hover img{transform:scale(1.07);filter:saturate(1.1)}
.ref-gallery-grid figcaption{transition:padding .25s ease,background-color .25s ease}
.ref-gallery-grid figure:hover figcaption{padding-bottom:13px;background:rgba(0,0,0,.82)}
.ext-gallery-collage img{transition:transform .5s ease,filter .4s ease}
.ext-gallery-collage img:hover{transform:scale(1.035);filter:saturate(1.1)}
.ref-contact-info>a{transition:padding-left .22s ease,color .22s ease}
.ref-contact-info>a:hover{padding-left:6px;color:var(--red)}
.ref-contact-info>a>span{display:inline-block;transition:transform .25s ease}
.ref-contact-info>a:hover>span{animation:icon-hover-float .5s ease}
.ref-contact-form{transition:box-shadow .3s ease,border-color .3s ease}
.ref-contact-form:focus-within{border-color:#eaa0a5;box-shadow:0 12px 32px rgba(31,25,25,.12)}
.ref-contact-form input,.ref-contact-form select,.ref-contact-form textarea{transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}
.ref-contact-form input:focus,.ref-contact-form select:focus,.ref-contact-form textarea:focus{outline:none;border-color:var(--red);background:#fff;box-shadow:0 0 0 3px rgba(225,38,50,.1)}
.ext-contact-map__frame{transition:transform .3s ease,box-shadow .3s ease}
.ext-contact-map__frame:hover{transform:translateY(-3px);box-shadow:0 15px 32px rgba(0,0,0,.12)}
.button{transition:background-color .22s ease,transform .22s ease,box-shadow .22s ease}
.button:hover{box-shadow:0 7px 17px rgba(189,23,34,.18)}
.button:active{transform:translateY(1px) scale(.98)}
.button--light:hover{box-shadow:0 7px 17px rgba(0,0,0,.13)}
.ext-cta .button--light:hover{transform:translateY(-3px)}
.whatsapp-float{animation:soft-pulse 2.8s ease-in-out infinite;transition:transform .22s ease}
.whatsapp-float:hover{transform:scale(1.09)}
.footer-grid a:not(.button){transition:color .2s ease,transform .2s ease}
.footer-grid a:not(.button):hover{color:#fff;transform:translateX(3px)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(225,38,50,.55);outline-offset:3px}

@media(max-width:700px){
  .ref-home-hero__photo{animation-duration:26s}
  .ref-home-benefits article:hover,.ref-facts article:hover,.ext-process-grid article:hover{transform:none}
  .ext-category-grid>a:hover,.ref-job-list article:hover,.ref-services-grid article:hover{transform:translateY(-2px)}
  .ext-home-photo-strip figure:hover img,.ext-about-photo-strip figure:hover img{transform:scale(1.02)}
  .whatsapp-float{animation-duration:3.5s}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Floating WhatsApp contact action */
.whatsapp-float{right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));width:60px;height:60px;border:3px solid #fff;background:#25d366;box-shadow:0 6px 22px rgba(0,0,0,.2);animation:none;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.whatsapp-float i{font-size:34px;line-height:1}
.whatsapp-float:hover{background:#1ebe5d;transform:translateY(-3px);box-shadow:0 9px 26px rgba(0,0,0,.25)}
.whatsapp-float:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.whatsapp-float__label{position:absolute;right:calc(100% + 12px);padding:9px 14px;border-radius:8px;background:var(--ink);color:#fff;font-size:.75rem;font-weight:700;white-space:nowrap;opacity:0;visibility:hidden;transform:translateX(5px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease;pointer-events:none}
.whatsapp-float:hover .whatsapp-float__label,.whatsapp-float:focus-visible .whatsapp-float__label{opacity:1;visibility:visible;transform:translateX(0)}
@media(max-width:520px){.whatsapp-float{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:56px;height:56px}.whatsapp-float i{font-size:31px}}
@media(prefers-reduced-motion:reduce){.whatsapp-float,.whatsapp-float__label{transition:none}.whatsapp-float:hover{transform:none}}
/* Three-image home hero with a taller, responsive composition. */
.ref-home-hero{height:680px}
.hero-slides{position:absolute;inset:0;overflow:hidden}
.hero-slides .hero-slide{opacity:0;animation:none;transition:opacity 1.2s ease;object-position:center 35%}
.hero-slides .hero-slide.is-active{opacity:1}
.ref-home-hero__panel{inset:0;background:rgba(16,18,23,.52);clip-path:none}
@media(max-width:990px){.ref-home-hero{height:640px}}
@media(max-width:650px){.ref-home-hero{height:auto;min-height:600px}.ref-home-hero__content{min-height:600px;padding-block:64px}.hero-slides .hero-slide{object-position:70% 35%}.ref-home-hero__panel{background:rgba(16,18,23,.66)}}
@media(prefers-reduced-motion:reduce){.hero-slides .hero-slide{transition:none}}

.ref-home-hero{height:auto;min-height:680px}
.ref-home-hero__content{height:auto;min-height:680px;padding-block:40px}
@media(max-width:990px){
  .ref-home-hero{min-height:640px}
  .ref-home-hero__content{min-height:640px}
}
@media(max-width:650px){
  .ref-home-hero{min-height:600px}
  .ref-home-hero__content{min-height:600px;padding-block:64px}
}
