/* ==========================================================================
   Lemon Tree Corp — Global Styles
   Design tokens, base, layout, components
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --green: #7DBA28;
  --green-bright: #6BB226;
  --green-forest: #1E3B15;
  --green-forest-deep: #0d1f08;
  --green-tint: #eef4e2;

  /* Neutrals */
  --ink: #1a1a1a;
  --ink-soft: #222222;
  --white: #ffffff;
  --gray-50: #f4f5f7;
  --gray-100: #efefef;
  --gray-200: #e3e5e8;
  --gray-300: #c9cdd1;
  --gray-400: #a7ada4;
  --gray-500: #8a9087;

  /* Text */
  --text: #1a1a1a;
  --text-soft: #3c4038;
  --text-muted: #5c6356;
  --text-on-dark: #f4f5f7;
  --text-on-dark-muted: #b7c4ad;

  /* Typography */
  --font-heading: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 6px 20px rgba(13, 31, 8, 0.10);
  --shadow-lg: 0 16px 40px rgba(13, 31, 8, 0.18);

  /* Layout */
  --container: 1440px;
  --container-narrow: 1080px;
  --header-height: 88px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 0.25s;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
  color: var(--ink);
}

p {
  margin: 0 0 var(--space-4);
}

a {
  color: var(--green-forest);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

a:hover {
  color: var(--green);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.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: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  background: var(--green);
  color: var(--green-forest-deep);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top var(--speed) var(--ease);
}

.skip-link:focus {
  top: var(--space-4);
}

/* Shared inline icon sizing (overridden contextually) */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. Typography helpers
   -------------------------------------------------------------------------- */
.kicker {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 var(--space-3);
}

.script {
  font-family: var(--font-script);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--green);
  margin: 0 0 var(--space-2);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-soft);
  margin-bottom: var(--space-6);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--green-forest);
  margin-top: var(--space-5);
  margin-bottom: var(--space-4);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease),
    color var(--speed) var(--ease), border-color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
  white-space: nowrap;
}

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

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

.btn-primary {
  background: var(--green);
  color: var(--green-forest-deep);
}

.btn-primary:hover {
  background: var(--green-bright);
  color: var(--green-forest-deep);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(13, 31, 8, 0.55);
  color: var(--white);
  border-color: var(--green);
}

.btn-secondary:hover {
  background: var(--green);
  color: var(--green-forest-deep);
}

.btn-outline {
  background: transparent;
  color: var(--green-forest);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: var(--green-forest-deep);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--green);
}

.btn-outline-light:hover {
  background: var(--green);
  color: var(--green-forest-deep);
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--speed) var(--ease);
}

.btn:hover .icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  border-top: 3px solid var(--green);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  color: var(--green);
}

.brand-logo {
  display: block;
  height: 84px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
}

.site-footer .brand-logo {
  height: 112px;
  max-width: 340px;
}

.brand-name em {
  font-style: normal;
  color: var(--green);
}

.main-nav {
  margin-inline: auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.nav-link:hover {
  color: var(--green);
}

.nav-link:not(.is-active) {
  position: relative;
}

.nav-link:not(.is-active)::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}

.nav-link:not(.is-active):hover::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  background: var(--green);
  color: var(--green-forest-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--green);
}

.header-phone .icon {
  width: 1.1em;
  height: 1.1em;
  color: var(--green);
}

.header-cta {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle .icon {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 78vh, 720px);
  background-color: var(--green-forest-deep);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 20, 6, 0.92) 0%,
    rgba(10, 20, 6, 0.72) 42%,
    rgba(10, 20, 6, 0.28) 75%,
    rgba(10, 20, 6, 0.15) 100%
  );
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: var(--space-8);
  max-width: 940px;
  margin-left: max(var(--space-6), calc((100% - var(--container)) / 2 + var(--space-6)));
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: var(--space-4);
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(125, 186, 40, 0.5);
  border-radius: var(--radius-pill);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: var(--space-5);
  color: var(--white);
}

.hero-title-line {
  display: block;
}

@media (min-width: 1025px) {
  .hero-title-line {
    white-space: nowrap;
  }
}

