/* =========================================================
   TerraClean — Front page styles
   Color palette pulled from the logo (dark forest + lime).
   ========================================================= */

:root {
  /* Brand palette */
  --green-900: #073d1f;
  --green-800: #0b5530;
  --green-700: #0e6b36;
  --green-600: #1f9d50;
  --green-500: #2bb968;
  --green-400: #5ed684;
  --lime-400: #7ed321;
  --lime-300: #a5e64a;
  --lime-100: #eaf9d6;
  --mint-50:  #f4fbf6;
  --mint-100: #e8f5ec;

  /* Neutral palette */
  --ink-900: #0b1f14;
  --ink-700: #1d2b22;
  --ink-500: #4a5b51;
  --ink-400: #6b7c72;
  --ink-300: #a8b3ac;
  --line:    #e4ece6;
  --bg:      #ffffff;
  --bg-soft: #f7faf8;

  /* System */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 20, 0.04), 0 1px 1px rgba(11, 31, 20, 0.03);
  --shadow:    0 8px 24px -8px rgba(11, 31, 20, 0.12), 0 2px 6px rgba(11, 31, 20, 0.04);
  --shadow-lg: 0 32px 64px -24px rgba(11, 31, 20, 0.18), 0 12px 24px -12px rgba(11, 31, 20, 0.08);

  --gradient-brand: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 45%, var(--lime-400) 100%);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --header-h: 84px;

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Inter, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ----------- Reset ----------- */
*, *::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: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select, button { font-family: inherit; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
h1 { font-size: clamp(2.3rem, 4.5vw + 0.5rem, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 2.8vw + 0.5rem, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0; }

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out), color 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--gradient-brand);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(14, 107, 54, 0.55);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(14, 107, 54, 0.55);
}
.btn-ghost {
  background: #fff;
  color: var(--ink-900);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--green-600);
  color: var(--green-700);
  transform: translateY(-1px);
}

/* ----------- Header ----------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.site-header.scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.95);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}
.logo img { height: 56px; width: auto; display: block; }
.primary-nav ul {
  display: flex;
  gap: 1.6rem;
}
.primary-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  transition: color 0.2s var(--ease-out);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.25s var(--ease-out);
}
.primary-nav a:hover { color: var(--green-700); }
.primary-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--ink-700);
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.header-phone:hover { color: var(--green-700); background: var(--mint-100); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mint-100);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----------- Hero ----------- */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 15% 15%, rgba(126, 211, 33, 0.15), transparent 70%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(31, 157, 80, 0.12), transparent 65%),
    linear-gradient(180deg, var(--mint-50) 0%, #fff 100%);
  z-index: -1;
}
.hero-bg-accent {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: var(--gradient-brand);
  opacity: 0.10;
  filter: blur(60px);
  border-radius: 50%;
  z-index: -1;
  animation: floatBlob 14s ease-in-out infinite;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--mint-100);
  border: 1px solid var(--lime-100);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px rgba(43, 185, 104, 0.2);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43, 185, 104, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(43, 185, 104, 0); }
}
.hero-lede {
  font-size: clamp(1.05rem, 1.1vw + 0.7rem, 1.25rem);
  color: var(--ink-500);
  margin: 1.25rem 0 2rem;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.2rem;
  margin-bottom: 1.6rem;
  max-width: 520px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.93rem;
  color: var(--ink-700);
  font-weight: 500;
}
.hero-trust svg { color: var(--green-600); flex-shrink: 0; }
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.avatars {
  display: flex;
}
.avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--lime-400));
  border: 2px solid #fff;
  display: block;
  margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #4a8b56, #7ed321); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #1f9d50, #5ed684); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #0e6b36, #a5e64a); }
.stars {
  display: inline-flex;
  gap: 2px;
  color: #f5b400;
  margin-bottom: 0.15rem;
}
.hero-social-proof p { font-size: 0.88rem; color: var(--ink-500); }
.hero-social-proof strong { color: var(--ink-900); }

