:root {
  --navy: #002B5C;
  --navy-deep: #001C3D;
  --yellow: #FFC400;
  --gray: #7A7D80;
  --ink: #10243F;
  --muted: #5D6978;
  --line: #D9E1EA;
  --soft: #F4F7FA;
  --white: #FFFFFF;
  --container: min(1180px, calc(100vw - 48px));
  --font: "Montserrat", "Aptos", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  background: var(--white);
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--navy-deep), 0 0 0 8px var(--yellow);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 4.4vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.1rem, 3.2vw, 3.2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.18rem;
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  min-height: 76px;
  padding: 8px max(24px, calc((100vw - 1440px) / 2));
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(217, 225, 234, 0.74);
  backdrop-filter: blur(12px);
}

.brand img {
  width: clamp(210px, 16vw, 250px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 38px);
  font-size: 0.84rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 13px 0;
  color: var(--ink);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  color: var(--navy-deep);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  background: var(--yellow);
  border: 2px solid var(--yellow);
  border-radius: 0;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-cta {
  min-height: 48px;
  padding-right: 24px;
  padding-left: 24px;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-cta {
  min-width: 102px;
}

.mobile-header-actions {
  display: none;
}

.button span {
  margin-left: 16px;
  font-size: 1.05rem;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--white);
  background: transparent;
  border-color: var(--yellow);
}

.button-secondary:hover {
  color: var(--navy-deep);
  background: var(--yellow);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(680px, calc(100svh - 148px), 780px);
  overflow: hidden;
  isolation: isolate;
}

.hero-copy,
.hero-media {
  grid-area: 1 / 1;
}

.hero-copy {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  width: var(--container);
  margin: 0 auto;
  padding: 58px 0 64px;
  color: var(--white);
  animation: hero-rise 520ms ease-out both;
}

.hero-copy h1 {
  max-width: 660px;
  color: var(--white);
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--yellow);
  font-size: 0.92rem;
  font-weight: 800;
}

.brand-line::before,
.brand-line::after {
  width: 38px;
  height: 3px;
  content: "";
  background: var(--yellow);
}

.hero-text {
  max-width: 590px;
  color: var(--white);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 500;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 6px;
}

.hero-media {
  position: relative;
  z-index: 0;
  background: var(--navy-deep);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 28, 61, 0.98) 0%, rgba(0, 43, 92, 0.9) 28%, rgba(0, 43, 92, 0.48) 55%, rgba(0, 28, 61, 0.06) 82%);
  pointer-events: none;
}

.hero-map {
  display: none;
}

.intro-strip {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 44px;
  row-gap: 12px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  padding: 44px 0 26px;
}

.section-icon {
  display: flex;
  grid-row: 1 / 3;
  align-items: center;
  justify-content: center;
}

