:root {
  --navy: #1d2e5f;
  --navy-dark: #131f44;
  --navy-soft: #2a3d72;
  --accent: #f4b41a;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --bg-dark: #131f44;
  --text: #1a1f33;
  --muted: #5a6478;
  --border: #e3e7f0;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(29, 46, 95, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(29, 46, 95, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 144px;
  transition: height 0.25s ease;
}
.site-header.scrolled .nav { height: 84px; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  height: 120px;
  width: auto;
  transition: height 0.25s ease;
}
.site-header.scrolled .brand-mark { height: 60px; }
.site-header.scrolled .brand { font-size: 1.05rem; }
.brand-suffix {
  font-size: 0.7em;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}

nav a {
  margin-left: 22px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
nav a:hover { color: var(--navy); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

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

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

.btn-ghost {
  background: var(--accent);
  color: var(--navy-dark);
  padding: 10px 18px;
  margin-left: 22px;
}
.btn-ghost:hover { background: #ffc93f; }

/* Hero with background image */
.hero {
  position: relative;
  padding: 120px 0 132px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("hero-PLACEHOLDER.jpg") center/cover no-repeat;
  filter: brightness(1.22) saturate(0.95);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13, 22, 50, 0.82) 0%, rgba(29, 46, 95, 0.62) 50%, rgba(46, 75, 138, 0.38) 100%);
}
.hero-inner { position: relative; max-width: 760px; }
.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 22px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 22px;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero .lede {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 32px;
  max-width: 620px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.hero .lede strong { color: #fff; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.hero .btn-secondary:hover { background: #fff; color: var(--navy); }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-right: 6px;
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-dark); color: #e8ecf5; }
.section-dark h2 { color: #fff; }
.section-dark a { color: #ffd87a; }

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 12px;
  color: var(--navy-dark);
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 40px;
  max-width: 680px;
}
.section-dark .section-sub { color: #c8d0e3; }

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.2rem;
}
.card p { margin: 0; color: var(--muted); }

/* Service area */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
.area-col {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.area-col h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.15rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  display: inline-block;
}
.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  color: var(--text);
  font-size: 0.95rem;
}
.area-list li::before {
  content: "•";
  color: var(--navy);
  font-weight: 700;
  margin-right: 8px;
}
.area-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid p { color: var(--muted); font-size: 1.05rem; }
.about-grid strong { color: var(--navy-dark); }
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.stats li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stats strong {
  display: block;
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.stats span { color: var(--muted); font-size: 0.9rem; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: zoom-in;
}
.photo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.photo:hover img { transform: scale(1.03); }
.photo img { transition: transform 0.4s ease; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 21, 48, 0.94);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  animation: lightbox-fade 0.18s ease-out;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
@keyframes lightbox-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (max-width: 820px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 24px; }
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 0.15s ease;
}
.faq-list details[open] {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.15s ease;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-grid p { color: #c8d0e3; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.contact-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.05rem;
}
.contact-list span {
  min-width: 110px;
  color: #9aa6c2;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: center;
}

.quote-form {
  background: #fff;
  color: var(--text);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-dark);
  gap: 6px;
}
.quote-form .optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85em;
}
.quote-form input,
.quote-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}
.quote-form textarea { resize: vertical; min-height: 100px; }
.quote-form button { margin-top: 4px; }
.form-status {
  margin: 0;
  color: #1f7a3a;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 1.2em;
}

/* Footer */
.site-footer {
  background: #0c1530;
  color: #aab3ce;
  padding: 24px 0;
  font-size: 0.9rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer a { color: #ffd87a; }

/* Responsive */
@media (max-width: 820px) {
  .hero { padding: 72px 0 80px; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .about-grid,
  .contact-grid,
  .area-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section { padding: 64px 0; }
  nav a { display: none; }
  nav .btn-ghost { display: inline-block; margin-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .brand-text { font-size: 1rem; }
  .brand-mark { height: 84px; }
  .nav { height: 108px; }
  .site-header.scrolled .nav { height: 68px; }
  .site-header.scrolled .brand-mark { height: 48px; }
  .area-list { grid-template-columns: 1fr; }
  .contact-list span { min-width: 90px; }
}
