/* Core design tokens */
:root {
  --color-forest-950: #0d1712;
  --color-forest-900: #14261d;
  --color-forest-800: #1b3529;
  --color-forest-700: #244536;
  --color-forest-300: #9ab3a4;
  --color-sand-50: #f7f3ee;
  --color-sand-100: #ede6dc;
  --color-sand-200: #dcc7af;
  --color-wood-500: #8d6746;
  --color-wood-400: #b2865e;
  --color-ink: #101513;
  --color-white: #ffffff;
  --color-border: rgba(21, 35, 28, 0.12);
  --color-shadow: rgba(8, 15, 11, 0.18);
  --container-width: min(1120px, calc(100% - 2rem));
  --header-height: 84px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-lg: 0 24px 64px rgba(4, 10, 7, 0.18);
  --shadow-md: 0 16px 40px rgba(8, 15, 11, 0.1);
  --transition: 180ms ease;
  --font-heading: "Barlow Condensed", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background:
    radial-gradient(circle at top right, rgba(141, 103, 70, 0.16), transparent 30%),
    linear-gradient(180deg, #f9f7f4 0%, #f4efe8 100%);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

input,
textarea {
  appearance: none;
}

section[id] {
  scroll-margin-top: 110px;
}

.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: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: var(--color-forest-900);
  color: var(--color-white);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

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

/* Shared typography */
h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 10vw, 5.9rem);
}

h2 {
  font-size: clamp(2.1rem, 6vw, 4rem);
}

h3 {
  font-size: clamp(1.4rem, 4vw, 2rem);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1rem 0;
  transition:
    background-color var(--transition),
    box-shadow var(--transition),
    padding var(--transition),
    backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  padding: 0.65rem 0;
  backdrop-filter: blur(16px);
  background: rgba(13, 23, 18, 0.86);
  box-shadow: 0 10px 32px rgba(4, 10, 7, 0.22);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-white);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(160deg, rgba(141, 103, 70, 0.5), rgba(36, 69, 54, 0.1));
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-copy strong {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.2;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 0.32rem;
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-white);
}

.nav-toggle span:not(.sr-only) {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 1rem;
  right: 1rem;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(13, 23, 18, 0.96);
  box-shadow: 0 24px 54px rgba(4, 10, 7, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity var(--transition),
    transform var(--transition);
}

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

body.nav-open .floating-call,
body.consent-open .floating-call {
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
}

.site-nav a {
  padding: 0.9rem 1rem;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  font-weight: 600;
  transition:
    background-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.site-nav a.is-current {
  transform: translateY(-1px);
}

.site-nav .nav-phone {
  margin-top: 0.15rem;
  border: 1px solid rgba(220, 199, 175, 0.2);
  color: var(--color-sand-50);
}

/* Buttons and utility styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.3rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.is-loading {
  opacity: 0.82;
}

.button-primary {
  background: linear-gradient(135deg, var(--color-wood-400), var(--color-wood-500));
  color: var(--color-white);
  box-shadow: 0 16px 32px rgba(89, 56, 28, 0.22);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.button-dark {
  border-color: rgba(20, 38, 29, 0.14);
  background: rgba(20, 38, 29, 0.06);
  color: var(--color-forest-900);
}

.button-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--color-forest-900);
}

.text-link::after {
  content: "->";
  font-size: 0.95em;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-sand-100);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--color-forest-700);
}

/* Hero */
.hero,
.subpage-hero {
  position: relative;
  overflow: clip;
  min-height: 100svh;
  padding: calc(var(--header-height) + 4.4rem) 0 4rem;
  background: var(--color-forest-950);
  color: var(--color-white);
}

.subpage-hero {
  min-height: 70svh;
}

.hero::before,
.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(0.92);
}

.hero::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(178, 134, 94, 0.2), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(53, 84, 67, 0.34), transparent 24%),
    linear-gradient(135deg, rgba(7, 13, 10, 0.98), rgba(18, 34, 26, 0.96) 46%, rgba(22, 43, 33, 0.94));
  filter: none;
}

.subpage-hero::before {
  background-image:
    linear-gradient(105deg, rgba(9, 16, 12, 0.88), rgba(9, 16, 12, 0.56)),
    url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1800&q=80");
}

