@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/barlow-condensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); }

:root {
  --blue-950: #002d52;
  --blue-900: #003e6f;
  --blue-800: #075887;
  --blue-500: #4f86ad;
  --blue-200: #9bb1c6;
  --blue-100: #dbe7f0;
  --paper: #f6f8fa;
  --white: #ffffff;
  --ink: #102432;
  --muted: #5d6f7c;
  --line: rgba(7, 63, 105, .16);
  --shadow: 0 24px 70px rgba(6, 45, 75, .15);
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #f4c95d; outline-offset: 4px; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; transform: translateY(-150%); padding: .7rem 1rem; background: var(--white); color: var(--blue-900); border-radius: .5rem; }
.skip-link:focus { transform: none; }
.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; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--white);
  background: #003e6f;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: rgba(255,255,255,.12); box-shadow: 0 8px 30px rgba(0, 35, 65, .2); }
.nav-shell { width: min(1240px, calc(100% - 40px)); min-height: 112px; margin-inline: auto; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(28px, 5vw, 74px); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: auto; height: 98px; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2.2vw, 34px); font-size: .92rem; font-weight: 600; }
.main-nav a { position: relative; padding-block: 12px; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 2px; background: var(--blue-200); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.nav-cta { padding: 12px 20px !important; color: var(--blue-950); background: var(--blue-200); border-radius: 999px; transition: transform .2s ease, background .2s ease; }
.nav-cta:hover { transform: translateY(-2px); background: var(--blue-100); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; background: transparent; padding: 12px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--white); border-radius: 2px; }

.eyebrow { margin: 0 0 18px; color: var(--blue-800); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section-heading h2 { max-width: 760px; margin: 0; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.8rem, 6vw, 5.3rem); font-weight: 600; line-height: .95; letter-spacing: -.025em; }
.section-heading.light h2 { color: var(--white); }
.section-heading.light .eyebrow { color: var(--blue-200); }
.section-heading h2::after { content: ""; display: block; width: 74px; height: 14px; margin-top: 24px; background: var(--blue-200); clip-path: polygon(9% 0, 91% 0, 100% 50%, 91% 100%, 9% 100%, 0 50%); }

