:root {
  --green: #4fbe5d;
  --green-dark: #36a648;
  --navy: #1d2347;
  --navy-deep: #08162a;
  --ink: #18223a;
  --muted: #5c6475;
  --line: #dfe4e9;
  --paper: #ffffff;
  --mist: #f3f6f7;
  --shell: min(1600px, calc(100% - 96px));
  --gutter: max(48px, calc((100vw - 1600px) / 2));
  --header-height: 108px;
  --frame-height: max(680px, 100dvh);
  --page-progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Montserrat", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only, .skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { z-index: 1000; top: 12px; left: 12px; width: auto; height: auto; padding: 10px 14px; margin: 0; clip: auto; color: var(--paper); background: var(--navy); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 30; height: var(--header-height); color: var(--paper); background: transparent; }
.header-inner { height: 100%; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 38px; }
.brand { display: inline-flex; width: 160px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 38px; }
.main-nav a { position: relative; padding-block: 10px; font-size: 13px; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; inset: auto auto 0 0; width: 0; height: 2px; background: var(--green); transition: width .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.is-active::after { width: 28px; }
.menu-toggle { display: none; color: var(--paper); background: transparent; border: 0; font-size: 24px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.button-track { color: var(--paper); background: rgba(8,22,42,.28); border-color: rgba(255,255,255,.55); backdrop-filter: blur(8px); }
.button-track:hover { color: var(--navy-deep); background: var(--paper); border-color: var(--paper); }

[data-scroll-section] { scroll-snap-align: start; scroll-snap-stop: normal; }
.scroll-controller { position: fixed; z-index: 50; top: 50%; right: 20px; display: grid; gap: 9px; padding: 18px 13px 18px 24px; color: var(--paper); background: rgba(8,22,42,.82); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; box-shadow: 0 15px 36px rgba(5,14,28,.24); transform: translateY(-50%); backdrop-filter: blur(8px); }
.scroll-controller a { position: relative; z-index: 2; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 9px; min-height: 29px; color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; transition: color .2s ease, transform .2s ease; }
.scroll-controller a span { display: grid; place-items: center; width: 21px; height: 21px; color: var(--navy); background: rgba(255,255,255,.72); border: 2px solid rgba(255,255,255,.24); border-radius: 50%; font-size: 7px; font-weight: 900; }
.scroll-controller a strong { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .25s ease, opacity .2s ease; }
.scroll-controller:hover a strong, .scroll-controller:focus-within a strong { max-width: 80px; opacity: 1; }
.scroll-controller a:hover, .scroll-controller a:focus-visible, .scroll-controller a.is-active { color: var(--paper); transform: translateX(-3px); }
.scroll-controller a.is-active span { color: var(--paper); background: var(--green); border-color: var(--green); }
.scroll-meter { position: absolute; z-index: 1; top: 29px; bottom: 29px; left: 34px; width: 2px; overflow: hidden; background: rgba(255,255,255,.18); }
.scroll-meter span { display: block; width: 100%; height: 100%; background: var(--green); transform: scaleY(var(--page-progress)); transform-origin: top; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 23px; color: var(--paper); background: var(--green); border: 1px solid var(--green); border-radius: 8px; font-weight: 800; line-height: 1.2; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); }
.button:focus-visible, .carousel-dot:focus-visible, .menu-toggle:focus-visible { outline: 3px solid rgba(79,190,93,.35); outline-offset: 3px; }
.button-small { min-height: 46px; padding-inline: 19px; font-size: 13px; }
.button-large { min-height: 62px; padding-inline: 27px; }
.button-outline { color: var(--green-dark); background: transparent; }
.button-outline:hover { color: var(--paper); }

.hero { position: relative; height: var(--frame-height); min-height: var(--frame-height); color: var(--paper); background: var(--navy-deep); }
.hero-carousel, .hero-slide { position: absolute; inset: 0; }
.hero-slide { z-index: 0; opacity: 0; visibility: hidden; transition: opacity 1.35s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 1.35s; }
.hero-slide.is-previous { z-index: 1; opacity: 1; visibility: visible; transition: none; }
.hero-slide.is-active { z-index: 2; opacity: 1; visibility: visible; transition: opacity 1.35s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
.hero-slide.is-active .hero-media { animation: hero-image-settle 7.2s ease-out both; }
@keyframes hero-image-settle {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media-gray { object-position: center center; }
.hero-media-red { object-position: center center; }
.hero-media-green { object-position: 55% center; }
.hero-shade { position: absolute; z-index: 3; inset: 0 auto 0 0; width: 64%; background: rgba(8, 22, 42, .5); clip-path: polygon(0 0, 100% 0, 73% 100%, 0 100%); }
.hero-copy { position: relative; width: min(760px, 52vw); padding: 46px 54px 48px 0; }
.hero-copy::before { display: none; }
.hero-content { position: relative; z-index: 4; height: 100%; min-height: var(--frame-height); display: flex; align-items: center; padding-top: var(--header-height); }
.eyebrow, .section-kicker { margin: 0 0 20px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before, .section-kicker::before { content: ""; display: inline-block; width: 36px; height: 3px; margin-right: 12px; vertical-align: middle; background: var(--green); }
.hero h1, .hero h2 { max-width: 760px; margin: 0; font-size: clamp(46px, 4.35vw, 76px); line-height: .98; letter-spacing: -.045em; }
.hero h1 span, .hero h2 span { color: var(--green); }
.hero-lead { max-width: 510px; margin: 28px 0 34px; font-size: 20px; line-height: 1.5; }
.carousel-controls { position: absolute; z-index: 7; left: 50%; bottom: 48px; display: flex; gap: 13px; transform: translateX(-50%); }
.carousel-dot { width: 11px; height: 11px; padding: 0; background: rgba(255,255,255,.5); border: 0; border-radius: 50%; cursor: pointer; }
.carousel-dot.is-active { background: var(--green); transform: scale(1.15); }

.proof { background: var(--paper); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 190px; }
.proof-item { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 24px; padding: 38px 40px; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { padding-right: 0; border-right: 0; }
.proof-item > i { color: var(--navy); font-size: 50px; text-align: center; }
.proof-item strong { display: block; max-width: 250px; color: var(--navy); font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.proof-item strong span { color: var(--green); }
.proof-item p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.story { display: grid; grid-template-columns: minmax(500px, 56%) 1fr; height: var(--frame-height); min-height: var(--frame-height); overflow: hidden; background: var(--mist); }
.story-copy { position: relative; z-index: 2; display: flex; align-items: center; padding: 82px var(--gutter); padding-right: clamp(110px, 11vw, 190px); background: var(--mist); clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); }
.story-copy-inner { max-width: 560px; margin-left: auto; }
.story h2, .services h2, .certifications h2 { margin: 0; color: var(--navy); font-size: clamp(40px, 4vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
.story p:not(.section-kicker) { color: var(--muted); font-size: 17px; line-height: 1.65; }
.story .button { margin-top: 14px; }
.story-visual { position: relative; min-height: var(--frame-height); margin: 0 0 0 -24%; overflow: hidden; }
.story-visual img { width: 100%; height: 100%; object-fit: cover; }
.story-visual figcaption { position: absolute; right: 56px; bottom: 56px; max-width: 260px; padding: 16px 0 16px 20px; color: var(--paper); border-left: 3px solid var(--green); font-size: 13px; font-weight: 800; letter-spacing: .13em; line-height: 1.55; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0,0,0,.65); }

.services { position: relative; height: var(--frame-height); min-height: var(--frame-height); overflow: hidden; color: var(--paper); background: var(--navy); }
.services-stage { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) 108px; }
.services-grid { width: 100%; height: 100%; min-height: 0; display: grid; grid-template-columns: 60% 40%; align-items: stretch; }
.services-visual { position: relative; min-width: 0; overflow: hidden; }
.services-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.services-copy { position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; max-width: none; margin-left: -9vw; padding: 36px var(--gutter) 36px calc(9vw + 60px); background: var(--navy); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.section-kicker-light { color: var(--paper); }
.services h2 { color: var(--paper); }
.services-intro { max-width: 520px; margin: 18px 0 22px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.55; }
.service-list { display: grid; gap: 4px; }
.service-list article { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.service-list article:last-child { border-bottom: 0; }
.service-list i { color: var(--green); font-size: 23px; text-align: center; }
.service-list h3 { margin: 0 0 4px; font-size: 16px; }
.service-list p { margin: 0; color: rgba(255,255,255,.67); font-size: 12px; line-height: 1.4; }
.services-coverage { position: absolute; z-index: 2; left: 0; bottom: 30px; display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 18px; width: min(450px, 72%); padding: 20px 64px 20px 28px; color: var(--paper); background: rgba(8,22,42,.88); clip-path: polygon(0 0, 100% 0, 89% 100%, 0 100%); backdrop-filter: blur(8px); }
.services-coverage img { width: 64px; filter: brightness(0) invert(1); }
.services-coverage span { display: block; margin-bottom: 5px; color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.services-coverage strong { display: block; font-size: 16px; line-height: 1.2; }
.services-coverage p { margin: 5px 0 0; color: rgba(255,255,255,.7); font-size: 10px; line-height: 1.45; }

.clients-rail { min-width: 0; color: var(--navy); background: var(--paper); border-top: 1px solid var(--line); }
.clients-inner { height: 100%; display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: center; gap: 36px; }
.clients-heading { padding-right: 34px; border-right: 1px solid var(--line); }
.clients-heading span { display: block; margin-bottom: 5px; color: var(--green-dark); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.clients-heading strong { display: block; font-size: 12px; line-height: 1.3; }
.clients-viewport { min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.clients-track { display: flex; width: max-content; animation: clients-loop 34s linear infinite; }
.clients-set { display: flex; align-items: center; gap: 50px; padding-right: 50px; }
.clients-set img { flex: 0 0 auto; width: 126px; height: 43px; object-fit: contain; filter: grayscale(1) contrast(.96); opacity: .68; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
.clients-set img:hover { filter: grayscale(0); opacity: .95; transform: translateY(-2px); }
@keyframes clients-loop { to { transform: translateX(-50%); } }

.certifications { position: relative; height: var(--frame-height); min-height: var(--frame-height); overflow: hidden; background: var(--navy-deep); }
.certifications-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.certifications-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,42,.12), rgba(8,22,42,.7)); }
.certifications-layout { position: relative; z-index: 2; width: 100%; height: 100%; display: grid; grid-template-columns: 72% 28%; }
.certifications-panel { display: flex; align-items: center; padding: 58px clamp(140px, 11vw, 210px) 58px var(--gutter); background: rgba(247,249,249,.96); clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.certifications-content { width: min(960px, 100%); }
.certifications h2 { max-width: 760px; }
.certifications-intro { max-width: 700px; margin: 18px 0 28px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.certifications-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.certifications-grid article { grid-column: span 2; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 102px; padding: 13px 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(23,34,58,.05); }
.certifications-grid article:nth-child(4) { grid-column: 2 / span 2; }
.certifications-grid article img { flex: 0 0 94px; width: 94px; height: 62px; object-fit: contain; }
.certifications-grid span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; }
.certifications-grid h3 { margin: 0; color: var(--navy); font-size: 16px; line-height: 1; }
.certifications-contact { align-self: center; max-width: 390px; padding: 54px var(--gutter) 54px 22px; color: var(--paper); }
.certifications-contact h3 { margin: 0; font-size: clamp(30px, 2.8vw, 48px); line-height: 1.02; letter-spacing: -.04em; }
.certifications-contact > p:not(.section-kicker) { margin: 20px 0 28px; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.6; }

.site-footer { color: var(--paper); background: var(--navy-deep); }
.footer-main { min-height: 118px; display: grid; grid-template-columns: 128px 150px 1fr auto; align-items: center; gap: 30px; }
.footer-brand { width: 118px; }
.footer-tagline { padding-left: 26px; color: rgba(255,255,255,.72); border-left: 1px solid rgba(255,255,255,.3); font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; }
.footer-nav { display: flex; justify-content: center; gap: 28px; font-size: 11px; font-weight: 600; }
.footer-nav a:hover { color: var(--green); }
.footer-whatsapp { color: var(--paper); font-size: 12px; font-weight: 700; }
.footer-whatsapp i { margin-right: 8px; color: var(--green); font-size: 22px; vertical-align: middle; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 14px 18px; color: rgba(255,255,255,.48); border-top: 1px solid rgba(255,255,255,.09); font-size: 10px; }
.logos-enterprise { font-weight: 700; letter-spacing: .1em; }
.logos-enterprise span { color: var(--green); }

@media (max-width: 1080px) {
  :root { --shell: min(calc(100% - 48px), 960px); }
  .header-inner { grid-template-columns: 150px 1fr auto; gap: 22px; }
  .main-nav { gap: 20px; }
  .header-actions { gap: 7px; }
  .header-actions .button { padding-inline: 13px; }
  .hero-copy { width: min(680px, 62vw); }
  .proof-item { padding-inline: 22px; }
  .story { grid-template-columns: 55% 45%; }
  .story-copy { padding-left: 36px; padding-right: 100px; }
  .services-grid { grid-template-columns: 58% 42%; }
  .services-copy { margin-left: -8vw; padding: 30px 36px 30px calc(8vw + 46px); }
  .services h2 { font-size: clamp(34px, 4vw, 48px); }
  .clients-inner { grid-template-columns: 185px minmax(0, 1fr); gap: 24px; }
  .clients-heading { padding-right: 22px; }
  .certifications-layout { grid-template-columns: 70% 30%; }
  .certifications-panel { padding: 48px 120px 48px 36px; }
  .certifications-contact { padding-right: 36px; }
  .footer-main { grid-template-columns: 120px 1fr auto; }
  .footer-tagline { display: none; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 36px); --header-height: 84px; }
  html { scroll-snap-type: none; }
  .scroll-controller { display: none; }
  .site-header { height: var(--header-height); background: rgba(8,22,42,.88); }
  .header-inner { grid-template-columns: 135px 1fr auto; }
  .brand { width: 132px; }
  .menu-toggle { display: block; justify-self: end; }
  .header-actions .button { min-width: 46px; padding-inline: 13px; font-size: 0; }
  .header-actions .button i { font-size: 19px; }
  .main-nav { position: absolute; top: var(--header-height); right: 18px; left: 18px; display: none; align-items: stretch; padding: 16px; color: var(--navy); background: var(--paper); border-radius: 8px; box-shadow: 0 18px 45px rgba(5,14,28,.25); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 13px 12px; }
  .hero, .hero-content { height: 720px; min-height: 720px; }
  .hero-copy { width: min(600px, 90%); padding-right: 22px; }
  .hero h1, .hero h2 { font-size: clamp(42px, 8vw, 62px); }
  .hero-shade { width: 100%; background: rgba(8,22,42,.58); clip-path: none; }
  .hero-media-green { object-position: 64% center; }
  .proof-grid { grid-template-columns: 1fr; padding-block: 18px; }
  .proof-item, .proof-item:first-child, .proof-item:last-child { min-height: 136px; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .story { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .story-copy { padding: 76px 24px; clip-path: none; }
  .story-copy-inner { width: var(--shell); max-width: none; margin: 0 auto; }
  .story-visual { min-height: 480px; margin-left: 0; }
  .services { height: auto; min-height: 0; }
  .services-stage { height: auto; grid-template-rows: auto 116px; }
  .services-grid { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .services-visual { min-height: 440px; }
  .services-visual > img { width: 100%; height: 100%; margin: 0; object-fit: cover; }
  .services-coverage { width: min(430px, 86%); }
  .services-copy { margin-left: 0; padding: 68px 0; clip-path: none; }
  .clients-inner { grid-template-columns: 145px minmax(0, 1fr); gap: 18px; }
  .clients-heading { padding-right: 16px; }
  .clients-heading strong { font-size: 10px; }
  .clients-set { gap: 34px; padding-right: 34px; }
  .clients-set img { width: 110px; height: 40px; }
  .certifications { height: auto; min-height: 0; }
  .certifications-media, .certifications-shade { position: absolute; }
  .certifications-layout { height: auto; grid-template-columns: 1fr; }
  .certifications-panel { padding: 74px 24px; clip-path: none; }
  .certifications-content { width: var(--shell); margin-inline: auto; }
  .certifications-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certifications-grid article, .certifications-grid article:nth-child(4) { grid-column: auto; }
  .certifications-grid article:last-child { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
  .certifications-contact { width: var(--shell); max-width: none; margin-inline: auto; padding: 72px 0; }
  .footer-main { grid-template-columns: 120px 1fr; gap: 24px; padding-block: 32px; }
  .footer-nav { grid-column: 1 / -1; justify-content: start; flex-wrap: wrap; }
  .footer-whatsapp { justify-self: end; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 30px); }
  .header-inner { grid-template-columns: 115px 1fr auto; gap: 10px; }
  .brand { width: 112px; }
  .hero, .hero-content { min-height: 680px; }
  .hero-copy { width: 100%; padding: 36px 0; }
  .hero-copy::before { inset: 0 -20px 0 -20px; background: rgba(8,22,42,.8); }
  .hero h1, .hero h2 { font-size: clamp(37px, 11vw, 49px); }
  .hero-lead { font-size: 17px; }
  .button-large { width: 100%; padding-inline: 18px; }
  .carousel-controls { bottom: 28px; }
  .proof-item { grid-template-columns: 56px 1fr; gap: 18px; }
  .proof-item > i { font-size: 39px; }
  .story h2, .services h2, .certifications h2 { font-size: 38px; }
  .story-visual { min-height: 380px; }
  .story-visual figcaption { right: 24px; bottom: 28px; }
  .services-visual { min-height: 310px; }
  .services-coverage { bottom: 18px; grid-template-columns: 54px 1fr; gap: 12px; width: 94%; padding: 15px 42px 15px 18px; }
  .services-coverage img { width: 50px; }
  .services-coverage p { display: none; }
  .services-copy { padding-inline: 0; }
  .services-stage { grid-template-rows: auto 98px; }
  .clients-inner { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
  .clients-heading { padding-right: 10px; }
  .clients-heading strong { display: none; }
  .clients-set { gap: 24px; padding-right: 24px; }
  .clients-set img { width: 96px; height: 35px; }
  .certifications-panel { padding-block: 62px; }
  .certifications-grid { grid-template-columns: 1fr; }
  .certifications-grid article, .certifications-grid article:nth-child(4), .certifications-grid article:last-child { grid-column: auto; width: 100%; }
  .certifications-contact { padding-block: 62px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-whatsapp { justify-self: start; }
  .footer-nav { gap: 18px; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .clients-track { animation: clients-loop 34s linear infinite !important; }
  .clients-set[aria-hidden="true"] { display: flex; }
  .clients-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
}