.hero::after,
.subpage-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -18% -12%;
  width: 65vw;
  height: 65vw;
  max-width: 40rem;
  max-height: 40rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 103, 70, 0.18), transparent 70%);
}

.hero-grid,
.subpage-copy {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 42rem;
}

.hero-text,
.subpage-copy p:not(.eyebrow) {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.7rem;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-panel {
  display: flex;
  order: -1;
  justify-content: center;
}

.panel-card {
  width: 100%;
  max-width: 24rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(36, 69, 54, 0.32), rgba(13, 23, 18, 0.62));
  box-shadow: 0 24px 48px rgba(4, 10, 7, 0.24);
}

.panel-label {
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.panel-card-logo {
  max-width: 38rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(24, 44, 34, 0.78), rgba(9, 18, 13, 0.92));
}

.hero-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(0.9rem, 2.6vw, 1.5rem);
  border: 1px solid rgba(220, 199, 175, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(244, 239, 232, 0.98), rgba(231, 223, 212, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.hero-logo-frame img {
  display: block;
  width: min(100%, 32rem);
  height: auto;
  object-fit: contain;
}

.hero-logo-note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 0.98rem;
}

.panel-stats {
  display: grid;
  gap: 1rem;
}

.panel-stats article {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-stats strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-stats span {
  color: rgba(255, 255, 255, 0.74);
}

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

.section-light {
  background: transparent;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(141, 103, 70, 0.18), transparent 24%),
    linear-gradient(180deg, var(--color-forest-950) 0%, #122118 100%);
  color: var(--color-white);
}

.section-sand {
  background:
    linear-gradient(180deg, rgba(220, 199, 175, 0.28), rgba(255, 255, 255, 0.7)),
    var(--color-sand-50);
}

.section-cta {
  background:
    linear-gradient(130deg, rgba(13, 23, 18, 0.96), rgba(24, 45, 35, 0.98)),
    var(--color-forest-950);
  color: var(--color-white);
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  max-width: 44rem;
  margin-bottom: 2.2rem;
}

.section-heading p {
  color: rgba(16, 21, 19, 0.72);
  font-size: 1.02rem;
}

.section-heading-contrast p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.section-footer-link {
  margin-top: 1.4rem;
}

.section-cta .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.section-cta .eyebrow {
  color: var(--color-sand-100);
}

.section-cta .button-secondary {
  background: rgba(255, 255, 255, 0.06);
}

.section-cta .button-secondary:hover,
.section-cta .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.section-cta .button-primary:hover,
.section-cta .button-primary:focus-visible {
  box-shadow: 0 18px 34px rgba(89, 56, 28, 0.34);
}

/* Services */
.service-grid,
.service-area-grid,
.testimonial-grid,
.process-grid,
.contact-grid,
.benefit-grid,
.detail-grid {
  display: grid;
  gap: 1rem;
}

.service-card,
.testimonial-card,
.process-card,
.contact-card,
.benefit-card,
.detail-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
}

.section-dark .benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.service-card::before,
.detail-card::before,
.process-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-wood-400), rgba(141, 103, 70, 0));
}

.service-card:hover,
.testimonial-card:hover,
.process-card:hover,
.contact-card:hover,
.benefit-card:hover,
.detail-card:hover {
  transform: translateY(-4px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card ul,
.detail-card ul {
  margin-top: 1rem;
}

.service-card li,
.detail-card li {
  margin-bottom: 0.45rem;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.2rem;
  border-radius: 18px;
  background: rgba(20, 38, 29, 0.08);
  color: var(--color-forest-800);
}

.icon-badge svg {
  width: 1.55rem;
  height: 1.55rem;
}

.section-cta {
  padding: 4.75rem 0;
}

.section-cta .container {
  position: relative;
}

.section-cta .container::before {
  content: "";
  position: absolute;
  inset: -1.5rem auto auto -1.5rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 103, 70, 0.22), transparent 70%);
}

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

.section-cta .cta-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.section-cta .form-status {
  color: rgba(255, 255, 255, 0.78);
}

.section-cta .error-text {
  color: #ffd3cc;
}

