:root {
  --bg: #f3fbff;
  --bg-strong: #e5f5fb;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --ink: #14202b;
  --muted: #5d7280;
  --line: rgba(24, 22, 29, 0.1);
  --green: #69b88d;
  --green-deep: #245a67;
  --lime: #d8efc6;
  --blue: #4da3e6;
  --blue-soft: #dff3ff;
  --charcoal: #16303d;
  --shadow: 0 20px 50px rgba(24, 60, 86, 0.1);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

body[data-theme="dark"] {
  --bg: #0d1720;
  --bg-strong: #13212b;
  --surface: rgba(16, 27, 34, 0.84);
  --surface-strong: #182933;
  --ink: #eef8fc;
  --muted: #b6cad5;
  --line: rgba(255, 255, 255, 0.08);
  --green: #74c7a0;
  --green-deep: #2f8e9d;
  --lime: #d8efc6;
  --blue: #67b6f8;
  --blue-soft: #153a56;
  --charcoal: #f1fbff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 239, 198, 0.34), transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(77, 163, 230, 0.18), transparent 22%),
    linear-gradient(180deg, #f6fdff 0%, #ebf8ff 46%, #f8fdff 100%);
}

body[data-theme="dark"] {
  background:
    radial-gradient(circle at top left, rgba(116, 199, 160, 0.14), transparent 24%),
    radial-gradient(circle at 85% 8%, rgba(103, 182, 248, 0.15), transparent 22%),
    linear-gradient(180deg, #0c151d 0%, #122331 50%, #0d1820 100%);
}

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

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

.section-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  padding: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(36, 90, 103, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(24, 22, 29, 0.08);
}

.brand {
  flex: 0 0 auto;
  width: min(270px, 42vw);
}

.brand img {
  transition: opacity 180ms ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

body[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.04);
}

.theme-toggle-track {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(105, 184, 141, 0.9), rgba(77, 163, 230, 0.95));
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease;
}

body[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(20px);
}

.theme-toggle-label {
  min-width: 42px;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-weight: 600;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 10px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-deep);
  background: rgba(77, 163, 230, 0.1);
}

.nav-cta {
  margin-left: 10px;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2f8e9d);
  border-radius: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, filter 180ms ease;
  transform-origin: center;
}

.nav-cta:active,
.nav-cta.is-pressed {
  transform: translateY(1px) scale(0.97);
  filter: saturate(1.05);
}

.nav-toggle {
  display: none;
  border: 0;
  padding: 8px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--green-deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section {
  padding: 72px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 130px);
  overflow: hidden;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 130px);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3,
