:root {
  --navy: #14233f;
  --navy-2: #1c3054;
  --navy-deep: #0e1a2e;
  --gold: #c8a24a;
  --gold-dark: #a8842f;
  --cream: #f8f5ef;
  --cream-2: #f1ece1;
  --ink: #23262b;
  --muted: #5c6572;
  --line: #e2dccd;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", "Times", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 18px 40px -22px rgba(20, 35, 63, 0.45);
  --radius: 4px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy);
  padding: .6rem 1rem; z-index: 1000; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #cfd6e2; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #e7ddc6; }
.topbar a:hover { color: var(--gold); }
.topbar__sep { margin: 0 .5rem; color: var(--gold); }
.topbar__address { opacity: .8; }

/* Header */
.site-header { background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 86px; }
.brand__logo { height: 60px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 1.2rem; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: .55rem .85rem; color: var(--navy); font-size: .95rem; font-weight: 600; letter-spacing: .02em; border-radius: var(--radius); }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--gold-dark); background: var(--cream-2); }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 240px; padding: .4rem; flex-direction: column; align-items: stretch; display: none; z-index: 50; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: flex; }
.dropdown a { font-weight: 500; }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 6px 8px; background: var(--navy); }

/* Buttons */
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: var(--radius); font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: all .18s ease; text-align: center; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-dark); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); color: var(--white); }
.btn--outline { border-color: var(--gold); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--gold); color: var(--navy); }
.btn--block { display: block; width: 100%; }

/* Hero */
.hero { position: relative; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #24406e 100%); color: #eef1f6; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(200,162,74,.18), transparent 45%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: 4.5rem 1.25rem; }
.hero__eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .25em; font-size: .8rem; font-weight: 700; margin-bottom: 1rem; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p { color: #d6dce6; font-size: 1.1rem; max-width: 34rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero__portrait { position: relative; justify-self: center; }

/* Protected portrait */
.protected-photo { position: relative; display: inline-block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.protected-photo img { width: 100%; height: auto; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; pointer-events: none; }
.protected-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: transparent; }
.protected-photo__badge { position: absolute; right: 10px; bottom: 10px; z-index: 3; background: rgba(14,26,46,.82); color: #e7ddc6; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 3px; pointer-events: none; }
.hero__portrait .protected-photo { border: 3px solid rgba(200,162,74,.55); }

/* Sections */
section { padding: 4rem 0; }
.section--alt { background: var(--cream-2); }
.section--navy { background: var(--navy); color: #dfe4ec; }
.section--navy h2 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head .eyebrow { color: var(--gold-dark); text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; font-weight: 700; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 10px 24px -20px rgba(20,35,63,.5); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-2); color: var(--gold-dark); margin-bottom: 1rem; font-size: 1.4rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; color: #cfd6e2; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.stat { text-align: center; }
.stat__num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); font-weight: 700; line-height: 1; }
.stat__label { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: #b9c2d0; margin-top: .5rem; }

.about-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.prose { font-size: 1.02rem; color: #3b4149; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.lead { font-size: 1.15rem; color: var(--navy-2); }

.page-hero { background: var(--navy); color: #e8ebf1; padding: 3.5rem 0 3rem; text-align: center; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: #c4cdda; max-width: 640px; margin: .8rem auto 0; }
.breadcrumb { font-size: .82rem; color: #9da9ba; margin-bottom: .6rem; }
.breadcrumb a { color: var(--gold); }

.pa-block { padding: 2.5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.pa-block:last-child { border-bottom: 0; }
.pa-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.pa-block:nth-child(even) .pa-block__grid { direction: rtl; }
.pa-block:nth-child(even) .pa-block__grid > * { direction: ltr; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2.5rem; align-items: start; }
.info-box { background: var(--navy); color: #dfe4ec; padding: 2rem; border-radius: var(--radius); }
.info-box h3 { color: #fff; }
.info-box a { color: #e7ddc6; }
.info-box__row { padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-box__row strong { display: block; color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--navy); }
.field .req { color: #b3261e; }
.field input, .field textarea, .field select {
  width: 100%; padding: .75rem .85rem; border: 1px solid #cfc8b6; border-radius: var(--radius);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,74,.2); }
.field textarea { min-height: 140px; resize: vertical; }
.field--error input, .field--error textarea { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: .82rem; margin-top: .3rem; }
.hint { font-size: .8rem; color: var(--muted); }

.captcha { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.captcha__question { font-weight: 700; color: var(--navy); background: var(--cream-2); border: 1px dashed var(--gold-dark); padding: .55rem .9rem; border-radius: var(--radius); font-family: var(--serif); font-size: 1.05rem; }
.captcha__input { max-width: 120px; }
.captcha__refresh { background: none; border: 0; color: var(--gold-dark); cursor: pointer; font: inherit; text-decoration: underline; padding: .3rem; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.2rem; border: 1px solid transparent; font-size: .95rem; }
.alert-success { background: #e7f3ea; border-color: #b7dcc2; color: #1c6b38; }
.alert-error { background: #fbeae8; border-color: #efc2bc; color: #9a231b; }
.alert-info { background: #e9eff7; border-color: #c4d3e6; color: #1d3f6b; }
.alert-warning { background: #fdf5e3; border-color: #ecd9a5; color: #7a5c12; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c2d0; padding-top: 3.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__col h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: .5rem; }
.footer__col a { color: #c4cdda; }
.footer__col a:hover { color: var(--gold); }
.footer__logo { height: 54px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .95; }
.footer__blurb { font-size: .9rem; max-width: 28rem; }
.footer__social { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; font-size: .85rem; }
.footer__hours { font-size: .85rem; color: #93a0b3; margin-top: .6rem; }
address { font-style: normal; font-size: .92rem; line-height: 1.8; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0 2rem; }
.footer__disclaimer { font-size: .78rem; color: #8693a6; max-width: 60rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.footer__links a { margin-left: 1rem; color: #c4cdda; }

.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: all .2s; z-index: 90; }
.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* Map */
.map-wrap { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Responsive */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .about-split, .pa-block__grid, .contact-grid { grid-template-columns: 1fr; }
  .pa-block:nth-child(even) .pa-block__grid { direction: ltr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem; display: none; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .dropdown { position: static; display: flex; border: 0; box-shadow: none; padding-left: 1rem; }
  .nav-cta { margin: 1rem 0 0; }
  .site-header { position: relative; }
  .grid--3, .grid--4, .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .header__inner { min-height: 70px; }
  .brand__logo { height: 46px; }
}