.hero-title .accent {
  color: var(--green);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-on-dark);
  max-width: 640px;
  margin-bottom: var(--space-6);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* --------------------------------------------------------------------------
   7. Trust bar
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.trust-list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.trust-item .icon {
  width: 1.3em;
  height: 1.3em;
  color: var(--green);
  flex-shrink: 0;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--gray-300);
}

/* --------------------------------------------------------------------------
   8. Sections
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(4rem, 6vw, 5.5rem);
}

.section--alt {
  background: var(--gray-50);
}

.section--dark {
  background: var(--ink);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark .lead {
  color: var(--text-on-dark-muted);
}

.section--green h2,
.section--green h3 {
  color: var(--white);
}

.section--green .lead {
  color: var(--text-on-dark-muted);
}

.section--green {
  background: var(--green-forest);
  color: var(--text-on-dark);
}

.section-head {
  max-width: 860px;
  margin-bottom: var(--space-7);
}

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

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* --------------------------------------------------------------------------
   9. Two-column intro
   -------------------------------------------------------------------------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.intro-copy h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
}

.check-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.check-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--text-soft);
}

.check-list .icon {
  width: 1.3em;
  height: 1.3em;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.intro-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   10. Service & card grids
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

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

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

.card {
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: var(--space-6);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--green);
  transition: width 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green);
}

.card:hover::after {
  width: 100%;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-forest);
  margin-bottom: var(--space-4);
}

.card-icon .icon {
  width: 28px;
  height: 28px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}

/* Image/media card (photo on top, body below) */
.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.media-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.media-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--speed) var(--ease);
}

.media-card:hover .media-card-media img {
  transform: scale(1.05);
}

.media-card-body {
  position: relative;
  padding: var(--space-5);
}

.media-card.has-icon .media-card-body {
  padding-top: 46px;
}

.media-card-icon {
  position: absolute;
  top: -28px;
  left: var(--space-5);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--green-forest-deep);
  border: 3px solid var(--white);
  box-shadow: 0 6px 16px rgba(13, 31, 8, 0.25);
}

.media-card-icon .icon {
  width: 26px;
  height: 26px;
}

.media-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}

.media-card-body p.media-card-loc {
  color: var(--green);
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  margin: 0 0 var(--space-2);
}

.media-card-body p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   11. Chips / industries
   -------------------------------------------------------------------------- */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.6rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--text-soft);
  transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

.chip:hover {
  border-color: var(--green);
  color: var(--green-forest);
}

.chip .icon {
  width: 1.1em;
  height: 1.1em;
  color: var(--green);
}

/* --------------------------------------------------------------------------
   12. Experience / two-column list
   -------------------------------------------------------------------------- */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.experience-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

.experience-item .icon {
  width: 1.5em;
  height: 1.5em;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.15em;
}

.experience-item h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-1);
}

.experience-item .location {
  color: var(--green-forest);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-1);
}

.experience-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   13. US Map panel
   -------------------------------------------------------------------------- */
.map-panel {
  background: var(--green-forest);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--text-on-dark);
}

.map-panel svg {
  width: 100%;
  height: auto;
}

.map-state {
  cursor: pointer;
}

.map-state .pin {
  transition: transform var(--speed) var(--ease);
}

.map-state:hover .pin {
  transform: scale(1.25);
}

.map-label {
  fill: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
}

.map-panel .map-note {
  color: var(--text-on-dark-muted);
  margin: var(--space-3) 0 0;
  text-align: center;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   14. Capacity / check grid
   -------------------------------------------------------------------------- */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.check-grid li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
}

.check-grid li .icon {
  width: 1.2em;
  height: 1.2em;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.15em;
}

