:root {
  --navy: #0b3a5c;
  --navy-deep: #072840;
  --steel: #2e6b9e;
  --steel-soft: #4a86b8;
  --steel-lite: #e8f1f8;
  --ink: #123047;
  --muted: #5a7388;
  --line: #d5e2ec;
  --white: #ffffff;
  --bg: #f5f8fb;
  --hero-bg: #eef3f7;
  --shadow: 0 10px 30px rgba(11, 58, 92, 0.12);
  --radius: 10px;
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --hero-h: clamp(420px, 52vh, 520px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(46, 107, 158, 0.08), transparent 40%),
    linear-gradient(180deg, #f7fafc 0%, var(--bg) 45%, #eef4f9 100%);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--steel); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Floating pill nav ===== */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(213, 226, 236, 0.9);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 34px rgba(11, 58, 92, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img { height: 34px; width: auto; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--navy), var(--steel));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

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

.nav-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 999px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: var(--navy-deep);
  background: var(--steel-lite);
}

.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after,
.nav-menu a:hover::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--steel-lite);
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: 0.2s ease;
}

/* ===== Hero Design 2: left text + right photo ===== */
.hero.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: var(--hero-h);
  height: var(--hero-h);
  margin-top: 0;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-left {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 88px 40px 48px 24px;
  background:
    linear-gradient(135deg, #f4f7fa 0%, #e8eef4 55%, #dde7f0 100%);
}

.hero-left-inner {
  width: min(520px, 100%);
  animation: depotFadeUp 0.7s ease both;
}

.hero-kicker {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 12px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 28rem;
  margin: 0 0 22px;
  line-height: 1.5;
}

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

.hero-right {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-right .hero-media,
.hero.hero-split .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: depotZoom 12s ease-in-out alternate infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 8px 18px rgba(11, 58, 92, 0.22);
}

.btn-primary:hover { background: var(--navy-deep); color: #fff; }

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover { background: var(--steel-lite); color: var(--navy-deep); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

@keyframes depotFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes depotZoom {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

/* ===== Sections ===== */
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-main { padding-bottom: 12px; }

.section { padding: 42px 0 18px; }

.section-head { margin-bottom: 22px; }

.section-head h2 {
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-head p {
  color: var(--muted);
  margin-top: 6px;
  max-width: 46rem;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -18px;
  position: relative;
  z-index: 2;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.25s ease;
}

.contact-card:hover { transform: translateY(-2px); }

.contact-card .ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--steel-lite);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.75rem;
}

.contact-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}

.contact-card span,
.contact-card a {
  color: var(--muted);
  font-size: 0.86rem;
}

.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
  color: var(--ink);
  max-width: 100%;
}

.depot-full-width .prose,
.depot-no-sidebar .prose {
  max-width: none;
}

.prose p + p { margin-top: 12px; }
.prose h2, .prose h3 { color: var(--navy); margin: 18px 0 8px; }

.prose-full {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.prose .office-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.prose .office-brand img {
  max-width: 180px;
  height: auto;
}

.prose .office-marketing {
  border: 2px solid #c62828;
  padding: 14px 18px;
  max-width: 28rem;
  color: var(--ink);
  line-height: 1.55;
}

.prose .office-marketing strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.prose .office-map {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.prose .office-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.prose .office-map-static {
  margin: 18px 0 8px;
  max-width: 100%;
}

.prose .office-map-static img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}

/* ===== Gallery ===== */
.depot-gallery-section {
  margin-top: 28px;
}

.gallery-section-title {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(11, 58, 92, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: zoom-in;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(11, 58, 92, 0.16);
}

.gallery-item .thumb {
  aspect-ratio: 4 / 3;
  background: #eef3f7;
  overflow: hidden;
}

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

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

.gallery-item figcaption {
  padding: 12px 12px 14px;
  text-align: center;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 36px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, var(--steel));
  color: #fff;
  padding: 28px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.site-footer a:hover { text-decoration: underline; }

.footer-copy {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  z-index: 1100;
  transition: transform 0.2s ease;
}

.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 40, 64, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: min(920px, 100%);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
}

.theme-marker-depot-design2 { display: none; }

/* Hide WP widgets/sidebar on full-width pages */
.depot-no-sidebar .widget-area,
.depot-full-width .widget-area,
.depot-no-sidebar aside.sidebar {
  display: none !important;
}

@media (max-width: 960px) {
  .hero.hero-split {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .hero-left {
    padding: 96px 24px 36px;
    justify-content: center;
  }

  .hero-right {
    min-height: 280px;
    height: 320px;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .site-header {
    border-radius: 16px;
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-toggle { display: inline-flex; }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open { display: flex; }

  .hero-title { font-size: 1.55rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
