:root {
  --steel: #5a7d8c;
  --steel-dark: #466674;
  --black: #1a1a1a;
  --gray-900: #2b2b2b;
  --gray-800: #3a3a3a;
  --gray-700: #4a4a4a;
  --gray-500: #6b6b6b;
  --gray-300: #c8c8c8;
  --gray-200: #e5e5e5;
  --gray-100: #f4f4f4;
  --white: #ffffff;
  --highlight: #8eb4c4;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 6px;
  --container: 1140px;
  --header-h: 80px;
  --font: "Lexend", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  font-weight: 300;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--steel);
  text-decoration: none;
}

a:hover {
  color: var(--steel-dark);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--steel);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header--overlay {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.65) 0%, rgba(26, 26, 26, 0) 100%);
}

.site-header--solid,
.site-header.is-scrolled {
  background: rgba(26, 26, 26, 0.96);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--highlight);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn-primary,
.header-cta {
  background: var(--steel);
  color: var(--white) !important;
}

.btn-primary:hover,
.header-cta:hover {
  background: var(--steel-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-secondary {
  background: var(--gray-200);
  color: var(--gray-900);
}

.btn-secondary:hover {
  background: var(--gray-300);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(30, 30, 30, 0.88) 0%, rgba(90, 90, 90, 0.55) 55%, rgba(220, 220, 220, 0.35) 100%),
    center / cover no-repeat;
  padding-top: var(--header-h);
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero-highlight {
  color: var(--highlight);
}

.hero-rotate {
  display: inline-block;
  min-width: 0.5em;
  color: var(--highlight);
  animation: heroPulse 2.5s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.hero p {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
  color: var(--white);
}

.page-hero h1,
.page-hero h2 {
  margin: 0 0 0.75rem;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-hero p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--gray-100);
}

.section-dark {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.88);
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  color: var(--steel);
}

.section-lead {
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 0 2rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card,
.gallery-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.service-card:hover,
.gallery-card:hover {
  transform: translateY(-3px);
}

.service-card img,
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card-body,
.gallery-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.service-card h3,
.gallery-card h3,
.service-card h5,
.gallery-card h5 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
}

.service-card p,
.gallery-card p {
  margin: 0;
  font-size: 0.95rem;
}

.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.icon-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
}

.icon-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--steel);
  font-weight: 600;
}

.compliance-list li::before {
  content: "🛡";
  font-size: 0.85rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--steel);
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: capitalize;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.team-card h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}

.team-role {
  font-size: 0.85rem;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.team-card p {
  margin: 0;
  font-size: 0.9rem;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.specialties-grid li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.92rem;
}

.contact-strip {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.65rem;
}

.contact-list a {
  font-weight: 500;
}

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.form-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gray-900);
}

.form-intro {
  margin: 0 0 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-900);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--white);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.form-status--success {
  background: #e8f4ea;
  color: #1e5c2e;
}

.form-status--error {
  background: #fdecea;
  color: #8b1a12;
}

.contact-narrow {
  max-width: 640px;
  margin-inline: auto;
}

.contact-lead {
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter-form input[type="email"] {
  flex: 1 1 180px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-family: var(--font);
}

/* Legal */
.legal-content h1 {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content strong {
  display: block;
  margin-top: 1.25rem;
  color: var(--gray-900);
}

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--highlight);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.78);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

.headline-highlight {
  position: relative;
  display: inline;
}

.headline-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.35em;
  background: rgba(142, 180, 196, 0.35);
  z-index: -1;
}

.cta-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.emergency-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.map-embed {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius);
}

/* Responsive */
@media (max-width: 900px) {
  .split-grid,
  .emergency-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(26, 26, 26, 0.98);
    padding: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-menu.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .header-actions .btn-outline {
    display: none;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