.highlight-value,
.card-kicker,
.gallery-tag {
  font-family: "Outfit", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.9rem, 6vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.lede,
.section-heading p,
.about-grid p,
.contact-copy p,
.contact-list,
.service-card p,
.process article p,
.highlight p,
.gallery-card h3,
.site-footer p,
.form-note {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-copy .lede {
  color: #10202b;
  font-weight: 700;
}

body[data-theme="dark"] .hero-copy .lede {
  color: var(--muted);
  font-weight: 500;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, filter 180ms ease;
  transform-origin: center;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:active,
.button.is-pressed {
  transform: translateY(1px) scale(0.97);
  filter: saturate(1.05);
}

.button.click-pop,
.nav-cta.click-pop {
  animation: clickPop 220ms ease;
}

@keyframes clickPop {
  0% {
    transform: scale(1);
    box-shadow: inherit;
  }

  35% {
    transform: translateY(2px) scale(0.94);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  }

  100% {
    transform: scale(1);
    box-shadow: inherit;
  }
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2f8e9d);
  box-shadow: 0 14px 28px rgba(49, 115, 164, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: linear-gradient(135deg, #63b6f1, #3da5c4);
  box-shadow: 0 16px 30px rgba(49, 115, 164, 0.26);
}

.button.secondary {
  color: var(--charcoal);
  border: 1px solid rgba(24, 22, 29, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: #0f5d86;
  background: linear-gradient(135deg, rgba(227, 245, 255, 0.98), rgba(207, 237, 252, 0.98));
  border-color: rgba(77, 163, 230, 0.28);
  box-shadow: 0 12px 24px rgba(77, 163, 230, 0.12);
}

body[data-theme="dark"] .button.secondary,
body[data-theme="dark"] .trust-points li,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .contact-form input,
body[data-theme="dark"] .contact-form select,
body[data-theme="dark"] .contact-form textarea {
  border-color: rgba(255, 255, 255, 0.1);
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
}

.trust-points li {
  position: relative;
  padding: 16px 22px 16px 46px;
  border: 1px solid rgba(77, 163, 230, 0.16);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(233, 247, 255, 0.96));
  box-shadow: 0 12px 24px rgba(77, 163, 230, 0.1);
  color: var(--charcoal);
  font-weight: 600;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.trust-points li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 0 0 6px rgba(77, 163, 230, 0.12);
}

.trust-points li:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 163, 230, 0.3);
  box-shadow: 0 16px 28px rgba(77, 163, 230, 0.16);
}

body[data-theme="dark"] .trust-points li {
  background: linear-gradient(135deg, rgba(19, 39, 52, 0.92), rgba(20, 52, 67, 0.92));
  border-color: rgba(103, 182, 248, 0.16);
  color: rgba(241, 251, 255, 0.94);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .trust-points li::before {
  box-shadow: 0 0 0 6px rgba(103, 182, 248, 0.12);
}

body[data-theme="dark"] .trust-points li:hover {
  border-color: rgba(103, 182, 248, 0.28);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.hero-panel {
  position: relative;
  min-height: 560px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.hero-faux-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(243, 251, 255, 0.44) 0%, rgba(243, 251, 255, 0.3) 28%, rgba(20, 32, 43, 0.08) 58%, rgba(20, 32, 43, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(10, 20, 28, 0.04)),
    radial-gradient(circle at 22% 22%, rgba(118, 208, 255, 0.16), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(176, 233, 170, 0.14), transparent 24%);
}

body[data-theme="dark"] .hero-faux-video::before {
  background:
    linear-gradient(90deg, rgba(8, 18, 26, 0.54) 0%, rgba(8, 18, 26, 0.4) 30%, rgba(8, 18, 26, 0.16) 58%, rgba(8, 18, 26, 0.26) 100%),
    linear-gradient(180deg, rgba(5, 16, 24, 0.12), rgba(5, 16, 24, 0.06)),
    radial-gradient(circle at 22% 22%, rgba(118, 208, 255, 0.18), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(176, 233, 170, 0.16), transparent 24%);
}

.hero-faux-video-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: heroFauxVideo 18s ease-in-out infinite;
  filter: saturate(1.04) contrast(1.02);
  pointer-events: none;
}

.hero-faux-video-frame-1 {
  background-image:
    linear-gradient(180deg, rgba(5, 15, 22, 0.14), rgba(5, 15, 22, 0.22)),
    url("site-images/lawn-irrigation.jpg");
  animation-delay: 0s;
}

.hero-faux-video-frame-2 {
  background-image:
    linear-gradient(180deg, rgba(5, 15, 22, 0.12), rgba(5, 15, 22, 0.24)),
    url("site-images/field-sprinklers.jpg");
  animation-delay: 6s;
}

.hero-faux-video-frame-3 {
  background-image:
    linear-gradient(180deg, rgba(5, 15, 22, 0.16), rgba(5, 15, 22, 0.26)),
    url("site-images/garden-edge-irrigation.jpg");
  animation-delay: 12s;
}

@keyframes heroFauxVideo {
  0% {
    opacity: 0;
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  8% {
    opacity: 0.92;
  }
  30% {
    opacity: 0.92;
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
  38% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1.12) translate3d(-2%, -1.5%, 0);
  }
}

.card-main {
  top: 0;
  right: 0;
  width: min(100%, 420px);
  min-height: 430px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, #22586a, #14212d 78%);
  z-index: 2;
}

.card-main strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.02;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.card-accent {
  left: 0;
  bottom: 18px;
  width: min(84%, 280px);
  padding: 26px;
  background:
    radial-gradient(circle at top, rgba(216, 239, 198, 0.8), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 248, 255, 0.94));
  backdrop-filter: blur(10px);
  z-index: 2;
}

body[data-theme="dark"] .card-accent {
  background:
    radial-gradient(circle at top, rgba(216, 239, 198, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(21, 38, 47, 0.96), rgba(16, 27, 34, 0.96));
}

.drop {
  display: inline-block;
  width: 44px;
  height: 60px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #65a9f6, #205db6);
  clip-path: path("M22 0 C12 15 0 28 0 40 C0 53 9 60 22 60 C35 60 44 53 44 40 C44 28 32 15 22 0 Z");
}

.highlights,
.services-grid,
.process-grid,
.gallery-grid,
.contact-grid,
.faq-list,
.about-grid {
  display: grid;
  gap: 22px;
}

.highlights {
  grid-template-columns: repeat(3, 1fr);
  padding-top: 0;
}

.field-strip-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
}

.field-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.field-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.field-card-wide img {
  height: 100%;
  min-height: 280px;
}

.field-card figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.highlight,
.service-card,
.process article,
.gallery-card,
.about-panel,
.contact-form {
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

body[data-theme="dark"] .highlight,
body[data-theme="dark"] .service-card,
body[data-theme="dark"] .process article,
body[data-theme="dark"] .about-panel,
body[data-theme="dark"] .contact-form {
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.highlight-value {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--green-deep);
  font-weight: 700;
}

.service-card-link::after {
  content: "->";
  transition: transform 180ms ease;
}

.service-card-link:hover::after,
.service-card-link:focus-visible::after {
  transform: translateX(4px);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -20px auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(77, 163, 230, 0.22), transparent 66%);
}

.about-grid {
  grid-template-columns: 1fr 0.9fr;
  align-items: start;
}

.service-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 210px);
}