/* =========================================================
   Hero visual — 9:16 video card (raiseagency-style)
   --------------------------------------------------------
   Uses the padding-top trick to FORCE the aspect ratio
   independently of browser support for aspect-ratio and any
   theme CSS that might override video/img heights. The video
   itself is absolutely positioned to fill the wrapper.
   ========================================================= */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
  box-shadow:
    0 50px 100px -30px rgba(11, 31, 20, 0.45),
    0 16px 32px -14px rgba(11, 31, 20, 0.18);
  /* Subtle white inner highlight so the card "lifts" off the page */
  outline: 1px solid rgba(255, 255, 255, 0.06);
  outline-offset: -1px;
}

/* Bulletproof 1:1 square — matches the 1080×1080 source video */
.hero-video-card::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.hero-video-card .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
  z-index: 1;
}
.hero-video::-webkit-media-controls-overlay-play-button { display: none; }
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  border: 0;
  z-index: 4;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: #fff;
}
.video-play-btn svg { margin-left: 2px; }
.video-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}
.video-muted-indicator {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  z-index: 4;
  transition: opacity 0.3s var(--ease-out);
}
.video-muted-indicator.hidden { opacity: 0; pointer-events: none; }

.hero-video-card .hero-float-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 5;
  margin: 0;
  animation: none;
}

.hero-float-badge {
  position: absolute;
  bottom: 20px;
  left: -10px;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.badge-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mint-100);
  color: var(--green-700);
}
.hero-float-badge strong { display: block; font-size: 0.95rem; color: var(--ink-900); }
.hero-float-badge span { font-size: 0.82rem; color: var(--ink-500); }

/* ----------- Trust strip ----------- */
.trust-strip {
  background: var(--green-900);
  color: #fff;
  padding: 1.4rem 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.trust-item svg { color: var(--lime-400); flex-shrink: 0; }

/* ----------- Sections ----------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--mint-100);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-head h2 { margin-bottom: 0.9rem; }
.section-head p { color: var(--ink-500); font-size: 1.08rem; }

/* ----------- Services ----------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }
.service-card-featured {
  background: linear-gradient(180deg, var(--mint-50) 0%, #fff 100%);
}
.popular-tag {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--mint-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
  transition: transform 0.4s var(--ease-spring);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.service-card h3 { font-size: 1.55rem; margin-bottom: 0.6rem; }
.service-card > p { color: var(--ink-500); margin-bottom: 1.3rem; }
.service-points {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.7rem;
  padding-top: 1.3rem;
  border-top: 1px dashed var(--line);
}
.service-points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: var(--ink-700);
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45rem;
  width: 16px; height: 16px;
  background: var(--mint-100);
  border-radius: 50%;
}
.service-points li::after {
  content: "";
  position: absolute;
  left: 5px; top: 0.7rem;
  width: 6px; height: 3px;
  border-left: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--green-700);
  font-size: 0.95rem;
}
.card-cta svg { transition: transform 0.25s var(--ease-out); }
.card-cta:hover svg { transform: translateX(4px); }

/* ----------- Why us ----------- */
.why-us { background: var(--bg-soft); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mint-100), var(--lime-100));
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.feature p { color: var(--ink-500); font-size: 0.95rem; }

/* ----------- Process ----------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  counter-reset: step;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  z-index: 0;
}
.step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green-600);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  margin: 0 auto 1.1rem;
  box-shadow: 0 8px 20px -8px rgba(14, 107, 54, 0.45);
  transition: transform 0.4s var(--ease-spring), background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.step:hover .step-num {
  background: var(--gradient-brand);
  color: #fff;
  transform: scale(1.08);
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--ink-500); font-size: 0.95rem; }

/* ----------- Gallery ----------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* =========================================================
   Before / after slider
   --------------------------------------------------------
   Two images stacked. The "after" overlay is clipped from
   the left by --ba-pos (0-100%). A draggable handle moves
   the divider. Default --ba-pos: 50%  → LEFT half shows
   "før" (the base image), RIGHT half shows "efter".
   ========================================================= */