/* --------------------------------------------------------------------------
   15. FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
  background: none;
  border: none;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.faq-question .icon {
  width: 1.2em;
  height: 1.2em;
  color: var(--green);
  flex-shrink: 0;
  transition: transform var(--speed) var(--ease);
}

.faq-item.is-open .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed) var(--ease);
}

.faq-answer-inner {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   16. CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  background-color: var(--green-forest);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(13, 31, 8, 0.9), rgba(13, 31, 8, 0.72));
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner .script {
  color: var(--green);
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: var(--space-4);
}

.cta-banner p {
  color: var(--text-on-dark-muted);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.cta-banner .cta-actions {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   17. Steps / process timeline
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  counter-reset: step;
}

.step {
  position: relative;
  text-align: center;
  padding: var(--space-5) var(--space-3);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.step::before {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(50% + 34px);
  width: calc(100% - 34px);
  height: 2px;
  background: var(--gray-200);
}

.step:last-child::before {
  display: none;
}

.step-number {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--green-forest-deep);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
}

.step .icon {
  display: block;
  color: var(--green);
  width: 34px;
  height: 34px;
  margin: 0 auto var(--space-2);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   18. Areas (city list)
   -------------------------------------------------------------------------- */
.city-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.city-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-weight: 500;
}

.city-list .icon {
  width: 1.1em;
  height: 1.1em;
  color: var(--green);
}

.areas-note {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--green-tint);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  color: var(--green-forest);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   19. Testimonials
   -------------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-meta h3 {
  font-size: 1.05rem;
  margin: 0;
}

.testimonial-meta .role {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.stars {
  color: var(--green);
  letter-spacing: 0.1em;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stars svg {
  display: inline-block;
  width: 1em;
  height: 1em;
}

.quote {
  color: var(--text-soft);
  font-style: italic;
  margin: 0;
}

/* --------------------------------------------------------------------------
   20. Referral banner
   -------------------------------------------------------------------------- */
.referral {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--green-forest);
  border-radius: var(--radius-lg);
  color: var(--white);
  flex-wrap: wrap;
}

.referral h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: var(--space-2);
}

.referral h3 .accent {
  color: var(--green);
}

.referral p {
  color: var(--text-on-dark-muted);
  margin: 0;
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   21. Gallery (In the Field)
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--speed) var(--ease);
}

.gallery-item:hover .gallery-media img {
  transform: scale(1.04);
}

.gallery-body {
  padding: var(--space-5);
}

.gallery-body h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-1);
}

.gallery-body .location {
  color: var(--green);
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  margin-bottom: var(--space-2);
}

.gallery-body p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* States strip */
.states-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.states-strip .chip {
  background: var(--green-tint);
  border-color: transparent;
  color: var(--green-forest);
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   22. Compliance groups
   -------------------------------------------------------------------------- */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.compliance-card {
  padding: var(--space-6);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.compliance-card h3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.2rem;
  margin-bottom: var(--space-4);
}

.compliance-card h3 .icon {
  color: var(--green);
  width: 1.3em;
  height: 1.3em;
}

.compliance-logo {
  display: block;
  height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto var(--space-4);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
}

.compliance-card ul {
  display: grid;
  gap: var(--space-2);
}

.compliance-card li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  color: var(--text-soft);
}