.hero { position: relative; min-height: calc(100vh - 112px); overflow: hidden; padding: clamp(70px, 10vw, 128px) 0 90px; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -245px; top: 40px; background: rgba(155,177,198,.22); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hero-lines { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 0 8%, rgba(7,63,105,.04) 8% 8.1%, transparent 8.1% 92%, rgba(7,63,105,.04) 92% 92.1%, transparent 92.1%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); align-items: center; gap: clamp(46px, 7vw, 90px); }
.hero h1 { max-width: 770px; margin: 0; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: clamp(4rem, 8.4vw, 7.7rem); font-weight: 600; line-height: .82; letter-spacing: -.04em; text-transform: uppercase; }
.hero h1 span { color: var(--blue-800); }
.hero-lead { max-width: 650px; margin: 34px 0 0; font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid var(--blue-900); border-radius: 999px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue-900); }
.button-primary:hover { background: var(--blue-800); }
.button-secondary { color: var(--blue-900); }
.button-secondary:hover { color: var(--white); background: var(--blue-900); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 52px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.hero-facts div { min-width: 0; }
.hero-facts dt { color: var(--blue-900); font-family: "Barlow Condensed", sans-serif; font-size: 1.6rem; font-weight: 700; line-height: 1; }
.hero-facts dd { margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
.hero-visual { position: relative; padding-bottom: 78px; }
.hero-image-wrap { position: relative; overflow: hidden; padding-block: 74px; border-radius: 110px 18px 18px 18px; box-shadow: var(--shadow); background: var(--blue-900); }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.25); border-radius: inherit; }
.hero-image-wrap img { width: 100%; height: auto; aspect-ratio: 492 / 355; object-fit: cover; }
.hero-image-wrap img.hero-logo-wide { aspect-ratio: 715 / 355; object-fit: cover; }
.hero-badge { position: absolute; right: 18px; bottom: 0; width: 180px; padding: 24px 22px; color: var(--white); background: var(--blue-800); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-badge span, .hero-badge small { display: block; }
.hero-badge span { color: var(--blue-200); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-badge strong { display: block; margin-block: 6px; font-family: "Barlow Condensed", sans-serif; font-size: 2.25rem; line-height: 1; }
.hero-badge strong [data-count] { display: inline; color: inherit; font: inherit; letter-spacing: inherit; text-transform: none; }
.hero-badge small { line-height: 1.35; opacity: .85; }

.intro { padding: 140px 0; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(46px, 9vw, 126px); }
.intro-body > p { max-width: 720px; color: var(--muted); font-size: 1.04rem; }
.intro-body .intro-lead { margin-top: 0; color: var(--ink); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.45; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px; }
.principles div { padding-top: 20px; border-top: 2px solid var(--blue-200); }
.principles span { display: block; margin-bottom: 24px; color: var(--blue-500); font-family: "Barlow Condensed", sans-serif; font-size: 1.15rem; }
.principles strong { color: var(--blue-950); font-size: 1rem; }
.principles p { margin: 8px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }

.services { position: relative; padding: 140px 0; overflow: hidden; color: var(--white); background: var(--blue-950); }
.services::after { content: ""; position: absolute; width: 430px; height: 430px; right: -170px; bottom: -165px; background: rgba(155,177,198,.18); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.service-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 70px; background: rgba(255,255,255,.18); }
.service-card { position: relative; min-height: 380px; padding: 34px 28px; background: var(--blue-950); transition: background .25s ease, transform .25s ease; }
.service-card:hover { z-index: 2; background: var(--blue-900); transform: translateY(-8px); }
.service-number { color: var(--blue-200); font-family: "Barlow Condensed", sans-serif; font-size: 1rem; }
.service-card svg { width: 58px; height: 58px; margin: 70px 0 36px; fill: none; stroke: var(--blue-200); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 16px; font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; font-weight: 600; text-transform: uppercase; }
.service-card p { margin: 0; color: rgba(255,255,255,.7); font-size: .9rem; }

.projects { padding: 140px 0; }
.projects-head { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 50px; }
.projects-head > p { max-width: 460px; margin: 0 0 8px; color: var(--muted); }
.project-list { margin-top: 68px; border-top: 1px solid var(--line); }
.project-card { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 34px; padding: 32px 6px; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.project-card:hover { padding-inline: 22px; background: var(--white); }
.project-index { color: var(--blue-200); font-family: "Barlow Condensed", sans-serif; font-size: 3.4rem; line-height: 1; }
.project-meta { margin: 0 0 7px; color: var(--blue-500); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-content h3 { margin: 0; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 600; line-height: 1.05; }
.project-content p:last-child { max-width: 760px; margin: 11px 0 0; color: var(--muted); font-size: .9rem; }
.project-type { padding: 8px 15px; color: var(--blue-900); border: 1px solid var(--blue-200); border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }

.contact { position: relative; overflow: hidden; padding: 120px 0; color: var(--white); background: var(--blue-800); }
.contact-shape { position: absolute; width: 510px; height: 440px; right: -120px; top: -90px; background: var(--blue-200); clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%); opacity: .12; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 90px; }
.contact .eyebrow { color: var(--blue-200); }
.contact h2 { max-width: 760px; margin: 0; font-family: "Barlow Condensed", sans-serif; font-size: clamp(3.5rem, 7vw, 6.8rem); font-weight: 600; line-height: .9; letter-spacing: -.03em; text-transform: uppercase; }
.contact-copy > p:not(.eyebrow) { max-width: 640px; margin: 28px 0 34px; color: rgba(255,255,255,.78); font-size: 1.06rem; }
.button-white { color: var(--blue-900); background: var(--white); border-color: var(--white); }
.contact-details { display: grid; gap: 20px; margin: 0; font-style: normal; }
.contact-details div { padding: 0 0 20px; border-bottom: 1px solid rgba(255,255,255,.24); }
.contact-details span, .contact-details strong { display: block; }
.contact-details span { color: var(--blue-200); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-details strong { margin-top: 5px; font-size: 1rem; }

/* Shared multipage structure */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 11vw, 150px) 0 clamp(74px, 9vw, 120px);
  color: var(--white);
  background: var(--blue-900);
}
.page-hero::after { content: ""; position: absolute; width: 470px; height: 470px; right: -175px; top: -185px; background: rgba(155,177,198,.28); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--blue-200); }
.page-hero h1 { max-width: 920px; margin: 0; font-family: "Barlow Condensed", sans-serif; font-size: clamp(4rem, 9vw, 8rem); font-weight: 600; line-height: .84; letter-spacing: -.035em; text-transform: uppercase; }
.page-lead { max-width: 760px; margin: 30px 0 0; color: rgba(255,255,255,.77); font-size: clamp(1.06rem, 1.8vw, 1.3rem); }
.page-section { padding: 130px 0; background: var(--white); }
.split-feature { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(48px, 9vw, 126px); align-items: start; }
.feature-copy > p { max-width: 720px; margin: 0 0 20px; color: var(--muted); }
.feature-copy .lead-copy { color: var(--ink); font-size: clamp(1.28rem, 2vw, 1.7rem); line-height: 1.42; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--blue-900); font-weight: 750; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }

