:root {
  --navy-950: #071529;
  --navy-900: #0B1F3A;
  --navy-800: #132F54;
  --slate-700: #334E68;
  --slate-600: #486581;
  --slate-500: #627D98;
  --slate-200: #D9E2EC;
  --slate-100: #F0F4F8;
  --slate-50: #F8FAFC;
  --orange-600: #C94D14;
  --orange-500: #E05A1E;
  --orange-100: #FFF0E8;
  --white: #FFFFFF;
  --text: #102A43;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 31, 58, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.nowrap {
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: var(--navy-950);
  color: #CBD5E1;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-bar .sep {
  color: var(--orange-500);
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
}

.top-link:hover {
  color: #FDBA8C;
}

/* Dark Navy Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

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

.nav a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #E2E8F0;
  transition: color 0.15s ease;
}

.nav a:not(.btn):hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  font-family: inherit;
  text-align: center;
}

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

.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
  padding: 13px 18px;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background: var(--orange-600);
}

.btn-secondary {
  background: var(--navy-900);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--navy-800);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, var(--navy-800) 100%);
  color: var(--white);
  padding: 58px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.95rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--white);
}

.hero h1 .accent {
  color: #FDBA8C;
}

.hero-lead {
  font-size: 1.05rem;
  color: #D9E2EC;
  margin: 0 0 26px;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: #E2E8F0;
}

.hero-highlights svg {
  color: var(--orange-500);
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-photo-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
  background: var(--navy-950);
  aspect-ratio: 4 / 3;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(7, 21, 41, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
}

.hero-photo-badge strong {
  color: var(--white);
  font-size: 0.9rem;
}

.hero-photo-badge span {
  color: #CBD5E1;
  font-size: 0.8rem;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-mini-stats > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.hero-mini-stats strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  color: #FDBA8C;
}

.hero-mini-stats span {
  font-size: 0.76rem;
  color: #CBD5E1;
}

/* Sections */
section[id] {
  scroll-margin-top: 86px;
}

.section {
  padding: 74px 0;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-head {
  max-width: 740px;
  margin-bottom: 38px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-500);
  margin-bottom: 10px;
}

.section-head h2, .two-col h2, .quote-info h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  color: var(--navy-900);
  margin-bottom: 12px;
}

.section-head p, .body-muted {
  color: var(--slate-600);
  font-size: 1rem;
  margin: 0;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.service-card:hover {
  border-color: var(--slate-500);
  transform: translateY(-2px);
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--slate-100);
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.08rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

/* Industries & Features */
.two-col {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: start;
}

.feature-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--orange-500);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-item strong {
  color: var(--navy-900);
  font-size: 0.96rem;
}

.feature-item span {
  color: var(--slate-600);
  font-size: 0.89rem;
}

.industries-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.industries-panel h3 {
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--orange-500);
}

.check-list strong {
  color: var(--navy-900);
}

/* Before & After Gallery */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter-btn {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

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

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

.job-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.job-card.hidden-card {
  display: none;
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--navy-950);
}

.photo-slot {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy-950);
}

.photo-slot.photo-single {
  aspect-ratio: 16 / 9;
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.photo-slot:hover img {
  transform: scale(1.03);
}

.photo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--white);
}

.tag-before {
  background: rgba(11, 31, 58, 0.86);
}

.tag-after {
  background: #15803D;
}

.tag-field {
  background: var(--orange-500);
}

.job-meta {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.job-top {
  display: flex;
  flex-direction: column;
}

.job-cat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.job-loc {
  font-size: 0.83rem;
  color: var(--slate-500);
}

.job-stats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.job-stats span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--slate-100);
  padding: 4px 9px;
  border-radius: 6px;
}

/* Service Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.area-card h3 {
  font-size: 1.08rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.area-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-600);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 18px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--orange-500);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

/* Quote Section */
.quote-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 15px 18px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 9px;
  transition: border-color 0.15s ease;
}

a.contact-card:hover {
  border-color: var(--orange-500);
}

.contact-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.contact-val {
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-top: 2px;
}

.contact-sub {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-top: 2px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 5px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #BCCCDC;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.12);
}

.upload-note {
  margin: -6px 0 16px;
  font-size: 0.81rem;
  color: var(--slate-500);
}

.upload-note a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: underline;
}

.consent-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 9px;
  padding: 14px 16px;
  margin-bottom: 18px;
  display: grid;
  gap: 10px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--slate-700);
  line-height: 1.45;
  cursor: pointer;
}

.consent-row input {
  margin-top: 3px;
  accent-color: var(--orange-500);
  flex-shrink: 0;
}

.consent-row a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status.success {
  color: #166534;
}

.form-status.error {
  color: #B91C1C;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 21, 41, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-figure {
  margin: 0;
  max-width: 960px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-figure img {
  max-height: 76vh;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-figure figcaption {
  color: #E2E8F0;
  font-size: 0.92rem;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #CBD5E1;
  padding: 44px 0;
  font-size: 0.875rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  align-items: start;
  gap: 28px;
}

.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 10px;
}

.footer-brand p {
  margin: 0 0 4px;
}

.footer-sub {
  color: #9FB3C8;
  font-size: 0.8125rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, auto));
  gap: 8px 20px;
}

.footer-links a:hover, .footer-right a:hover {
  color: var(--white);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.copyright {
  color: #829AB1;
  font-size: 0.8rem;
  margin-top: 8px;
}

/* Legal standalone pages */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.legal-page h1 {
  color: var(--navy-900);
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--slate-500);
  font-size: 0.875rem;
  margin-bottom: 28px;
}

.legal-page h2 {
  color: var(--navy-900);
  font-size: 1.2rem;
  margin: 28px 0 8px;
}

.legal-page p, .legal-page li {
  color: var(--slate-700);
  font-size: 0.95rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--orange-500);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .quote-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-right {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hide-sm {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px;
    gap: 14px;
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    display: flex;
  }

  .cards-grid,
  .gallery-grid,
  .areas-grid,
  .faq-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .section {
    padding: 52px 0;
  }

  .form-card {
    padding: 20px 18px;
  }
}

@media (max-width: 460px) {
  .hide-xs {
    display: none;
  }
}
