:root {
  --navy: #16243d;
  --navy-2: #1f3257;
  --gold: #c8a45e;
  --gold-dark: #b08d45;
  --ink: #2b3445;
  --muted: #5b6577;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 10px;
  --shadow: 0 2px 14px rgba(22, 36, 61, 0.08);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  font-size: 17px;
}

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

a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--gold-dark); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; font-weight: 700; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cfd6e4;
  font-size: 14px;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar .tagline { display: none; }
@media (min-width: 720px) { .topbar .tagline { display: block; } }

/* ---------- Header / nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 20px;
  color: var(--navy);
  cursor: pointer;
}

nav.main-nav > ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
nav.main-nav a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 6px;
  white-space: nowrap;
}
nav.main-nav a:hover { background: var(--bg-soft); color: var(--navy); }

.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: 11px; color: var(--gold-dark); }
.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  list-style: none;
  min-width: 250px;
  padding: 8px;
  z-index: 200;
}
.has-sub:hover .sub, .has-sub.open .sub { display: block; }
.sub a { padding: 9px 12px; font-weight: 500; font-size: 14.5px; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--gold-dark); color: #fff !important; }
.btn.ghost {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.65);
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold) !important; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; }
  .sub { position: static; border: none; box-shadow: none; padding-left: 18px; min-width: 0; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .nav-cta { margin-top: 10px; }
}

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.hero .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.hero .wrap {
  position: relative;
  padding: 110px 24px 120px;
  max-width: 880px;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(30px, 5vw, 50px);
  margin-bottom: 18px;
}
.hero p {
  font-size: clamp(17px, 2.2vw, 21px);
  color: #dfe5f0;
  margin-bottom: 34px;
}
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page header (subpages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 56px 0 50px;
}
.page-header h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.page-header .crumb { font-size: 14px; color: #aab6cc; margin-bottom: 10px; }
.page-header .crumb a { color: #cfd6e4; }
.page-header .crumb a:hover { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 34px); margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.card .more { font-weight: 700; font-size: 14.5px; color: var(--gold-dark); }

.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .3s, opacity .3s; }
.tile:hover img { transform: scale(1.04); opacity: .6; }
.tile span {
  position: absolute;
  left: 18px; bottom: 16px; right: 18px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}

/* ---------- Article (subpage content) ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.article.with-img { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
@media (max-width: 860px) { .article.with-img { grid-template-columns: 1fr; } }

.article .body > p { margin-bottom: 18px; }
.article .body > h2 { font-size: 24px; margin: 30px 0 14px; }
.article .body ul { margin: 6px 0 22px; padding-left: 4px; list-style: none; }
.article .body ul li {
  padding: 7px 0 7px 30px;
  position: relative;
}
.article .body ul li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--gold-dark);
  font-weight: 700;
}
.article aside img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}
.article aside .aside-card {
  margin-top: 26px;
  background: var(--navy);
  color: #dfe5f0;
  border-radius: var(--radius);
  padding: 26px;
}
.article aside .aside-card h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.article aside .aside-card a.phone { color: var(--gold); font-size: 22px; font-weight: 700; display: block; margin: 6px 0; }
.article aside .aside-card a.phone:hover { color: #fff; }

blockquote {
  border-left: 4px solid var(--gold);
  background: var(--bg-soft);
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy-2);
  margin: 26px 0;
}
blockquote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--gold-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.5vw, 32px); margin-bottom: 10px; }
.cta-band p { color: #c9d2e2; margin-bottom: 26px; font-size: 18px; }
.cta-band .phone-big { color: var(--gold); font-family: var(--font-head); font-size: clamp(26px, 4vw, 38px); font-weight: 700; display: inline-block; margin-bottom: 22px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Quote band ---------- */
.quote-band { background: var(--bg-soft); padding: 70px 0; }
.quote-band .inner { max-width: 800px; margin: 0 auto; text-align: center; }
.quote-band p.q { font-family: var(--font-head); font-size: clamp(20px, 3vw, 26px); font-style: italic; color: var(--navy-2); margin-bottom: 16px; }
.quote-band .who { font-weight: 700; color: var(--gold-dark); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-block { margin-bottom: 22px; }
.info-block h3 { font-size: 17px; margin-bottom: 4px; }
.info-block p, .info-block a { color: var(--muted); font-size: 16px; }
.info-block a.big { color: var(--navy); font-size: 24px; font-weight: 700; font-family: var(--font-head); }
.info-block a.big:hover { color: var(--gold-dark); }

form.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
form.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form.contact-form .row { grid-template-columns: 1fr; } }
form.contact-form label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin: 14px 0 5px; }
form.contact-form input, form.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 13px;
  font-size: 15.5px;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fcfdfe;
}
form.contact-form input:focus, form.contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
form.contact-form .btn { margin-top: 22px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: #aab6cc; font-size: 15px; }
footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 60px 0 46px;
}
@media (max-width: 900px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; letter-spacing: .03em; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer a { color: #aab6cc; }
footer a:hover { color: var(--gold); }
footer .brandline img { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .9; }
footer .legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