.ba-compare {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  background: #1d2b22;          /* fallback if images are missing */
  --ba-pos: 50%;
  cursor: ew-resize;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;          /* clicks pass through to .ba-compare */
}
.ba-img-overlay {
  /* Hide left portion (everything from 0 to --ba-pos).
     At 0%  → full overlay visible (all EFTER).
     At 50% → right half visible (right = EFTER, left = FØR).
     At 100% → fully clipped (all FØR). */
  clip-path: inset(0 0 0 var(--ba-pos));
}

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba-pos);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 3;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pos);
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  color: var(--green-700);
  display: grid;
  place-items: center;
  cursor: ew-resize;
  z-index: 4;
  touch-action: none;            /* enable smooth horizontal drag on touch */
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(255, 255, 255, 0.22);
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}
.ba-handle:hover {
  transform: translate(-50%, -50%) scale(1.08);
}
.ba-handle:focus-visible {
  outline: 3px solid var(--lime-400);
  outline-offset: 3px;
}
.ba-compare.dragging .ba-handle {
  transform: translate(-50%, -50%) scale(1.12);
  cursor: grabbing;
}

.ba-label {
  position: absolute;
  top: 14px;
  background: rgba(11, 31, 20, 0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  z-index: 2;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba-label-before { left: 14px; }
.ba-label-after  { right: 14px; background: var(--gradient-brand); }

/* While actively dragging, drop label opacity slightly so they don't fight for attention */
.ba-compare.dragging .ba-label { opacity: 0.5; }
.gallery-item figcaption {
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-500);
  font-weight: 500;
}

/* ----------- Testimonials ----------- */
.testimonials { background: var(--bg-soft); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial .stars { margin-bottom: 1rem; }
.testimonial blockquote {
  margin: 0 0 1.2rem;
  font-size: 1.02rem;
  color: var(--ink-700);
  line-height: 1.6;
}
.testimonial footer { display: flex; flex-direction: column; }
.testimonial strong { color: var(--ink-900); font-size: 0.95rem; }
.testimonial span { color: var(--ink-500); font-size: 0.85rem; }

/* ----------- Quote section ----------- */
.quote { background: linear-gradient(180deg, #fff 0%, var(--mint-50) 100%); }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.quote-copy h2 { margin-top: 0.9rem; margin-bottom: 1rem; }
.quote-copy > p { color: var(--ink-500); font-size: 1.05rem; margin-bottom: 1.6rem; }
.quote-bullets {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.quote-bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--ink-700);
}
.quote-bullets svg {
  color: var(--green-600);
  background: var(--mint-100);
  width: 28px; height: 28px;
  border-radius: 50%;
  padding: 5px;
  flex-shrink: 0;
}
.quote-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.qcc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.qcc-label { font-size: 0.8rem; color: var(--ink-500); margin-bottom: 0.2rem; }
.qcc-value { font-size: 1.15rem; font-weight: 700; color: var(--ink-900); }

/* Form */
.quote-form {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.service-choice {
  border: 0;
  padding: 0;
  margin: 0 0 1.5rem;
}
.service-choice legend {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.8rem;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.choice { position: relative; cursor: pointer; }
.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.choice-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  transition: all 0.25s var(--ease-out);
  height: 100%;
}
.choice:hover .choice-card { border-color: var(--green-500); transform: translateY(-2px); }
.choice input:checked ~ .choice-card {
  border-color: var(--green-600);
  background: var(--mint-50);
  box-shadow: 0 0 0 3px rgba(43, 185, 104, 0.15);
}
.choice input:focus-visible ~ .choice-card {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}
/* Error state when no service is selected */
.service-choice.invalid .choice-card {
  border-color: #d94343;
  background: #fff5f5;
}
.service-choice.invalid .choice input:checked ~ .choice-card {
  border-color: var(--green-600);
  background: var(--mint-50);
}
.service-error {
  display: none;
  margin-top: 0.7rem;
  color: #c12d2d;
  font-size: 0.88rem;
  font-weight: 500;
  animation: shake 0.4s var(--ease-out);
}
.service-choice.invalid .service-error { display: block; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
.choice-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--mint-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
}
.choice input:checked ~ .choice-card .choice-icon {
  background: var(--gradient-brand);
  color: #fff;
}
.choice-title { font-weight: 700; color: var(--ink-900); font-size: 0.97rem; }
.choice-sub { font-size: 0.82rem; color: var(--ink-500); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.form-row.form-row-single {
  grid-template-columns: 1fr;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.78rem 0.95rem;
  font-size: 0.97rem;
  background: #fff;
  color: var(--ink-900);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-300); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(43, 185, 104, 0.15);
}
.form-field input:user-invalid,
.form-field select:user-invalid {
  border-color: #d94343;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: 0.4rem 0 1.2rem;
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--green-600); }
.consent a { color: var(--green-700); text-decoration: underline; }

.form-foot {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-500);
}

.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.form-success.show { display: flex; opacity: 1; }
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  animation: successPop 0.5s var(--ease-spring);
}
@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--ink-500); }

