:root {
  --bg: #f3f9f2;
  --panel: #ffffff;
  --panel-alt: #edf7ee;
  --primary: #0f5f43;
  --primary-strong: #0c4637;
  --secondary: #2ecc71;
  --secondary-soft: rgba(46, 204, 113, 0.15);
  --text: #1b2d24;
  --muted: #4d6659;
  --line: rgba(15, 95, 67, 0.14);
  --shadow: 0 22px 50px rgba(17, 18, 19, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Scroll-reveal utility: elements get .reveal on init, .is-visible once in view */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  z-index: 60;
  transition: width 0.15s ease-out;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: #161a18;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1 1 260px;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner-actions button {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cookie-banner-actions button:hover {
  transform: translateY(-1px);
}

.cookie-accept {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.cookie-decline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: radial-gradient(1200px 600px at 12% -5%, rgba(46, 204, 113, 0.09), transparent 60%),
    radial-gradient(900px 520px at 100% 8%, rgba(15, 95, 67, 0.07), transparent 55%), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.small-container {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0e0e0e;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(46, 204, 113, 0.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(46, 204, 113, 0.35);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 260px;
}

.brand-name {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  max-width: 170px;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(13, 91, 63, 0.12);
  box-shadow: 0 8px 18px rgba(13, 91, 63, 0.14);
  filter: drop-shadow(0 4px 10px rgba(13, 91, 63, 0.12));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover .brand-logo {
  transform: rotate(-4deg) scale(1.06);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  color: #ffffff;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px 0;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  border-radius: 999px;
  margin: 5px 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 130%;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(17, 45, 42, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--line);
}

.hero--fullwidth {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
}

.hero-bg-img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}

.hero-bg-img--before {
  filter: brightness(0.55);
  clip-path: polygon(0 0, 110% 0, 90% 100%, 0 100%);
  width: 55%;
}

.hero-bg-img--after {
  position: absolute;
  right: 0;
  width: 55%;
  filter: brightness(0.6);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, -10% 100%);
  animation-delay: -11s;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(132% 86% at 12% 0%, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.04) 72%),
    linear-gradient(180deg, rgba(5, 8, 9, 0.86) 0%, rgba(7, 11, 11, 0.62) 24%, rgba(9, 14, 13, 0.3) 58%, rgba(15, 95, 67, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 60px;
  max-width: 760px;
}

.hero-headline {
  margin: 0 0 28px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-headline span {
  display: block;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 800;
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-headline span:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-headline span:nth-child(2) {
  animation-delay: 0.24s;
}

.hero-headline span:nth-child(3) {
  animation-delay: 0.38s;
}

.hero-sub {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.52s;
}

.hero-actions {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.64s;
}

.hero-trust {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.76s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline__white {
  color: #ffffff;
}

.hero-headline__green {
  color: #4ccd6b;
}

.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 0 36px;
  max-width: 600px;
}

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.75);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
  animation: heroScrollBounce 2.2s ease-in-out infinite;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

@keyframes heroScrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2,
.page-banner h1 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 5vw, 5rem);
  max-width: 620px;
}

.lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.mini-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 28px 0 0;
  font-weight: 700;
  color: var(--primary);
}

.mini-points li {
  position: relative;
  padding-left: 24px;
}

.mini-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(27, 61, 59, 0.08);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 61, 59, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  display: grid;
  gap: 4px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-badge strong {
  font-size: 1.2rem;
  letter-spacing: -0.05em;
}

.stats {
  padding-bottom: 10px;
  position: relative;
  z-index: 4;
  margin-top: -18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 38px 18px;
  background: linear-gradient(135deg, #101915, #0a1310);
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.stats-grid div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.stats-grid div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: -9px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stats-grid div:hover {
  transform: translateY(-4px);
}

.stats-grid strong {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  letter-spacing: -0.05em;
  color: #ffffff;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.6);
}

.section {
  padding: 110px 0;
}

.about-home {
  padding-top: 40px;
}

.section-narrow {
  padding: 80px 0;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2,
.about-copy h2,
.page-banner h1 {
  font-size: clamp(2.2rem, 3vw, 3.3rem);
}

.section-heading h2::after,
.about-copy h2::after,
.reviews-header h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.about-copy h2::after {
  margin-left: auto;
  margin-right: auto;
}

#services .section-heading h2::after,
.process .section-heading h2::after {
  margin-left: auto;
  margin-right: auto;
}

.page-banner h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 22px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), #ffffff);
}

.service-grid,
.process-grid,
.values-grid,
.case-study-headings {
  display: grid;
  gap: 24px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  perspective: 1200px;
}

.service-card,
.process-step,
.value-card,
.group-block,
.case-card,
blockquote {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(27, 61, 59, 0.08);
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(18, 20, 21, 0.04);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
}

.service-card:hover,
.process-step:hover,
.value-card:hover,
.group-block:hover,
.case-card:hover,
blockquote:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px rgba(15, 95, 67, 0.16);
  border-color: rgba(46, 204, 113, 0.35);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 32px 26px;
  background: linear-gradient(135deg, #178257, var(--primary));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 44px rgba(7, 30, 22, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -4px 12px rgba(0, 0, 0, 0.18);
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.service-card:hover::after {
  left: 130%;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 30px 56px rgba(7, 30, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -4px 12px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: #ffffff;
}

.service-card p,
.process-step p,
.content-block p,
.value-card p,
.group-block p,
.case-card p,
blockquote {
  color: var(--muted);
}

.service-card p {
  color: rgba(255, 255, 255, 0.85);
}

.process-steps-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  text-align: center;
  color: #fff;
  position: relative;
}

.process-steps-row::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.35), transparent);
  z-index: 0;
}

