:root {
  --bg: #060a08;
  --bg-soft: #0b1110;
  --panel: rgba(16, 20, 18, 0.86);
  --panel-solid: #111715;
  --panel-light: #f5f5f2;
  --text: #f6f7f3;
  --text-dark: #111612;
  --muted: #b7beb7;
  --muted-dark: #4e574f;
  --line: rgba(255, 255, 255, 0.12);
  --green: #77bd27;
  --green-strong: #66b31f;
  --green-soft: #a7d85c;
  --gold: #d2a75f;
  --gold-light: #e2c17b;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% -8%, rgba(119, 189, 39, 0.14), transparent 30rem),
    linear-gradient(180deg, #08100f 0%, #050706 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.no-hero {
  background:
    radial-gradient(circle at 80% 0, rgba(119, 189, 39, 0.14), transparent 28rem),
    #070b09;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

ul {
  margin: 0;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 4px;
  background: var(--green);
  color: #071007;
  font-weight: 900;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 7, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 64px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 224px;
}

.brand img,
.footer-logo {
  width: 235px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.main-nav a {
  padding: 0.7rem 0.55rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--green-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(119, 189, 39, 0.65);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold), #f0d999);
  color: #161109;
  box-shadow: 0 18px 44px rgba(210, 167, 95, 0.24);
}

.button-secondary {
  border-color: rgba(119, 189, 39, 0.35);
  background: rgba(0, 0, 0, 0.64);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--green);
  color: var(--green-soft);
}

.button-outline {
  border-color: rgba(119, 189, 39, 0.55);
  color: var(--text-dark);
  background: transparent;
}

.phone-pill {
  gap: 0.55rem;
  border-color: rgba(119, 189, 39, 0.3);
  background: #020302;
  color: #fff;
  white-space: nowrap;
}

.phone-pill::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.77.62 2.61a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.47-1.19a2 2 0 0 1 2.11-.45c.84.29 1.71.5 2.61.62A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.77.62 2.61a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.47-1.19a2 2 0 0 1 2.11-.45c.84.29 1.71.5 2.61.62A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-bottom: 1px solid rgba(210, 167, 95, 0.38);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 5, 0.94) 0%, rgba(4, 6, 5, 0.68) 38%, rgba(4, 6, 5, 0.26) 70%, rgba(4, 6, 5, 0.55) 100%),
    url("../images/hero-ca-solution.webp") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 6, 0.98));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 7rem 0 1.5rem;
}

.hero-content {
  max-width: 570px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  font-weight: 300;
}

h1 strong {
  display: block;
  font-weight: 950;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 3.05rem);
  font-weight: 950;
}

h3 {
  font-size: 1.08rem;
  font-weight: 950;
}

.hero-rule {
  width: min(270px, 62%);
  height: 3px;
  margin: 2rem 0 2rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-lead,
.page-lead,
.section-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.hero-strip {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 23, 21, 0.9), rgba(6, 9, 8, 0.74));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-strip a,
.metric {
  min-height: 118px;
  padding: 1rem 0.8rem;
  display: grid;
  place-items: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-strip a:last-child,
.metric:last-child {
  border-right: 0;
}

.tile-icon,
.metric-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.6rem;
  color: var(--gold);
}

.tile-icon svg,
.metric-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-kicker {
  display: none;
}

.tile-title {
  display: block;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.25;
}

.section {
  padding: 5.5rem 0;
}

.section.tight {
  padding: 4rem 0;
}

.section.alt {
  border-block: 1px solid rgba(210, 167, 95, 0.35);
  background:
    radial-gradient(circle at 20% 20%, rgba(119, 189, 39, 0.12), transparent 28rem),
    #0c1110;
}

.section.light {
  background: var(--panel-light);
  color: var(--text-dark);
}

.section.light .section-lead,
.section.light p {
  color: var(--muted-dark);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head .section-lead {
  justify-self: end;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.service-row {
  padding: 1.8rem 0 2rem;
  background: #0b0f0e;
}

.service-card {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #111;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-image, url("../images/service-installation.webp")) center/cover no-repeat;
  transform: scale(1.02);
  transition: transform 260ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.86) 100%);
}

.service-card:hover::before {
  transform: scale(1.07);
}

.service-card-content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card h3 {
  text-transform: uppercase;
}

.service-card p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.03rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--green-soft);
  font-weight: 950;
}

