
:root {
  --navy: #253746;
  --navy-deep: #172734;
  --aqua: #00b7bd;
  --gold: #f4af23;
  --green: #43b02a;
  --paper: #f7faf8;
  --ink: #253746;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 13px max(24px, calc((100% - 1240px) / 2));
  border-bottom: 1px solid rgb(255 255 255 / 22%);
  background: rgb(23 39 52 / 92%);
  box-shadow: 0 10px 35px rgb(8 24 32 / 16%);
  backdrop-filter: blur(15px);
}
.brand {
  display: grid;
  place-items: center;
  width: 212px;
  height: 66px;
  overflow: hidden;
}
.brand img { width: 188px; height: auto; filter: brightness(0) invert(1); }
nav { display: flex; align-items: center; gap: 30px; color: white; font-size: 13px; font-weight: 650; }
nav > a:not(.nav-cta) { padding: 12px 0; border-bottom: 1px solid transparent; }
nav > a:not(.nav-cta):hover { border-color: var(--gold); }
.nav-cta { padding: 12px 20px; border: 1px solid rgb(255 255 255 / 60%); border-radius: 999px; }
.nav-cta:hover { background: white; color: var(--navy); }

.hero { position: relative; display: grid; min-height: 790px; height: 100svh; overflow: hidden; color: white; }
.hero-image { object-fit: cover; object-position: center 48%; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(12 32 40 / 88%) 0%, rgb(16 41 47 / 66%) 46%, rgb(20 44 42 / 16%) 78%),
    linear-gradient(0deg, rgb(8 27 33 / 70%) 0%, transparent 42%);
}
.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100% - 48px, 1240px);
  margin: 70px auto 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #d9eeeb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--gold); }