.section-isotipo {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.intro-heading h2,
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.intro-heading h2::before,
.intro-heading h2::after,
.section-heading h2::before,
.section-heading h2::after {
  width: 42px;
  height: 3px;
  flex: 0 0 auto;
  content: "";
  background: var(--yellow);
}

.intro-heading h2::after {
  width: min(120px, 12vw);
}

.intro-copy p {
  max-width: 850px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.68;
}

.section {
  padding: 74px 0;
}

.what-we-do {
  padding-top: 12px;
  padding-bottom: 68px;
  background: var(--white);
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.simple-card {
  min-height: 190px;
  padding: 20px 40px 12px;
  background: var(--white);
  border-left: 2px solid var(--yellow);
}

.simple-card:first-child {
  border-left: 0;
}

.line-mark {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--yellow);
}

.simple-card p,
.product-block li,
.process-rail p,
.trust-grid p,
.section-heading p,
.section-cta p,
.contact-copy p {
  font-size: 0.94rem;
}

.simple-card p {
  margin-top: 12px;
  color: var(--ink);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered h2 {
  justify-content: center;
}

.section-heading p {
  max-width: 800px;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.products {
  color: var(--white);
  background: var(--navy);
}

.products h2,
.products h3 {
  color: var(--white);
}

.products .section-heading p,
.products .section-cta p,
.product-block li {
  color: rgba(255, 255, 255, 0.9);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.product-block {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 22px;
  min-height: 250px;
  padding: 26px 34px 28px;
  border-left: 1px solid rgba(255, 196, 0, 0.88);
}

.product-block:first-child {
  padding-left: 0;
  border-left: 0;
}

.product-icon svg,
.mail-icon svg {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-icon .accent {
  stroke: var(--yellow);
}

.product-block h3 {
  padding-bottom: 12px;
  margin-bottom: 12px;
  color: var(--yellow);
  border-bottom: 2px solid var(--yellow);
}

.product-block ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-block li {
  position: relative;
  padding-left: 16px;
}

.product-block li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--yellow);
  border-radius: 50%;
}

.section-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  margin-top: 20px;
  border-top: 2px solid var(--yellow);
}

.section-cta p {
  max-width: 730px;
}

.process {
  padding-top: 70px;
  background: var(--white);
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-rail::before {
  position: absolute;
  top: 31px;
  right: 10%;
  left: 10%;
  height: 3px;
  content: "";
  background: var(--navy);
}

.process-rail li {
  position: relative;
  z-index: 1;
  padding: 0 18px;
  text-align: center;
}

.process-rail span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  color: var(--navy-deep);
  font-size: 1.45rem;
  font-weight: 800;
  background: var(--yellow);
  border-radius: 50%;
}

.process-rail h3 {
  margin-bottom: 12px;
}

.process-rail p {
  color: var(--ink);
  line-height: 1.62;
}

.trust-band {
  padding: 68px 0 72px;
  color: var(--white);
  background: var(--navy);
}

.trust-band h2,
.trust-band h3,
.trust-band p {
  color: var(--white);
}

.section-heading.dark p,
.trust-grid p {
  color: rgba(255, 255, 255, 0.86);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  position: relative;
  min-height: 180px;
  padding: 26px 30px;
  text-align: center;
  border-left: 1px solid var(--yellow);
}

.trust-grid article:first-child {
  border-left: 0;
}

.trust-grid article::before {
  display: block;
  width: 36px;
  height: 3px;
  margin: 0 auto 20px;
  content: "";
  background: var(--yellow);
}

.trust-grid h3 {
  padding-bottom: 10px;
  margin-bottom: 12px;
  color: var(--yellow);
  border-bottom: 1px solid var(--yellow);
}

.partners {
  padding-top: 64px;
  padding-bottom: 58px;
  background: var(--white);
}

.partners .container {
  width: min(1440px, calc(100vw - 48px));
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 24px;
  column-gap: 32px;
}

.logo-grid div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
  padding: 0;
}

.logo-grid img {
  width: 100%;
  max-width: 300px;
  height: 110px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.9;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.logo-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

@media (min-width: 721px) {
  .logo-grid div:nth-last-child(2) {
    grid-column: 2;
  }

  .logo-grid div:last-child {
    grid-column: 3;
  }
}

.contact-section {
  padding: 68px 0 60px;
  color: var(--white);
  background: var(--navy);
  border-top: 2px solid var(--yellow);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: clamp(48px, 7vw, 94px);
  align-items: center;
}

.mail-icon {
  width: 68px;
  margin-bottom: 24px;
}

.contact-copy h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--white);
}

