﻿:root {
  --bg: #07100b;
  --bg-2: #0c1811;
  --panel: #102018;
  --panel-2: #15281d;
  --green: #7ed957;
  --green-2: #45a33d;
  --cream: #f3f7ee;
  --muted: #b8c5b7;
  --soft: rgba(243, 247, 238, 0.12);
  --line: rgba(126, 217, 87, 0.24);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageIn 420ms ease-out both;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 999;
  background: var(--green);
  color: #061006;
  padding: 0.75rem 1rem;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(7, 16, 11, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.site-header.is-scrolled {
  background: rgba(7, 16, 11, 0.96);
  border-bottom-color: rgba(126, 217, 87, 0.38);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}
.nav {
  min-height: 74px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--green);
  color: var(--green);
  background: #09150e;
}
.brand:hover .brand-mark { transform: translateY(-2px); border-color: #98ee70; }
.brand-text { color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); }
.nav-links a:hover { transform: translateY(-1px); }
.quote-link {
  color: #07100b !important;
  background: var(--green);
  padding: 0.72rem 1rem;
  border-radius: 6px;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  padding: 0.58rem 0.85rem;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 8rem 1.25rem 5rem;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7,16,11,0.96), rgba(7,16,11,0.66) 45%, rgba(7,16,11,0.2)), linear-gradient(0deg, var(--bg), rgba(7,16,11,0) 38%);
}
.hero-content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  animation: liftIn 620ms ease-out 120ms both;
}
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}
h1, h2, h3 { line-height: 1.05; margin: 0; }
h1 {
  max-width: 820px;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  letter-spacing: 0;
}
.hero-line {
  margin: 1rem 0;
  color: var(--green);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.35rem);
}
.hero-copy {
  max-width: 610px;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 0.82rem 1.15rem;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.primary { background: var(--green); color: #061006; }
.secondary { background: rgba(255,255,255,0.06); color: var(--cream); border-color: var(--line); }
.primary:hover { background: #98ee70; box-shadow: 0 12px 30px rgba(126, 217, 87, 0.22); transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.98); }
.secondary:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

.quick-contact {
  max-width: 1180px;
  margin: -2.5rem auto 0;
  position: relative;
  z-index: 4;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.quick-contact div {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.35rem;
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease;
}
.quick-contact div:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 217, 87, 0.45);
  background: var(--panel-2);
}
.quick-contact span { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.quick-contact a { color: #fff; font-size: 1.2rem; font-weight: 800; text-decoration: none; }

.section { padding: clamp(4rem, 8vw, 7rem) 1.25rem; max-width: 1180px; margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-heading h2, .cta-panel h2 { font-size: clamp(2rem, 4vw, 4rem); }
.image-band-copy h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
.section-kicker { grid-column: 2; max-width: 560px; margin: -1rem 0 0; font-size: 1rem; }
.centered { display: block; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.intro-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.intro-grid article, .contact-card, .contact-form, .legal-page {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease;
}
.intro-grid article:hover, .contact-card:hover, .legal-page:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 217, 87, 0.42);
  background: var(--panel-2);
}
.intro-grid h3 { font-size: 1.4rem; color: #fff; margin-bottom: 0.7rem; }
p, li { color: var(--muted); }

.image-band {
  max-width: 1180px;
  min-height: 0;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.image-band:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 217, 87, 0.42);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.image-band img { width: 100%; height: 100%; max-height: 330px; object-fit: cover; }
.image-band-copy { padding: clamp(1.5rem, 4vw, 3rem); align-self: center; }
.image-band-copy p:last-child { max-width: 560px; }

.service-card {
  min-height: 430px;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.35s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,16,11,0.96), rgba(7,16,11,0.14)); }
.service-card:hover { transform: translateY(-6px); border-color: rgba(126, 217, 87, 0.48); box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42); }
.service-card:hover img { transform: scale(1.04); }
.service-card span { font-size: 1.55rem; font-weight: 900; }
.service-card p { margin-bottom: 0; }

.page-hero {
  min-height: 58vh;
  position: relative;
  padding: 8rem 1.25rem 4rem;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: pageHeroDrift 16s ease-in-out infinite alternate; }
.page-hero > div { width: 100%; max-width: 1180px; margin: 0 auto; }
.page-hero p:last-child { max-width: 640px; font-size: 1.1rem; }

.service-list { display: grid; gap: 4rem; }
.service-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.service-detail.flip img { order: 2; }
.service-detail > img { width: 100%; height: 430px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.service-detail h2, .contact-card h2, .contact-form h2, .legal-page h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.service-detail ul { padding-left: 1.2rem; margin: 1.2rem 0 1.6rem; }
.service-detail li { margin-bottom: 0.45rem; }

.cta-panel {
  max-width: 980px;
  margin: 0 auto clamp(4rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4rem) 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, var(--panel), #0a140e);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cta-panel p { max-width: 660px; margin-left: auto; margin-right: auto; }
.centered-actions { justify-content: center; }

.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1rem; align-items: start; }
.phone-large { display: block; color: #fff; font-weight: 900; font-size: clamp(1.45rem, 4vw, 2.3rem); text-decoration: none; margin: 0.5rem 0; }
body[data-page="contact"] .contact-layout {
  grid-template-columns: minmax(280px, 620px);
  justify-content: center;
}

.contact-number-card {
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.primary-phone {
  color: var(--green);
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  line-height: 1;
  margin: 1rem 0 1.2rem;
}

.backup-number {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--muted);
}

.backup-number summary {
  cursor: pointer;
  display: inline-block;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.backup-number summary:hover,
.backup-number summary:focus-visible {
  color: var(--green);
}

.backup-number a {
  display: block;
  margin-top: 0.75rem;
  color: var(--cream);
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  font-weight: 900;
  text-decoration: none;
}

.modal-backup a {
  font-size: 1.2rem;
}
.contact-form { display: grid; gap: 0.75rem; }
.contact-form label { color: var(--cream); font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #08130d;
  color: var(--cream);
  padding: 0.82rem 0.9rem;
}
.form-note { font-size: 0.88rem; margin: 0; }

.legal-page { max-width: 860px; margin: 9rem auto 5rem; }
.legal-page h2 { font-size: 1.45rem; margin-top: 2rem; }
.legal-page a { color: var(--green); }
.updated { color: var(--green); font-weight: 800; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.site-footer strong { font-size: 1.1rem; }
.site-footer p { margin: 0.35rem 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-end; }
.site-footer a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.site-footer a:hover { color: var(--green); }

.call-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.72);
  padding: 1rem;
  place-items: center;
}
.call-modal.open { display: grid; }
.modal-card {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  animation: popIn 180ms ease-out both;
}
.modal-card a { display: block; text-decoration: none; color: #fff; font-size: 1.45rem; font-weight: 900; margin-top: 0.8rem; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: transparent; color: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 0.4rem 0.65rem; }

.cookie-banner {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 980px;
  margin: 0 auto;
  background: #0d1b13;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: var(--shadow);
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}
.cookie-banner.show { display: grid; animation: cookieRise 260ms ease-out both; }
.cookie-banner p { margin: 0; font-size: 0.92rem; }
.cookie-banner a { color: var(--green); }
.cookie-banner div { display: flex; gap: 0.6rem; }
.cookie-banner button { border-radius: 6px; padding: 0.65rem 0.9rem; border: 1px solid var(--line); font-weight: 800; cursor: pointer; }
.cookie-banner button:last-child { background: var(--green); color: #061006; }
.cookie-banner button:first-child { background: transparent; color: var(--cream); }

@media (max-width: 840px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 16, 11, 0.98);
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a { padding: 0.9rem; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; }
  .quick-contact, .intro-grid, .card-grid, .section-heading, .image-band, .service-detail, .contact-layout { grid-template-columns: 1fr; }
  .section-kicker { grid-column: auto; margin-top: 0; }
  .quick-contact { margin-top: 0; }
  .service-detail.flip img { order: 0; }
  .image-band { margin-left: 1.25rem; margin-right: 1.25rem; }
  .image-band img { height: 260px; max-height: 260px; }
  .site-footer { flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
  .cookie-banner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand-text { max-width: 150px; line-height: 1.05; }
  .nav { min-height: 66px; }
  .nav-links { top: 66px; }
  .hero { min-height: 78vh; padding: 6.5rem 1rem 3.5rem; }
  h1 { font-size: clamp(2.85rem, 16vw, 4.8rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions .button, .cta-panel .button { width: 100%; }
  .quick-contact { padding: 0 1rem; }
  .quick-contact div { padding: 1rem; }
  .quick-contact a { font-size: 1rem; }
  .section { padding: 3.2rem 1rem; }
  .intro-grid article, .contact-card, .contact-form, .legal-page { padding: 1.15rem; }
  .image-band { margin-left: 1rem; margin-right: 1rem; }
  .image-band-copy { padding: 1.25rem; }
  .image-band-copy h2 { font-size: 1.75rem; }
  .image-band img { height: 210px; max-height: 210px; }
  .service-card { min-height: 330px; }
  .service-detail > img { height: 300px; }
  .cookie-banner div { flex-direction: column; }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.06) translate3d(-1.2%, -1%, 0); }
}

@keyframes pageHeroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.045) translate3d(1%, -1%, 0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes cookieRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}





