:root {
  --green-950: #052f2a;
  --green-900: #073c35;
  --green-800: #0a5145;
  --green-600: #008d4a;
  --green-500: #16a05c;
  --red-600: #d72a24;
  --red-700: #b91f1a;
  --cream-100: #f7f3ea;
  --mint-100: #e7f2ed;
  --mint-200: #d7e9e1;
  --ink: #122521;
  --muted: #5d6d68;
  --line: #d8e1dd;
  --white: #ffffff;
  --yellow: #e9c35a;
  --shadow-sm: 0 12px 32px rgba(5, 47, 42, 0.08);
  --shadow-lg: 0 30px 70px rgba(5, 47, 42, 0.17);
  --radius-sm: 0.85rem;
  --radius-md: 1.4rem;
  --radius-lg: 2.4rem;
  --container: 74rem;
  --header-height: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

button,
[type="submit"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--red-600);
  font-weight: 800;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 52rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--soft {
  background: var(--cream-100);
}

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

.section--dark {
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
}

.section-header {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.55rem;
  margin: 0;
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 0.22rem;
  content: "";
  background: repeating-linear-gradient(90deg, var(--red-600) 0 0.4rem, transparent 0.4rem 0.55rem);
}

.section--dark .eyebrow,
.hero .eyebrow {
  color: #9de1bf;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: inherit;
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.65rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

p {
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.section--dark .lead {
  color: #cde3da;
}

.topbar {
  color: #d9ece4;
  background: var(--green-950);
  font-size: 0.78rem;
}

.topbar__inner {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__items {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

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

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

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(5, 47, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(5, 47, 42, 0.05);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  width: clamp(10rem, 15vw, 12.5rem);
  align-items: center;
}

.brand img {
  width: 100%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding-block: 0.55rem;
  color: #29423b;
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 0.16rem;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--red-600);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: grid;
  color: var(--green-900);
  font-size: 0.78rem;
  line-height: 1.25;
  text-decoration: none;
}

.header-phone strong {
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 820;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn--primary {
  color: var(--white);
  background: var(--red-600);
  box-shadow: 0 12px 25px rgba(215, 42, 36, 0.22);
}

.btn--primary:hover {
  background: var(--red-700);
  box-shadow: 0 16px 30px rgba(185, 31, 26, 0.28);
}

.btn--green {
  color: var(--white);
  background: var(--green-600);
}

.btn--light {
  color: var(--green-900);
  background: var(--white);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--green-900);
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  color: var(--green-900);
  background: var(--white);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span::before {
  transform: translateY(-0.42rem);
}

.menu-toggle span::after {
  transform: translateY(0.32rem);
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

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

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
}

.hero::before {
  position: absolute;
  top: 0;
  right: -8rem;
  width: min(48vw, 42rem);
  height: 100%;
  content: "";
  opacity: 0.22;
  background: repeating-linear-gradient(168deg, transparent 0 2.5rem, rgba(255, 255, 255, 0.18) 2.5rem 2.75rem);
  transform: skewX(-10deg);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(41rem, calc(100vh - 7rem));
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(3.25rem, 6vw, 5rem);
}

.hero__copy {
  display: grid;
  gap: 1.15rem;
}

.hero h1 {
  max-width: 43rem;
  font-size: clamp(2.75rem, 5.8vw, 4.85rem);
}

.hero h1 span {
  color: #9de1bf;
}

.hero__lead {
  max-width: 43rem;
  color: #d7e8e1;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__visual {
  position: relative;
  min-height: 29rem;
}

.hero__photo {
  position: absolute;
  inset: 0 0 2rem 1.4rem;
  width: calc(100% - 1.4rem);
  height: calc(100% - 2rem);
  object-fit: cover;
  object-position: 50% 45%;
  border: 0.65rem solid rgba(255, 255, 255, 0.08);
  border-radius: 1.4rem 1.4rem 5.5rem 1.4rem;
  box-shadow: var(--shadow-lg);
}

.hero__badge {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  display: grid;
  max-width: 15rem;
  padding: 1.2rem 1.35rem;
  border-radius: 1rem;
  color: var(--green-900);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  line-height: 1.25;
}

.hero__badge strong {
  color: var(--red-600);
  font-size: 2rem;
}

.proof-strip {
  position: relative;
  z-index: 3;
  margin-top: -1.1rem;
}

.proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 1.2rem;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
  box-shadow: var(--shadow-lg);
}

.proof-item {
  display: grid;
  min-height: 7.5rem;
  align-content: center;
  gap: 0.2rem;
  padding: 1.4rem 1.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  font-size: 1.1rem;
}

.proof-item span {
  color: #bcd8cd;
  font-size: 0.86rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  display: grid;
  min-height: 14.5rem;
  align-content: space-between;
  gap: 1.35rem;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(5, 47, 42, 0.06);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #a8cfc0;
  box-shadow: var(--shadow-sm);
}

.service-card__icon {
  display: grid;
  width: 3.7rem;
  height: 3.7rem;
  place-items: center;
  border-radius: 1rem;
  color: var(--green-600);
  background: var(--mint-100);
}

.service-card__icon svg {
  width: 2rem;
  height: 2rem;
}

.service-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
}

.service-card__body p {
  color: var(--muted);
  font-size: 0.93rem;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green-600);
  font-weight: 820;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(0.3rem);
}

.split {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 7vw, 6rem);
}

.split__copy {
  display: grid;
  gap: 1.35rem;
}

.photo-stack {
  position: relative;
  min-height: 34rem;
}

.photo-stack__main {
  position: absolute;
  inset: 0 4.5rem 3rem 0;
  width: calc(100% - 4.5rem);
  height: calc(100% - 3rem);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.photo-stack__small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 47%;
  height: 46%;
  object-fit: cover;
  border: 0.55rem solid var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.65rem;
}

.check-list li::before {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  margin-top: 0.2rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-600);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  counter-reset: steps;
}

