/* Core Custom Properties */
:root {
  --navy: #153243;
  --teal: #075674;
  --aqua: #28a0b0;
  --light-bg: #f4f9f9;
  --card-bg: #ffffff;
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --white: #ffffff;
  --line: #e5e7eb;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Fira Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
}

body {
  line-height: 1.6;
}

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

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

/* Prevent Sticky Header Overlap on Scroll Anchors */
section[id],
main[id],
div[id] {
  scroll-margin-top: 100px;
}

/* Typography & Badges */
h1, h2, h3 {
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 8px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--teal);
  color: var(--white);
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid var(--teal);
  transition: all 0.2s ease;
  cursor: pointer;
}

.button:hover {
  background-color: var(--navy);
  border-color: var(--navy);
}

.button-small { padding: 8px 16px; font-size: 0.9rem; }
.button-outline { background: transparent; color: var(--teal); }
.button-outline:hover { background: var(--teal); color: var(--white); }
.button-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.button-light:hover { background: var(--light-bg); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
}

.brand-mark { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 600;
}

.nav-links a:hover { color: var(--teal); }

/* Layout Sections */
.section {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
}

.hero-copy h1 span { color: var(--teal); }
.hero-copy .actions { display: flex; gap: 16px; margin-top: 24px; }

.hero-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-visual img { width: 100%; height: 400px; }

.service-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Intro Band & Proof */
.intro-band {
  background-color: var(--white);
  padding: 50px 5%;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-inner { max-width: 900px; margin: 0 auto; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.stats strong { display: block; font-size: 2rem; color: var(--teal); }

.trust-proof {
  display: block;
  margin-top: 6px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Services Grid */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

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

.image-card, .solid-card, .split-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.image-card {
  display: flex;
  flex-direction: column;
}

.image-card img { height: 200px; width: 100%; }
.image-card div { padding: 24px; }

.solid-card {
  background: var(--navy);
  color: var(--white);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solid-card h3 { color: var(--white); }
.card-logo { width: 140px; margin-bottom: 20px; }

.split-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.split-card div { padding: 32px; }
.split-card img { height: 100%; min-height: 250px; }

.card-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--aqua);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card-link:hover {
  color: var(--navy);
}

/* Specialist Dark Section */
.dark-section {
  background: var(--navy);
  color: var(--white);
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.dark-section h2 { color: var(--white); margin-bottom: 16px; }
.checks { display: grid; gap: 16px; margin-top: 24px; }
.checks strong { display: block; color: var(--aqua); }
.dark-image img { border-radius: 12px; max-height: 380px; width: 100%; }

/* About Section (Compact Image) */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-card ul { list-style: none; margin-top: 20px; }
.about-card li { margin-bottom: 12px; }

.about-image img { 
  border-radius: 12px; 
  max-height: 280px; 
  width: 100%; 
  object-fit: cover; 
}

/* Quote Band & Form */
.quote-band {
  background: #eef7f8;
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.quote-form label { display: flex; flex-direction: column; font-size: 0.9rem; font-weight: 600; }
.quote-form label.full { grid-column: span 2; }

.quote-form input, .quote-form select, .quote-form textarea {
  margin-top: 6px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
}

.quote-form button { grid-column: span 2; margin-top: 8px; }

/* Footer */
.site-footer {
  background: #0d212d;
  color: #94a3b8;
  padding: 50px 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  font-size: 0.9rem;
}

.site-footer strong { color: var(--white); display: block; margin-bottom: 12px; }
.site-footer a { display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--white); }
.footer-brand { color: var(--white); margin-bottom: 12px; }

/* Responsive Adjustments */
@media (max-width: 868px) {
  .hero, .dark-section, .about, .quote-band, .split-card { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .split-card { grid-column: span 1; }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form label.full, .quote-form button { grid-column: span 1; }
  .nav-links { display: none; }
}
