/* Marton Flooring Services */

:root {
  --green: #6ba847;
  --green-dark: #578c37;
  --green-deep: #3f6b26;
  --green-tint: #f0f7eb;
  --ink: #1d2520;
  --ink-soft: #4b5550;
  --muted: #6d7772;
  --bg: #ffffff;
  --bg-alt: #f6f8f5;
  --line: #e4e8e3;
  --footer-bg: #171f1a;
  --font: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-1: 0 1px 2px rgba(29, 37, 32, 0.05);
  --shadow-2: 0 10px 30px -10px rgba(29, 37, 32, 0.15);
  --shadow-3: 0 24px 50px -20px rgba(29, 37, 32, 0.28);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --header-h: 100px;
  --logo-h: 60px;
  --logo-ratio: 148 / 62;
  --page-max: 1120px;
  --page-gutter: 1.25rem;
  --hero-offset: 2.5rem;
  --hero-pad: 4rem;
  --ease: 0.2s ease;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--green);
  color: #fff;
}

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

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

ul,
ol {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--green);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

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

/* ---------- Scroll reveal ---------- */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.85s var(--ease-out);
}

.js [data-reveal].revealed,
.js [data-reveal-group].revealed > * {
  opacity: 1;
  transform: none;
}

.js [data-reveal-group].revealed > *:nth-child(2) { transition-delay: 0.08s; }
.js [data-reveal-group].revealed > *:nth-child(3) { transition-delay: 0.16s; }
.js [data-reveal-group].revealed > *:nth-child(4) { transition-delay: 0.24s; }
.js [data-reveal-group].revealed > *:nth-child(5) { transition-delay: 0.32s; }
.js [data-reveal-group].revealed > *:nth-child(6) { transition-delay: 0.4s; }
.js [data-reveal-group].revealed > *:nth-child(7) { transition-delay: 0.48s; }
.js [data-reveal-group].revealed > *:nth-child(8) { transition-delay: 0.56s; }
.js [data-reveal-group].revealed > *:nth-child(n+9) { transition-delay: 0.64s; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px -2px rgba(107, 168, 71, 0.45);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-deep) 100%);
  box-shadow: 0 6px 18px -4px rgba(107, 168, 71, 0.55);
  transform: translateY(-1px);
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--green-tint);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.02rem;
}

.btn .icon {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 6px 24px -12px rgba(29, 37, 32, 0.18);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
}

.site-logo {
  display: block;
  height: var(--logo-h);
  width: calc(var(--logo-h) * var(--logo-ratio));
  max-width: none;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.logo .site-logo {
  height: var(--logo-h);
  max-width: min(calc(var(--logo-h) * var(--logo-ratio)), 70vw);
}

.footer-brand .site-logo {
  --logo-h: 54px;
  max-width: min(calc(var(--logo-h) * var(--logo-ratio)), 300px);
  margin-bottom: 1.25rem;
}

.logo-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.logo-header .container {
  display: flex;
  align-items: center;
  min-height: var(--header-h);
}

.logo-header .site-logo {
  --logo-h: 56px;
  max-width: min(calc(var(--logo-h) * var(--logo-ratio)), 85vw);
  object-position: left center;
}

@media (min-width: 768px) {
  :root {
    --header-h: 112px;
    --logo-h: 70px;
  }

  .footer-brand .site-logo {
    --logo-h: 64px;
    max-width: min(calc(var(--logo-h) * var(--logo-ratio)), 380px);
  }

  .logo-header .site-logo {
    --logo-h: 64px;
  }

  .logo .site-logo {
    max-width: min(calc(var(--logo-h) * var(--logo-ratio)), 400px);
  }
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-desktop a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color var(--ease), background var(--ease);
}

.nav-desktop a:hover {
  color: var(--ink);
  background: var(--bg-alt);
}

.nav-desktop a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-tint);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--r-sm);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

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

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

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

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: 0.75rem var(--page-gutter) 1.5rem;
  flex-direction: column;
}