.process-card {
  position: relative;
  display: grid;
  gap: 1rem;
  min-height: 17rem;
  padding: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  counter-increment: steps;
}

.process-card::before {
  color: #9de1bf;
  content: "0" counter(steps);
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.process-card p {
  color: #cde3da;
}

.process-card__mark {
  position: absolute;
  right: 1.4rem;
  bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.1);
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1;
}

.urgent-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--red-600);
  box-shadow: var(--shadow-lg);
}

.urgent-panel__copy {
  display: grid;
  gap: 1rem;
  align-content: center;
  padding: clamp(2rem, 6vw, 4.7rem);
}

.urgent-panel__copy p {
  max-width: 37rem;
  color: #ffe5e2;
}

.urgent-panel__steps {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--green-950);
}

.urgent-panel__steps a {
  text-decoration: none;
}

.urgent-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
}

.urgent-step strong {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
}

.quote-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--green-900);
  box-shadow: var(--shadow-lg);
}

.quote-panel__intro {
  display: grid;
  align-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--green-950);
}

.quote-panel__intro p {
  color: #cde3da;
}

.quote-panel__form {
  padding: clamp(2rem, 5vw, 4rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  color: inherit;
  font-size: 0.84rem;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.65rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field option {
  color: var(--ink);
  background: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #d5e7df;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #9de1bf;
  outline: 3px solid rgba(157, 225, 191, 0.25);
}

.consent {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.65rem;
  align-items: start;
  grid-column: 1 / -1;
  color: #e0eee8;
  font-size: 0.8rem;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--yellow);
}

.form-status {
  min-height: 1.5rem;
  grid-column: 1 / -1;
  color: #fff4c6;
  font-size: 0.88rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  display: flex;
  min-height: 4.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--green-900);
  font-weight: 820;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-600);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 1.2rem 1.25rem;
  color: var(--muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
}

.page-hero::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  content: "";
  opacity: 0.3;
  background: repeating-linear-gradient(165deg, transparent 0 2.4rem, rgba(255,255,255,0.15) 2.4rem 2.65rem);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 24rem;
  align-content: center;
  gap: 1.25rem;
  padding-block: 4.8rem;
}

.page-hero h1 {
  max-width: 52rem;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
}

.page-hero p {
  max-width: 46rem;
  color: #d5e7df;
  font-size: 1.1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  color: #afd6c6;
  font-size: 0.82rem;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 0.55rem;
  color: var(--yellow);
  content: "•";
}

.breadcrumbs a {
  color: inherit;
}

.content-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.prose {
  display: grid;
  gap: 1.35rem;
  color: #344943;
}

.prose h2,
.prose h3 {
  margin-top: 1.4rem;
  color: var(--green-900);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.35rem;
}

.prose a {
  color: var(--green-600);
}

.prose blockquote {
  margin: 0;
  padding: 1.4rem 1.55rem;
  border-left: 0.3rem solid var(--red-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--green-900);
  background: var(--cream-100);
  font-size: 1.1rem;
  font-weight: 700;
}

.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.prose th,
.prose td {
  padding: 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--white);
  background: var(--green-900);
}

.sidebar {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1rem;
}

.sidebar-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: var(--mint-100);
}

.sidebar-card--dark {
  color: var(--white);
  background: var(--green-900);
}

.sidebar-nav {
  display: grid;
  gap: 0.45rem;
}

.sidebar-nav a {
  display: flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  color: var(--green-900);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 760;
  text-decoration: none;
}

.sidebar-nav a::after {
  content: "→";
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.feature-card strong {
  color: var(--green-900);
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--muted);
}

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

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(5, 47, 42, 0.06);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.team-card--member img {
  aspect-ratio: 4 / 5;
}

.team-card__copy {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem;
}

.team-card__copy p {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-card {
  display: grid;
  min-height: 14rem;
  align-content: start;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--mint-100);
}

.contact-card p,
.contact-card a {
  color: #40554e;
}

.contact-card a {
  font-weight: 750;
}

.map-link {
  display: grid;
  overflow: hidden;
  min-height: 28rem;
  align-content: end;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--green-900);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.map-link img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  opacity: 0.83;
}

.map-link span {
  padding: 1.25rem 1.5rem;
  font-weight: 800;
}

