@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap");
:root {
  --ink: #1f2933;
  --muted: #52606d;
  --navy: #0f2a4a;
  --navy-2: #163b66;
  --accent: #1d4f91;
  --accent-hover: #163f75;
  --link: #1d4f91;
  --bg: #ffffff;
  --band: #f3f6fa;
  --line: #d9e2ec;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-wrap: anywhere;
  font: 17px/1.65 Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--link); }
img { max-width: 100%; height: auto; display: block; margin: 12px auto; border-radius: 6px; }
h1, h2, h3, .logo, nav, button, .btn, label, legend { font-family: var(--sans); }
h1, h2, h3 { line-height: 1.25; color: var(--navy); }
h2 a, h1 a { color: var(--navy); }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.nav-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
#site-nav { margin-bottom: -12px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #fff; color: var(--navy); font-weight: 800; font-size: 16px; }
.logo-text { font-weight: 800; letter-spacing: .08em; font-size: 16px; line-height: 1.15; }
.logo-text span { display: block; font-weight: 600; font-size: 11px; letter-spacing: .32em; color: #b9cbe3; }
#site-nav { order: 3; width: 100%; border-top: 1px solid rgba(255,255,255,.12); }
#site-nav ul { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
#site-nav a { color: #dbe6f3; text-decoration: none; font-size: 14px; font-weight: 600; padding: 4px 0; border-bottom: 2px solid transparent; }
#site-nav a:hover, #site-nav a[aria-current] { color: #fff; border-bottom-color: #7fa8dc; }
.header-call { color: var(--navy); background: #fff; text-decoration: none; font-family: var(--sans); font-weight: 700; font-size: 15px; padding: 9px 16px; border-radius: 6px; }
.header-call:hover { background: #e4edf8; }
.menu-toggle { display: none; background: none; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; padding: 8px 14px; font-size: 14px; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header-call { font-size: 14px; padding: 8px 12px; }
  #site-nav { display: none; }
  .nav-open #site-nav { display: block; }
  #site-nav ul { flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
  .header-call { display: none; }
  .hero-title { font-size: 44px; }
  .logo-text { font-size: 13px; }
  .logo-text span { font-size: 9px; }
  .logo-mark { width: 34px; height: 34px; font-size: 14px; }
}

/* hero */
.hero {
  color: #fff;
  background: radial-gradient(1000px 500px at 85% 20%, rgba(127,168,220,.22), transparent 60%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 56px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 48px; align-items: center; }
.hero-eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .3em; font-size: 14px; font-weight: 700; color: #a9c3e6; margin: 0 0 8px; }
.hero-title { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; margin: 0 0 18px; color: #fff; font-weight: 800; }
.hero-phone { display: inline-block; font-family: var(--sans); font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; color: #fff; text-decoration: none; border-bottom: 3px solid #7fa8dc; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { background: #fff; color: var(--navy); font-size: 17px; padding: 14px 30px; margin: 0; }
.hero .btn:hover { background: #e4edf8; }
.hero-fb { font-size: 15px; color: #c6d6ea; margin: 22px 0 0; }
.hero-fb a { color: #fff; }
.hero-media img { margin: 0; width: 100%; object-fit: cover; border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.hero-media.count-1 img { aspect-ratio: 4 / 3; }
.hero-media.count-3 { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); grid-template-rows: minmax(0,1fr) minmax(0,1fr); gap: 14px; height: 420px; }
.hero-media.count-3 img { height: 100%; min-height: 0; }
.hero-media.count-3 img:first-child { grid-row: 1 / 3; }
@media (max-width: 860px) {
  .hero { padding: 36px 0 40px; text-align: center; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .hero-actions { justify-content: center; }
  .hero-media.count-3 { height: 300px; }
}
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 40px 0; text-align: center; }
.page-hero h1, .page-hero h2, .page-hero h3, .page-hero a { color: #fff; margin: 4px 0; }
.page-hero .p { font-family: var(--sans); font-size: 18px; color: #c6d6ea; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 26px; border-radius: 6px; font-weight: 700; margin-top: 10px;
}
.btn:hover { background: var(--accent-hover); }

/* content */
.content { padding: 32px 16px 48px; }
.row { display: flex; gap: 30px; align-items: flex-start; }
.col { flex: 1 1 0; min-width: 0; }
.col.empty { display: none; }
@media (max-width: 760px) { .row { flex-direction: column; gap: 0; } }
.p { margin: 0 0 16px; }

/* form */
.lead-form { background: var(--band); border: 1px solid var(--line); border-radius: 6px; padding: 20px; margin: 16px 0; }
.lead-form .req { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.lead-form fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.lead-form legend, .lead-form label { font-size: 14px; font-weight: 600; }
.lead-form label { display: block; margin-bottom: 12px; }
.lead-form .two { display: flex; gap: 12px; }
.lead-form .two label { flex: 1; font-weight: 400; }
.lead-form input, .lead-form textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px; font: inherit; font-size: 16px;
  border: 1px solid #bbb; border-radius: 4px; background: #fff;
}
.lead-form button { background: var(--accent); color: #fff; border: 0; border-radius: 4px; padding: 12px 28px; font-size: 16px; font-weight: 700; cursor: pointer; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* footer */
.site-footer { background: var(--navy); color: #ddd; padding: 32px 0 20px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-cols { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.legal { text-align: center; margin-top: 20px; font-size: 14px; }
.powered { text-align: right; font-size: 13px; color: #aaa; margin-top: 24px; }

.content iframe { width: 100%; height: 280px; border: 0; margin: 10px 0; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.gallery-grid figure { margin: 0; background: var(--band); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.gallery-grid img { margin: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.gallery-grid figcaption { padding: 10px 14px; font-size: 15px; color: var(--muted); }
#gallery-off, #gallery-empty { text-align: center; color: var(--muted); padding: 40px 0; }
