:root {
  --blue: #087fbe;
  --blue-bright: #149ee5;
  --blue-deep: #003f5f;
  --navy: #002d44;
  --ink: #353841;
  --muted: #6e747c;
  --light: #f4f5f8;
  --white: #fff;
  --shadow: 0 18px 48px rgba(0, 50, 76, .14);
  --shell: min(1180px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--white); font-family: "Poppins", Arial, sans-serif; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: 88px; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -5rem; padding: .75rem 1rem; color: #fff; background: #000; border-radius: .35rem; }
.skip-link:focus { top: 1rem; }

.topbar { height: 46px; position: absolute; inset: 0 0 auto; z-index: 30; color: #d9f3ff; background: linear-gradient(90deg, #0677b2, #0d98dc); font-size: .78rem; }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.topbar__contacts { display: flex; align-items: center; gap: 2.8rem; }
.topbar__contacts a { display: flex; align-items: center; gap: .55rem; transition: color .2s ease; }
.topbar__contacts a:hover { color: #fff; }
.topbar svg, .button svg, .pillar svg, .benefit svg, .footer svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials { display: flex; gap: .72rem; }
.socials a { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(0, 55, 79, .72); font: 600 .7rem/1 Arial, sans-serif; transition: transform .2s ease, background .2s ease; }
.socials a:hover { transform: translateY(-2px); background: #00344d; }

.site-header { position: absolute; z-index: 25; top: 46px; left: 0; right: 0; height: 132px; color: #fff; background: linear-gradient(180deg, rgba(0, 39, 58, .72), rgba(0, 39, 58, .12)); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { flex: 0 0 auto; width: 196px; }
.brand img, .footer__brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 0; font-size: .84rem; font-weight: 400; }
.main-nav > a, .nav-dropdown > button { color: #fff; border: 0; background: none; padding: .45rem 1rem; cursor: pointer; position: relative; white-space: nowrap; }
.main-nav > a:not(:last-child)::after, .nav-dropdown::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 18px; transform: translateY(-50%); background: rgba(20, 158, 229, .75); }
.main-nav > a:hover, .nav-dropdown > button:hover { color: #31b9ff; }
.nav-dropdown { position: relative; }
.nav-dropdown > button span { font-size: 1.1em; margin-left: .25rem; }
.nav-dropdown__menu { position: absolute; top: calc(100% + .55rem); left: .35rem; width: 220px; padding: .45rem; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.nav-dropdown__menu--services { width: 290px; max-height: 430px; overflow-y: auto; }
.nav-dropdown__menu a { display: block; color: var(--ink); padding: .65rem .7rem; font-size: .78rem; }
.nav-dropdown__menu a:hover { color: var(--blue); background: #eef8fe; }
.nav-dropdown:hover .nav-dropdown__menu, .nav-dropdown:focus-within .nav-dropdown__menu, .nav-dropdown.is-open .nav-dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; width: 44px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; color: #fff; border: 1px solid rgba(255,255,255,.45); background: rgba(0, 52, 78, .38); }
.nav-toggle span { width: 23px; height: 2px; background: currentColor; transition: .25s ease; }

.hero { min-height: 746px; position: relative; display: grid; place-items: center; isolation: isolate; color: #fff; overflow: hidden; background: #004666 url("assets/bg-head-internas1.jpg") center/cover; }
.hero__video, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { z-index: -3; object-fit: cover; }
.hero__shade { z-index: -2; background: linear-gradient(90deg, rgba(0, 43, 63, .78), rgba(0, 89, 129, .60)), linear-gradient(180deg, rgba(0, 36, 54, .18), rgba(0, 61, 88, .68)); }
.hero__content { padding-top: 120px; text-align: center; }
.hero h1 { max-width: 840px; margin: 0 auto; text-transform: uppercase; font: 600 clamp(2rem, 3.1vw, 2.75rem)/1.13 "Saira", sans-serif; letter-spacing: -.02em; }
.hero h1 span { display: block; color: var(--blue-bright); }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.65); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: #fff; transform: translateX(-50%); animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 17px); } }

.about { padding-block: 0; }
.about__grid { min-height: 608px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; }
.about__copy { padding: 70px 54px 70px 0; }
.eyebrow { margin: 0 0 1.5rem; color: #426670; text-transform: uppercase; font: 500 .78rem/1 "Saira", sans-serif; }
h2 { margin: 0; color: var(--blue); text-transform: uppercase; font: 500 clamp(2rem, 3.25vw, 3rem)/1.12 "Saira", sans-serif; letter-spacing: -.03em; }
.about__copy > p:not(.eyebrow) { max-width: 660px; margin: 1.45rem 0 2rem; font-size: .97rem; line-height: 1.45; }
.rule { height: 1px; width: 100%; margin: 1.65rem 0; background: #d6d9dc; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.25rem; color: #fff; background: linear-gradient(90deg, #087ebc, #17a0e5); border-radius: 5px; font-size: .83rem; text-transform: none; box-shadow: 0 8px 22px rgba(10, 132, 197, .2); transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 11px 26px rgba(10, 132, 197, .3); }
.about__visual { align-self: stretch; position: relative; display: flex; align-items: center; justify-content: center; }
.about__visual img { width: min(560px, 100%); position: relative; z-index: 1; }
.about__line { position: absolute; top: 0; left: 50%; width: 3px; height: 144px; background: #2f353b; box-shadow: 7px 0 0 rgba(47,53,59,.28); }

.stats { min-height: 342px; position: relative; display: grid; place-items: center; color: #fff; background: url("assets/bg-head-internas1.jpg") center 54%/cover; isolation: isolate; }
.stats__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 77, 112, .78), rgba(0, 128, 187, .69)); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.stat { min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-right: 1px solid rgba(255,255,255,.26); }
.stat:last-child { border-right: 0; }
.stat strong { color: #27aaff; font: 600 clamp(2.5rem, 4vw, 3.8rem)/1 "Saira", sans-serif; }
.stat strong small { font-size: .48em; color: #fff; font-weight: 500; text-transform: lowercase; }
.stat > span { margin-top: .45rem; font: 600 .95rem/1.2 "Saira", sans-serif; text-transform: uppercase; }

.pillars { position: relative; padding-block: 0; min-height: 155px; overflow: visible; }
.pillars__grid { width: min(1260px, calc(100% - 64px)); position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; transform: translateY(-113px); }
.pillar { min-height: 267px; padding: 2.15rem 2.4rem; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1.55rem; text-align: center; background: #fff; border-radius: 12px; box-shadow: 0 18px 42px rgba(0, 50, 76, .10); }
.pillar:nth-child(2) { color: #fff; background: linear-gradient(135deg, #247eb7, #37a6ef); }
.pillar__icon { flex: 0 0 auto; width: 70px; height: 70px; display: grid; place-items: center; color: #fff; background: #36a4ef; border-radius: 50%; }
.pillar:nth-child(2) .pillar__icon { color: #2188c9; background: #fff; }
.pillar__icon svg { width: 35px; height: 35px; }
.pillar p { max-width: 320px; margin: 0; color: #2785be; font: 400 1.15rem/1.36 "Saira", sans-serif; text-transform: uppercase; }
.pillar:nth-child(2) p { color: #fff; }
.wordmark { position: absolute; right: 1.5%; bottom: -165px; z-index: 0; color: #ececf2; font: 500 clamp(6rem, 16vw, 13rem)/1 "Saira", sans-serif; letter-spacing: -.07em; pointer-events: none; }

.solutions { position: relative; background-color: #ececf2; background-image: linear-gradient(30deg, rgba(255,255,255,.32) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.32) 87.5%), linear-gradient(150deg, rgba(255,255,255,.26) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.26) 87.5%); background-size: 320px 185px; }
.solutions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.solutions__copy h2 { max-width: 570px; }
.solutions__copy p { max-width: 540px; margin: 1.5rem 0 2rem; font-size: .95rem; }
.button svg { width: 15px; height: 15px; }
.benefits { display: grid; gap: 1.25rem; }
.benefit { min-height: 106px; display: grid; grid-template-columns: 78px 1fr; align-items: center; overflow: hidden; background: #fff; border-radius: 0 16px 16px 0; box-shadow: 0 12px 32px rgba(0, 49, 75, .10); }
.benefit > div { height: 100%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-bright)); }
.benefit svg { width: 30px; height: 30px; }
.benefit p { margin: 0; padding: 1.1rem 1.4rem; color: var(--blue); font: 500 1rem/1.35 "Saira", sans-serif; }

.certifications { padding-block: 58px 64px; overflow: hidden; }
.certifications h2 { margin-bottom: 2rem; text-align: center; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.cert-track { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.cert-row { width: max-content; display: flex; gap: clamp(2rem, 5vw, 5rem); align-items: center; animation: cert-scroll 28s linear infinite; }
.cert-row:hover { animation-play-state: paused; }
.cert-row img { width: 145px; height: 145px; object-fit: contain; flex: 0 0 auto; }
@keyframes cert-scroll { to { transform: translateX(calc(-50% - 1.25rem)); } }

.cta { min-height: 448px; position: relative; display: grid; place-items: center; color: #fff; background: url("assets/bg-cta.jpg") center/cover; isolation: isolate; }
.cta__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 49, 74, .83), rgba(0, 72, 105, .70)); }
.cta__content { max-width: 720px; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(2rem, 3.1vw, 2.8rem); }
.cta p { max-width: 670px; margin: 1rem auto 1.7rem; color: rgba(255,255,255,.88); }
.button--light { color: var(--blue-deep); background: #fff; box-shadow: none; }

.footer { color: #fff; background: #0877b1; }
.footer__main { min-height: 270px; display: grid; grid-template-columns: .9fr 1fr 1.15fr; align-items: center; gap: 4rem; }
.footer__brand { width: 170px; }
.socials--footer { margin-top: 1.4rem; justify-content: center; }
.footer__contact { display: flex; align-items: center; gap: 1.1rem; }
.contact-icon { flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center; color: #fff; background: rgba(0, 57, 83, .60); border-radius: 50%; }
.contact-icon svg { width: 25px; height: 25px; }
.footer__contact div:last-child { min-width: 0; display: flex; flex-direction: column; }
.footer__contact span { margin-bottom: .35rem; font: 400 .75rem/1.1 "Saira", sans-serif; text-transform: uppercase; }
.footer__contact a { font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.footer__contact a:hover, .footer__bottom a:hover { color: #b9ebff; }
.footer__bottom { padding: 1rem 0; color: rgba(255,255,255,.72); background: #00679b; font-size: .72rem; }
.footer__bottom .shell { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer__bottom a { color: #fff; font-weight: 600; }

.cookie-banner { position: fixed; z-index: 100; left: 1rem; bottom: 1rem; width: min(360px, calc(100% - 2rem)); padding: 1.35rem; color: #242831; background: #fff; border-radius: 5px; box-shadow: 0 18px 58px rgba(0,0,0,.27); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { color: #242831; font: 700 1rem/1.2 "Poppins", sans-serif; text-transform: none; letter-spacing: 0; }
.cookie-banner p { margin: .55rem 0 1rem; font-size: .82rem; line-height: 1.45; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.cookie-banner__actions button { padding: .62rem; border: 0; border-radius: 4px; cursor: pointer; background: #e7eef2; }
.cookie-banner__actions button:last-child { color: #fff; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); }
.cookie-banner__close { position: absolute; top: .45rem; right: .55rem; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.cookie-reopen { position: fixed; z-index: 90; left: 1rem; bottom: 1rem; width: 48px; height: 48px; color: #fff; border: 3px solid #fff; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: pointer; font-size: 1.5rem; }
.whatsapp-float { position: fixed; z-index: 95; right: 1.25rem; bottom: 1.25rem; width: 60px; height: 60px; display: grid; place-items: center; color: #fff; background: #25d366; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.whatsapp-float:focus-visible { outline: 3px solid #0a7f40; outline-offset: 3px; }
.whatsapp-float svg { width: 34px; height: 34px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal--right { transform: translateX(34px); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  :root { --shell: min(100% - 40px, 960px); }
  .topbar__contacts { gap: 1.4rem; }
  .site-header { height: 108px; }
  .brand { width: 165px; }
  .nav-toggle { display: flex; }
  .main-nav { position: absolute; top: 100%; left: 20px; right: 20px; max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; display: none; align-items: stretch; padding: .65rem; background: rgba(0, 47, 70, .98); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav > a, .nav-dropdown > button { width: 100%; text-align: left; padding: .75rem .8rem; }
  .main-nav > a::after, .nav-dropdown::after { display: none; }
  .nav-dropdown__menu { position: static; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .nav-dropdown__menu--services { max-height: min(54vh, 430px); }
  .nav-dropdown.is-open .nav-dropdown__menu { display: block; }
  .hero { min-height: 700px; }
  .solutions__grid { gap: 3rem; }
  .footer__main { gap: 2rem; }
}

@media (max-width: 900px) {
  .pillars { min-height: auto; padding: 0 16px 20px; }
  .pillars__grid { width: 100%; grid-template-columns: 1fr; gap: 14px; transform: translateY(-72px); margin-bottom: -72px; }
  .pillar { min-height: 210px; padding: 1.9rem 1.5rem; justify-content: center; gap: 1.15rem; }
  .pillar p { font-size: 1.05rem; }
  .wordmark { display: none; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); }
  .topbar { height: 40px; }
  .topbar__contacts a:first-child { display: none; }
  .topbar__contacts a { font-size: .7rem; }
  .site-header { top: 40px; height: 94px; }
  .brand { width: 146px; }
  .hero { min-height: 640px; }
  .hero__content { padding-top: 78px; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .section { padding-block: 64px; }
  .about__grid { min-height: 0; grid-template-columns: 1fr; }
  .about__copy { padding: 65px 0 15px; }
  .about__visual { min-height: 390px; }
  .about__line { height: 85px; }
  .stats { padding: 44px 0; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { min-height: 125px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.23); }
  .stat:last-child { border-bottom: 0; }
  .solutions__grid { grid-template-columns: 1fr; }
  .benefit { grid-template-columns: 66px 1fr; }
  .certifications { padding-block: 50px; }
  .cert-row img { width: 120px; height: 120px; }
  .cta { min-height: 430px; }
  .footer__main { padding-block: 54px; grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__brand { width: 160px; }
  .footer__bottom .shell { flex-direction: column; align-items: flex-start; gap: .4rem; }
}

@media (max-width: 480px) {
  .topbar__contacts span { display: none; }
  .topbar__contacts a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,57,83,.45); }
  .hero h1 { text-align: left; }
  h2 { font-size: 2rem; }
  .about__visual { min-height: 310px; }
  .whatsapp-float { right: .85rem; bottom: .85rem; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 30px; height: 30px; }
  .benefit p { padding: 1rem; font-size: .92rem; }
  .cookie-banner__actions { grid-template-columns: 1fr; }
}
