:root {
  --navy: #0c2340;
  --navy-2: #16345a;
  --navy-3: #1c426e;
  --blue: #1b6cb8;
  --blue-hover: #155a9a;
  --gold: #b8954a;
  --gold-soft: #d4b56a;
  --cream: #f3efe6;
  --paper: #faf9f6;
  --white: #ffffff;
  --ink: #1a2332;
  --muted: #5c6773;
  --line: #ddd6c8;
  --line-soft: #ece7dc;
  --shadow: 0 18px 50px rgba(12, 35, 64, 0.12);
  --shadow-sm: 0 8px 24px rgba(12, 35, 64, 0.08);
  --radius: 14px;
  --header-h: 84px;
  --max: 1180px;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: white;
  padding: 8px 14px;
  z-index: 1000;
}

.skip:focus {
  left: 8px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.container-wide {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: #d7e3f0;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.topbar a {
  color: #e8eef5;
}

.topbar a:hover {
  color: var(--gold-soft);
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: rgba(27, 108, 184, 0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: 0.18s ease;
  font-family: inherit;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: white;
}

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

.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--navy);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: white;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  padding: 10px 11px;
  margin-left: auto;
  border-radius: 10px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #0a1c33 55%, #14365c 100%);
  color: white;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 64px;
}

.hero h1 {
  color: white;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero .lede {
  font-size: 1.18rem;
  color: #d5e2ef;
  max-width: 34rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #b9c9da;
  font-size: 0.92rem;
}

.hero-meta strong {
  color: var(--gold-soft);
  font-weight: 700;
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: white;
}

.hero-caption {
  margin-top: 12px;
  font-size: 0.86rem;
  color: #b7c7d8;
}

/* Trust bar */
.trust {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 28px 0;
}

.trust-item {
  text-align: center;
  padding: 8px 12px;
}

.trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--navy);
  line-height: 1.1;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.section-cream {
  background: var(--cream);
}

.section-navy {
  background: var(--navy);
  color: #dbe6f1;
}

.section-navy h2,
.section-navy h3 {
  color: white;
}

/* Services cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 1rem;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.98rem;
}

.card li + li {
  margin-top: 6px;
}

.icon-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(27, 108, 184, 0.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e4da;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
}

.gallery-item:hover img,
.gallery-item:focus img {
  transform: scale(1.04);
}

.gallery-item figcaption,
.gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(12, 35, 64, 0.88));
  color: white;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

.gallery-cap small {
  display: block;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 2px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.gallery-item.is-hidden {
  display: none;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  padding: 8px 4px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 1.35rem;
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: white;
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(800px 300px at 80% 0%, rgba(27, 108, 184, 0.35), transparent 60%),
    var(--navy);
  color: white;
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  color: white;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: #c9d7e6;
  max-width: 40rem;
  margin: 0 auto 26px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Page hero */
.page-hero {
  background: var(--navy);
  color: white;
  padding: 56px 0 48px;
}

.page-hero h1 {
  color: white;
  font-size: clamp(2.05rem, 4vw, 3.6rem);
  margin-bottom: 8px;
}

.page-hero p {
  color: #c5d4e4;
  max-width: 40rem;
  margin: 0;
  font-size: 1.12rem;
}

/* About */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.quote {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1.4;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 28px 0;
}

/* Rates */
.rates {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.rates th,
.rates td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.rates th {
  background: var(--navy);
  color: white;
  font-weight: 600;
}

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

.rates td:last-child,
.rates th:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: var(--navy);
  color: #d7e3f0;
  border-radius: 16px;
  padding: 32px 28px;
}

.contact-card h2 {
  color: white;
}

.contact-card a {
  color: white;
}

.contact-card a:hover {
  color: var(--gold-soft);
}

.contact-row {
  margin: 18px 0;
}

.contact-row span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 4px;
}

.form {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 14px;
}

.form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(27, 108, 184, 0.35);
  border-color: var(--blue);
}

.form-success {
  display: none;
  background: #e8f5ec;
  color: #1d5c32;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.form-success.show {
  display: block;
}

/* Footer */
.site-footer {
  background: #08182c;
  color: #b7c5d4;
  padding: 52px 0 22px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.site-footer h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.site-footer a {
  color: #d5e0ea;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

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

.footer-links li + li {
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.footer-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin-bottom: 14px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 32, 0.92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: min(1100px, 100%);
  max-height: 100%;
  text-align: center;
}

.lightbox-inner img {
  max-height: calc(100vh - 140px);
  width: auto;
  margin: 0 auto;
  border-radius: 8px;
  background: white;
}

.lightbox-caption {
  color: white;
  margin-top: 12px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 8px 12px;
}

.lightbox-close {
  top: 12px;
  right: 16px;
}

.lightbox-prev {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

/* Service detail */
.service-block + .service-block {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.service-block img,
.service-block video {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  background: white;
}

.service-block video {
  background: #0c2340;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Utility */
.center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .service-block,
  .bio-grid,
  .cards-3,
  .steps,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    padding: 48px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.open .nav-cta {
    display: flex;
    width: 100%;
    order: 6;
    padding-bottom: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 5;
    background: var(--paper);
    border-top: 1px solid var(--line-soft);
    padding: 8px 0 16px;
    align-items: stretch;
  }

  .nav.open .nav-links a {
    padding: 12px 8px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .container,
  .container-wide {
    width: calc(100% - 32px);
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .topbar-left {
    display: none;
  }

  .logo img {
    height: 44px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .page-hero {
    padding: 36px 0 32px;
  }

  .hero-meta {
    font-size: 0.84rem;
    gap: 8px 14px;
  }

  .contact-card,
  .form {
    padding: 22px 18px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-item img { transition: none; }
}