h1 { max-width: 830px; margin: 0; font-size: clamp(48px, 6.2vw, 86px); line-height: .99; letter-spacing: -.05em; font-weight: 720; }
h1 span { color: #8bd8d4; }
.hero-lead { max-width: 680px; margin: 30px 0 0; color: rgb(255 255 255 / 82%); font-size: clamp(17px, 1.7vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 25px; border-radius: 999px; font-size: 14px; font-weight: 700; transition: .2s ease; }
.button-primary { background: var(--gold); color: var(--navy-deep); }
.button-primary:hover { transform: translateY(-2px); background: #ffc44e; }
.button-ghost { border: 1px solid rgb(255 255 255 / 45%); }
.button-ghost:hover { background: rgb(255 255 255 / 12%); border-color: white; }
.hero-marker { position: absolute; z-index: 2; right: max(24px, calc((100% - 1240px) / 2)); bottom: 36px; display: flex; align-items: center; gap: 12px; color: rgb(255 255 255 / 68%); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-marker i { position: relative; display: block; width: 46px; height: 46px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 50%; }
.hero-marker i::after { content: "↓"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 18px; }

.section { width: min(100% - 48px, 1240px); margin: 0 auto; padding: 126px 0; }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--aqua);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.intro-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 90px; align-items: start; margin-top: 28px; }
.intro h2, .companies h2, .method h2, .impact h2, .contact h2 {
  margin: 0;
  font-size: clamp(39px, 4.8vw, 66px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.intro h2 span { color: var(--aqua); }
.intro-copy { max-width: 540px; color: #5a6871; font-size: 18px; line-height: 1.72; }
.intro-copy p { margin: 0 0 22px; }
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 82px; background: #dfe7e4; border: 1px solid #dfe7e4; }
.value-row article { min-height: 190px; padding: 30px; background: white; }
.value-row b { color: var(--gold); font-size: 12px; letter-spacing: .12em; }
.value-row h3 { margin: 37px 0 8px; font-size: 21px; }
.value-row p { margin: 0; color: #66757d; font-size: 14px; line-height: 1.55; }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: white; padding: 0 max(24px, calc((100% - 1240px) / 2)); }
.numbers div { min-height: 180px; display: flex; flex-direction: column; justify-content: center; padding: 34px; border-left: 1px solid rgb(255 255 255 / 13%); }
.numbers div:last-child { border-right: 1px solid rgb(255 255 255 / 13%); }
.numbers strong { color: #8bd8d4; font-size: 48px; line-height: 1; letter-spacing: -.04em; }
.numbers span { margin-top: 12px; color: rgb(255 255 255 / 64%); font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }

.companies { padding-top: 138px; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.section-heading h2 { margin-top: 24px; }
.section-heading > p { margin: 0 0 4px; color: #65747c; font-size: 18px; line-height: 1.7; }
.company-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 62px; }
.company-card { position: relative; min-height: 410px; overflow: hidden; padding: 34px; border: 1px solid #dce6e3; border-radius: 4px; background: white; transition: transform .25s ease, box-shadow .25s ease; }
.company-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgb(31 55 63 / 10%); }
.company-card::after { content: ""; position: absolute; right: -85px; bottom: -90px; width: 230px; height: 230px; border: 50px solid currentColor; border-radius: 50%; opacity: .055; }
.card-rde { color: #239f77; }
.card-soy { color: #e9a51a; }
.card-water { color: var(--aqua); }
.card-electro { color: #617184; }
.card-cuadro { color: var(--green); }
.card-mobility { color: #0b91c9; }
.card-security { color: #8265b8; }
.card-certifications { color: #c88917; }
.card-mobility, .card-security, .card-certifications { min-height: 470px; }
.card-top { display: flex; align-items: center; justify-content: space-between; color: #89969d; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.card-top i { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #dce5e2; border-radius: 50%; font-style: normal; font-size: 17px; transition: .2s ease; }
.company-card:hover .card-top i { color: white; background: currentColor; border-color: transparent; }
.card-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-top: 38px; border-radius: 50%; background: color-mix(in srgb, currentColor 12%, white); font-size: 29px; }
.card-tag { margin: 27px 0 7px; color: currentColor; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.company-card h3 { max-width: 450px; margin: 0; color: var(--navy); font-size: 27px; line-height: 1.15; letter-spacing: -.025em; }
.company-card > p:not(.card-tag) { max-width: 470px; margin: 16px 0 0; color: #65747c; font-size: 15px; line-height: 1.65; }
.company-card > a:not(.button) { position: absolute; z-index: 1; left: 34px; bottom: 31px; color: var(--navy); font-size: 13px; font-weight: 750; }
.company-card > a span { margin-left: 8px; color: currentColor; }
.card-connect { display: flex; flex-direction: column; justify-content: center; min-height: 410px; color: white; background: var(--navy); border-color: var(--navy); }
.card-connect::after { opacity: .08; }
.connect-mark { position: absolute; right: 34px; top: 18px; color: #68d2cf; font-size: 100px; font-weight: 200; line-height: 1; opacity: .34; }
.card-connect .card-tag { color: #8bd8d4; }
.card-connect h3 { max-width: 450px; color: white; font-size: 32px; }
.card-connect > p:not(.card-tag) { max-width: 460px; color: rgb(255 255 255 / 64%); }
.card-connect .button { position: static; align-self: flex-start; margin-top: 28px; color: var(--navy-deep); }

.method { background: var(--navy-deep); color: white; }
.method-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; width: min(100% - 48px, 1240px); margin: 0 auto; padding: 130px 0; }
.section-kicker.light { color: #8bd8d4; }
.method-copy h2 { margin-top: 24px; }
.method-copy > p { max-width: 500px; margin: 28px 0 0; color: rgb(255 255 255 / 62%); font-size: 17px; line-height: 1.72; }
.method-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 15%); }
.method-list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid rgb(255 255 255 / 15%); }
.method-list span { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.method-list h3 { margin: 0; font-size: 22px; }
.method-list p { margin: 7px 0 0; color: rgb(255 255 255 / 55%); font-size: 14px; line-height: 1.55; }

.impact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 105px; align-items: center; }
.impact-visual { position: relative; display: grid; place-items: center; min-height: 510px; overflow: hidden; background: #e7f5f2; }
.impact-ring { display: grid; place-items: center; width: 250px; height: 250px; border: 34px solid var(--aqua); border-radius: 50%; opacity: .78; }
.impact-ring span { color: var(--gold); font-size: 112px; font-weight: 200; }
.impact-visual > p { position: absolute; right: 36px; bottom: 26px; margin: 0; color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .12em; line-height: 1.45; text-align: right; text-transform: uppercase; }
.impact-copy h2 { max-width: 680px; margin-top: 24px; }
.impact-copy > p { max-width: 650px; margin: 28px 0 0; color: #65747c; font-size: 18px; line-height: 1.7; }
.impact-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.impact-points span { padding: 10px 16px; border: 1px solid #d8e4e0; border-radius: 999px; color: #5f6e76; font-size: 12px; font-weight: 700; }

.contact { color: white; background: linear-gradient(125deg, #00a8ae, #008c97); }
.contact-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; width: min(100% - 48px, 1240px); margin: 0 auto; padding: 105px 0; }
.contact .eyebrow { color: #d9fffd; }
.contact h2 { max-width: 760px; }
.contact-actions { padding-bottom: 7px; }
.contact-mail { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 15px; border-bottom: 1px solid rgb(255 255 255 / 42%); font-size: clamp(16px, 1.65vw, 22px); font-weight: 700; }
.contact-mail:hover { border-color: white; }
.contact-actions p { margin: 17px 0 0; color: rgb(255 255 255 / 65%); font-size: 13px; }

footer { display: grid; grid-template-columns: 1fr auto auto; gap: 60px; align-items: center; padding: 48px max(24px, calc((100% - 1240px) / 2)); background: var(--navy-deep); color: white; }
.footer-brand { width: 210px; }
.footer-brand img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 24px; color: rgb(255 255 255 / 66%); font-size: 12px; font-weight: 650; }
.footer-links a:hover { color: white; }
footer > p { margin: 0; color: rgb(255 255 255 / 42%); font-size: 11px; }

.welcome-screen {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at 10% 15%, rgb(0 183 189 / 14%), transparent 32%),
    radial-gradient(circle at 88% 86%, rgb(244 175 35 / 16%), transparent 35%),
    #f7faf8;
  animation: welcome-in .45s ease both;
}
.welcome-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 760px);
  text-align: center;
}
.welcome-overline {
  margin: 0 0 20px;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.welcome-logo { width: min(480px, 80vw); height: auto; }
.welcome-card h2 {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--navy);
  font-size: clamp(29px, 4vw, 45px);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.welcome-card > p:not(.welcome-overline) {
  max-width: 610px;
  margin: 18px 0 0;
  color: #63727a;
  font-size: 16px;
  line-height: 1.65;
}
.welcome-card button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 55px;
  margin-top: 30px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--navy);
  box-shadow: 0 14px 32px rgb(37 55 70 / 20%);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.welcome-card button:hover { transform: translateY(-2px); background: #314b60; }
.welcome-card button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.welcome-card button span { color: var(--gold); font-size: 18px; }
.welcome-accent { position: absolute; border-radius: 50%; opacity: .16; }
.welcome-accent-aqua { width: 310px; height: 310px; left: -165px; top: -145px; border: 58px solid var(--aqua); }
.welcome-accent-gold { width: 260px; height: 260px; right: -120px; bottom: -115px; border: 50px solid var(--gold); }

.scroll-top {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 50%;
  color: white;
  background: rgb(23 39 52 / 90%);
  box-shadow: 0 12px 28px rgb(10 27 35 / 25%);
  font-size: 19px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--aqua); }
.scroll-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@keyframes welcome-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 760px) {
  .site-header { width: 100%; padding: 10px 17px; }
  .brand { width: 150px; height: 56px; }
  .brand img { width: 146px; }
  nav > a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 10px 15px; font-size: 12px; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgb(12 32 40 / 92%) 0%, rgb(16 41 47 / 74%) 70%, rgb(20 44 42 / 35%)); }
  .hero-content { width: min(100% - 36px, 1240px); margin-top: 64px; }
  h1 { font-size: clamp(43px, 14vw, 64px); }
  .hero-lead { font-size: 17px; }
  .hero-marker { display: none; }
  .section { width: min(100% - 36px, 1240px); padding: 86px 0; }
  .intro-grid, .section-heading, .method-inner, .impact, .contact-inner { grid-template-columns: 1fr; gap: 38px; }
  .intro-copy, .section-heading > p, .impact-copy > p { font-size: 16px; }
  .value-row { grid-template-columns: 1fr; margin-top: 52px; }
  .value-row article { min-height: 160px; }
  .numbers { grid-template-columns: repeat(2, 1fr); padding: 0 18px; }
  .numbers div { min-height: 145px; padding: 24px 18px; }
  .numbers strong { font-size: 39px; }
  .company-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .company-card { min-height: 420px; padding: 28px; }
  .card-mobility, .card-security, .card-certifications { min-height: 495px; }
  .company-card > a:not(.button) { left: 28px; bottom: 28px; }
  .method-inner { width: min(100% - 36px, 1240px); padding: 88px 0; }
  .method-list li { grid-template-columns: 46px 1fr; }
  .impact-visual { min-height: 390px; }
  .impact-ring { width: 200px; height: 200px; border-width: 28px; }
  .impact-ring span { font-size: 84px; }
  .contact-inner { width: min(100% - 36px, 1240px); padding: 82px 0; }
  footer { grid-template-columns: 1fr; gap: 28px; padding: 44px 18px; }
  .footer-links { flex-wrap: wrap; }
  .footer-brand { width: 190px; }
  .welcome-screen { padding: 22px; }
  .welcome-logo { width: min(390px, 86vw); }
  .welcome-card h2 { margin-top: 22px; }
  .welcome-card > p:not(.welcome-overline) { font-size: 14px; }
  .welcome-card button { margin-top: 24px; }
  .scroll-top { right: 15px; bottom: 15px; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .section, .method-inner, .contact-inner { width: min(100% - 60px, 1240px); }
  .company-card { min-height: 445px; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { grid-column: 1 / -1; }
}

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

body.welcome-locked { overflow: hidden; }
.welcome-screen.is-leaving { opacity: 0; transition: opacity .28s ease; }

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 30px;
  color: white;
  background: var(--navy-deep);
}
.error-page main { width: min(100%, 720px); text-align: center; }
.error-page img { width: min(330px, 70vw); height: auto; filter: brightness(0) invert(1); }
.error-page .error-code { margin: 44px 0 0; color: var(--gold); font-size: 16px; font-weight: 800; letter-spacing: .24em; }
.error-page h1 { margin: 14px auto 0; font-size: clamp(44px, 8vw, 76px); }
.error-page main > p:not(.error-code) { margin: 22px auto 30px; color: rgb(255 255 255 / 68%); font-size: 17px; line-height: 1.6; }