.section-cta label span {
  color: rgba(255, 255, 255, 0.86);
}

.section-cta input,
.section-cta textarea {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
}

.section-cta input::placeholder,
.section-cta textarea::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.section-cta input:focus,
.section-cta textarea:focus {
  border-color: rgba(220, 199, 175, 0.48);
  box-shadow: 0 0 0 4px rgba(220, 199, 175, 0.1);
}

.section-cta .estimate-form {
  background: rgba(255, 255, 255, 0.04);
}

.section-cta .estimate-form input,
.section-cta .estimate-form textarea {
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-ink);
}

.section-cta .estimate-form input::placeholder,
.section-cta .estimate-form textarea::placeholder {
  color: rgba(16, 21, 19, 0.46);
}

.detail-card,
.contact-card,
.process-card {
  overflow: hidden;
}

.detail-label {
  margin-bottom: 0.8rem;
  color: var(--color-forest-700);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-cta .button-block {
  margin-top: 0.5rem;
}

.section-cta .cta-highlights strong {
  color: var(--color-white);
}

.section-cta .cta-highlights span {
  color: rgba(255, 255, 255, 0.72);
}

.section-cta .cta-grid {
  display: grid;
  gap: 2rem;
}

.section-cta .cta-copy {
  max-width: 32rem;
}

.cta-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.cta-highlights div {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-highlights strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1.2rem;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 44px rgba(4, 10, 7, 0.18);
}

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

.comparison-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.project-card--landscape .comparison-frame {
  aspect-ratio: 4 / 3;
}

.comparison-frame__link {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

.comparison-frame__link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: -3px;
}

.comparison-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(var(--image-rotation, 0deg)) scale(1);
  transition: transform 400ms ease;
}

.image-rotate-90 {
  --image-rotation: 90deg;
}

.image-rotate-180 {
  --image-rotation: 180deg;
}

.image-rotate-270 {
  --image-rotation: 270deg;
}

.project-card:hover .comparison-frame img,
.comparison-frame__link:focus-visible img {
  transform: rotate(var(--image-rotation, 0deg)) scale(1.04);
}

.comparison-frame span {
  position: absolute;
  z-index: 1;
  left: 0.8rem;
  top: 0.8rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 23, 18, 0.72);
  color: var(--color-white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  pointer-events: none;
  text-transform: uppercase;
}

/* Reusable strip for extra project photos as the gallery grows over time. */
.project-photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0 1.2rem 1.4rem;
}

.project-photo-tile {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  cursor: zoom-in;
}

.project-photo-tile:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.project-photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.project-card:hover .project-photo-tile img,
.project-photo-tile:focus-visible img {
  transform: scale(1.04);
}

