:root {
  --navy-900: #0d2238;
  --navy-800: #14314f;
  --navy-700: #1d4468;
  --gold-500: #c9a24a;
  --gold-600: #a9822c;
  --gold-100: #f6eedb;
  --ink: #1c2530;
  --muted: #4d5a68;
  --line: #dfe4ea;
  --surface: #ffffff;
  --bg: #f5f7fa;
  --radius-sm: 8px;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(13, 34, 56, 0.08);
  --shadow: 0 10px 30px rgba(13, 34, 56, 0.1);
  --max: 1200px;
  --pad: clamp(1rem, 4vw, 2rem);
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --ease: 200ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
}

h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
}

h3 {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-600);
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 0;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
  font-size: clamp(0.95rem, 0.85rem + 0.6vw, 1.25rem);
}

.brand-sub {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--navy-900);
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.primary-nav {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.primary-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem var(--pad) 1rem;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: background var(--ease), color var(--ease);
}

.nav-list a:hover {
  background: var(--gold-100);
  color: var(--navy-900);
}

.nav-list a.active {
  color: var(--navy-900);
  background: var(--gold-100);
  box-shadow: inset 3px 0 0 var(--gold-500);
}

.nav-list .nav-cta {
  margin-top: 0.5rem;
  justify-content: center;
  background: var(--navy-800);
  color: #fff;
}

.nav-list .nav-cta:hover {
  background: var(--navy-900);
  color: #fff;
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }
  .primary-nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
  }
  .nav-list a {
    padding: 0.5rem 0.85rem;
  }
  .nav-list a.active {
    background: transparent;
    box-shadow: inset 0 -3px 0 var(--gold-500);
    border-radius: 0;
  }
  .nav-list .nav-cta {
    margin: 0 0 0 0.5rem;
    margin-inline-start: 0.5rem;
    border-radius: 999px;
    padding-inline: 1.25rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: #d8b25e;
  color: var(--navy-900);
  box-shadow: var(--shadow);
}

.btn-dark {
  background: var(--navy-800);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-900);
  color: #fff;
}

.btn-outline {
  border-color: currentColor;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--navy-900);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy-900);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 34, 56, 0.95) 20%, rgba(13, 34, 56, 0.55));
}

.hero-inner {
  padding-block: clamp(3.5rem, 10vw, 7rem);
  max-width: 760px;
}

.hero h1 {
  color: #fff;
}

.hero .eyebrow {
  color: var(--gold-500);
}

.hero p {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: #e4eaf1;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.3em;
}

.page-hero p {
  color: #dce4ec;
  max-width: 720px;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

/* Sections */
.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.section-alt {
  background: var(--surface);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: 1fr;
}

.grid > * {
  min-width: 0;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: start;
}

.split > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}

.card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold-500);
}

.card h3 a {
  text-decoration: none;
  color: inherit;
}

.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card-link {
  position: relative;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--navy-800);
  margin-bottom: 1rem;
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.more {
  font-weight: 700;
  color: var(--navy-700);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}

.checklist li {
  position: relative;
  padding-inline-start: 1.75rem;
  margin-bottom: 0.45rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 1rem;
  height: 0.55rem;
  border-inline-start: 3px solid var(--gold-600);
  border-bottom: 3px solid var(--gold-600);
  transform: rotate(-45deg);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold-600);
  margin-top: 0.2rem;
}

.contact-list strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-list a {
  word-break: break-word;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  border-inline-start: 3px solid var(--gold-500);
  padding-inline-start: 1rem;
}

.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  color: #fff;
}

.stat span {
  color: #cfd9e3;
  font-size: 0.95rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 5vw, 3rem);
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.3em;
}

.cta-band p {
  color: #dce4ec;
  margin: 0;
}

@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 955 / 353;
  background: var(--line);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Services */
.service {
  scroll-margin-top: 96px;
}

.service h2 {
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem);
}

.sub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sub-grid div {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  min-width: 0;
}

.sub-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35em;
}

.sub-grid p {
  margin: 0;
  font-size: 0.97rem;
}

.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chip-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
  font-weight: 600;
  color: var(--navy-800);
  transition: border-color var(--ease), background var(--ease);
}

.chip-nav a:hover {
  border-color: var(--gold-500);
  background: var(--gold-100);
}

/* Tables & accordions */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

caption {
  text-align: start;
  font-weight: 700;
  padding: 0.75rem 1rem;
  color: var(--navy-900);
  background: var(--gold-100);
}

th,
td {
  text-align: start;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--bg);
  color: var(--navy-900);
}

tbody tr:last-child td {
  border-bottom: 0;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold-600);
  flex-shrink: 0;
}

details[open] summary::after {
  content: "\2212";
}

details > div {
  padding: 0 1.1rem 1rem;
}

details > div p:last-child {
  margin-bottom: 0;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.form-row > * {
  min-width: 0;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--navy-900);
}

.req {
  color: #a3261b;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9c3cd;
  border-radius: var(--radius-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.45);
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.form-status {
  font-weight: 600;
  margin: 0;
}

.form-status.ok {
  color: #1f6b3a;
}

.form-status.err {
  color: #a3261b;
}

/* Modal */
.modal {
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  width: min(92vw, 520px);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(13, 34, 56, 0.6);
}

.modal-body {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: #c9d4de;
  padding-top: clamp(3rem, 7vw, 4.5rem);
  font-size: 0.97rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer a {
  color: #e7edf3;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-500);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-grid > * {
  min-width: 0;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.25rem;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.footer-brand {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

/* Back to top */
.back-to-top {
  position: fixed;
  inset-inline-end: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease), background var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #d8b25e;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

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