.glossary-tools {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.glossary-tools label {
  color: var(--green-900);
  font-weight: 800;
}

.glossary-tools input {
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.term-card {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--white);
}

.term-card dt {
  color: var(--green-900);
  font-weight: 850;
}

.term-card dd {
  margin: 0;
  color: var(--muted);
}

.term-card[hidden] {
  display: none;
}

.notice {
  padding: 1rem 1.15rem;
  border-left: 0.3rem solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #43574f;
  background: #fff9df;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.article-card {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.article-card time {
  color: var(--red-600);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  color: #cfe3db;
  background: var(--green-950);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.85fr 1.1fr;
  gap: 2.4rem;
  padding-block: 4.5rem 3rem;
}

.footer__brand {
  display: grid;
  gap: 1rem;
}

.footer__brand img {
  width: 13rem;
  padding: 0.5rem;
  border-radius: 0.6rem;
  background: var(--white);
}

.footer__column {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.footer__column h2 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

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

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

.footer__bottom {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #a8c8bc;
  font-size: 0.82rem;
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom a {
  color: inherit;
}

.mobile-actions {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 68rem) {
  .desktop-nav,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: absolute;
    z-index: 999;
    inset: 100% 0 auto;
    display: grid;
    min-height: calc(100vh - var(--header-height));
    align-content: start;
    gap: 0.2rem;
    padding: 1.25rem max(1rem, calc((100vw - var(--container)) / 2));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    color: var(--white);
    background: var(--green-950);
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .mobile-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .mobile-nav a {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
  }

  .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 50rem;
  }

  .hero__visual {
    min-height: 27rem;
  }

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

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

@media (max-width: 52rem) {
  .topbar__inner {
    justify-content: center;
  }

  .topbar__items > :not(:first-child) {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .proof-strip {
    margin-top: 0;
    background: var(--green-950);
  }

  .proof-strip .container {
    width: 100%;
  }

  .proof-strip__inner {
    border-radius: 0;
    box-shadow: none;
  }

  .split,
  .urgent-panel,
  .quote-panel,
  .faq-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .process-grid,
  .feature-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .urgent-panel__steps {
    padding-top: 0;
  }

  .quote-panel__form {
    padding-top: 0;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 38rem) {
  body {
    padding-bottom: calc(4.6rem + env(safe-area-inset-bottom));
  }

  .container,
  .narrow {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .section {
    padding-block: 3.4rem;
  }

  .brand {
    width: 10rem;
  }

  .hero__inner {
    gap: 2rem;
    padding-block: 2.75rem 3.25rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.55rem);
  }

  .hero__visual {
    min-height: 20rem;
  }

  .hero__photo {
    inset: 0 0 1.5rem 0.8rem;
    width: calc(100% - 0.8rem);
    height: calc(100% - 1.5rem);
    border-radius: 1.15rem 1.15rem 4rem 1.15rem;
  }

  .hero__badge {
    max-width: 12.5rem;
    padding: 0.9rem 1rem;
    font-size: 0.82rem;
  }

  .proof-strip__inner {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .service-grid,
  .glossary-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .team-card__copy {
    padding: 0.9rem;
  }

  .team-card__copy h3 {
    font-size: 1.15rem;
  }

  .team-card__copy p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .service-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .service-card {
    min-height: 13.5rem;
  }

  .service-grid--featured .service-card {
    min-height: 15rem;
    gap: 0.9rem;
    padding: 1rem;
  }

  .service-grid--featured .service-card__icon {
    width: 3rem;
    height: 3rem;
  }

  .service-grid--featured .service-card__icon svg {
    width: 1.6rem;
    height: 1.6rem;
  }

  .service-grid--featured .service-card__body {
    gap: 0.5rem;
  }

  .service-grid--featured .service-card__body h3 {
    font-size: 1.15rem;
  }

  .service-grid--featured .service-card__body p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .service-grid--featured .text-link {
    font-size: 0.82rem;
  }

  .photo-stack {
    min-height: 27rem;
  }

  .photo-stack__main {
    inset: 0 2.5rem 2rem 0;
    width: calc(100% - 2.5rem);
    height: calc(100% - 2rem);
  }

  .page-hero__inner {
    min-height: 20rem;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.2rem;
  }

  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.2rem;
    padding-block: 3rem 2.25rem;
  }

  .footer__brand,
  .footer__column:last-child {
    grid-column: 1 / -1;
  }

  .footer__column {
    gap: 0.7rem;
    font-size: 0.92rem;
  }

  .quote-panel__intro,
  .quote-panel__form {
    padding: 1.5rem;
  }

  .field textarea {
    min-height: 5.5rem;
  }

  .mobile-actions {
    position: fixed;
    z-index: 1100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.6rem;
    padding: 0.6rem max(0.7rem, env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom)) max(0.7rem, env(safe-area-inset-left));
    border-top: 1px solid rgba(5,47,42,0.12);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 -10px 30px rgba(5,47,42,0.12);
  }

  .mobile-actions .btn {
    min-height: 3.35rem;
    padding: 0.7rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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