/* ----------- FAQ ----------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 0.6rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.faq-item[open] { border-color: var(--green-500); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--mint-100);
  flex-shrink: 0;
  transition: background 0.25s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--green-700);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out);
}
.faq-icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon { background: var(--gradient-brand); }
.faq-item[open] .faq-icon::before { background: #fff; }
.faq-item[open] .faq-icon::after  { background: #fff; transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--ink-500); }

/* ----------- Final CTA ----------- */
.final-cta { padding: clamp(3rem, 6vw, 5rem) 0; }
.final-cta-inner {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 60%, var(--lime-400) 130%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  isolation: isolate; /* new stacking context — ::before stays behind children */
}
.final-cta-inner::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none; /* decorative — must not block button clicks */
  z-index: 0;
}
.final-cta-inner > * { position: relative; z-index: 1; }
.final-cta-inner h2 { color: #fff; }
.final-cta-inner p { color: rgba(255,255,255,0.85); margin-top: 0.4rem; }
.final-cta-inner .btn-primary {
  background: #fff;
  color: var(--green-700);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.final-cta-inner .btn-primary:hover {
  background: var(--ink-900);
  color: #fff;
}

/* ----------- Footer ----------- */
.site-footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo {
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
  height: 50px;
  width: auto;
  display: block;
}
.footer-brand p { max-width: 320px; opacity: 0.75; font-size: 0.95rem; }
.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.socials a:hover { background: var(--lime-400); color: var(--green-900); transform: translateY(-2px); }
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col li { font-size: 0.93rem; opacity: 0.8; transition: opacity 0.2s; }
.footer-col li:hover { opacity: 1; }
.footer-col a { display: inline-block; }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-contact svg { color: var(--lime-400); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  opacity: 0.7;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom ul {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom a:hover { color: var(--lime-300); }

/* ----------- Floating mobile CTA ----------- */
.floating-cta {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-brand);
  color: #fff;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 12px 32px -10px rgba(14, 107, 54, 0.55);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.4s var(--ease-spring), opacity 0.4s;
}
.floating-cta.show {
  transform: translateY(0);
  opacity: 1;
}

/* ----------- Reveal animation ----------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ----------- Pricing ----------- */
.pricing { background: var(--bg-soft); }

/* Tab toggle between Fliserens / Terrasserens */
.price-tabs {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 2px;
  box-shadow: var(--shadow-sm);
}
.price-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.65rem 1.5rem;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.2s var(--ease-out);
  color: var(--ink-500);
  font-family: var(--font-display);
  line-height: 1.2;
}
.price-tab-label {
  font-weight: 700;
  font-size: 0.95rem;
}
.price-tab-from {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.8;
}
.price-tab:hover {
  color: var(--green-700);
}
.price-tab.is-active {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(14, 107, 54, 0.45);
}
.price-tab.is-active .price-tab-from { opacity: 0.9; }
.price-tab:focus-visible {
  outline: 3px solid var(--lime-400);
  outline-offset: 2px;
}

.price-panel { animation: fadePrice 0.35s var(--ease-out); }
.price-panel[hidden] { display: none; }
@keyframes fadePrice {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 3rem;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card-featured {
  border-color: transparent;
  background: #fff;
  box-shadow: 0 24px 56px -22px rgba(14, 107, 54, 0.35);
  transform: translateY(-6px);
}
.price-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.price-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink-900);
}
.price-sub {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 0.4rem;
}
.price-currency {
  font-size: 0.85rem;
  color: var(--ink-500);
  font-weight: 600;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card-featured .price-amount {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.price-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-500);
}
.price-min {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 0.3rem;
}
.price-points {
  display: grid;
  gap: 0.5rem;
  margin: 0.4rem 0 1.2rem;
}
.price-points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.94rem;
  color: var(--ink-700);
}
.price-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4rem;
  width: 16px; height: 16px;
  background: var(--mint-100);
  border-radius: 50%;
}
.price-points li::after {
  content: "";
  position: absolute;
  left: 5px; top: 0.65rem;
  width: 6px; height: 3px;
  border-left: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; }