.gallery-lightbox {
  width: min(92vw, 70rem);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.gallery-lightbox::backdrop {
  background: rgba(5, 10, 8, 0.84);
  backdrop-filter: blur(5px);
}

.gallery-lightbox__surface {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(13, 23, 18, 0.94), rgba(8, 14, 10, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.gallery-lightbox__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

.gallery-lightbox__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.gallery-lightbox__close span {
  font-size: 1.55rem;
  line-height: 1;
}

.gallery-lightbox__image {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 1rem;
  transform: rotate(var(--image-rotation, 0deg));
}

.gallery-lightbox__caption {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

body.lightbox-open {
  overflow: hidden;
}

.project-copy {
  padding: 1.2rem 1.2rem 1.4rem;
}

.project-copy p {
  color: rgba(255, 255, 255, 0.72);
}

/* Testimonials and process */
.testimonial-card p,
.benefit-card p,
.detail-card p,
.process-card p,
.contact-card p,
.contact-card a {
  color: rgba(16, 21, 19, 0.76);
}

.section-dark .benefit-card p {
  color: rgba(255, 255, 255, 0.72);
}

.stars {
  margin-bottom: 1rem;
  color: var(--color-wood-400);
  letter-spacing: 0.12em;
}

.process-grid {
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(20, 38, 29, 0.08);
  color: var(--color-forest-800);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

/* Form */
.estimate-form {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.estimate-form label {
  display: grid;
  gap: 0.45rem;
}

.estimate-form label span {
  font-size: 0.92rem;
  font-weight: 800;
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.estimate-form input,
.estimate-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(20, 38, 29, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.estimate-form input:focus,
.estimate-form textarea:focus {
  outline: none;
  border-color: rgba(141, 103, 70, 0.65);
  box-shadow: 0 0 0 4px rgba(141, 103, 70, 0.12);
  background: var(--color-white);
}

.estimate-form textarea {
  resize: vertical;
  min-height: 10rem;
}

.estimate-form input[aria-invalid="true"],
.estimate-form textarea[aria-invalid="true"] {
  border-color: rgba(175, 60, 42, 0.72);
  box-shadow: 0 0 0 4px rgba(175, 60, 42, 0.12);
}

.full-width {
  grid-column: 1 / -1;
}

.error-text {
  min-height: 1.1rem;
  color: #af3c2a;
  font-size: 0.84rem;
}

.verification-wrap {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.verification-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.turnstile-slot {
  min-height: 70px;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.9rem;
  font-weight: 700;
}

.form-note {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.form-note a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.form-note-noscript {
  margin: 0 0 1rem;
}

/* Contact */
.contact-card h3 {
  margin-bottom: 0.55rem;
}

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

.estimate-banner-note a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 calc(7rem + env(safe-area-inset-bottom));
  background: var(--color-forest-950);
  color: rgba(255, 255, 255, 0.84);
}

.footer-shell {
  display: grid;
  gap: 1.8rem;
}

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

.footer-note {
  margin-top: 1rem;
  max-width: 24rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 0.65rem;
}

.footer-links a,
.footer-meta a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-link-button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: rgba(255, 255, 255, 0.84);
  text-align: left;
  cursor: pointer;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color var(--transition),
    background-color var(--transition),
    transform var(--transition),
    color var(--transition);
}

.social-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-link span {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-links a:hover,
.footer-meta a:hover,
.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: var(--color-sand-100);
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(220, 199, 175, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

/* Floating CTA */
.floating-call {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 18;
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  max-width: calc(100vw - 2rem);
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-forest-900), var(--color-forest-700));
  color: var(--color-white);
  box-shadow: 0 18px 38px rgba(4, 10, 7, 0.28);
  transition:
    opacity var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.floating-call span {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.floating-call strong {
  font-size: 1rem;
}

/* Services page extras */
.estimate-banner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.7rem;
  border: 1px solid rgba(20, 38, 29, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
}

.estimate-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.estimate-banner-note {
  max-width: 32rem;
  color: rgba(16, 21, 19, 0.72);
}

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 32;
}

.consent-card {
  max-width: 34rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(13, 23, 18, 0.98);
  color: var(--color-white);
  box-shadow: 0 28px 56px rgba(4, 10, 7, 0.34);
}

.consent-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--color-sand-100);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.consent-card h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.6rem, 7vw, 2.5rem);
}

.consent-copy {
  color: rgba(255, 255, 255, 0.78);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.consent-link {
  display: inline-flex;
  margin-top: 0.95rem;
  color: var(--color-sand-100);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(178, 134, 94, 0.4);
  outline-offset: 3px;
}

/* Responsive layout */
@media (min-width: 700px) {
  .service-grid,
  .service-area-grid,
  .testimonial-grid,
  .contact-grid,
  .benefit-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .project-photo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .estimate-banner {
    grid-template-columns: minmax(0, 1.2fr) auto;
  }

  .consent-banner {
    right: auto;
    max-width: 34rem;
  }
}

@media (min-width: 920px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 0.8rem 0.95rem;
  }

  .site-nav .nav-phone {
    margin: 0 0 0 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(23rem, 38rem);
    min-height: calc(100svh - var(--header-height) - 5.2rem);
  }

  .hero-panel {
    order: 0;
    justify-content: flex-end;
  }

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

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

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

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

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

  .cta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 30rem);
    align-items: start;
  }

  .footer-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
  }

  .process-grid::before {
    content: "";
    position: absolute;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    top: 2.95rem;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(141, 103, 70, 0.35),
      rgba(141, 103, 70, 0.14)
    );
  }
}

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

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