.process-step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.process-step-card:hover .process-step-num {
  transform: scale(1.12);
  box-shadow: 0 0 0 8px rgba(46, 204, 113, 0.18);
}

.process-step-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.process-step-card p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}

/* process.html detail steps */
.process-detail-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s ease;
}

.process-detail-step:hover {
  padding-left: 10px;
}

.process-detail-step:hover .process-detail-num {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(46, 204, 113, 0.14);
}

.process-detail-step:last-child {
  border-bottom: none;
}

.process-detail-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 4px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.process-detail-body h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.process-detail-body p {
  color: var(--muted);
  margin: 0 0 10px;
}

.process-detail-tags {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.process-detail-tags li {
  background: var(--secondary-soft);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.process-step {
  padding: 24px 20px;
}

.process-step span {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--secondary);
  letter-spacing: 0.1em;
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.case-studies-home {
  background: rgba(255, 255, 255, 0.22);
}

.case-study-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.group-block {
  padding: 24px 20px;
}

.group-block h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.project-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.more-case-studies {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.project-detail-section {
  display: none;
  padding-top: 10px;
}

.project-detail-section.visible {
  display: block;
}

.detail-panel {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.case-card-button {
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  background: transparent;
}

.detail-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.detail-panel-header h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
}

.close-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  min-width: 176px;
  height: 48px;
  padding: 0 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(13, 91, 63, 0.08);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.detail-gallery img:hover {
  transform: scale(1.04);
}

.gym-transformation {
  background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(223, 238, 226, 0.5));
}

.transformation-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.compare-column {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.compare-column h3 {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.photo-stack {
  display: grid;
  gap: 20px;
}

.mobile-compare-pairs {
  display: none;
}

.compare-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(13, 91, 63, 0.1);
  background: var(--panel-alt);
}

.compare-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.compare-card:hover img {
  transform: scale(1.05);
}

.review-stars {
  color: #fbbc04;
  font-size: 1.25rem;
  letter-spacing: 3px;
  margin-bottom: 8px;
  display: inline-block;
  transition: transform 0.35s ease;
}

blockquote:hover .review-stars {
  transform: scale(1.08);
}

.compare-card figcaption {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.compare-card--after figcaption {
  background: rgba(13, 91, 63, 0.9);
  color: #fff;
}

.placeholder-compare {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: linear-gradient(135deg, rgba(15, 95, 67, 0.09), rgba(15, 95, 67, 0.02));
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mini-project {
  position: relative;
  display: block;
  cursor: pointer;
  background: rgba(255,255,255,0.45);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(27, 61, 59, 0.08);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.mini-project:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px rgba(15, 95, 67, 0.16);
}

.mini-project img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mini-project:hover img {
  transform: scale(1.08);
}

.mini-project::before,
.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(180deg, rgba(7, 30, 22, 0) 42%, rgba(7, 30, 22, 0.85) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.mini-project:hover::before,
.case-card:hover::before {
  opacity: 1;
}

.mini-project::after,
.case-card::after {
  content: "View Project \2192";
  position: absolute;
  left: 20px;
  top: 222px;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

.mini-project:hover::after,
.case-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.mini-project div {
  padding: 18px 18px 22px;
}

.mini-project span {
  color: var(--secondary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.mini-project h3 {
  margin: 10px 0 0;
  font-size: 1.35rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 34px;
}

.about-copy p {
  color: var(--muted);
}

.video-placeholder {
  min-height: 350px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(27,61,59,0.9), rgba(17,45,42,0.7)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1200&q=80") center/cover;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  color: white;
  padding: 26px;
}

.video-placeholder--large {
  min-height: 420px;
  margin: 36px 0;
}

.video-placeholder span {
  display: block;
  color: rgba(255,255,255,0.82);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.video-placeholder strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  letter-spacing: -0.05em;
}

.content-block {
  display: grid;
  gap: 18px;
  font-size: 1.05rem;
}

.content-block h2 {
  margin: 10px 0 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.content-block ul {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.content-block li {
  line-height: 1.6;
}

.values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}

.value-card {
  padding: 24px 22px;
}

.value-card h3 {
  margin: 0 0 10px;
}

.page-banner {
  padding: 120px 0 70px;
}

.page-banner--about,
.page-banner--reviews,
.page-banner--studies {
  background: linear-gradient(135deg, rgba(27,61,59,0.9), rgba(17,45,42,0.8)),
    url("https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: white;
}

.page-banner h1 {
  max-width: 720px;
}

.case-study-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  min-height: 100vh;
}

.case-study-section {
  padding: 18px 20px 48px;
  border-left: 4px solid rgba(15, 95, 67, 0.9);
  min-height: 100vh;
}

.case-study-section:first-child {
  border-left: 0;
  padding-left: 0;
}

.case-study-header {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--primary);
}

.case-study-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 761px) {
  .case-study-gallery [data-case-id="bathroom-transformation"] {
    margin-top: 112px;
  }

  .case-study-gallery [data-case-id="investment-property-upgrade"] {
    margin-top: 56px;
  }
}

.case-card {
  position: relative;
  overflow: hidden;
}

.case-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card:hover img {
  transform: scale(1.08);
}

.case-card-content {
  padding: 18px 18px 22px;
}

.case-card-content span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 800;
}

.case-card-content h3 {
  margin: 10px 0 8px;
  font-size: 1.4rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.reviews-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.reviews-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.06em;
}

.admin-note {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(13, 91, 63, 0.06);
  border: 1px solid rgba(13, 91, 63, 0.12);
  color: var(--muted);
  font-size: 0.95rem;
}

.owner-admin-panel {
  padding-top: 8px;
}

.owner-admin-panel.hidden {
  display: none;
}

.owner-admin-form {
  display: grid;
  gap: 16px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.owner-admin-form textarea,
.owner-admin-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(13, 91, 63, 0.16);
  background: #fff;
}

.owner-admin-form .btn {
  width: fit-content;
}

.testimonial-grid--page {
  margin-top: 8px;
}

blockquote {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 26px 22px;
  font-size: 1.02rem;
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  right: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 95, 67, 0.08);
  pointer-events: none;
}

blockquote footer {
  margin-top: 18px;
  font-weight: 800;
  color: var(--primary);
}

.site-footer {
  padding: 0 0 48px;
  background: #161a18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  background: transparent;
  color: white;
  border-radius: 0;
  padding: 72px 0;
  box-shadow: none;
}

.footer-info h3 {
  font-size: clamp(1.9rem, 2.5vw, 2.8rem);
  margin: 12px 0 18px;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
}

.footer-info-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0 0 32px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}

.contact-info-item:hover .contact-icon {
  transform: scale(1.1) rotate(-4deg);
  background: var(--secondary);
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.footer-form-panel {
  background: #3a3d3b;
  border-radius: 20px;
  padding: 36px 40px;
  border: none;
}

.footer-form-panel h4 {
  margin: 0 0 24px;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}

.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: #1e2422;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.22);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.contact-form select option {
  background: #1e2422;
  color: #fff;
}

.btn--full {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 12px;
  margin-top: 4px;
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin: 4px 0 0;
}

.form-feedback {
  min-height: 1.4em;
  margin: 8px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-feedback.is-success {
  color: #8df0b0;
}

.form-feedback.is-error {
  color: #ffd7d7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  gap: 18px;
  color: rgba(255,255,255,0.5);
}

.footer-links a {
  color: rgba(255,255,255,0.5);
}

.footer-links a:hover {
  color: var(--secondary);
}

@media (max-width: 920px) {
  .hero-grid,
  .about-grid,
  .footer-grid,
  .case-study-group,
  .project-preview,
  .case-study-gallery,
  .testimonial-grid,
  .service-grid,
  .stats-grid,
  .process-grid,
  .case-study-headings,
  .transformation-layout {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid div:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 82px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: var(--shadow);
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .main-nav a {
    color: var(--text);
    width: 100%;
    padding: 8px 0;
  }

  .main-nav a::after {
    bottom: 2px;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    padding: 7px 9px;
  }

  .nav-toggle span {
    background: rgba(255, 255, 255, 0.95);
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .footer-grid,
  .case-study-group,
  .project-preview,
  .case-study-gallery,
  .testimonial-grid,
  .service-grid,
  .stats-grid,
  .process-grid,
  .case-study-headings,
  .values-grid,
  .transformation-layout {
    grid-template-columns: 1fr;
  }

  .stats-grid div:not(:last-child)::after {
    display: none;
  }

  .stats-grid div:not(:last-child) {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-image img {
    height: 460px;
  }

  .process-steps-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .process-step-card p {
    max-width: 34ch;
  }

  .process-detail-step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .process-detail-num {
    margin-top: 0;
  }

  .case-study-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 26px;
  }

  .case-study-section {
    min-height: auto;
    border-left: 0;
    border-top: 4px solid rgba(15, 95, 67, 0.9);
    padding: 18px 0 10px;
  }

  .case-study-section:first-child {
    border-top: 0;
    padding-left: 0;
    padding-top: 0;
  }

  .case-study-header {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .case-card img,
  .mini-project img {
    height: 220px;
  }

  .case-card::before,
  .mini-project::before {
    height: 220px;
  }

  .case-card::after,
  .mini-project::after {
    top: 182px;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-name {
    font-size: 0.88rem;
    line-height: 1;
    white-space: nowrap;
    max-width: none;
  }

  .detail-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .close-detail {
    min-width: 220px;
    height: 50px;
    padding: 0 22px;
  }

  .desktop-compare-layout {
    display: none;
  }

  .mobile-compare-pairs {
    display: grid;
    gap: 16px;
    margin-top: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