.price-examples {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}
.price-table-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink-900);
}
.price-table-wrap { overflow-x: auto; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 480px;
}
.price-table th,
.price-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table thead th {
  background: var(--mint-50);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.price-table tbody th {
  font-weight: 600;
  color: var(--ink-700);
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--mint-50); }
.price-table-note {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-top: 0.8rem;
}

.price-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}
.price-extra-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.price-extra-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--ink-900);
}
.price-extra-card-accent {
  background: linear-gradient(180deg, var(--mint-50) 0%, #fff 100%);
  border-color: var(--mint-100);
}
.price-list {
  display: grid;
  gap: 0.55rem;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.94rem;
  color: var(--ink-700);
}
.price-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-list .discount {
  color: var(--green-700);
  font-weight: 700;
  white-space: nowrap;
}
.campaign-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px dashed var(--green-500);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--ink-700);
}
.campaign-note svg {
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-disclaimer {
  font-size: 0.88rem;
  color: var(--ink-500);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* ----------- Coverage ----------- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}
.coverage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.coverage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.coverage-card-featured {
  background: linear-gradient(180deg, var(--mint-50) 0%, #fff 100%);
  border-color: var(--mint-100);
}
.coverage-pin {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--mint-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.coverage-card-featured .coverage-pin {
  background: var(--gradient-brand);
  color: #fff;
}
.coverage-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.coverage-sub { color: var(--ink-500); font-size: 0.93rem; margin-bottom: 1.1rem; }
.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.city-pills li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--mint-50);
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.city-pills li:hover {
  background: var(--mint-100);
  border-color: var(--green-500);
  color: var(--green-700);
}
.coverage-note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--mint-50);
  border: 1px solid var(--mint-100);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  color: var(--ink-700);
  font-size: 0.95rem;
}
.coverage-note svg { color: var(--green-700); flex-shrink: 0; }

