:root {
  --teal-900: #0b3d3c;
  --teal-800: #0e5c5b;
  --teal-700: #14736c;
  --emerald-600: #1fa37a;
  --emerald-500: #29bf8f;
  --mint-100: #f4faf8;
  --mint-200: #e4f3ef;
  --sage-200: #cfe6de;
  --slate-900: #10211f;
  --slate-700: #39524e;
  --slate-500: #667a76;
  --white: #ffffff;
  --line: rgba(14, 92, 91, 0.16);
  --shadow-sm: 0 10px 26px rgba(16, 33, 31, 0.08);
  --shadow-md: 0 18px 50px rgba(16, 33, 31, 0.13);
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --header-height: 86px;
  --container: min(1120px, calc(100vw - 40px));
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --font-sans: Aptos, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Aptos Display", Aptos, "Segoe UI Variable Display", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: var(--mint-100);
  font-family: var(--font-sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  color: var(--white);
  background: var(--teal-800);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--teal-900);
  border-radius: var(--radius-sm);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(31, 163, 122, 0.55);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--emerald-600), #86dcc1);
  transform-origin: left center;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.section-anchor {
  scroll-margin-top: 96px;
}

.site-header {
  position: fixed;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100%;
  transition: background 240ms var(--ease-out), box-shadow 240ms var(--ease-out), backdrop-filter 240ms var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(244, 250, 248, 0.9);
  box-shadow: 0 10px 32px rgba(16, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--container);
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  transition: height 240ms var(--ease-out);
}

.site-header.is-scrolled .nav-shell {
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(42px, 4.4vw, 56px);
  max-width: min(238px, 58vw);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  color: var(--slate-700);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--emerald-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal-800);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(14, 92, 91, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--teal-900);
  border-radius: 10px;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 150px 0 100px;
  color: var(--slate-900);
  background: #edf7f4;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  --hero-x: 50%;
  --hero-y: 45%;
}

.hero-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.045);
  animation: heroImageDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 250, 248, 0.96) 0%, rgba(244, 250, 248, 0.9) 30%, rgba(244, 250, 248, 0.56) 55%, rgba(244, 250, 248, 0.2) 100%),
    linear-gradient(180deg, rgba(244, 250, 248, 0.75) 0%, rgba(244, 250, 248, 0.2) 34%, rgba(244, 250, 248, 0.86) 100%);
}

.hero-focus-light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(255, 255, 255, 0.44), transparent 18%),
    radial-gradient(circle at 14% 22%, rgba(31, 163, 122, 0.16), transparent 30%);
  mix-blend-mode: screen;
  transition: background 160ms var(--ease-out);
}

.hero-solar-shimmer {
  position: absolute;
  right: -18%;
  bottom: -22%;
  width: 62vw;
  height: 42vh;
  background: linear-gradient(116deg, transparent 0 38%, rgba(255, 255, 255, 0.42) 45%, rgba(31, 163, 122, 0.14) 51%, transparent 60%);
  transform: translate3d(18%, 0, 0) rotate(-8deg);
  animation: solarShimmer 9s ease-in-out infinite;
  opacity: 0.64;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--emerald-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--teal-900);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  color: var(--teal-900);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--teal-900);
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--slate-700);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-intel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-intel span {
  padding: 8px 11px;
  color: var(--teal-800);
  background: rgba(244, 250, 248, 0.78);
  border: 1px solid rgba(14, 92, 91, 0.14);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms var(--ease-out), color 180ms var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  transition: transform 160ms var(--ease-out);
}

.tilt-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-lift: 0px;
  --tilt-scale: 1;
  --glare-x: 50%;
  --glare-y: 50%;
  position: relative;
  transform-style: preserve-3d;
}

.tilt-card > * {
  position: relative;
  z-index: 2;
}

.btn svg path,
.stat-icon path,
.tag-cloud svg path,
.contact-icon path,
.footer-contact-line svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover svg {
  transform: translateX(1px);
}

.btn:active {
  transform: translateY(0) scale(0.97);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-800), var(--emerald-600));
  box-shadow: 0 14px 30px rgba(14, 92, 91, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(14, 92, 91, 0.3);
}

