:root {
    --navy-950: #061522;
    --navy-900: #081b2f;
    --navy-800: #0d2944;
    --navy-700: #153b5f;
    --steel-600: #48637b;
    --steel-500: #667f94;
    --steel-300: #b9c8d4;
    --steel-200: #d8e1e8;
    --steel-100: #edf2f5;
    --paper: #f8fafb;
    --white: #fff;
    --amber: #f4a621;
    --amber-dark: #c97b00;
    --green: #16845b;
    --red: #bd2e3a;
    --text: #142434;
    --muted: #607286;
    --border: #dce5eb;
    --shadow-sm: 0 8px 24px rgba(6, 21, 34, .08);
    --shadow-lg: 0 28px 70px rgba(6, 21, 34, .18);
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 28px;
    --container: 1240px;
    --font: Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; color: var(--text); background: var(--paper); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-950); font-weight: 740; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin-bottom: 1.2rem; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.container.narrow, .narrow { max-width: 820px; }
.section { padding: clamp(72px, 9vw, 132px) 0; }
.section-dark { color: var(--white); background: var(--navy-950); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 10px 16px; color: var(--white); background: var(--navy-950); border-radius: 6px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin-bottom: 18px; color: var(--navy-700); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #d9e7f3; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 9px; font-weight: 760; line-height: 1.2; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(244, 166, 33, .55); outline-offset: 3px; }
.button-primary { color: var(--white); background: var(--navy-900); box-shadow: 0 8px 20px rgba(8, 27, 47, .15); }
.button-primary:hover { background: var(--navy-700); }
.button-accent { color: var(--navy-950); background: var(--amber); box-shadow: 0 8px 20px rgba(244, 166, 33, .2); }
.button-accent:hover { background: #ffb937; }
.button-secondary { color: var(--navy-900); background: transparent; border-color: var(--steel-300); }
.button-secondary:hover { border-color: var(--navy-700); background: var(--white); }
.button-ghost-light { color: var(--white); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); }
.button-ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }
.button-large { min-height: 56px; padding: 16px 25px; }
.button-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--navy-800); font-weight: 750; text-decoration: none; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link.centered { display: flex; justify-content: center; margin-top: 18px; text-align: center; }