.compliance-card li .icon {
  color: var(--green);
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* --------------------------------------------------------------------------
   23. Contact methods
   -------------------------------------------------------------------------- */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.contact-card {
  text-align: center;
  padding: var(--space-6);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.contact-card .card-icon {
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

.contact-card h3 {
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-card .value {
  display: block;
  font-weight: 700;
  color: var(--green-forest);
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   24. Quote form
   -------------------------------------------------------------------------- */
.form-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: start;
}

.quote-form {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-field {
  display: grid;
  gap: var(--space-2);
}

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

.form-field label {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.form-field label .req {
  color: var(--green);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(125, 186, 40, 0.2);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #d64545;
}

.field-error {
  color: #c0392b;
  font-size: 0.85rem;
}

.form-status {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: var(--green-tint);
  color: var(--green-forest);
  border: 1px solid var(--green);
}

.form-status.is-error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f0b4b4;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-aside {
  display: grid;
  gap: var(--space-4);
}

.form-aside .promise {
  padding: var(--space-6);
  background: var(--green-forest);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.form-aside .promise h3 {
  color: var(--white);
  font-size: 1.4rem;
}

.form-aside .promise p {
  color: var(--text-on-dark-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   25b. Legal pages
   -------------------------------------------------------------------------- */
.legal-body {
  max-width: 860px;
}

.legal-body h3 {
  font-size: 1.35rem;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-body p {
  color: var(--text-soft);
}

.legal-updated {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-5);
}

.legal-body .legal-list {
  margin: var(--space-3) 0 var(--space-4);
}

/* --------------------------------------------------------------------------
   25. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding-block: var(--space-8) var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: var(--space-8);
}

.footer-brand .brand {
  margin-bottom: var(--space-5);
}

.footer-tagline {
  color: var(--text-on-dark-muted);
  font-size: 1rem;
  max-width: 320px;
  margin-bottom: var(--space-5);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease),
    background var(--speed) var(--ease);
}

.footer-social a:hover {
  border-color: var(--green);
  color: var(--green-forest-deep);
  background: var(--green);
}

.footer-social .icon {
  width: 20px;
  height: 20px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.footer-col ul {
  display: grid;
  gap: var(--space-2);
}

.footer-col a {
  color: var(--text-on-dark-muted);
}

.footer-col a:hover {
  color: var(--green);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.footer-contact .icon {
  width: 1.2em;
  height: 1.2em;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.footer-contact a {
  color: var(--text-on-dark-muted);
}

.footer-contact a:hover {
  color: var(--green);
}

.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-bottom .coverage {
  color: var(--green);
  font-weight: 600;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.site-footer .cookie-link {
  color: var(--text-on-dark-muted);
  text-decoration: underline;
}

.site-footer .cookie-link:hover {
  color: var(--green);
}

/* --------------------------------------------------------------------------
   26. Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   27. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .header-phone {
    display: none;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step::before {
    display: none;
  }
}

@media (max-width: 940px) {
  .intro-grid,
  .experience-grid,
  .form-shell {
    grid-template-columns: 1fr;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compliance-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    padding: var(--space-6);
    transform: translateX(100%);
    transition: transform var(--speed) var(--ease);
    overflow-y: auto;
    margin: 0;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }

  .nav-link {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1.1rem;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    margin-left: 0;
  }

  .trust-item {
    width: 50%;
    justify-content: center;
    padding: var(--space-3) var(--space-4);
  }

  .trust-item + .trust-item {
    border-left: none;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: var(--space-4);
  }
  .card-grid,
  .card-grid--2,
  .card-grid--4,
  .gallery-grid,
  .check-grid,
  .city-list {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .referral {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .trust-item {
    width: 100%;
    border-left: none !important;
  }
}

/* --------------------------------------------------------------------------
   28. Cookie consent
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--white);
  color: var(--text);
  border-top: 3px solid var(--green);
  box-shadow: 0 -10px 40px rgba(13, 31, 8, 0.2);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-4);
}

.cookie-banner-text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  margin-bottom: var(--space-1);
  color: var(--ink);
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  margin-left: auto;
  flex-wrap: wrap;
}

.cookie-link {
  background: none;
  border: none;
  color: var(--green-forest);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  padding: 0.5rem;
}

.cookie-link:hover {
  color: var(--green);
}

/* Preferences modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.cookie-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 8, 0.6);
  backdrop-filter: blur(2px);
}

.cookie-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
}

.cookie-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.cookie-modal-head h3 {
  font-size: 1.35rem;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
}

.cookie-modal-close:hover {
  border-color: var(--green);
  color: var(--green-forest);
}

.cookie-modal-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-4);
}

.cookie-cats {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.cookie-cat {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.cookie-cat-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: var(--space-1);
}

.cookie-cat-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cookie-privacy {
  color: var(--green-forest);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
}

.cookie-privacy:hover {
  color: var(--green);
}

body.cookie-modal-open {
  overflow: hidden;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-300);
  border-radius: var(--radius-pill);
  transition: background 0.25s var(--ease);
  cursor: pointer;
}

.switch-slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease);
}

.switch input:checked + .switch-slider {
  background: var(--green);
}

.switch input:checked + .switch-slider::before {
  transform: translateX(22px);
}

.switch input:disabled + .switch-slider {
  opacity: 0.55;
  cursor: not-allowed;
}

.switch input:focus-visible + .switch-slider {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: none;
  }
}