.btn-secondary {
  color: var(--teal-800);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(14, 92, 91, 0.18);
  box-shadow: var(--shadow-sm);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-500);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.hero-brief {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 108px;
  width: min(315px, calc(100vw - 48px));
  padding: 20px;
  color: var(--teal-900);
  background: rgba(244, 250, 248, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(16, 33, 31, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.08);
  transform: perspective(700px) translateY(var(--tilt-lift)) scale(var(--tilt-scale)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 360ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.hero-brief p {
  margin-bottom: 9px;
  color: var(--emerald-600);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-brief strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.18;
}

.hero-brief div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-brief span {
  padding: 7px 9px;
  color: rgba(11, 61, 60, 0.82);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(14, 92, 91, 0.1);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.scroll-cue.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.scroll-cue span {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(14, 92, 91, 0.35);
  border-radius: 999px;
  position: relative;
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--emerald-600);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease-in-out infinite;
}

.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}

.section-heading {
  max-width: 660px;
}

.section-heading.centered {
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.about-copy > p,
.contact p {
  color: var(--slate-700);
  font-size: 1.04rem;
}

.point-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.point-grid article,
.service-card,
.testimonial-card,
.contact-form {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(14, 92, 91, 0.1);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.point-grid article {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-md);
  transform: perspective(720px) translateY(var(--tilt-lift)) scale(var(--tilt-scale)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 240ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out), background 220ms var(--ease-out);
  will-change: transform;
}

.point-grid article:hover {
  --tilt-lift: -6px;
  --tilt-scale: 1.01;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(31, 163, 122, 0.24);
  box-shadow: var(--shadow-md);
}

.point-grid article:hover .mini-icon {
  color: var(--white);
  background: linear-gradient(145deg, var(--teal-800), var(--emerald-600));
  box-shadow: 0 12px 24px rgba(14, 92, 91, 0.16);
  transform: translateY(-1px);
}

.point-grid p,
.service-card p,
.timeline p,
.testimonial-card span,
.site-footer p {
  color: var(--slate-700);
}

.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--teal-800);
  background: var(--mint-200);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  transition: color 200ms var(--ease-out), background 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.services {
  background: linear-gradient(180deg, var(--white), var(--mint-100));
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 258px;
  padding: 28px;
  border-radius: var(--radius-md);
  transform: perspective(760px) translateY(var(--tilt-lift)) scale(var(--tilt-scale)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 260ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
  will-change: transform;
}

.service-card::after,
.stats-grid article::after,
.contact-details p::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.72) 48%, transparent 58%);
  opacity: 0;
  transform: translateX(-64%);
  transition: opacity 220ms var(--ease-out), transform 720ms var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255, 255, 255, 0.62), transparent 30%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
  pointer-events: none;
}

.tilt-card.is-tilting::before {
  opacity: 0.32;
}

.service-card:hover {
  --tilt-lift: -8px;
  --tilt-scale: 1.01;
  border-color: rgba(31, 163, 122, 0.28);
  box-shadow: var(--shadow-md);
}

.service-card:hover::after,
.stats-grid article:hover::after,
.contact-details p:hover::after {
  opacity: 0.5;
  transform: translateX(64%);
}

.service-card:hover .icon-wrap {
  color: var(--white);
  background: linear-gradient(145deg, var(--teal-800), var(--emerald-600));
  box-shadow: 0 16px 30px rgba(14, 92, 91, 0.18);
  transform: translateY(-2px);
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  color: var(--teal-800);
  background: linear-gradient(145deg, #e8f7f2, #ffffff);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(31, 163, 122, 0.13);
  transition: color 220ms var(--ease-out), background 220ms var(--ease-out), box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.icon-wrap svg {
  width: 30px;
  height: 30px;
}

.icon-wrap path,
.testimonial-controls path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 90px;
}

.timeline-line {
  position: absolute;
  top: 49px;
  left: 12.5%;
  width: 75%;
  height: 3px;
  background: rgba(14, 92, 91, 0.13);
  border-radius: 999px;
  overflow: hidden;
}

.timeline-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--emerald-600), #92ddc6);
  transform: scaleX(0);
  transform-origin: left;
}

.timeline.is-visible .timeline-line::after {
  animation: drawLine 900ms ease forwards;
}

