:root {
  --navy: #012653;
  --navy-deep: #001a3a;
  --gold: #b8860f;
  --gold-bright: #ffd630;
  --cream: #f7f4ec;
  --ink: #1b2027;
  --ink-soft: #5a616b;
  --border: #e7e1d2;
  --radius: 4px;
  --max-width: 1180px;
  --font-head: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 0.45em; font-weight: 600; }
h1 { font-size: 3rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.15em; color: var(--ink-soft); }
ul { margin: 0 0 1.1em; padding-left: 0; list-style: none; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9em;
}
.eyebrow::before { content: "\2014\00A0"; }
.eyebrow-light { color: var(--gold-bright); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95em 2em;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-gold { background: var(--gold-bright); color: var(--navy-deep); border-color: var(--gold-bright); }
.btn-gold:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-large { padding: 1.05em 2.3em; font-size: 0.98rem; }

/* Utility bar */
.utility-bar { background: var(--navy-deep); }
.utility-bar-inner { display: flex; justify-content: flex-end; align-items: center; gap: 0.9em; padding: 7px 24px; font-size: 0.82rem; }
.utility-bar a { color: #e4e9ef; font-weight: 600; }
.utility-bar a:hover { color: var(--gold-bright); }
.utility-bar .sep { color: #5a6f8c; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; isolation: isolate; }
.header-inner { display: flex; align-items: center; gap: 1.6em; padding: 16px 24px; }
.brand img { height: 48px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.5em; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav ul li { position: relative; }
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.4em 0;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); border-bottom-color: var(--gold); }
.nav-caret { font-size: 0.6em; }
.header-cta { margin-left: 0.3em; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 36px; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 2px; }

/* Nav dropdown */
.has-dropdown { isolation: isolate; }
.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 230px;
  list-style: none;
  margin: 0;
  padding: 0.4em 0;
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(1,38,83,0.16);
  display: none;
  z-index: 60;
}
.main-nav .has-dropdown:hover .dropdown-menu,
.main-nav .has-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li { position: static; }
.dropdown-menu a {
  display: block;
  padding: 0.65em 1.3em;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: none;
  white-space: nowrap;
  color: var(--ink);
}
.dropdown-menu a:hover { background: var(--cream); color: var(--navy); border-bottom: none; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy) center/cover no-repeat; }
.hero-home { background-image: url('../assets/img/hero.jpg'); min-height: 560px; display: flex; align-items: center; }
.hero-inner { background-image: var(--hero-img); min-height: 340px; display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,26,58,0.94) 20%, rgba(1,38,83,0.78) 60%, rgba(1,38,83,0.55)); }
.hero-content { position: relative; z-index: 1; padding: 70px 0; max-width: 640px; }
.hero-content-inner { position: relative; z-index: 1; padding: 64px 0; max-width: 680px; }
.hero-content h1, .hero-content-inner h1 { color: #fff; }
.hero-sub { color: #e4e9ef; font-size: 1.15rem; margin-bottom: 0.9em; max-width: 520px; }
.hero-content .btn { margin-top: 0.4em; margin-right: 0.6em; }

/* Sections */
.section { padding: 76px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #cfd7e0; }

/* About split */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5em; align-items: center; }
.split-reverse { grid-template-columns: 0.9fr 1.1fr; }
.split-reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius); }
.split-media { position: relative; }
.split-media::before {
  content: "";
  position: absolute;
  top: -14px; left: -14px;
  width: 70px; height: 70px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border-top: 4px solid var(--gold);
  box-shadow: 0 10px 28px rgba(1,38,83,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(1,38,83,0.14); }
.service-card img { height: 190px; object-fit: cover; width: 100%; }
.service-card-body { padding: 1.5em 1.5em 1.7em; }
.service-card-body h3 { margin-bottom: 0.35em; }
.service-card-body p { margin: 0 0 1em; }
.card-link { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy); }
.card-link::after { content: "\2192"; margin-left: 0.4em; }

.badges-inline { margin: 1.8em auto 0; filter: brightness(1.02); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5em; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; font-size: 1.7rem; }

/* Checklists */
.check-list { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 0; }
.check-list li {
  position: relative;
  padding: 0.65em 0 0.65em 2em;
  border-bottom: 1px solid var(--border);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.65em;
  color: var(--gold);
  font-weight: 700;
}
.two-col { grid-template-columns: 1fr 1fr; column-gap: 2.5em; }
.two-col li { break-inside: avoid; }
.note { font-style: italic; color: var(--ink-soft); }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.6em; margin: 1em 0 1.6em; }
.chip {
  background: #fff;
  border: 1.5px solid var(--gold);
  color: var(--navy);
  padding: 0.45em 1em;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3em; }
.contact-form-col form { display: flex; flex-direction: column; gap: 1em; }
.contact-form-col label { display: flex; flex-direction: column; gap: 0.35em; font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.contact-form-col input, .contact-form-col select, .contact-form-col textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.85em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.contact-form-col input:focus, .contact-form-col select:focus, .contact-form-col textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,15,0.15);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 0.84rem; color: var(--ink-soft); }
.form-status { font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #0f6b3a; }
.form-status.err { color: #b4232c; }
.contact-details { list-style: none; padding: 0; margin: 0 0 1.6em; }
.contact-details li { padding: 0.7em 0; border-bottom: 1px solid var(--border); }
.contact-details li:last-child { border-bottom: none; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5em; padding-bottom: 2.5em; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-logo { margin-bottom: 1em; background: #fff; padding: 10px 14px; border-radius: var(--radius); display: inline-block; }
.footer-col h4 { color: var(--gold-bright); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; margin-bottom: 0.9em; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 0.7em; color: #dbe2ea; }
.footer-links a, .footer-contact a { color: #fff; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-bright); }
.footer-col p { color: #c3cdd8; }
.footer-badges { padding: 2em 0; text-align: center; }
.footer-badges img { margin: 0 auto; border-radius: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8em; padding: 1.2em 0; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.84rem; color: #9fabb8; }
.footer-bottom a { color: #c3cdd8; }
.footer-bottom a:hover { color: var(--gold-bright); }
.concept-credit { font-size: 0.8rem; }

/* Mobile call bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 0.9em;
  z-index: 60;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2em; }
  .two-col { grid-template-columns: 1fr; }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
}

@media (max-width: 760px) {
  .utility-bar-inner { justify-content: center; gap: 1.1em; font-size: 0.76rem; padding: 6px 24px; flex-wrap: wrap; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    display: none;
    isolation: isolate;
    z-index: 55;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.5em 0; align-items: stretch; }
  .main-nav ul li { position: static; }
  .main-nav a { display: block; padding: 0.8em 24px; border-bottom: none; }
  .main-nav a.active, .main-nav a:hover { background: var(--cream); border-bottom: none; }
  .nav-caret { display: none; }
  .main-nav .dropdown-menu {
    position: static;
    transform: none;
    display: block;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: var(--cream);
    padding: 0;
  }
  .dropdown-menu a { padding: 0.75em 24px 0.75em 42px; font-size: 0.85rem; }
  h1 { font-size: 2.2rem; }
  .hero-content, .hero-content-inner { padding: 48px 0; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 54px; }
  .cta-band-inner { justify-content: center; text-align: center; }
}