.service-breadcrumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.service-breadcrumbs a:hover,
.service-breadcrumbs a:focus-visible {
  color: var(--green-deep);
}

.service-hero-panel {
  display: flex;
  justify-content: flex-end;
}

.service-hero-card,
.service-side-card,
.detail-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.service-hero-card {
  width: min(100%, 420px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, #22586a, #14212d 78%);
  color: #fff;
}

.service-hero-card strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.06;
}

.service-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

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

.service-areas-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-areas-layout {
  grid-template-columns: 1fr;
}

.service-areas-hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.service-areas-side {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card h3 {
  margin-bottom: 10px;
}

.service-side {
  display: grid;
  gap: 22px;
}

.service-bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.service-side-button {
  margin-top: 16px;
}

.about-panel {
  display: grid;
  gap: 18px;
}

.mini-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.process-step {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 620ms ease, transform 620ms ease, box-shadow 620ms ease;
}

.process.is-visible .process-step {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.process.is-visible .process-step:nth-child(1) {
  transition-delay: 320ms;
}

.process.is-visible .process-step:nth-child(2) {
  transition-delay: 620ms;
}

.process.is-visible .process-step:nth-child(3) {
  transition-delay: 920ms;
}

.process.is-visible .process-step:nth-child(4) {
  transition-delay: 1220ms;
}

.process article {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.process article:hover,
.process article:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 22px 38px rgba(29, 66, 90, 0.16);
  border-color: rgba(103, 182, 248, 0.18);
}

.process article:hover span,
.process article:focus-within span {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 12px 24px rgba(77, 163, 230, 0.24);
  filter: saturate(1.08);
}

.process article h3,
.process article p {
  transition: transform 220ms ease, color 220ms ease;
}

.process article:hover h3,
.process article:focus-within h3 {
  transform: translateY(-2px);
}

.process article:hover p,
.process article:focus-within p {
  transform: translateY(-2px);
  color: var(--ink);
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-section .section-heading {
  max-width: 860px;
}

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

body[data-theme="dark"] .faq-item {
  border-color: rgba(255, 255, 255, 0.06);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
  cursor: pointer;
}

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

.faq-item summary span {
  font-family: "Outfit", sans-serif;
  font-size: 1.32rem;
  line-height: 1.15;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: linear-gradient(135deg, rgba(105, 184, 141, 0.16), rgba(77, 163, 230, 0.18));
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-item[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 26px 24px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.gallery-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(21, 32, 43, 0.9), rgba(33, 103, 118, 0.82) 54%, rgba(96, 180, 245, 0.78)),
    linear-gradient(45deg, rgba(216, 239, 198, 0.18), transparent);
  color: #fff;
  transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
  transform-origin: center;
}

.gallery-card.is-clickable {
  cursor: pointer;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  opacity: 0.55;
  transition: opacity 240ms ease, transform 240ms ease;
  pointer-events: none;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(121, 211, 255, 0.38), transparent 62%);
  opacity: 0.5;
  transition: transform 260ms ease, opacity 260ms ease;
  pointer-events: none;
}

.gallery-card.has-image::before {
  opacity: 0.18;
}

.gallery-card.has-image::after {
  opacity: 0.18;
}

.gallery-card:hover,
.gallery-card:focus-within {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 24px 44px rgba(20, 28, 24, 0.18);
  filter: saturate(1.08);
}

.gallery-card:hover::before,
.gallery-card:focus-within::before {
  opacity: 0.9;
  transform: translateY(-6px);
}

.gallery-card:hover::after,
.gallery-card:focus-within::after {
  transform: translate(-14px, -12px) scale(1.08);
  opacity: 0.85;
}

.gallery-tag {
  display: inline-block;
  width: fit-content;
  padding: 8px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease;
}

.gallery-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.gallery-card.has-image .gallery-card-content {
  margin: 0 14px 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 15, 22, 0.22), rgba(8, 15, 22, 0.68));
  backdrop-filter: blur(6px);
}