.timeline article {
  position: relative;
  overflow: visible;
  padding: 34px 22px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(14, 92, 91, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(16, 33, 31, 0.06);
  transform: perspective(700px) translateY(var(--tilt-lift)) scale(var(--tilt-scale)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 240ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
  will-change: transform;
}

.timeline article:hover {
  --tilt-lift: -5px;
  --tilt-scale: 1.008;
  border-color: rgba(31, 163, 122, 0.22);
  box-shadow: var(--shadow-sm);
}

.timeline article span {
  position: absolute;
  z-index: 3;
  top: -66px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal-800), var(--emerald-600));
  border: 7px solid var(--mint-100);
  border-radius: 50%;
  font-weight: 900;
  transform: translateX(-50%) scale(0.86);
  opacity: 0;
}

.timeline.is-visible article span {
  animation: popStep 460ms ease forwards;
}

.timeline.is-visible article:nth-of-type(1) span {
  animation-delay: 120ms;
}

.timeline.is-visible article:nth-of-type(2) span {
  animation-delay: 330ms;
}

.timeline.is-visible article:nth-of-type(3) span {
  animation-delay: 540ms;
}

.timeline.is-visible article:nth-of-type(4) span {
  animation-delay: 750ms;
}

.expertise {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-900), var(--teal-800));
}

.expertise .section-heading h2,
.expertise .section-heading p {
  color: var(--white);
}

.expertise .eyebrow {
  color: #95ecd0;
}

.parallax-band {
  position: absolute;
  inset: -20% 0;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(255, 255, 255, 0.1) 18% 19%, transparent 19% 36%),
    radial-gradient(circle at 72% 28%, rgba(41, 191, 143, 0.28), transparent 24%);
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
}

.tag-cloud {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.tag-cloud span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms var(--ease-out), background 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.tag-cloud span:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.36);
}