/* Header */
.site-header { position: absolute; z-index: 100; top: 0; right: 0; left: 0; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.18); transition: background .2s ease, box-shadow .2s ease; }
.site-header:not(.is-sticky) { text-shadow: 0 1px 12px rgba(2, 12, 22, .34); }
body:not(.home-page) .site-header:not(.is-sticky) { color: var(--navy-950); background: rgba(255,255,255,.97); border-bottom-color: var(--border); box-shadow: 0 6px 22px rgba(6,21,34,.06); text-shadow: none; backdrop-filter: blur(16px); }
.site-header.is-sticky { position: fixed; color: var(--navy-950); background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 86px; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; color: inherit; text-decoration: none; }
.brand-mark { position: relative; display: grid; width: 36px; height: 38px; place-items: center; border: 2px solid var(--amber); border-radius: 6px 14px 6px 14px; transform: skew(-5deg); }
.brand-mark span:first-child { width: 18px; height: 3px; background: currentColor; transform: rotate(-45deg); }
.brand-mark span:last-child { position: absolute; width: 13px; height: 3px; background: var(--amber); transform: rotate(45deg) translate(6px, -6px); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { max-width: 190px; overflow: hidden; font-size: .98rem; letter-spacing: .01em; text-overflow: ellipsis; white-space: nowrap; }
.brand-copy small { margin-top: 5px; opacity: .7; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 26px; margin-left: auto; }
.primary-nav a { position: relative; font-size: .93rem; font-weight: 680; text-decoration: none; }
.primary-nav a::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 2px; background: var(--amber); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.primary-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher { position: relative; }
.language-switcher summary { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .75rem; font-weight: 800; list-style: none; opacity: .85; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher > div { position: absolute; top: calc(100% + 12px); right: 0; width: 150px; padding: 8px; color: var(--text); background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg); }
.language-switcher a { display: block; padding: 9px 11px; border-radius: 6px; text-decoration: none; }
.language-switcher a:hover, .language-switcher a[aria-current=true] { background: var(--steel-100); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 11px; background: transparent; border: 0; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

/* Hero */
.hero { position: relative; display: grid; min-height: min(900px, 96vh); align-items: center; overflow: hidden; color: var(--white); background: var(--navy-950); }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background: url('../images/hero-construction.webp') center center / cover no-repeat; }
.hero-overlay { background: linear-gradient(90deg, rgba(4,16,27,.96) 0%, rgba(5,24,41,.88) 35%, rgba(6,27,45,.5) 58%, rgba(6,21,34,.12) 100%); }
.hero::after { position: absolute; right: -10vw; bottom: -30vh; width: 38vw; height: 85vh; border: 1px solid rgba(244,166,33,.5); content: ''; transform: rotate(19deg); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 740px) auto; align-items: end; gap: 70px; padding-top: 150px; padding-bottom: 85px; }
.hero-copy h1 { max-width: 770px; margin-bottom: 26px; color: var(--white); }
.hero-intro { max-width: 670px; color: #dce6ee; font-size: 1.18rem; }
.hero-intro p { margin: 0; }
.hero-proof { display: grid; grid-template-columns: 38px 1fr; align-self: end; gap: 18px 13px; width: 245px; padding: 25px; background: rgba(7,24,41,.78); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; backdrop-filter: blur(14px); }
.hero-proof strong { color: var(--amber); font-size: .75rem; letter-spacing: .12em; }
.hero-proof span { color: #f3f7fa; font-size: .88rem; font-weight: 700; }

/* Section content */
.section-heading { margin-bottom: 48px; }
.section-heading.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 470px); align-items: end; gap: 60px; }
.section-heading h2 { max-width: 720px; margin-bottom: 0; }
.section-heading > p { margin-bottom: 3px; color: var(--muted); font-size: 1.06rem; }
.heading-action { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.heading-action h2 { margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 325px; padding: 34px; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card::after { position: absolute; right: -48px; bottom: -58px; width: 150px; height: 150px; border: 1px solid var(--steel-200); border-radius: 50%; content: ''; }
.service-card:hover { border-color: var(--steel-300); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.service-number { display: block; margin-bottom: 65px; color: var(--steel-500); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { max-width: 250px; }
.service-card h3 a { text-decoration: none; }
.service-card p { max-width: 280px; color: var(--muted); }
.icon-link { position: absolute; z-index: 1; right: 24px; bottom: 24px; display: grid; width: 46px; height: 46px; place-items: center; color: var(--white); background: var(--navy-900); border-radius: 50%; font-size: 1.2rem; text-decoration: none; }
.project-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); min-height: 620px; }
.project-feature-image { min-height: 520px; overflow: hidden; }
.project-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.project-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(50px, 7vw, 110px); background: var(--navy-900); }
.project-feature-copy h2 { max-width: 560px; }
.project-feature-copy p:not(.eyebrow) { color: var(--steel-200); }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job-card { display: flex; min-height: 330px; flex-direction: column; padding: 30px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.job-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.job-card-top { display: flex; min-height: 26px; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 30px; }
.job-category { color: var(--navy-700); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.featured-badge, .requirement-badge, .status-badge { padding: 5px 9px; color: #744600; background: #fff3d7; border-radius: 999px; font-size: .72rem; font-weight: 750; }
.job-card h3 a { text-decoration: none; }
.job-card p { color: var(--muted); }
.job-meta { display: flex; flex-wrap: wrap; gap: 11px 16px; padding: 0; margin: auto 0 28px; color: var(--steel-600); font-size: .84rem; list-style: none; }
.job-meta li { display: inline-flex; align-items: center; gap: 6px; }
.team-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(45px, 8vw, 110px); }
.team-image { position: relative; }
.team-image::after { position: absolute; right: -20px; bottom: -20px; width: 42%; height: 42%; border-right: 4px solid var(--amber); border-bottom: 4px solid var(--amber); content: ''; }
.team-image img { position: relative; z-index: 1; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px var(--radius-lg) 4px var(--radius-lg); }
.team-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.standards { padding: 90px 0; }
.standards h2 { max-width: 800px; }
.standards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 58px; background: rgba(255,255,255,.14); }
.standards-grid article { padding: 38px; background: var(--navy-950); }
.standards-grid span { color: var(--amber); font-size: .72rem; font-weight: 800; }
.standards-grid h3 { margin-top: 30px; }
.standards-grid p { color: var(--steel-300); }
.empty-state { padding: 65px 30px; text-align: center; background: var(--white); border: 1px dashed var(--steel-300); border-radius: var(--radius); }
.empty-state h2, .empty-state h3 { max-width: 650px; margin-inline: auto; }

/* Inner pages */
.page-hero { padding: 180px 0 92px; background: linear-gradient(135deg, #eef3f6 0%, #fff 72%); border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 920px; margin-bottom: 25px; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 500px); align-items: start; gap: clamp(45px, 8vw, 110px); }
.editorial-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.prose { color: #344b60; font-size: 1.08rem; line-height: 1.78; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.prose h3 { margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .6em; }
.prose a { color: var(--navy-700); }
.service-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-list-card { display: grid; grid-template-columns: 48px 1fr; gap: 26px; min-height: 260px; padding: 38px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.service-list-card > span { color: var(--amber-dark); font-size: .75rem; font-weight: 800; }
.service-list-card p { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.project-card > a { display: block; text-decoration: none; }
.project-card-image { aspect-ratio: 16 / 10; overflow: hidden; }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover img { transform: scale(1.035); }
.project-card-copy { padding: 28px; }
.project-card-copy span { color: var(--steel-600); font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.project-card-copy h2 { margin: 10px 0; font-size: 1.6rem; }
.project-card-copy p { margin: 0; color: var(--muted); }
.project-hero { position: relative; display: grid; min-height: 660px; align-items: end; overflow: hidden; color: var(--white); background: var(--navy-950); }
.project-hero > img, .project-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero-overlay { background: linear-gradient(0deg, rgba(6,21,34,.9), rgba(6,21,34,.05) 70%); }
.project-hero .container { position: relative; z-index: 1; padding-bottom: 70px; }
.project-hero h1 { max-width: 900px; color: var(--white); }
.project-detail { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 80px; }
.project-detail aside { padding: 26px; background: var(--steel-100); border-radius: var(--radius); }
.project-detail aside span, .project-detail aside strong { display: block; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: min(calc(100% - 40px), 1480px); margin: 80px auto 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }

/* Jobs */
.careers-hero { background: var(--steel-100); }
.filter-bar { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr) auto; align-items: end; gap: 14px; padding: 22px; margin-top: -95px; margin-bottom: 58px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.filter-bar label { display: block; margin-bottom: 7px; color: var(--steel-600); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.filter-bar input, .filter-bar select { width: 100%; min-height: 49px; padding: 10px 12px; color: var(--text); background: var(--paper); border: 1px solid var(--border); border-radius: 8px; }
.filter-reset { grid-column: 1 / -1; justify-self: end; color: var(--muted); font-size: .85rem; }
.results-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.results-heading h2 { margin: 0; font-size: 1.15rem; letter-spacing: 0; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 45px; }
.pagination a { display: grid; width: 43px; height: 43px; place-items: center; background: var(--white); border: 1px solid var(--border); border-radius: 7px; text-decoration: none; }
.pagination a[aria-current=page] { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); }
.job-hero { padding: 160px 0 72px; color: var(--white); background: radial-gradient(circle at 85% 30%, #1b486f 0%, var(--navy-900) 38%, var(--navy-950) 100%); }
.back-link { display: inline-block; margin-bottom: 38px; font-weight: 720; text-decoration: none; opacity: .8; }
.job-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 50px; }
.job-hero h1 { max-width: 880px; margin-bottom: 24px; color: var(--white); font-size: clamp(2.5rem, 5vw, 4.7rem); }
.job-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 25px; color: var(--steel-200); }
.job-hero-meta span:not(:last-child)::after { padding-left: 25px; color: var(--amber); content: '•'; }
.job-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: clamp(50px, 8vw, 110px); }
.job-content section + section { padding-top: 15px; border-top: 1px solid var(--border); }
.job-sidebar { position: sticky; top: 110px; padding: 30px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.job-sidebar h2 { font-size: 1.3rem; }
.job-sidebar dl { margin: 25px 0; }
.job-sidebar dl > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.job-sidebar dt { color: var(--muted); font-size: .86rem; }
.job-sidebar dd { margin: 0; font-weight: 720; text-align: right; }
.status-closed { display: inline-flex; padding: 12px 16px; color: #7a2830; background: #fde8ea; }

/* Forms */
.application-header { padding: 160px 0 72px; color: var(--white); background: var(--navy-950); }
.application-header h1 { margin-bottom: 20px; color: var(--white); font-size: clamp(2.35rem, 5vw, 4.4rem); }
.application-header p:not(.eyebrow) { max-width: 700px; color: var(--steel-200); font-size: 1.08rem; }
.application-shell { max-width: 980px; }
.form-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 26px; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.form-progress span { display: flex; min-height: 66px; align-items: center; gap: 10px; padding: 12px 16px; color: var(--muted); border-right: 1px solid var(--border); font-size: .78rem; font-weight: 750; }
.form-progress span:last-child { border-right: 0; }
.form-progress span.active, .form-progress span.complete { color: var(--navy-900); background: #fdf6e8; }
.form-progress b { display: grid; min-width: 28px; height: 28px; place-items: center; color: var(--white); background: var(--steel-500); border-radius: 50%; font-size: .7rem; }
.form-progress span.active b, .form-progress span.complete b { color: var(--navy-950); background: var(--amber); }
.application-form, .card-form { padding: clamp(26px, 5vw, 54px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-step { min-width: 0; padding: 0; margin: 0; border: 0; }
.form-step + .form-step { padding-top: 50px; margin-top: 50px; border-top: 1px solid var(--border); }
.js-enabled .form-step[hidden] { display: none; }
.form-step legend { width: 100%; margin-bottom: 35px; color: var(--navy-950); font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 760; letter-spacing: -.025em; }
.form-step legend span { margin-right: 15px; color: var(--amber-dark); font-size: .7rem; letter-spacing: .12em; vertical-align: middle; }
.required-hint { margin: -20px 0 25px; color: var(--muted); font-size: .86rem; }
.form-grid { display: grid; gap: 22px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.field.full { grid-column: 1 / -1; }
.field label, .field-label, .document-field label { display: block; margin-bottom: 8px; color: var(--navy-900); font-size: .9rem; font-weight: 720; }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea, .document-field input[type=file] { width: 100%; min-height: 52px; padding: 12px 14px; color: var(--text); background: var(--paper); border: 1px solid var(--steel-300); border-radius: 8px; transition: border-color .18s ease, box-shadow .18s ease; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(21,59,95,.1); outline: 0; }
.field small { display: block; margin-top: 6px; color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .document-field.has-error { border-color: var(--red); }
.field-error { margin: 6px 0 0; color: var(--red); font-size: .84rem; font-weight: 650; }
.choice-row { display: flex; min-height: 52px; align-items: center; gap: 25px; }
.choice-row label { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.choice-row input, .consent input, .checkbox-grid input { width: 19px; height: 19px; accent-color: var(--navy-800); }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--border); }
.step-actions.final { align-items: end; }
.security-callout { padding: 18px 20px; margin: 25px 0; background: #ecf6f2; border-left: 4px solid var(--green); border-radius: 6px; }
.security-callout strong { color: #0d6947; }
.security-callout p { margin: 4px 0 0; color: #3d6657; font-size: .88rem; }
.document-fields { display: grid; gap: 14px; }
.document-field { display: grid; grid-template-columns: 1fr minmax(260px, .7fr); gap: 22px; align-items: center; padding: 22px; background: var(--paper); border: 1px solid var(--border); border-radius: 10px; }
.document-field p { margin: 3px 0; color: var(--muted); font-size: .88rem; }
.document-field small { color: var(--steel-600); font-size: .76rem; }
.requirement-badge { margin-left: 8px; }
.document-field input[type=file] { padding: 10px; background: var(--white); }
.document-field input[type=file]::file-selector-button { padding: 8px 10px; margin-right: 10px; color: var(--navy-900); background: var(--steel-100); border: 0; border-radius: 5px; font-weight: 700; }
.file-selection { grid-column: 2; color: var(--green); font-size: .78rem; }
.interest-field { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.checkbox-grid label, .consent { display: flex; align-items: flex-start; gap: 10px; }
.consent-list { display: grid; gap: 14px; padding: 24px; margin-top: 26px; background: var(--steel-100); border-radius: 10px; }
.consent { line-height: 1.5; }
.consent a { color: var(--navy-700); }
.error-summary { padding: 22px; margin-bottom: 22px; background: #fff0f1; border: 1px solid #efb9be; border-radius: 10px; }
.error-summary h2 { margin-bottom: 9px; font-size: 1.1rem; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: #8d1723; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.success-page { min-height: 82vh; padding-top: 160px; }
.success-card { padding: clamp(35px, 7vw, 70px); text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.success-icon { display: grid; width: 70px; height: 70px; place-items: center; margin: 0 auto 25px; color: var(--white); background: var(--green); border-radius: 50%; font-size: 2rem; }
.reference-code { display: block; margin-bottom: 25px; color: var(--navy-900); font-size: 1.05rem; letter-spacing: .1em; }
.success-card h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.contact-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: start; gap: 24px; }
.contact-panel { display: flex; flex-direction: column; padding: 34px; color: var(--white); background: var(--navy-900); border-radius: var(--radius); }
.contact-panel h2 { color: var(--white); font-size: 1.5rem; }
.contact-panel a { margin: 5px 0; text-decoration: none; }
.contact-panel p { margin-top: 24px; color: var(--steel-200); }
.choice-field { display: grid; gap: 12px; padding: 0; margin: 25px 0; border: 0; }
.choice-field legend { margin-bottom: 10px; font-weight: 760; }
.choice-field label { display: flex; gap: 9px; align-items: center; padding: 12px; background: var(--paper); border: 1px solid var(--border); border-radius: 8px; }
.legal-copy { padding: 40px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }

/* Footer and utility */
.site-footer { padding: 75px 0 25px; color: var(--steel-300); background: #030e17; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; }
.brand-light { color: var(--white); }
.footer-brand p { max-width: 360px; margin-top: 22px; }
.footer-grid h2 { margin-bottom: 20px; color: var(--white); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a { display: block; margin: 9px 0; text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-grid p { color: var(--steel-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; margin-top: 55px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.whatsapp-button { position: fixed; z-index: 80; right: 24px; bottom: 24px; display: grid; width: 58px; height: 58px; place-items: center; color: var(--white); background: #168b5b; border: 4px solid var(--white); border-radius: 50%; box-shadow: var(--shadow-lg); font-size: .75rem; font-weight: 850; text-decoration: none; }
.toast { position: fixed; z-index: 500; top: 105px; right: 20px; display: flex; width: min(420px, calc(100% - 40px)); align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 18px; color: var(--white); border-radius: 9px; box-shadow: var(--shadow-lg); }
.toast-success { background: #106b49; }
.toast-error { background: #9c2530; }
.toast button { color: inherit; background: none; border: 0; font-size: 1.3rem; }
.error-page { display: grid; min-height: 100vh; place-items: center; padding: 30px; text-align: center; background: var(--steel-100); }
.error-page main { max-width: 650px; }
.error-page h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }

@media (max-width: 1080px) {
    .header-cta { display: none; }
    .primary-nav { gap: 18px; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-proof { display: none; }
    .service-grid, .job-grid { grid-template-columns: repeat(2, 1fr); }
    .project-feature { grid-template-columns: 1fr 1fr; }
    .filter-bar { grid-template-columns: repeat(2, 1fr); }
    .filter-bar .button { align-self: stretch; }
    .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
    .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 880px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .site-header { position: absolute; }
    .header-inner { min-height: 76px; }
    .menu-toggle { display: block; margin-left: auto; color: inherit; }
    .menu-toggle[aria-expanded=true] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded=true] span:nth-child(3) { opacity: 0; }
    .menu-toggle[aria-expanded=true] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
    .primary-nav { position: fixed; inset: 76px 0 0; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 28px 22px; color: var(--navy-950); background: var(--white); overflow-y: auto; }
    .primary-nav.open { display: flex; }
    .primary-nav a { padding: 15px 4px; border-bottom: 1px solid var(--border); font-size: 1.08rem; }
    .primary-nav a::after { display: none; }
    .header-actions { margin-left: 0; }
    .site-header.is-sticky .primary-nav { top: 76px; }
    .hero { min-height: 820px; }
    .hero-image { background-position: 65% center; }
    .hero-overlay { background: linear-gradient(90deg, rgba(4,16,27,.95), rgba(5,24,41,.78) 72%, rgba(6,21,34,.35)); }
    .section-heading.split, .team-grid, .editorial-grid, .job-detail-grid, .contact-grid { grid-template-columns: 1fr; }
    .project-feature { grid-template-columns: 1fr; }
    .project-feature-copy { padding: 65px 32px; }
    .project-feature-image { min-height: 420px; }
    .service-list-grid, .project-grid { grid-template-columns: 1fr; }
    .job-sidebar { position: static; }
    .job-hero-grid { grid-template-columns: 1fr; }
    .job-apply-panel { justify-self: start; }
    .form-progress span { justify-content: center; font-size: 0; }
    .form-progress b { font-size: .7rem; }
    .document-field { grid-template-columns: 1fr; }
    .file-selection { grid-column: 1; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
    h1 { font-size: clamp(2.35rem, 12vw, 3.55rem); }
    h2 { font-size: clamp(1.85rem, 9vw, 2.65rem); }
    .brand-copy small { display: none; }
    .brand-copy strong { max-width: 130px; }
    .language-switcher summary { width: 40px; height: 40px; }
    .hero { min-height: 760px; }
    .hero-content { align-items: center; padding-top: 125px; padding-bottom: 55px; }
    .hero-image { background-position: 70% center; }
    .hero-overlay { background: linear-gradient(90deg, rgba(4,16,27,.97), rgba(5,24,41,.82) 100%); }
    .hero-intro { font-size: 1.02rem; }
    .button-row { align-items: stretch; flex-direction: column; }
    .button-row .button { width: 100%; }
    .service-grid, .job-grid, .standards-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 280px; }
    .service-number { margin-bottom: 42px; }
    .section-heading.split { gap: 20px; }
    .heading-action { align-items: flex-start; flex-direction: column; }
    .project-feature-image { min-height: 310px; }
    .standards-grid { gap: 0; background: transparent; }
    .standards-grid article { border-top: 1px solid rgba(255,255,255,.12); }
    .page-hero { padding: 130px 0 65px; }
    .project-hero { min-height: 560px; }
    .project-detail { grid-template-columns: 1fr; gap: 30px; }
    .gallery { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr; padding: 16px; margin-top: -55px; }
    .filter-reset { justify-self: start; }
    .job-hero { padding: 130px 0 60px; }
    .job-hero-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
    .job-hero-meta span::after { display: none; }
    .application-header { padding: 125px 0 55px; }
    .application-section { padding-top: 34px; }
    .form-progress { position: sticky; z-index: 20; top: 8px; }
    .application-form, .card-form { padding: 23px 18px; }
    .form-grid.two { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .step-actions { align-items: stretch; flex-direction: column-reverse; }
    .step-actions .button { width: 100%; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .document-field { padding: 18px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid .footer-brand, .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .whatsapp-button { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

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