:root {
  --blue: #1d4573;
  --blue-dark: #123457;
  --blue-soft: #e9eff5;
  --ink: #333a42;
  --muted: #68727c;
  --line: #dfe3e6;
  --warm: #f4f3f1;
  --white: #fff;
  --shadow: 0 18px 45px rgba(22, 42, 60, .1);
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.7 "Source Sans 3", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0 0 .6em; color: var(--blue); line-height: 1.15; letter-spacing: -.015em; }
h1 { font-size: clamp(2.35rem, 5vw, 4.65rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.container.narrow { width: min(780px, calc(100% - 48px)); }
.section { padding: clamp(70px, 9vw, 116px) 0; }
.section-tint { background: var(--warm); }
.section-intro { max-width: 700px; margin-bottom: 42px; color: var(--muted); font-size: 1.08rem; }
.kicker { margin: 0 0 14px; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.accent-line { width: 68px; height: 3px; margin: 24px 0 28px; background: #74797d; }
.lead { font-size: 1.12rem; }
.richtext > :last-child { margin-bottom: 0; }
.richtext h2, .richtext h3 { margin-top: 1.5em; }
.richtext li + li { margin-top: .4em; }
.richtext .text-color-blue { color: #1d4573; }
.richtext .text-color-dark { color: #303841; }
.richtext .text-color-muted { color: #68727c; }
.richtext .text-color-red { color: #a32b2b; }
.richtext .text-color-green { color: #247344; }
.richtext .text-color-gold { color: #8a6519; }
.richtext .text-highlight-yellow { padding-inline: .08em; background: #fff0a8; }
.richtext .text-highlight-blue { padding-inline: .08em; background: #dcecf9; }
.richtext .text-highlight-green { padding-inline: .08em; background: #dff2e6; }
.richtext .text-size-10 { font-size: 10pt; }
.richtext .text-size-14 { font-size: 14pt; }
.richtext .text-size-16 { font-size: 16pt; }
.richtext .text-small { font-size: .875em; }
.richtext .text-large { font-size: 1.2em; }
.richtext .text-align-left { text-align: left; }
.richtext .text-align-center { text-align: center; }
.richtext .text-align-right { text-align: right; }
.richtext blockquote { margin: 1.5em 0; padding: .3em 0 .3em 1.25em; border-left: 3px solid var(--blue); color: var(--muted); font-size: 1.08em; }
.richtext hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid var(--blue); border-radius: 2px; color: #fff; background: var(--blue); font-weight: 700; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button-light { border-color: #fff; color: var(--blue); background: #fff; }
.button-light:hover { color: var(--blue-dark); background: #f5f7f9; }
.button-outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.button-outline-light:hover { color: var(--blue); background: #fff; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link span { margin-left: 5px; transition: margin .2s; }
.text-link:hover span { margin-left: 9px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; color: #fff; background: var(--blue); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.header-inner { width: min(1160px, calc(100% - 48px)); min-height: 104px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 245px; height: 76px; object-fit: contain; object-position: left center; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.main-nav > a, .nav-dropdown > button { padding: 13px 0; border: 0; color: var(--ink); background: transparent; font-weight: 650; text-decoration: none; cursor: pointer; }
.main-nav > a:hover, .main-nav > a.active, .nav-dropdown > button:hover { color: var(--blue); }
.main-nav > a.active { box-shadow: inset 0 -2px var(--blue); }
.nav-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% - 3px); left: -16px; display: none; min-width: 210px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.dropdown-menu a { display: block; padding: 9px 11px; border-radius: 2px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.dropdown-menu a:hover, .dropdown-menu a.active { color: var(--blue); background: var(--blue-soft); }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu, .nav-dropdown.open .dropdown-menu { display: block; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 42px; padding: 9px; border: 1px solid var(--line); background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--blue); }

.hero { position: relative; overflow: hidden; padding: clamp(66px, 9vw, 120px) 0; background: linear-gradient(115deg, #fff 0 58%, var(--warm) 58%); }
.hero::after { position: absolute; right: -100px; bottom: -160px; width: 410px; height: 300px; border: 1px solid rgba(29,69,115,.12); border-radius: 50%; content: ""; }
.hero-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(50px, 7vw, 90px); align-items: center; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-copy h1 { width: fit-content; max-width: 100%; hyphens: auto; overflow-wrap: anywhere; }
.hero-copy .richtext { max-width: 470px; color: var(--muted); }
.hero-copy .richtext a { font-weight: 700; }
.hero-actions { display: flex; margin-top: 32px; gap: 22px; align-items: center; flex-wrap: wrap; }
.hero-image { position: relative; min-width: 0; margin: 0; box-shadow: var(--shadow); }
.hero-image::before { position: absolute; inset: -14px 18px 18px -14px; z-index: -1; border: 1px solid rgba(29,69,115,.22); content: ""; }
.hero-image img { width: 100%; min-height: 430px; object-fit: cover; }

.split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(48px, 7vw, 90px); align-items: center; }
.split.image-right .split-image { order: 2; }
.split.image-right .split-copy { order: 1; }
.split-image { margin: 0; background: var(--warm); box-shadow: var(--shadow); }
.split-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-copy h1 { max-width: 100%; font-size: clamp(2.25rem,3.6vw,3.55rem); hyphens: auto; overflow-wrap: break-word; }
.split-copy .richtext { color: #4d565f; }
.contact-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0 0; gap: 18px; }
.contact-facts div { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-facts dt { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-facts dd { margin: 4px 0 0; }

.card-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px; }
.service-card { grid-column: span 2; min-width: 0; min-height: 290px; padding: 32px; border: 1px solid #e0dfdc; background: #fff; transition: transform .2s, box-shadow .2s; }
.card-grid-count-1 .service-card { grid-column: 1 / -1; }
.card-grid-remainder-1:not(.card-grid-count-1) .service-card:nth-last-child(-n+4),.card-grid-remainder-2 .service-card:nth-last-child(-n+2) { grid-column: span 3; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-number { display: block; margin-bottom: 48px; color: #8e9cad; font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.service-card p { color: var(--muted); }
.cta-panel { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; padding: clamp(36px, 5vw, 64px); color: #fff; background: var(--blue); box-shadow: var(--shadow); }
.cta-panel h2, .cta-panel .kicker { color: #fff; }
.cta-panel .richtext { color: rgba(255,255,255,.82); }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.contact-card { min-width: 0; padding: 24px; border: 1px solid #deddd9; background: #fff; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card a { display: block; overflow-wrap: anywhere; }
.contact-group { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.property-gallery { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.property-gallery article { position: relative; grid-column: span 4; min-height: 320px; overflow: hidden; background: var(--blue); }
.property-gallery article:nth-child(1), .property-gallery article:nth-child(2) { grid-column: span 6; }
.property-gallery img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .4s; }
.property-gallery article:hover img { transform: scale(1.035); }
.property-gallery article > div { position: absolute; inset: auto 0 0; padding: 50px 24px 20px; color: #fff; background: linear-gradient(transparent, rgba(12,34,57,.9)); }
.property-gallery h2 { margin: 0 0 2px; color: #fff; font-size: 1.22rem; }
.property-gallery p { margin: 0; font-size: .9rem; }
.property-group + .property-group { margin-top: 50px; }
.property-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 36px; border-top: 1px solid #d8d7d4; }
.property-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid #d8d7d4; }
.property-list strong { font-weight: 600; }
.property-list span { flex: 0 0 34%; color: var(--muted); text-align: right; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.stats-grid div { min-height: 190px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); }
.stats-grid strong { color: var(--blue); font-size: 2.8rem; line-height: 1; }
.stats-grid span { color: var(--muted); }
.download-list { display: grid; gap: 12px; margin-top: 30px; }
.download-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); color: var(--ink); background: #fff; text-decoration: none; }
.download-list a:hover { border-color: var(--blue); }
.download-list small { display: block; color: var(--muted); }
.file-icon { padding: 7px 8px; color: #fff; background: var(--blue); font-size: .72rem; font-weight: 800; }

.contact-form-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px,7vw,90px); align-items: start; }
.contact-form { padding: clamp(24px,4vw,42px); border: 1px solid #deddd9; background: #fff; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 5px; color: #4a525b; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #cdd2d6; border-radius: 2px; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(29,69,115,.14); border-color: var(--blue); }
.checkbox { display: flex; margin: 4px 0 22px; gap: 10px; align-items: flex-start; font-size: .88rem; }
.checkbox input { margin-top: 6px; }
.error-text { display: block; margin-top: 4px; color: #a02424; }
.form-error { margin-bottom: 18px; padding: 10px 12px; border-left: 3px solid #a02424; background: #fff0f0; }
.honeypot { position: absolute; left: -10000px; }
.legal-text { font-size: 1.02rem; }
.legal-text h2 { margin-top: 2em; font-size: 1.5rem; }
.flash { position: fixed; left: 50%; top: 50%; z-index: 1100; width: min(540px,calc(100% - 32px)); margin: 0; padding: 17px 22px; border-left: 5px solid var(--blue); border-radius: 3px; color: #fff; background: #243746; box-shadow: 0 18px 55px rgba(20,43,68,.3); font-weight: 700; text-align: center; transform: translate(-50%,-50%); transition: opacity .25s ease,transform .25s ease; }
.flash-success { border-color: #58ad79; }
.flash.is-hiding { opacity: 0; pointer-events: none; transform: translate(-50%,-44%); }

.site-footer { color: #dbe3ec; background: #142b44; }
.footer-inner { width: min(1160px, calc(100% - 48px)); margin: auto; padding: 64px 0 52px; display: grid; grid-template-columns: 1.5fr 1fr .8fr; gap: 60px; }
.footer-inner h2 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-brand img { width: 230px; height: 88px; padding: 8px; object-fit: contain; background: #fff; }
.footer-brand p { margin-top: 18px; }
.footer-inner a { color: #fff; }
.footer-inner nav { display: grid; gap: 7px; }
.footer-bottom { padding: 18px 24px; border-top: 1px solid rgba(255,255,255,.13); color: #aebccc; text-align: center; font-size: .88rem; }

@media (max-width: 900px) {
  .header-inner { min-height: 86px; }
  .brand img { width: 205px; height: 68px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; top: 100%; width: 100%; max-height: 0; margin: 0; padding: 0 24px; overflow: hidden; display: block; background: #fff; transition: max-height .25s, padding .25s; }
  .main-nav.open { max-height: 580px; padding-block: 14px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav > a, .nav-dropdown > button { display: block; width: 100%; padding: 10px 0; text-align: left; }
  .main-nav > a.active { box-shadow: none; }
  .dropdown-menu { position: static; display: block; padding: 0 0 4px 14px; border: 0; box-shadow: none; }
  .hero { background: #fff; }
  .hero-grid, .split, .contact-form-grid { grid-template-columns: 1fr; }
  .hero-image { max-width: 680px; }
  .hero-image img { min-height: 320px; }
  .split.image-right .split-image, .split.image-right .split-copy { order: initial; }
  .card-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .card-grid .service-card { grid-column: auto; }
  .card-grid-odd .service-card:last-child { grid-column: 1 / -1; }
  .property-gallery article, .property-gallery article:nth-child(1), .property-gallery article:nth-child(2) { grid-column: span 6; }
  .cta-panel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container, .container.narrow, .header-inner, .footer-inner { width: min(100% - 32px, 1160px); }
  .section { padding: 64px 0; }
  .hero { padding: 58px 0 68px; }
  .hero-copy h1 { max-width: 100%; }
  .hero-image img { min-height: 250px; }
  .card-grid, .contact-grid, .stats-grid, .field-row, .footer-inner { grid-template-columns: 1fr; }
  .card-grid .service-card,.card-grid-odd .service-card:last-child { grid-column: auto; }
  .service-card { min-height: auto; }
  .card-number { margin-bottom: 28px; }
  .contact-facts { grid-template-columns: 1fr; }
  .property-gallery { display: block; }
  .property-gallery article + article { margin-top: 14px; }
  .property-list { grid-template-columns: 1fr; }
  .property-list > div { display: block; }
  .property-list span { display: block; margin-top: 3px; text-align: left; }
  .footer-inner { gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