/* ----------- File upload ----------- */
.label-optional {
  font-weight: 400;
  color: var(--ink-400);
  font-size: 0.82rem;
  margin-left: 0.2rem;
}
.file-upload {
  position: relative;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  background: var(--mint-50);
  padding: 1.2rem;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
  cursor: pointer;
}
.file-upload:hover,
.file-upload.dragover {
  border-color: var(--green-600);
  background: var(--mint-100);
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-upload-prompt {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  pointer-events: none;
}
.file-upload-prompt svg { color: var(--green-700); flex-shrink: 0; }
.file-upload-text { display: flex; flex-direction: column; gap: 2px; }
.file-upload-text strong { color: var(--ink-900); font-size: 0.95rem; }
.file-upload-text span { color: var(--ink-500); font-size: 0.82rem; }
.file-list {
  display: none;
  margin-top: 0.9rem;
  gap: 0.4rem;
  flex-direction: column;
}
.file-list.has-files { display: flex; }
.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-size: 0.88rem;
  color: var(--ink-700);
}
.file-list .file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70%; }
.file-list .file-size { color: var(--ink-400); font-size: 0.8rem; flex-shrink: 0; }
.file-list .file-remove {
  background: none;
  border: 0;
  color: var(--ink-400);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.file-list .file-remove:hover { color: #d94343; background: rgba(217, 67, 67, 0.08); }

/* ----------- Active nav link ----------- */
.primary-nav a[aria-current="page"] {
  color: var(--green-700);
  font-weight: 600;
}
.primary-nav a[aria-current="page"]::after {
  width: 100%;
}

/* ----------- Page hero (subpages) ----------- */
.page-hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 10% 10%, rgba(126, 211, 33, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(31, 157, 80, 0.10), transparent 65%),
    linear-gradient(180deg, var(--mint-50) 0%, #fff 100%);
  z-index: -1;
}
.page-hero-inner {
  max-width: 820px;
}

/* Subpage hero variant: text on the left, video card on the right */
.page-hero-inner.page-hero-inner-grid {
  max-width: var(--container);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.page-hero-inner.page-hero-inner-grid .hero-copy {
  max-width: none;
}

@media (max-width: 1024px) {
  .page-hero-inner.page-hero-inner-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.page-hero h1 {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.3rem);
  margin: 0.6rem 0 1rem;
}
.page-lede {
  font-size: clamp(1.05rem, 1vw + 0.7rem, 1.2rem);
  color: var(--ink-500);
  margin-bottom: 1.8rem;
  max-width: 680px;
}
.page-hero .hero-cta { margin-bottom: 1.5rem; }
.page-hero .hero-trust { max-width: 100%; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-400);
  margin-bottom: 0.8rem;
}
.breadcrumbs a {
  color: var(--ink-500);
  transition: color 0.2s var(--ease-out);
}
.breadcrumbs a:hover { color: var(--green-700); }
.breadcrumbs span[aria-current="page"] { color: var(--ink-900); font-weight: 500; }

/* ----------- Two-column generic ----------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col h2 { margin-bottom: 1rem; }
.two-col > div > p { color: var(--ink-500); margin-bottom: 1rem; font-size: 1.02rem; }
.two-col-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.two-col-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--ink-900);
}

.check-list {
  display: grid;
  gap: 0.6rem;
}
.check-list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.97rem;
  color: var(--ink-700);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.25rem;
  width: 20px; height: 20px;
  background: var(--gradient-brand);
  border-radius: 50%;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 0.55rem;
  width: 7px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ----------- Stats card (Om-os) ----------- */
.stats-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.6rem;
}
.stat {
  background: linear-gradient(180deg, var(--mint-50) 0%, #fff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-num small {
  font-size: 1rem;
  color: var(--ink-500);
  background: none;
  -webkit-text-fill-color: var(--ink-500);
  font-weight: 600;
  margin-left: 2px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--ink-500);
  font-weight: 500;
}

/* ----------- Contact methods (Kontakt) ----------- */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.contact-method {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  text-align: left;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green-500);
}
.contact-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.6rem;
}
.contact-method h3 {
  font-size: 1.15rem;
  color: var(--ink-900);
  margin-bottom: 0.1rem;
}
.contact-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
}
.contact-meta {
  font-size: 0.88rem;
  color: var(--ink-500);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 360px; margin: 0 auto; width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; }
  .price-card-featured { transform: none; }
  .price-extras { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .contact-methods { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Mobile menu — positioned ABSOLUTELY just below the sticky header
     so it cannot peek through visually when closed. Using
     visibility + opacity instead of transform-only ensures the menu
     is fully invisible regardless of how many nav items it contains. */
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem 1.5rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s var(--ease-out),
      transform 0.25s var(--ease-out),
      visibility 0s linear 0.25s;
    z-index: 1;
  }
  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 0.25s var(--ease-out),
      transform 0.25s var(--ease-out),
      visibility 0s linear 0s;
  }
  .primary-nav ul { flex-direction: column; gap: 1rem; }
  .primary-nav a { padding: 0.4rem 0; display: inline-block; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-phone span { display: none; }

  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 1.4rem; }

  .final-cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-bottom ul { justify-content: center; flex-wrap: wrap; gap: 1rem; }

  .floating-cta { display: inline-flex; }
}

@media (max-width: 480px) {
  .hero-trust { grid-template-columns: 1fr; }
  .step-num { width: 60px; height: 60px; font-size: 1.4rem; }
  .hero-video-card { max-width: 360px; }
}