/* Home summaries */
.home-company { padding: 120px 0; background: linear-gradient(90deg, var(--blue-100) 0 31%, var(--white) 31%); }
.home-company .feature-copy { padding-left: 32px; border-left: 5px solid var(--blue-200); }
.home-company-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-height: 510px; }
.home-company-copy > p { max-width: 620px; margin-bottom: 34px; font-size: 1.05rem; line-height: 1.65; }
.company-areas { display: grid; gap: 10px; width: min(100%, 650px); }
.company-areas div { position: relative; display: grid; grid-template-columns: 48px minmax(130px, .62fr) minmax(190px, 1fr); align-items: center; min-height: 76px; padding: 12px 54px 12px 20px; color: var(--blue-950); background: var(--blue-100); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); }
.company-areas div:nth-child(even) { margin-left: 34px; background: #e7eff5; }
.company-areas span { color: var(--blue-500); font-family: "Barlow Condensed", sans-serif; font-size: 1.08rem; font-weight: 700; }
.company-areas strong { font-family: "Barlow Condensed", sans-serif; font-size: clamp(1.18rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1; text-transform: uppercase; }
.company-areas small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.home-company-copy .text-link { margin-top: 30px; }
.home-services { padding: 120px 0; color: var(--white); background: var(--blue-950); }
.home-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 64px; background: rgba(255,255,255,.17); }
.home-service-card { min-height: 270px; padding: 32px 28px; background: var(--blue-950); transition: transform .22s ease, background .22s ease; }
.home-service-card:hover { z-index: 1; transform: translateY(-6px); background: var(--blue-900); }
.home-service-card span { color: var(--blue-200); font-family: "Barlow Condensed", sans-serif; font-size: 1.1rem; }
.home-service-card h3 { margin: 72px 0 14px; font-family: "Barlow Condensed", sans-serif; font-size: 1.75rem; font-weight: 600; line-height: 1; text-transform: uppercase; }
.home-service-card p { margin: 0; color: rgba(255,255,255,.68); font-size: .9rem; }
.home-projects { padding: 120px 0; }
.compact-list { margin-top: 52px; }
.contact-compact { padding-block: 95px; }
.contact-action { align-self: center; justify-self: end; }

/* Inner pages */
.principles-section { padding: 120px 0; color: var(--white); background: var(--blue-950); }
.principles-wide { margin-top: 62px; }
.principles-section .principles div { padding: 24px; background: rgba(155,177,198,.12); border-color: var(--blue-200); }
.principles-section .principles strong { color: var(--white); }
.principles-section .principles p { color: rgba(255,255,255,.66); }
.page-cta { padding: 74px 0; background: var(--blue-200); }
.page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 38px; }
.page-cta h2 { max-width: 720px; margin: 0; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 600; line-height: .95; }
.service-page { padding-top: 120px; }
.service-page .service-card h2 { margin: 0 0 16px; font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; font-weight: 600; line-height: 1.05; text-transform: uppercase; }
.activity-focus { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 42px; margin-top: 52px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.activity-focus .eyebrow { margin: 0; color: var(--blue-200); }
.activity-focus > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.activity-focus span { padding: 8px 15px; color: var(--white); border: 1px solid rgba(155,177,198,.55); border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 120px); align-items: start; }
.process-list { display: grid; gap: 0; counter-reset: process; }
.process-list p { position: relative; margin: 0; padding: 22px 0 22px 58px; color: var(--muted); border-bottom: 1px solid var(--line); counter-increment: process; }
.process-list p::before { content: "0" counter(process); position: absolute; left: 0; color: var(--blue-500); font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; font-weight: 700; }
.projects-page { padding-top: 100px; }
.project-content h2 { margin: 0; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 600; line-height: 1.05; }
.contact-page { padding: 120px 0; background: var(--white); }
.contact-page-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(56px, 9vw, 120px); align-items: start; }
.contact-info { display: grid; gap: 0; }
.contact-info-row { padding: 0 0 25px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.contact-info-row span, .contact-info-row strong { display: block; }
.contact-info-row span { color: var(--blue-500); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-info-row strong { margin-top: 6px; color: var(--blue-950); font-size: 1.06rem; }
.contact-info-row a { display: inline-block; margin-top: 6px; color: var(--blue-900); font-size: 1.06rem; font-weight: 700; }
.contact-info-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-form-section { position: relative; overflow: hidden; margin-top: 104px; padding: 104px 0; background: var(--blue-100); }
.contact-form-shape { position: absolute; width: 420px; height: 420px; left: -180px; bottom: -210px; background: rgba(0,62,111,.08); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.contact-form-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(54px, 8vw, 110px); }
.contact-form-intro { position: sticky; top: 150px; }
.contact-form-intro h2 { max-width: 520px; margin: 0; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 600; line-height: .94; }
.contact-form-intro > p:last-child { max-width: 500px; margin: 28px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.contact-form-shell { padding: clamp(28px, 5vw, 52px); background: var(--white); border: 1px solid var(--blue-200); border-radius: var(--radius); box-shadow: 0 22px 60px rgba(0,45,82,.08); }
.contact-form { display: grid; gap: 21px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: var(--blue-950); font-size: .82rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 49px; padding: 13px 15px; color: var(--ink); background: #f8fafc; border: 1px solid var(--line); border-radius: .55rem; font: inherit; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form select { cursor: pointer; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; background: var(--white); border-color: var(--blue-800); box-shadow: 0 0 0 3px rgba(7,88,135,.13); }
.privacy-check { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; gap: 12px !important; color: var(--muted) !important; font-weight: 500 !important; line-height: 1.55; }
.privacy-check input { width: 19px; min-height: 0; height: 19px; margin: 2px 0 0; padding: 0; accent-color: var(--blue-900); }
.privacy-check a { color: var(--blue-800); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.form-submit .button { flex: 0 0 auto; cursor: pointer; font: inherit; }
.form-submit p { max-width: 300px; margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.form-status { min-height: 1.3em; margin: -5px 0 0; color: var(--blue-800); font-size: .8rem; font-weight: 700; }
.form-status.success { padding: 13px 15px; color: #145c37; background: #eaf6ef; border-left: 4px solid #2c8a58; }
.form-status.error { padding: 13px 15px; color: #8b2e2e; background: #fff0f0; border-left: 4px solid #b74343; }
.privacy-summary { padding: 16px 18px; color: var(--muted); background: var(--blue-100); border-left: 4px solid var(--blue-200); font-size: .76rem; line-height: 1.55; }
.privacy-summary p { margin: 0; }
.privacy-summary p + p { margin-top: 5px; }
.privacy-summary strong { color: var(--blue-950); }
.privacy-summary a { color: var(--blue-800); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.error-page { display: grid; min-height: calc(100vh - 112px); place-items: center; padding: 90px 0; text-align: center; background: linear-gradient(120deg, var(--white), var(--blue-100)); }
.error-page .eyebrow { margin-bottom: 14px; }
.error-code { margin: 0; color: var(--blue-200); font-family: "Barlow Condensed", sans-serif; font-size: clamp(7rem, 20vw, 15rem); font-weight: 700; line-height: .72; }
.error-page h1 { margin: 26px 0 18px; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 600; line-height: .95; }
.error-page p:not(.eyebrow):not(.error-code) { max-width: 620px; margin: 0 auto 30px; color: var(--muted); }
.error-road-page { display: block; min-height: auto; padding: 0; text-align: left; background: var(--white); }
.error-road-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); min-height: 660px; padding-inline: 0; }
.error-road-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px clamp(38px, 4vw, 58px); }
.error-road-copy .eyebrow { margin: 0 0 20px; color: var(--blue-800); }
.error-road-copy h1 { max-width: 630px; margin: 0; font-size: clamp(3.7rem, 5.6vw, 6rem); }
.error-road-page .error-road-copy > p:not(.eyebrow) { max-width: 530px; margin: 28px 0 0; color: var(--muted); font-size: 1.05rem; }
.error-road-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.error-road-actions .button-secondary { border-color: var(--blue-950); color: var(--blue-950); }
.error-road-scene { position: relative; min-height: 660px; overflow: hidden; background-color: var(--blue-100); background-image: linear-gradient(180deg, rgba(0,40,72,.02), rgba(0,40,72,.16)), url("assets/carretera-sin-asfaltar-404.webp"); background-position: 58% center; background-size: cover; }
.error-road-scene::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(0,40,72,.16), transparent 34%); pointer-events: none; }
.error-road-label { position: absolute; top: 46px; right: 0; left: 0; z-index: 2; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 11px; min-height: 122px; padding: 18px 30px; color: var(--white); text-align: center; background: rgba(0,40,72,.82); border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(5px); }
.error-road-label strong { font-family: "Barlow Condensed", sans-serif; font-size: 6.6rem; font-weight: 700; line-height: .78; }
.error-road-label small { font-size: .72rem; font-weight: 800; line-height: 1.35; letter-spacing: .14em; text-align: center; }
.direct-contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(54px, 8vw, 112px); align-items: start; }
.direct-contact-copy h2 { max-width: 540px; margin: 0; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 600; line-height: .94; }
.direct-contact-copy > p:last-child { max-width: 540px; margin: 28px 0 0; color: var(--muted); font-size: 1.05rem; }
.contact-options { display: grid; gap: 18px; }
.contact-option { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 24px; padding: 28px; background: var(--blue-100); border: 1px solid var(--blue-200); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.contact-option:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow); }
.contact-option-icon { display: grid; place-items: center; width: 72px; height: 80px; color: var(--white); background: var(--blue-900); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.contact-option-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-option small, .contact-option strong, .contact-option em { display: block; }
.contact-option small { color: var(--blue-500); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-option strong { margin-top: 5px; color: var(--blue-950); font-family: "Barlow Condensed", sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.05; overflow-wrap: anywhere; }
.contact-option em { margin-top: 9px; color: var(--blue-800); font-size: .82rem; font-style: normal; font-weight: 700; }
.contact-guidance { position: relative; overflow: hidden; margin-top: 76px; padding: 38px clamp(30px, 5vw, 62px); background: var(--blue-900); color: var(--white); }
.contact-guidance::after { content: ""; position: absolute; width: 230px; height: 230px; right: -80px; top: -95px; background: rgba(155,177,198,.2); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.contact-guidance .eyebrow { position: relative; z-index: 1; margin-bottom: 10px; color: var(--blue-200); }
.contact-guidance > p:last-child { position: relative; z-index: 1; max-width: 790px; margin: 0; font-size: clamp(1.05rem, 2vw, 1.35rem); }

/* Lighter content surfaces: dark blue stays concentrated in header and footer */
.page-hero {
  color: var(--blue-950);
  background: linear-gradient(120deg, var(--white) 0%, var(--blue-100) 100%);
  box-shadow: inset 0 -8px 0 var(--blue-200);
}
.page-hero::after { border-color: rgba(0,62,111,.08); }
.page-hero .eyebrow { color: var(--blue-800); }
.page-lead { color: var(--muted); }

.home-services { color: var(--ink); background: var(--blue-100); }
.home-services .section-heading.light h2 { color: var(--blue-950); }
.home-services .section-heading.light .eyebrow { color: var(--blue-800); }
.home-service-grid { background: var(--blue-200); }
.home-service-card { color: var(--ink); background: var(--white); }
.home-service-card:hover { background: #edf4f8; }
.home-service-card span { color: var(--blue-500); }
.home-service-card h3 { color: var(--blue-950); }
.home-service-card p { color: var(--muted); }

.service-page { color: var(--ink); background: #eef4f8; }
.service-page::after { border-color: rgba(0,62,111,.06); }
.service-page .service-grid { background: var(--blue-200); }
.service-page .service-card { color: var(--ink); background: var(--white); }
.service-page .service-card:hover { background: var(--blue-100); }
.service-page .service-number { color: var(--blue-500); }
.service-page .service-card h2 { color: var(--blue-950); }
.service-page .service-card p { color: var(--muted); }
.service-page .activity-focus { padding-inline: 24px; background: var(--white); border-color: var(--blue-200); }
.service-page .activity-focus .eyebrow { color: var(--blue-800); }
.service-page .activity-focus span { color: var(--blue-900); border-color: var(--blue-200); }

.principles-section { color: var(--ink); background: var(--blue-100); }
.principles-section .section-heading.light h2 { color: var(--blue-950); }
.principles-section .section-heading.light .eyebrow { color: var(--blue-800); }
.principles-section .principles div { background: var(--white); }
.principles-section .principles strong { color: var(--blue-950); }
.principles-section .principles p { color: var(--muted); }

.contact-compact { color: var(--blue-950); background: var(--blue-200); }
.contact-compact .contact-shape { background: var(--blue-900); opacity: .07; }
.contact-compact .eyebrow { color: var(--blue-800); }
.contact-compact h2 { color: var(--white); }
.contact-compact .contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-compact .button-white { color: var(--white); background: var(--blue-900); border-color: var(--blue-900); }
.contact-compact .button-white:hover { background: var(--blue-800); }

.site-footer { position: relative; overflow: hidden; padding: 43px 0; color: rgba(255,255,255,.72); background: #003e6f; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 126px minmax(300px, 1fr) auto; align-items: center; gap: 24px 42px; padding-right: 150px; font-size: .78rem; }
.footer-grid::before { content: ""; grid-column: 2 / -1; grid-row: 2; width: 100%; height: 1px; background: rgba(255,255,255,.18); }
.footer-grid > .brand-footer { grid-column: 1; grid-row: 1 / 4; align-self: center; justify-self: start; width: 126px; height: 126px; }
.brand-footer .brand-logo { width: 126px; height: 126px; object-fit: contain; }
.footer-grid p { margin: 0; }
.footer-grid > p:first-of-type { grid-column: 2; grid-row: 1; max-width: 390px; font-size: .84rem; line-height: 1.65; }
.footer-grid > p:last-of-type { grid-column: 2; grid-row: 3; color: rgba(255,255,255,.58); font-size: .74rem; line-height: 1.5; }
.footer-machine { position: absolute; z-index: 0; top: 50%; right: max(18px, calc((100% - 1220px) / 2)); bottom: auto; width: 126px; height: 126px; object-fit: contain; opacity: .78; pointer-events: none; transform: translateY(-50%); }
.footer-socials { grid-column: 3; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; justify-self: end; gap: 10px; }
.footer-social { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-weight: 700; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.footer-social:hover { color: var(--blue-200); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.34); }
.footer-social svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-social .social-dot { fill: currentColor; stroke: none; }
.footer-legal { grid-column: 3; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; text-align: right; }
.footer-legal a { color: var(--white); transition: color .2s ease; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--blue-200); }
.footer-legal span { color: rgba(255,255,255,.38); }

.legal-page { padding: 88px 0 120px; background: #f5f8fa; }
.legal-shell { display: grid; grid-template-columns: minmax(0, 780px); gap: 38px; }
.legal-section { padding: 34px 38px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 42px rgba(0,40,72,.07); }
.legal-section h2 { margin-bottom: 14px; color: var(--blue-950); font-size: clamp(1.6rem, 3vw, 2.15rem); }
.legal-section p, .legal-section li { color: var(--muted); line-height: 1.75; }
.legal-section p + p { margin-top: 12px; }
.legal-section ul { display: grid; gap: 10px; margin: 14px 0 0; padding-left: 20px; }
.legal-section a { color: var(--blue-800); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (max-width: 1120px) {
  .menu-toggle { display: none; }
  .nav-shell { gap: 20px; }
  .brand-logo { height: 88px; }
  .main-nav { position: static; display: flex; gap: clamp(10px, 1.5vw, 18px); padding: 0; color: var(--white); background: transparent; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; font-size: clamp(.7rem, 1.25vw, .86rem); }
  .main-nav a { padding: 11px 4px; text-align: center; }
  .nav-cta { margin-top: 0; padding-inline: 14px !important; color: var(--blue-950); background: var(--blue-200); }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-visual { width: min(680px, 92%); margin: 10px auto 0; }
  .intro-grid, .projects-head, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-details { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 126px minmax(280px, 1fr); gap: 20px 38px; padding-right: 140px; }
  .footer-grid > .brand-footer { grid-column: 1; grid-row: 1 / 6; }
  .footer-grid > p:first-of-type { grid-column: 2; grid-row: 1; }
  .footer-socials { grid-column: 2; grid-row: 2; justify-self: start; justify-content: flex-start; }
  .footer-grid::before { grid-column: 2; grid-row: 3; }
  .footer-grid > p:last-of-type { grid-column: 2; grid-row: 4; }
  .footer-legal { grid-column: 2; grid-row: 5; justify-content: flex-start; text-align: left; }
  .split-feature, .process-grid, .contact-page-grid, .direct-contact-grid, .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-intro { position: static; }
  .home-company-copy { min-height: auto; }
  .company-areas { max-width: 760px; }
  .company-areas div:nth-child(even) { margin-left: 0; }
  .home-service-grid { grid-template-columns: repeat(2, 1fr); }
  .error-road-grid { min-height: 600px; }
  .error-road-scene { min-height: 600px; }
  .error-road-copy { padding-inline: clamp(32px, 4vw, 54px); }
  .error-road-sign { right: 34px; }
}

@media (max-width: 660px) {
  .container, .nav-shell { width: min(100% - 28px, 1160px); }
  .nav-shell { min-height: 86px; grid-template-columns: auto auto; justify-content: space-between; gap: 20px; }
  .brand-logo { width: auto; height: 72px; }
  .menu-toggle { display: block; justify-self: end; }
  .main-nav { position: absolute; top: 100%; left: 14px; right: 14px; display: grid; gap: 0; padding: 14px; color: var(--blue-950); background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease; font-size: .83rem; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 11px 10px; text-align: left; }
  .nav-cta { margin-top: 6px; padding-inline: 14px !important; text-align: center !important; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(3.5rem, 19vw, 5rem); }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { display: grid; grid-template-columns: 145px 1fr; align-items: baseline; }
  .hero-facts dt { white-space: nowrap; }
  .hero-visual { padding-bottom: 78px; }
  .hero-badge { right: 8px; bottom: 0; width: 164px; }
  .intro, .services, .projects { padding: 100px 0; }
  .home-company, .home-services, .home-projects, .page-section, .principles-section, .contact-page { padding: 88px 0; }
  .company-areas { grid-template-columns: 1fr; }
  .company-areas div { grid-template-columns: 42px 1fr; min-height: 78px; padding-right: 42px; }
  .company-areas small { grid-column: 2; margin-top: 5px; }
  .principles, .service-grid, .contact-details { grid-template-columns: 1fr; }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-service-card { min-height: 230px; }
  .home-service-card h3 { margin-top: 46px; }
  .activity-focus { grid-template-columns: 1fr; gap: 18px; }
  .activity-focus > div { justify-content: flex-start; }
  .service-card { min-height: 310px; }
  .service-card svg { margin-top: 44px; }
  .project-card { grid-template-columns: 54px 1fr; gap: 16px; }
  .project-index { font-size: 2.5rem; }
  .project-type { grid-column: 2; justify-self: start; }
  .contact { padding: 95px 0; }
  .page-hero { padding: 74px 0 72px; }
  .page-cta-inner { align-items: flex-start; flex-direction: column; }
  .contact-action { justify-self: start; }
  .site-footer { padding: 46px 0 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; padding-right: 0; padding-top: 112px; text-align: center; }
  .footer-grid > .brand-footer { position: absolute; top: -112px; left: 0; grid-column: 1; grid-row: 1; justify-self: start; width: 92px; height: 92px; }
  .brand-footer .brand-logo { width: 92px; height: 92px; }
  .footer-grid > p:first-of-type { grid-column: 1; grid-row: 2; justify-self: center; max-width: 285px; }
  .footer-socials { grid-column: 1; grid-row: 3; justify-self: center; justify-content: center; }
  .footer-grid::before { grid-column: 1; grid-row: 4; margin-top: 8px; }
  .footer-grid > p:last-of-type { grid-column: 1; grid-row: 5; justify-self: center; }
  .footer-legal { grid-column: 1; grid-row: 6; justify-content: center; gap: 9px; text-align: center; }
  .footer-legal span { display: none; }
  .footer-legal a { width: 100%; }
  .footer-machine { top: 46px; right: 14px; bottom: auto; width: 92px; height: 92px; opacity: .72; transform: none; }
  .contact-option { grid-template-columns: 58px minmax(0, 1fr); gap: 17px; padding: 22px 18px; }
  .contact-option-icon { width: 58px; height: 66px; }
  .contact-guidance { margin-top: 48px; padding: 30px 24px; }
  .contact-form-section { margin-top: 72px; padding: 82px 0; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { align-items: flex-start; flex-direction: column; gap: 12px; }
  .form-submit .button { width: 100%; }
  .legal-page { padding: 64px 0 88px; }
  .legal-section { padding: 27px 22px; }
  .error-road-page { overflow: hidden; }
  .error-road-grid { grid-template-columns: 1fr; width: 100%; min-height: 0; }
  .error-road-copy { padding: 64px 28px 54px; }
  .error-road-copy h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .error-road-page .error-road-copy > p:not(.eyebrow) { font-size: 1rem; }
  .error-road-actions { width: 100%; }
  .error-road-actions .button { flex: 1 1 185px; justify-content: center; }
  .error-road-scene { min-height: 410px; background-position: 61% center; }
  .error-road-label { top: 24px; min-height: 94px; gap: 8px; padding: 14px 22px; }
  .error-road-label strong { font-size: 5rem; }
  .error-road-label small { font-size: .62rem; }
}

@media (max-width: 520px) {
  .home-company { background: var(--blue-100); }
  .home-company .feature-copy { padding-left: 20px; }
}

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