.contact-copy h2::before,
.contact-copy h2::after {
  width: 44px;
  height: 3px;
  flex: 0 0 auto;
  content: "";
  background: var(--yellow);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.direct-email {
  margin-top: 26px;
}

.direct-email a {
  color: var(--yellow);
  font-weight: 800;
  border-bottom: 2px solid var(--yellow);
}

.quote-form {
  padding: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 550;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}

.quote-form textarea {
  min-height: 105px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 12px;
  cursor: pointer;
}

.site-footer {
  padding: 34px 0 24px;
  color: var(--navy-deep);
  background: var(--white);
  border-top: 1px solid var(--yellow);
}

.footer-inner {
  display: grid;
  grid-template-columns: 260px 1fr auto auto;
  gap: 28px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  justify-self: start;
  width: fit-content;
  padding: 0;
  background: transparent;
}

.footer-brand img {
  width: 210px;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: var(--navy-deep);
  font-size: 0.8rem;
}

.site-footer p {
  max-width: 300px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer nav a:hover,
.site-footer > .footer-inner > a:last-of-type:hover {
  color: var(--navy-deep);
  text-decoration-color: var(--yellow);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 20px;
  text-align: center;
  border-top: 1px solid var(--line);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .site-nav.is-open {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    justify-content: stretch;
    max-height: calc(100svh - 76px);
    padding: 14px 24px 24px;
    overflow-y: auto;
    background: var(--white);
    border-bottom: 2px solid var(--yellow);
    box-shadow: 0 18px 36px rgba(0, 28, 61, 0.16);
    overscroll-behavior: contain;
  }

  .site-nav.is-open a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-actions {
    display: none;
  }

  .site-nav.is-open .mobile-header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 18px;
  }

  .site-nav.is-open .mobile-header-actions .header-cta {
    display: inline-flex;
    min-width: 0;
    padding-right: 16px;
    padding-left: 16px;
    text-align: center;
    border: 2px solid var(--yellow);
  }

  .site-nav.is-open .mobile-header-actions .header-cta::after {
    display: none;
  }

  .hero-copy h1 {
    max-width: 610px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-block {
    grid-template-columns: 66px 1fr;
    gap: 16px;
    min-width: 0;
    padding-right: 24px;
    padding-left: 24px;
    overflow-wrap: anywhere;
    border-top: 1px solid rgba(255, 196, 0, 0.62);
    border-left: 0;
  }

  .product-block:first-child {
    padding-left: 0;
    border-top: 0;
  }

  .product-icon svg {
    width: 58px;
    height: 58px;
  }

  .process-rail {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 36px 24px;
  }

  .process-rail::before {
    display: none;
  }

  .process-rail li {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid article:nth-child(3) {
    border-left: 0;
  }

  .footer-inner {
    grid-template-columns: 240px 1fr auto;
  }

  .site-footer > .footer-inner > a:last-of-type {
    grid-column: 2 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100vw - 48px);
  }

  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    min-height: 68px;
    padding: 8px 24px;
  }

  .brand img {
    width: 180px;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-nav.is-open {
    top: 68px;
    max-height: calc(100svh - 68px);
    padding-right: 24px;
    padding-left: 24px;
  }

  h1 {
    font-size: clamp(2rem, 9.5vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: clamp(560px, calc(100svh - 116px), 680px);
  }

  .hero-copy {
    gap: 16px;
    padding: 24px 0 28px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-text {
    max-width: 100%;
    font-size: 0.96rem;
  }

  .brand-line {
    font-size: 0.78rem;
  }

  .brand-line::after {
    display: none;
  }

  .hero-actions,
  .section-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-media img {
    object-position: 66% center;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(0, 28, 61, 0.96), rgba(0, 43, 92, 0.72)), linear-gradient(0deg, rgba(0, 28, 61, 0.5), transparent 55%);
  }

  .intro-strip {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
    padding: 36px 0 24px;
  }

  .section-icon {
    grid-row: auto;
    justify-content: flex-start;
  }

  .section-isotipo {
    width: 104px;
    height: 104px;
  }

  .intro-heading h2,
  .section-heading h2,
  .contact-copy h2 {
    justify-content: flex-start;
    gap: 12px;
  }

  .intro-heading h2::after,
  .section-heading h2::after,
  .contact-copy h2::after {
    display: none;
  }

  .three-up,
  .product-grid,
  .process-rail,
  .trust-grid,
  .logo-grid,
  .contact-layout,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .what-we-do {
    padding-bottom: 50px;
  }

  .simple-card {
    min-height: 0;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .simple-card:first-child {
    border-top: 0;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading.centered {
    text-align: left;
  }

  .section-heading.centered h2 {
    justify-content: flex-start;
  }

  .section-heading p {
    margin-right: 0;
    margin-left: 0;
  }

  .product-block,
  .product-block:first-child {
    grid-template-columns: 60px 1fr;
    min-height: 0;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 196, 0, 0.62);
    border-left: 0;
  }

  .product-block:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .process-rail {
    gap: 0;
  }

  .process-rail::before {
    display: block;
    top: 10px;
    bottom: 10px;
    left: 31px;
    width: 3px;
    height: auto;
  }

  .process-rail li {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 20px;
    padding: 0 0 32px;
    text-align: left;
  }

  .process-rail span {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .process-rail h3 {
    align-self: end;
  }

  .process-rail p {
    grid-column: 2;
  }

  .trust-band {
    padding: 56px 0;
  }

  .trust-grid article,
  .trust-grid article:nth-child(3) {
    min-height: 0;
    padding: 26px 0;
    text-align: left;
    border-top: 1px solid rgba(255, 196, 0, 0.6);
    border-left: 0;
  }

  .trust-grid article:first-child {
    border-top: 0;
  }

  .trust-grid article::before {
    margin-right: 0;
    margin-left: 0;
  }

  .partners .container {
    width: calc(100vw - 16px);
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
    column-gap: 12px;
  }

  .logo-grid div {
    height: 104px;
    padding: 0;
  }

  .logo-grid img {
    height: 86px;
  }

  .contact-section {
    padding: 56px 0;
  }

  .contact-layout {
    gap: 38px;
  }

  .quote-form .full {
    grid-column: auto;
  }

  .site-footer {
    padding: 32px 0 24px;
  }

  .footer-inner {
    gap: 22px;
  }

  .site-footer > .footer-inner > a:last-of-type,
  .site-footer small {
    grid-column: auto;
  }

  .site-footer small {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-nav.is-open .mobile-header-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