.mobile-nav.open {
  display: flex;
  animation: navDrop 0.28s var(--ease-out) both;
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

.mobile-nav a {
  padding: 0.9rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a[aria-current="page"] {
  color: var(--green-dark);
}

.mobile-nav .btn {
  margin-top: 1.1rem;
  border-bottom: 0;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--hero-pad)) 0 var(--hero-pad);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  animation: heroZoom 16s var(--ease-out) both;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 22, 18, 0.9) 5%, rgba(16, 22, 18, 0.72) 45%, rgba(16, 22, 18, 0.35) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 640px;
}

.hero-content > * {
  animation: heroRise 0.9s var(--ease-out) both;
}

.hero-content > *:nth-child(2) { animation-delay: 0.12s; }
.hero-content > *:nth-child(3) { animation-delay: 0.24s; }
.hero-content > *:nth-child(4) { animation-delay: 0.36s; }
.hero-content > *:nth-child(5) { animation-delay: 0.48s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(107, 168, 71, 0.18);
  border: 1px solid rgba(107, 168, 71, 0.5);
  color: #c4e3ad;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.4rem;
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(107, 168, 71, 0.3);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  text-wrap: balance;
}

.hero h1 .accent {
  color: #a5d584;
}

.hero p {
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.hero-points .tick {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--green);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 1.4rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.trust-item svg {
  width: 34px;
  height: 34px;
  flex: none;
  padding: 7px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-dark);
}

.trust-item small {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background:
    radial-gradient(900px 300px at 12% 0%, rgba(107, 168, 71, 0.07), transparent 60%),
    var(--bg-alt);
}

.section-head {
  max-width: 700px;
  margin-bottom: 3rem;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--green-dark);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  flex-shrink: 0;
}

.section-head.center .eyebrow::after,
.cta-band .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  flex-shrink: 0;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  text-wrap: balance;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose p + p {
  margin-top: 1rem;
}

