:root {
  --bg: #f7f6f1;
  --bg-alt: #f0eee7;
  --card: #ffffff;
  --card-soft: #f6f4ee;
  --text: #1b1f1d;
  --muted: #5e6461;
  --accent: #1f7a57;
  --accent-bright: #4caf50;
  --accent-soft: #d9f1e6;
  --line: rgba(19, 30, 25, 0.12);
  --shadow: 0 20px 40px rgba(25, 35, 30, 0.12);
  --radius: 18px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

html {
  scroll-padding-top: clamp(40px, 8vh, 90px);
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: clamp(40px, 8vh, 90px);
}

#about {
  scroll-margin-top: clamp(50px, 10vh, 120px);
}

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

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

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(85, 227, 155, 0.18), transparent 60%),
    radial-gradient(700px 500px at 90% 10%, rgba(255, 210, 130, 0.22), transparent 60%),
    linear-gradient(120deg, #f8f7f2 0%, #f2f0e9 55%, #f8f7f3 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.2'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: multiply;
}

.container {
  width: min(1200px, 100% - 40px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(248, 247, 242, 0.88);
  border-bottom: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.hero {
  position: relative;
}

.hero-bleed {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  margin-top: -8px;
}

.hero-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(247, 246, 241, 0.15) 0%,
    rgba(247, 246, 241, 0.6) 55%,
    rgba(247, 246, 241, 1) 100%
  );
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-weight: 400;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.1;
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 140px 0 70px;
}

.hero-overlay-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

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

.hero-subline {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

.hero-marquee {
  width: min(100%, 980px);
  margin-top: 66px;
}

.trust {
  padding: 10px 0 40px;
  border: none;
  background: transparent;
}

.trust-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  text-align: right;
}

.trust-label {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.trust-logos {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.trust-logos img {
  height: 48px;
  object-fit: contain;
  filter: grayscale(10%);
}

.about {
  padding: 80px 0 60px;
}

.about-shell {
  position: relative;
  background: var(--card-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 52px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
}

.about-text .about-highlight {
  margin-top: 22px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0) 62%, rgba(247, 246, 241, 0.95) 100%);
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 240px;
  max-height: 360px;
}

.services {
  padding: 60px 0 80px;
}

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

.section-head p {
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 24px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.service-row.is-reversed .service-info {
  order: 2;
}

.service-row.is-reversed .service-media {
  order: 1;
}

.service-index {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.service-info h3 {
  margin: 0 0 12px;
}

.service-info p {
  margin: 0;
  color: var(--muted);
}

.service-media {
  border-radius: 14px;
  overflow: hidden;
  height: 220px;
}

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

.client-types {
  padding: 40px 0 80px;
}

.marquee {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 16px 20px;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: max-content;
  will-change: transform;
  animation: scroll 18s linear infinite;
  --marquee-distance: 50%;
}

.marquee-group {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  padding-right: 30px;
}

.marquee-track span {
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--marquee-distance)));
  }
}

.compare-widget {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow);
}

.compare-stack {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 320px;
}

.compare-stack img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after,
.compare-before {
  position: absolute;
  inset: 0;
}

.compare-before {
  clip-path: inset(0 calc(100% - var(--compare)) 0 0);
}

.compare-stack::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare);
  width: 2px;
  background: var(--accent-bright);
  transform: translateX(-1px);
}

.compare-range {
  width: 100%;
  margin-top: 20px;
  accent-color: var(--accent-bright);
  height: 6px;
  --range-progress: 50%;
  background: linear-gradient(
    90deg,
    rgba(76, 175, 80, 0.55) 0%,
    rgba(76, 175, 80, 0.55) var(--range-progress),
    rgba(76, 175, 80, 0.22) var(--range-progress),
    rgba(76, 175, 80, 0.22) 100%
  );
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
}

.compare-range::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(
    90deg,
    rgba(76, 175, 80, 0.55) 0%,
    rgba(76, 175, 80, 0.55) var(--range-progress),
    rgba(76, 175, 80, 0.22) var(--range-progress),
    rgba(76, 175, 80, 0.22) 100%
  );
  border-radius: 999px;
}

.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-bright);
  border: 2px solid #ffffff;
  box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
  margin-top: -5px;
}

.compare-range::-moz-range-track {
  height: 6px;
  background: rgba(76, 175, 80, 0.22);
  border-radius: 999px;
}

.compare-range::-moz-range-progress {
  height: 6px;
  background: rgba(76, 175, 80, 0.55);
  border-radius: 999px;
}

.compare-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-bright);
  border: 2px solid #ffffff;
  box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
}

.guarantee {
  padding: 40px 0 80px;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: stretch;
}

.guarantee-card {
  background: var(--card-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 32px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guarantee-card h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  line-height: 1.2;
}

.guarantee-card p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.guarantee-card .guarantee-proof {
  margin-top: 22px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.compare-widget {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.compare-stack {
  flex: 1;
  min-height: 260px;
  height: auto;
}

.contact {
  padding: 40px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.contact-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px;
  display: grid;
  gap: 20px;
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
}

.label {
  margin: 0 0 6px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 60vh;
  }

  .brand-logo {
    width: 130px;
  }

  .nav-links {
    gap: 12px;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    padding: 120px 0 60px;
  }

  .about-shell {
    padding: 40px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
  }

  .trust-grid {
    justify-content: flex-start;
  }

  .marquee-track {
    animation-duration: 22s;
  }

  .hero-overlay {
    padding: 110px 0 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a,
  .service-row,
  .reveal,
  .marquee-track {
    transition: none;
    animation: none;
  }
}