.tag-cloud svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.stats-band {
  padding: 96px 0;
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stats-grid article {
  position: relative;
  overflow: hidden;
  padding: 30px 22px;
  text-align: center;
  background: linear-gradient(180deg, #f9fdfb, #eff8f5);
  border: 1px solid rgba(14, 92, 91, 0.1);
  border-radius: var(--radius-md);
  transform: perspective(720px) translateY(var(--tilt-lift)) scale(var(--tilt-scale)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.stats-grid article:hover {
  --tilt-lift: -5px;
  border-color: rgba(31, 163, 122, 0.24);
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--teal-800);
  background: rgba(31, 163, 122, 0.1);
  border: 1px solid rgba(31, 163, 122, 0.16);
  border-radius: 14px;
}

.stat-icon svg {
  width: 23px;
  height: 23px;
}

.stats-grid strong {
  display: block;
  color: var(--teal-800);
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  line-height: 1;
}

.stats-grid p {
  margin: 12px 0 0;
  color: var(--slate-700);
  font-weight: 800;
}

.testimonials {
  background: var(--mint-100);
}

.testimonial-shell {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.testimonial-track {
  display: grid;
}

.testimonial-card {
  grid-area: 1 / 1;
  min-height: 270px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}

.testimonial-card.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-card p {
  color: var(--teal-900);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
}

.testimonial-card footer {
  margin-top: 30px;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.testimonial-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--teal-800);
  background: var(--white);
  border: 1px solid rgba(14, 92, 91, 0.14);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms var(--ease-out), color 180ms var(--ease-out);
}

.testimonial-controls button:hover {
  color: var(--emerald-600);
  transform: translateY(-2px);
}

.testimonial-controls button:active {
  transform: translateY(0) scale(0.96);
}

.testimonial-controls svg {
  width: 22px;
  height: 22px;
}

.contact {
  background: linear-gradient(180deg, var(--white), var(--mint-100));
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-details p {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(14, 92, 91, 0.1);
  border-radius: var(--radius-sm);
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.contact-details p:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 163, 122, 0.24);
  box-shadow: var(--shadow-sm);
}

.contact-details strong {
  display: block;
  color: var(--teal-800);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--teal-800);
  background: var(--mint-200);
  border-radius: 12px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-details a,
.site-footer p a {
  text-decoration: underline;
  text-decoration-color: rgba(14, 92, 91, 0.25);
  text-underline-offset: 3px;
}

.contact-details a:hover,
.site-footer p a:hover {
  color: var(--emerald-600);
  text-decoration-color: currentColor;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transform: perspective(900px) translateY(var(--tilt-lift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 280ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.contact-form.is-tilting {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 163, 122, 0.2);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row.full {
  grid-column: 1 / -1;
}

label {
  color: var(--teal-900);
  font-size: 0.9rem;
  font-weight: 800;
}

label span {
  color: #a73232;
}

input,
select,
textarea {
  width: 100%;
  color: var(--slate-900);
  background: var(--white);
  border: 1px solid rgba(14, 92, 91, 0.2);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 4px rgba(31, 163, 122, 0.12);
  outline: none;
}

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #b33434;
  box-shadow: 0 0 0 4px rgba(179, 52, 52, 0.1);
}

.error-message {
  min-height: 18px;
  color: #9f2d2d;
  font-size: 0.82rem;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--teal-800);
  font-weight: 800;
}

.site-footer {
  padding: 70px 0 26px;
  color: rgba(255, 255, 255, 0.88);
  background: var(--teal-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr 0.85fr;
  gap: 46px;
}

.site-footer h2 {
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-logo {
  width: min(250px, 82vw);
  height: auto;
  max-width: min(250px, 82vw);
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-contact-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.footer-contact-line svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: rgba(149, 236, 208, 0.88);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@keyframes heroImageDrift {
  0% {
    transform: scale(1.045) translate3d(0, 0, 0);
  }
  45% {
    transform: scale(1.075) translate3d(-1.4%, -0.8%, 0);
  }
  100% {
    transform: scale(1.065) translate3d(1.1%, 0.5%, 0);
  }
}

@keyframes solarShimmer {
  0%,
  100% {
    opacity: 0.22;
    transform: translate3d(18%, 4%, 0) rotate(-8deg);
  }
  50% {
    opacity: 0.68;
    transform: translate3d(-22%, -8%, 0) rotate(-8deg);
  }
}

@keyframes briefFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 13px);
  }
}

@keyframes drawLine {
  to {
    transform: scaleX(1);
  }
}

@keyframes popStep {
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 32px, 780px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(14, 92, 91, 0.12);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero-content {
    margin-left: auto;
  }

  .hero-brief {
    display: none;
  }

  .two-column,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .timeline {
    grid-template-columns: 1fr;
    padding-top: 34px;
    padding-left: 18px;
  }

  .timeline-line {
    top: 32px;
    bottom: 32px;
    left: 25px;
    width: 3px;
    height: auto;
  }

  .timeline-line::after {
    transform: scaleY(0);
    transform-origin: top;
  }

  .timeline.is-visible .timeline-line::after {
    animation-name: drawLineVertical;
  }

  .timeline article {
    min-height: 130px;
    padding: 8px 0 10px 78px;
    text-align: left;
  }

  .timeline article span {
    top: 0;
    left: 8px;
    transform: scale(0.86);
  }

  .timeline.is-visible article span {
    animation-name: popStepMobile;
  }

  @keyframes drawLineVertical {
    to {
      transform: scaleY(1);
    }
  }

  @keyframes popStepMobile {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 560px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .section {
    padding: 78px 0;
  }

  .brand-logo {
    height: 42px;
    max-width: 166px;
  }

  .nav-shell,
  .site-header.is-scrolled .nav-shell {
    height: 66px;
  }

  .hero {
    min-height: 100svh;
    padding: 112px 0 86px;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4.6rem);
  }

  .hero-actions,
  .hero-actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .hero-intel {
    gap: 6px;
  }

  .hero-intel span {
    font-size: 0.72rem;
  }

  .scroll-cue {
    right: 18px;
    bottom: 18px;
  }

  .point-grid,
  .service-grid,
  .stats-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .testimonial-card {
    min-height: 330px;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .timeline-line::after {
    transform: none;
  }

  .timeline article span {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  .hero-brief {
    animation: none;
  }

  .tilt-card,
  .contact-form,
  .service-card,
  .stats-grid article,
  .hero-brief {
    transform: none !important;
  }
}