/* ---------- Two column intro ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(45deg, rgba(107, 168, 71, 0.16) 0 2px, transparent 2px 9px);
  z-index: -1;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
}

.split-media .badge-years {
  position: absolute;
  left: -1rem;
  bottom: -1rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  border-radius: var(--r-md);
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-2);
}

.badge-years strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
}

.badge-years span {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.92;
}

.split-body .eyebrow {
  margin-bottom: 0.7rem;
}

.split-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  text-wrap: balance;
}

.split-body p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.split-body p + p {
  margin-top: 0.9rem;
}

.check-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ink);
}

.check-list .tick {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--green);
  margin-top: 0.2rem;
}

/* ---------- Service cards (home) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.8rem;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease), transform 0.3s var(--ease-out);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), #9ccf7b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.card:hover {
  border-color: rgba(107, 168, 71, 0.55);
  box-shadow: var(--shadow-3);
  transform: translateY(-5px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--green-tint);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: background var(--ease), color var(--ease), transform 0.3s var(--ease-out);
}

.card:hover .card-icon {
  background: var(--green);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  flex: 1;
}

.card .card-link {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card .card-link span {
  transition: transform var(--ease);
}

.card:hover .card-link {
  text-decoration: underline;
}

.card:hover .card-link span {
  transform: translateX(4px);
}

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.8rem;
  transition: box-shadow var(--ease), transform 0.3s var(--ease-out);
}

.review::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem;
  right: 1.2rem;
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--green-tint);
  pointer-events: none;
}

.review:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

.review-stars {
  display: inline-flex;
  gap: 3px;
  color: #eab308;
  margin-bottom: 1rem;
}

.review-stars svg {
  width: 17px;
  height: 17px;
}

.review blockquote {
  flex: 1;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.review-footer img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.8rem;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.step:hover {
  border-color: rgba(107, 168, 71, 0.45);
  box-shadow: var(--shadow-2);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.4rem;
  width: 1.4rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 8px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px -4px rgba(107, 168, 71, 0.6);
}

.step h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.faq-item[open] {
  border-color: rgba(107, 168, 71, 0.5);
  box-shadow: var(--shadow-2);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  transition: color var(--ease);
}

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

.faq-item summary:hover {
  color: var(--green-dark);
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    linear-gradient(var(--green-dark), var(--green-dark)) center / 10px 2px no-repeat,
    linear-gradient(var(--green-dark), var(--green-dark)) center / 2px 10px no-repeat,
    var(--green-tint);
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 1.4rem 1.25rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.faq-item .faq-body a {
  color: var(--green-dark);
  font-weight: 600;
}

.faq-item .faq-body a:hover {
  text-decoration: underline;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, #18271c 0%, #24382a 55%, #2d4a31 100%);
  border-radius: var(--r-lg);
  padding: 4rem 2.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-3);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 220px at 12% 110%, rgba(107, 168, 71, 0.28), transparent 70%),
    radial-gradient(420px 220px at 88% -10%, rgba(107, 168, 71, 0.22), transparent 70%);
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(closest-side at 50% 50%, black, transparent);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .eyebrow {
  color: #a5d584;
}

.cta-band .eyebrow::before,
.cta-band .eyebrow::after {
  background: var(--green);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 26ch;
  margin: 0 auto 0.9rem;
  text-wrap: balance;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  margin: 0 auto 1.8rem;
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.cta-band .cta-note {
  margin: 1.4rem auto 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--hero-offset)) 0 3.25rem;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(107, 168, 71, 0.16), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 54px solid rgba(107, 168, 71, 0.08);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero--plain {
  border-bottom: 0;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .lead {
  margin-inline: auto;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.8rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.breadcrumb a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.breadcrumb .sep {
  opacity: 0.5;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 24ch;
  text-wrap: balance;
}

.page-hero .lead {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.07rem;
  line-height: 1.75;
}

.page-hero .lead a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Services detail ---------- */
.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.service-nav a {
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color var(--ease), color var(--ease), background var(--ease), transform var(--ease);
}

.service-nav a:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--green-tint);
  transform: translateY(-1px);
}

.service-panels {
  display: grid;
  gap: 1.75rem;
}

.service-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color var(--ease), box-shadow var(--ease), transform 0.3s var(--ease-out);
}

.service-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), #9ccf7b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.service-panel:hover {
  border-color: rgba(107, 168, 71, 0.55);
  box-shadow: var(--shadow-3);
  transform: translateY(-4px);
}

.service-panel:hover::before {
  transform: scaleX(1);
}

.service-panel .panel-index {
  position: absolute;
  top: 0.4rem;
  right: 1.4rem;
  font-size: clamp(3.6rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green-tint);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.service-panel .panel-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}

.service-panel .card-icon {
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(107, 168, 71, 0.55);
  flex: none;
}

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

.service-panel:hover .card-icon {
  transform: scale(1.06) rotate(-4deg);
}

.service-panel h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-wrap: balance;
}

.service-panel .panel-kicker {
  display: block;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.service-panel .panel-body {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

.service-panel .panel-copy p {
  color: var(--ink-soft);
  line-height: 1.78;
}

.service-panel .panel-copy p + p {
  margin-top: 0.9rem;
}

.service-panel .panel-aside {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.4rem;
}

.service-panel .panel-aside h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.8rem;
}

.service-panel .panel-aside .check-list {
  margin-top: 0;
  gap: 0.55rem;
}

.service-panel .panel-aside .check-list li {
  font-size: 0.92rem;
}

.service-panel .service-tags {
  margin: 1.3rem 0 0;
}

.service-panel .panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.service-panel .panel-actions .btn {
  padding: 0.62rem 1.4rem;
  font-size: 0.92rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.6rem;
  max-width: 860px;
  margin-inline: auto;
  padding: 3rem 0;
}

.service-detail + .service-detail {
  border-top: 1px solid var(--line);
}

.service-detail .card-icon {
  width: 56px;
  height: 56px;
  margin: 0;
}

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

.service-detail h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.service-detail p {
  color: var(--ink-soft);
  line-height: 1.78;
}

.service-detail p + p {
  margin-top: 0.9rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
}

.service-tags li {
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 600;
}

.service-detail .links {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.service-detail .links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-dark);
}