.card-link::after {
  content: "";
  width: 26px;
  height: 26px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.card,
.feature-card,
.text-card,
.reference-card,
.form-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.feature-card,
.text-card,
.reference-card,
.form-card {
  padding: 1.45rem;
}

.feature-card p,
.text-card p,
.reference-card p,
.legal-block p,
.legal-block li {
  color: var(--muted);
}

.text-card ul,
.legal-block ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.1rem;
  margin-top: 1rem;
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: auto;
  padding: 0;
  border: 0;
  text-align: left;
}

.metric-icon {
  width: 64px;
  height: 64px;
  margin: 0;
  color: var(--green);
}

.metric-value {
  display: block;
  color: var(--green);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.work-item {
  min-height: 170px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--work-image, url("../images/hero-ca-solution.webp")) center/cover no-repeat;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

body.has-lightbox {
  overflow: hidden;
}

.reference-gallery {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 8px;
  background: #080c0b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  touch-action: pan-y pinch-zoom;
}

.gallery-viewport:focus {
  outline: 2px solid rgba(119, 189, 39, 0.75);
  outline-offset: 4px;
}

.gallery-track {
  display: flex;
  transition: transform 280ms ease;
  will-change: transform;
}

.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 420px;
  padding: 0;
  border: 0;
  background: #101514;
  color: var(--text);
  cursor: zoom-in;
  text-align: left;
}

.gallery-slide-media,
.gallery-slide-media img {
  width: 100%;
  height: 100%;
}

.gallery-slide-media {
  position: absolute;
  inset: 0;
}

.gallery-slide-media img {
  object-fit: cover;
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 5, 0.02) 0%, rgba(4, 6, 5, 0.2) 48%, rgba(4, 6, 5, 0.9) 100%);
}

.gallery-slide-caption {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.35rem;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
}

.gallery-slide-caption strong {
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.gallery-slide-category {
  width: fit-content;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(119, 189, 39, 0.5);
  border-radius: 999px;
  background: rgba(5, 8, 7, 0.7);
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.lightbox-close {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.84);
  transition: opacity 160ms ease, transform 160ms ease;
}

.lightbox-close:hover {
  transform: translateY(-1px);
  color: #fff;
  opacity: 0.82;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 42px;
  height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
  transition: transform 160ms ease, color 160ms ease;
}

.gallery-nav:hover {
  transform: translateY(calc(-50% - 1px));
  color: #fff;
}

.gallery-prev {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  min-height: 14px;
  padding-top: 0.25rem;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(17, 22, 18, 0.38);
  border-radius: 999px;
  background: rgba(17, 22, 18, 0.28);
  cursor: pointer;
}

.gallery-dot.is-active {
  width: 28px;
  border-color: var(--green);
  background: var(--green);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(2, 4, 3, 0.92);
  backdrop-filter: blur(16px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.lightbox-frame img {
  width: 100%;
  max-height: min(74vh, 820px);
  border-radius: 8px;
  object-fit: contain;
  background: #070a09;
  box-shadow: var(--shadow);
}

.lightbox-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
}

.lightbox-frame figcaption span {
  color: var(--green-soft);
  font-weight: 850;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 46px;
  height: 46px;
  font-size: 2rem;
}

.lightbox-nav {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.84);
  transition: opacity 160ms ease, transform 160ms ease;
}

.lightbox-nav:hover {
  color: #fff;
  opacity: 0.82;
}

.dark-contact {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 80% 20%, rgba(119, 189, 39, 0.12), transparent 24rem),
    #0b1110;
}

.contact-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.contact-mini-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
}

.contact-mini-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(119, 189, 39, 0.65);
  border-radius: 999px;
  color: var(--green);
}

.contact-mini-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-hero {
  position: relative;
  padding: 6.5rem 0 4.8rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(210, 167, 95, 0.28);
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.96), rgba(5, 8, 7, 0.64)),
    var(--page-image, url("../images/hero-ca-solution.webp")) center/cover no-repeat;
}

.page-hero.compact {
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.96), rgba(5, 8, 7, 0.68)),
    var(--page-image, url("../images/hero-ca-solution.webp")) center/cover no-repeat;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 950;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumb a {
  color: var(--green-soft);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(300px, 0.32fr);
  gap: 2rem;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 120px;
  padding: 1.45rem;
  border: 1px solid rgba(119, 189, 39, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(119, 189, 39, 0.12), rgba(255, 255, 255, 0.035)),
    #101715;
}