.gallery-card h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  position: relative;
  z-index: 1;
  font-weight: 800;
  transition: transform 220ms ease, color 220ms ease;
}

.gallery-card .gallery-tag,
.gallery-card h3 {
  position: relative;
  z-index: 1;
}

.gallery-card.has-image .gallery-tag {
  background: rgba(255, 255, 255, 0.16);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(6, 12, 18, 0.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.image-lightbox.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox-img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  object-fit: contain;
  background: #0f1820;
}

.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  min-height: 44px;
  padding: 0 16px;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.gallery-card:hover .gallery-tag,
.gallery-card:focus-within .gallery-tag {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.22);
}

.gallery-card:hover h3,
.gallery-card:focus-within h3 {
  transform: translateY(-4px);
  color: #ffffff;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-list {
  padding-left: 0;
  list-style: none;
}

.contact-list li + li {
  margin-top: 10px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(24, 22, 29, 0.1);
  border-radius: var(--radius-sm);
}

body[data-theme="dark"] .contact-form input,
body[data-theme="dark"] .contact-form select,
body[data-theme="dark"] .contact-form textarea {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

body[data-theme="dark"] .contact-form input::placeholder,
body[data-theme="dark"] .contact-form textarea::placeholder {
  color: rgba(241, 251, 255, 0.5);
}

body[data-theme="dark"] .contact-form select option {
  color: #eef8fc;
  background: #182933;
}

body[data-theme="dark"] .site-header,
body[data-theme="dark"] .site-nav {
  background-color: transparent;
}

body[data-theme="dark"] .site-header {
  background: rgba(14, 20, 17, 0.98);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .site-nav a:hover,
body[data-theme="dark"] .site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(53, 119, 203, 0.2);
  border-color: rgba(53, 119, 203, 0.45);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer-wrap {
  width: 100%;
  margin-top: 48px;
  padding: 30px 0 36px;
  background:
    linear-gradient(180deg, rgba(8, 22, 31, 0.96), rgba(8, 22, 31, 1)),
    radial-gradient(circle at top right, rgba(77, 163, 230, 0.22), transparent 24%);
}

.site-footer {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr 0.85fr 0.85fr;
  gap: 28px;
  align-items: start;
  padding: 22px 0 10px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo-column {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-logo {
  width: min(100%, 220px);
  opacity: 0.96;
}

.footer-column strong {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
}

.footer-column,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column p {
  margin: 0;
}

.footer-heading {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a,
.footer-contact span,
.site-credit a {
  transition: color 180ms ease, opacity 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.site-credit a:hover,
.site-credit a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  text-align: center;
}

.copyright,
.site-credit {
  margin: 0;
  font-size: 0.96rem;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.28);
}

.site-credit a {
  color: #8ec1ff;
}

@media (max-width: 960px) {
  .hero-inner,
  .service-hero,
  .service-body,
  .about-grid,
  .contact-grid,
  .process-grid,
  .gallery-grid,
  .faq-list,
  .highlights,
  .field-strip-grid,
  .services-grid,
  .service-detail-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-areas-side {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-panel {
    min-height: 500px;
  }

  .service-hero {
    min-height: auto;
  }

  .service-hero-panel {
    justify-content: flex-start;
  }

  .site-header {
    gap: 12px;
    border-radius: 16px;
  }

  .nav-toggle {
    display: block;
    margin-left: 4px;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(36, 70, 48, 0.08);
    box-shadow: 0 18px 36px rgba(24, 22, 29, 0.12);
  }

  body[data-theme="dark"] .site-nav {
    background: rgba(17, 24, 20, 0.98);
    border-color: rgba(255, 255, 255, 0.06);
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 6px;
    text-align: center;
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .footer-bottom {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .section-inner {
    width: min(100% - 20px, 1240px);
  }

  .section {
    padding: 68px 0;
  }

  .service-areas-grid {
    grid-template-columns: 1fr;
  }

  .highlights {
    padding-top: 0;
  }

  .site-header-wrap {
    padding-top: 0;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    width: 190px;
  }

  .theme-toggle-label {
    display: none;
  }

  .hero-panel {
    min-height: 470px;
  }

  .card-main,
  .card-accent,
  .service-hero-card,
  .service-side-card,
  .detail-card,
  .highlight,
  .service-card,
  .process article,
  .gallery-card,
  .about-panel,
  .contact-form {
    padding: 22px;
  }

  .trust-points li {
    width: 100%;
  }
}