.service-detail .links a::after {
  content: "\2192";
  transition: transform var(--ease);
}

.service-detail .links a:hover {
  text-decoration: underline;
}

.service-detail .links a:hover::after {
  transform: translateX(3px);
}

/* ---------- Gallery ---------- */
.gallery {
  columns: 3;
  column-gap: 1.1rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 1.1rem;
  border: 0;
  padding: 0;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--ease), transform 0.3s var(--ease-out);
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity var(--ease);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .zoom-hint {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--ease), transform 0.3s var(--ease-out);
  pointer-events: none;
}

.gallery-item:hover .zoom-hint {
  opacity: 1;
  transform: none;
}

.gallery-item .zoom-hint svg {
  width: 18px;
  height: 18px;
}

/* ---------- Quote band ---------- */
.quote-band {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.quote-band .review-stars {
  justify-content: center;
  display: flex;
  margin-bottom: 1.4rem;
}

.quote-band .review-stars svg {
  width: 22px;
  height: 22px;
}

.quote-band blockquote {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 1.4rem;
}

.quote-band cite {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.quote-band cite strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(12, 16, 13, 0.94);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
  animation: lbFade 0.25s ease both;
}

@keyframes lbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-3);
}

.lightbox button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}

.lightbox button:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.06);
}

.lightbox button svg {
  width: 22px;
  height: 22px;
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.06);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 1.5rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), #9ccf7b 50%, var(--green));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img,
.footer-brand .site-logo {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.93rem;
  line-height: 1.7;
  max-width: 34ch;
}

.footer-col h2 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  padding: 0.32rem 0;
  font-size: 0.93rem;
  transition: color var(--ease), transform var(--ease);
}

.footer-col a:hover {
  color: var(--green);
  transform: translateX(3px);
}

.footer-phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

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

.footer-col .note {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--ease), transform 0.3s var(--ease-out), color var(--ease), border-color var(--ease);
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  color: var(--green-dark);
  border-color: var(--green);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Mobile call bar ---------- */
.call-bar {
  display: none;
}

@media (max-width: 767px) {
  body.has-call-bar {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 -6px 24px -8px rgba(29, 37, 32, 0.35);
  }

  .call-bar svg {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    animation: ringPulse 2.6s ease-in-out infinite;
  }

  @keyframes ringPulse {
    0%, 100% { transform: rotate(0); }
    4% { transform: rotate(-14deg); }
    8% { transform: rotate(12deg); }
    12% { transform: rotate(-8deg); }
    16% { transform: rotate(0); }
  }

  .to-top {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }

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

  .menu-toggle {
    display: flex;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split-media .badge-years {
    left: 1rem;
    bottom: -1rem;
  }

  .cards,
  .reviews,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .gallery {
    columns: 2;
  }

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

  .trust-strip .container {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1.25rem;
  }

  .service-panel .panel-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 1rem;
    --hero-offset: 2rem;
    --hero-pad: 3rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .cards,
  .reviews,
  .steps {
    grid-template-columns: 1fr;
  }

  .gallery {
    columns: 2;
    column-gap: 0.6rem;
  }

  .gallery-item {
    margin-bottom: 0.6rem;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2.25rem 0;
  }

  .service-panel .panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .service-panel .panel-actions .btn {
    flex: 1 1 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .cta-band {
    padding: 2.75rem 1.5rem;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .trust-strip .container {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-block: 1.1rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .js [data-reveal],
  .js [data-reveal-group] > * {
    opacity: 1;
    transform: none;
  }
}