.side-panel .button {
  width: 100%;
  margin-top: 1rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.check-list span {
  display: flex;
  gap: 0.7rem;
  color: var(--muted);
}

.check-list span::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--green);
}

.image-band {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 2rem;
  align-items: center;
}

.image-panel {
  min-height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  overflow: hidden;
  background: url("../images/service-installation.webp") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.contact-band {
  padding: 2.2rem;
  border: 1px solid rgba(119, 189, 39, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(119, 189, 39, 0.16), rgba(255, 255, 255, 0.035)),
    #0f1714;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.36);
  color: var(--text);
  font: inherit;
  padding: 0.88rem 0.95rem;
}

textarea {
  min-height: 156px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(119, 189, 39, 0.6);
  outline-offset: 2px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
  accent-color: var(--green);
}

.contact-list {
  display: grid;
  gap: 0.9rem;
}

.contact-item {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item strong {
  color: var(--text);
}

.contact-item span,
.contact-item a {
  color: var(--muted);
}

.contact-item a:hover {
  color: var(--green-soft);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 82% 0, rgba(119, 189, 39, 0.12), transparent 22rem),
    #060908;
}

.footer-main {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 3rem 0;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(3, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-main h3 {
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
  text-transform: uppercase;
}

.footer-main p,
.footer-main a {
  color: var(--muted);
}

.footer-main a:hover {
  color: var(--green-soft);
}

.footer-links {
  display: grid;
  gap: 0.48rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-block {
  display: grid;
  gap: 1.35rem;
}

.legal-block h2 {
  font-size: 1.6rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 420ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1280px) {
  .nav-actions .button-primary {
    display: none;
  }

  .brand img {
    width: 212px;
  }

  .main-nav {
    gap: 0.35rem;
  }
}

@media (max-width: 1060px) {
  .nav-shell {
    min-height: 82px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(5, 8, 7, 0.98);
  }

  .main-nav.is-open {
    display: flex;
  }

  .grid-4,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics,
  .section-head,
  .content-layout,
  .image-band,
  .contact-mini,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .section-head .section-lead {
    justify-self: start;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero-strip {
    backdrop-filter: none;
  }

  .container,
  .nav-shell,
  .hero-inner,
  .footer-main,
  .footer-bottom-inner {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 172px;
  }

  .phone-pill {
    width: 46px;
    height: 46px;
    padding: 0;
    font-size: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(4, 6, 5, 0.58) 0%, rgba(4, 6, 5, 0.82) 52%, rgba(4, 6, 5, 0.98) 100%),
      url("../images/hero-ca-solution.webp") center/cover no-repeat;
  }

  .hero-inner {
    padding: 4rem 0 1.5rem;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

  .hero-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-strip a {
    min-height: 96px;
    padding: 0.75rem 0.45rem;
  }

  .tile-title {
    font-size: 0.77rem;
  }

  .tile-icon {
    width: 30px;
    height: 30px;
  }

  .service-row {
    padding-top: 1.1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .work-grid,
  .form-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 132px;
  }

  .service-card::before {
    width: 42%;
    right: auto;
  }

  .service-card::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.62) 34%, rgba(0, 0, 0, 0.92) 100%);
  }

  .service-card-content {
    min-height: 132px;
    padding: 1rem 1rem 1rem 46%;
  }

  .service-card p {
    font-size: 0.92rem;
  }

  .section {
    padding: 4rem 0;
  }

  .metrics {
    gap: 1.4rem;
  }

  .metric {
    grid-template-columns: 60px 1fr;
  }

  .work-item {
    min-height: 140px;
  }

  .gallery-slide {
    min-height: 290px;
  }

  .gallery-nav {
    width: 34px;
    height: 48px;
    font-size: 2.55rem;
  }

  .gallery-prev {
    left: 0.7rem;
  }

  .gallery-next {
    right: 0.7rem;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr;
    padding: 4.5rem 1rem 1.25rem;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    font-size: 1.8rem;
  }

  .lightbox-prev {
    left: 0.65rem;
  }

  .lightbox-next {
    right: 0.65rem;
  }

  .lightbox-frame figcaption {
    display: grid;
  }

  .contact-band {
    padding: 1.3rem;
  }

  .image-panel {
    min-height: 300px;
  }

  .footer-bottom-inner {
    flex-direction: column;
  }
}
