:root {
  --bg: #e8f1ec;
  --card: #ffffff;
  --card-2: #f4faf7;
  --text: #0f1412;
  --muted: #4a5550;
  --accent: #5cb87a;
  --accent-2: #449660;
  --accent-soft: rgba(92, 184, 122, 0.2);
  --ring: rgba(92, 184, 122, 0.45);
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --shadow-soft: 0 4px 24px rgba(15, 22, 18, 0.08);
  --shadow-lift: 0 16px 48px rgba(15, 22, 18, 0.12);
  --shadow-glow:
    0 0 0 1px rgba(92, 184, 122, 0.14),
    0 0 28px rgba(68, 150, 96, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

::selection {
  background: rgba(92, 184, 122, 0.35);
  color: #0f1412;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(rgba(92, 184, 122, 0.06) 1px, transparent 1px),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(220, 240, 228, 0.65) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(210, 232, 218, 0.5) 0%, transparent 50%),
    linear-gradient(180deg, #f2f7f4 0%, var(--bg) 45%, #e4eee8 100%);
  background-size:
    20px 20px,
    auto,
    auto,
    auto;
  background-position:
    0 0,
    100% 0,
    0 100%,
    0 0;
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow-x: clip;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8),
    0 6px 20px rgba(15, 22, 18, 0.05);
}

.nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.75rem;
  padding: 0.85rem 0 0;
}

.brand {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  color: #0f1412;
  font-weight: 800;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  text-decoration: none;
  letter-spacing: 0.02em;
  min-width: 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.brand-logo {
  flex-shrink: 0;
  width: clamp(2rem, 5vw, 2.65rem);
  height: clamp(2rem, 5vw, 2.65rem);
  object-fit: contain;
}

.brand-text {
  min-width: 0;
  white-space: nowrap;
}

.brand:hover {
  color: var(--accent-2);
  text-shadow: none;
}

.header-contact {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1rem;
  width: 100%;
  padding: 0.72rem 0 0.78rem;
  margin-top: 0.15rem;
  border-top: none;
  isolation: isolate;
}

nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  background: linear-gradient(180deg, #1f4a34 0%, #173528 48%, #112a1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 1px 0 rgba(0, 0, 0, 0.12);
}

nav a:not(.btn) {
  color: rgba(232, 244, 237, 0.88);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), #c8f5dc);
  transition: width 0.25s ease;
}

nav a:not(.btn):hover::after,
nav a:not(.btn).nav-active::after {
  width: 100%;
}

nav a:not(.btn):hover {
  color: #fff;
}

nav a.nav-active {
  color: #fff;
}

nav a:not(.btn).nav-active {
  text-decoration: none;
  text-underline-offset: 0;
}

nav a.header-contact-btn.nav-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

nav .header-contact-btn.btn-primary {
  color: #0f2419;
  background: linear-gradient(180deg, #f4fbf7 0%, #d4f0e2 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 2px 14px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

nav .header-contact-btn.btn-primary:hover {
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

nav .translate-btn {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

nav .translate-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.38);
}

nav a:focus-visible,
nav .translate-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.header-call {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.header-call:hover {
  color: var(--accent-2);
}

.header-call svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.header-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.header-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5a6962;
  border: 1px solid rgba(15, 20, 18, 0.1);
  background: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.header-social a:hover {
  transform: translateY(-1px);
  color: var(--accent-2);
  border-color: rgba(92, 184, 122, 0.4);
  background: rgba(92, 184, 122, 0.12);
}

.header-social a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.header-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.header-contact-btn {
  margin-left: 0;
  padding: 0.44rem 0.8rem;
  line-height: 1;
}

nav a.header-contact-btn {
  margin-left: auto;
  color: #fff;
}

.translate-btn {
  padding: 0.44rem 0.72rem;
  font-size: 0.84rem;
  line-height: 1;
  border: 1px solid rgba(15, 20, 18, 0.12);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #0f1412;
  background: rgba(255, 255, 255, 0.7);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.translate-btn:hover {
  background: rgba(92, 184, 122, 0.12);
  border-color: rgba(92, 184, 122, 0.35);
}

.hero {
  --text: #f4f9f7;
  --muted: #b8c9c0;
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4rem;
  color: var(--text);
  background-color: #101816;
  border-bottom: 1px solid rgba(92, 184, 122, 0.22);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(8, 12, 10, 0.9) 0%,
    rgba(10, 16, 13, 0.84) 32%,
    rgba(12, 18, 15, 0.72) 55%,
    rgba(10, 14, 12, 0.58) 100%
  );
}

.hero-backdrop-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.35s ease-in-out;
}

.hero-backdrop-slide.is-active {
  opacity: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  background: radial-gradient(circle at center, rgba(92, 184, 122, 0.16) 0%, transparent 72%);
  pointer-events: none;
  z-index: 2;
}

.hero > .container {
  position: relative;
  z-index: 3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.8rem;
  align-items: stretch;
}

.tag {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(92, 184, 122, 0.12);
  border: 1px solid rgba(92, 184, 122, 0.32);
  color: #e8fff0;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.surface-pro-light .tag {
  color: #1a5c36;
  box-shadow: 0 2px 12px rgba(15, 22, 18, 0.06);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

.section h2,
main > section.section > h1 {
  letter-spacing: -0.02em;
  color: var(--text);
}

.section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.45rem;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.75rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), rgba(120, 200, 145, 0.45));
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: linear-gradient(118deg, #ffffff 0%, #e8fff0 38%, #7ecf98 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #74c48a, var(--accent-2));
  box-shadow:
    0 4px 16px rgba(79, 156, 101, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  box-shadow:
    0 8px 28px rgba(79, 156, 101, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  color: #0f1412;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 20, 18, 0.12);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(92, 184, 122, 0.45);
}

.hero .btn-ghost {
  color: #f4f9f7;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(105, 180, 126, 0.45);
}

.hero-card {
  background: linear-gradient(165deg, rgba(28, 52, 40, 0.94), rgba(16, 22, 20, 0.92));
  border: 1px solid rgba(105, 180, 126, 0.32);
  border-radius: 20px;
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  backdrop-filter: blur(8px);
}

.hero-card h2 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.hero-card p {
  margin: 0;
  color: var(--muted);
}

.hero-card ul {
  margin: 0;
  padding-left: 0;
  color: var(--muted);
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.hero-card-footer {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-card-footer span {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.84rem;
}

/* Shared light band (matches About / Why-choose look) */
.surface-pro-light {
  position: relative;
  z-index: 0;
  background: linear-gradient(180deg, #fbfcfb 0%, #f4f7f5 42%, #eef3f0 100%);
  border-top: 1px solid rgba(92, 184, 122, 0.18);
  border-bottom: 1px solid rgba(68, 120, 88, 0.14);
  color: #0f1412;
}

.surface-pro-light .section-intro,
.surface-pro-light .gallery-hint {
  color: #4a5550;
}

.surface-pro-light .gallery-hint code {
  background: rgba(92, 184, 122, 0.12);
  color: #1a3d28;
}

.highlights-strip {
  padding: 2rem 0;
  background: transparent;
  border-bottom: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  align-items: start;
}

.highlight-item {
  position: relative;
  padding: 0.85rem 0.6rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.03),
    0 12px 32px rgba(15, 20, 18, 0.07);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.highlight-item:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 184, 122, 0.35);
  box-shadow:
    0 16px 40px rgba(15, 20, 18, 0.1),
    0 0 0 1px rgba(92, 184, 122, 0.12);
}

.highlight-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.85;
}

.highlight-value {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1a5c36;
  text-shadow: none;
}

.highlight-item:nth-child(3) .highlight-value,
.highlight-item:nth-child(4) .highlight-value {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.highlight-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: 3.45rem 0;
}

.section.alt {
  background: linear-gradient(180deg, #f4faf6 0%, #eef3f0 100%);
  border-top: 1px solid rgba(92, 184, 122, 0.14);
  border-bottom: 1px solid rgba(68, 120, 88, 0.12);
}

.section-reviews {
  position: relative;
  overflow: hidden;
}

/* Same atmosphere as "Why choose us": blurred photo + light wash */
.section-reviews.surface-pro-light {
  background: transparent;
  border-top: 1px solid rgba(92, 184, 122, 0.2);
  border-bottom: 1px solid rgba(68, 120, 88, 0.18);
}

.section-reviews .why-cls-bg {
  z-index: 0;
}

.section-reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(248, 252, 249, 0.98) 0%,
    rgba(238, 246, 240, 0.97) 42%,
    rgba(230, 241, 234, 0.99) 100%
  );
}

.section-reviews > .container {
  position: relative;
  z-index: 2;
}

.section-reviews .section-intro {
  color: #4a5550;
}

.section-intro {
  color: var(--muted);
  margin-top: 0;
}

/* Light "Why choose" band — reference layout: eyebrow, accent rule, title, four white cards */
.section-why-cls {
  position: relative;
  overflow: hidden;
  padding: 3.85rem 0 4.35rem;
  border-top: 1px solid rgba(92, 184, 122, 0.2);
  border-bottom: 1px solid rgba(68, 120, 88, 0.18);
}

.why-cls-bg {
  position: absolute;
  inset: -6%;
  z-index: 0;
  background-image: url("./images/background-pool.webp");
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.05);
  opacity: 0.22;
  transform: scale(1.04);
  pointer-events: none;
}

.section-why-cls::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(248, 252, 249, 0.98) 0%,
    rgba(238, 246, 240, 0.97) 42%,
    rgba(230, 241, 234, 0.99) 100%
  );
}

.why-cls-inner {
  position: relative;
  z-index: 1;
}

.why-cls-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2.5rem;
}

.why-cls-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3d6a52;
}

.why-cls-rule {
  display: block;
  width: 3rem;
  height: 4px;
  margin: 0 auto 1.1rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.section-why-cls h2.why-cls-heading {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.1vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #0f1412;
}

.section-why-cls h2.why-cls-heading::after {
  display: none;
}

.why-cls-lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #3d4a44;
}

.why-cls-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.why-cls-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem 1.35rem 1.45rem;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 14px 40px rgba(15, 20, 18, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: left;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .why-cls-card:hover {
    transform: translateY(-3px);
    box-shadow:
      0 1px 0 rgba(0, 0, 0, 0.04),
      0 20px 48px rgba(15, 20, 18, 0.12);
  }
}

.why-cls-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 6px 16px rgba(68, 150, 96, 0.35);
}

.section-why-cls .why-cls-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #101614;
}

.section-why-cls .why-cls-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #3a4641;
}

@media (max-width: 960px) {
  .why-cls-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .why-cls-cards {
    grid-template-columns: 1fr;
  }

  .section-why-cls {
    padding: 3rem 0 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-cls-card {
    transition: none;
  }

  .why-cls-card:hover {
    transform: none;
  }
}

.featured-project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 1.75rem 2rem;
  align-items: center;
}

.featured-project-media {
  min-width: 0;
}

.featured-project-photo {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
  background: #e8ede9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.03),
    0 14px 40px rgba(15, 20, 18, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.featured-project-photo:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 184, 122, 0.4);
  box-shadow: 0 18px 44px rgba(15, 20, 18, 0.14);
}

.featured-project-photo img {
  width: 100%;
  height: min(420px, 52vh);
  object-fit: cover;
  display: block;
}

.featured-project-copy {
  min-width: 0;
}

.featured-project-tag {
  margin-bottom: 0.75rem;
}

.featured-project-lead {
  margin-bottom: 0.75rem;
}

.featured-project-body {
  margin: 0 0 0.25rem;
  color: var(--muted);
  line-height: 1.6;
}

.featured-project-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* About — light two-column layout (overlapping photos + badge + CTAs) */
.section-about-pro {
  position: relative;
  padding: 4rem 0 4.25rem;
}

.section-about-pro h2.about-pro-title {
  display: block;
  width: 100%;
  margin: 0 0 1.2rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #0f1412;
}

.section-about-pro h2.about-pro-title::after {
  display: none;
}

.about-pro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: center;
}

.about-pro-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5a6b62;
}

.about-pro-body p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #4a5550;
  max-width: 52ch;
}

.about-pro-body p:last-child {
  margin-bottom: 0;
}

.about-pro-actions {
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.about-pro-btn {
  border-radius: 999px;
  padding: 0.82rem 1.65rem;
  font-size: 0.95rem;
  box-shadow:
    0 6px 20px rgba(68, 150, 96, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.about-pro-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.15s ease, gap 0.15s ease;
}

.about-pro-secondary:hover {
  color: var(--accent);
}

.about-pro-secondary:hover .about-pro-chevron {
  transform: translateX(3px);
}

.about-pro-chevron {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.about-pro-media {
  position: relative;
  min-height: min(440px, 58vw);
  padding: 0 0 1.25rem 1.5rem;
  margin: 0;
}

.about-pro-photo {
  margin: 0;
  overflow: hidden;
  background: #e8ede9;
}

.about-pro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-pro-photo--main {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  margin-left: auto;
  border-radius: 22px;
  aspect-ratio: 4 / 5;
  max-height: 500px;
  box-shadow:
    0 4px 0 rgba(255, 255, 255, 0.65),
    0 24px 56px rgba(15, 22, 18, 0.14);
}

.about-pro-photo--overlap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: min(56%, 260px);
  border-radius: 18px;
  aspect-ratio: 5 / 3;
  max-height: 200px;
  border: 5px solid #f6f9f7;
  box-shadow: 0 18px 44px rgba(15, 22, 18, 0.18);
}

.about-pro-badge {
  position: absolute;
  z-index: 3;
  top: 6%;
  left: 0;
  transform: translate(-12%, 0);
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.65rem 0.75rem;
  color: #fff;
  background: linear-gradient(155deg, #2d6b45 0%, var(--accent-2) 55%, var(--accent) 100%);
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 12px 28px rgba(40, 100, 65, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.about-pro-badge-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.about-pro-badge-caption {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
  max-width: 8.5rem;
  opacity: 0.95;
}

@media (max-width: 960px) {
  .about-pro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-pro-copy {
    order: 2;
    text-align: center;
  }

  .about-pro-body p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-pro-actions {
    justify-content: center;
  }

  .about-pro-media {
    order: 1;
    max-width: 440px;
    margin: 0 auto;
    min-height: 400px;
    padding: 0 0 1rem 1.25rem;
  }

  .about-pro-badge {
    transform: translate(-4%, 0);
  }

  .about-pro-kicker {
    text-align: center;
  }

  .about-pro-title {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-pro-badge {
    width: 118px;
    height: 118px;
    transform: translate(-2%, -4%);
  }

  .about-pro-badge-num {
    font-size: 1.55rem;
  }

  .about-pro-photo--overlap {
    width: min(58%, 220px);
  }
}

.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(105, 180, 126, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  margin: 0.3rem 0 0.4rem;
}

.featured-reviews-divider {
  padding: 1rem 0 1.15rem;
}

.featured-reviews-divider .section-divider {
  margin: 0;
  height: 2px;
  border-radius: 2px;
  opacity: 0.95;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1rem;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.03),
    0 12px 36px rgba(15, 20, 18, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 184, 122, 0.35);
  box-shadow: var(--shadow-lift);
}

.card h3 {
  color: #0f1412;
  font-size: 1.05rem;
}

.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.45s ease;
}

.card:hover .service-image {
  transform: scale(1.06);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card .service-card-more {
  margin-top: auto;
  padding-top: 0.75rem;
  align-self: flex-start;
}

.service-card-image-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  line-height: 0;
}

.service-card-image-link .service-image {
  margin-bottom: 0;
  border: none;
}

.card:hover .service-card-image-link .service-image {
  transform: scale(1.06);
}

/* Standalone service detail pages */
.service-page {
  padding-bottom: 3rem;
  background: linear-gradient(180deg, #fbfcfb 0%, #eef3f0 100%);
  color: var(--text);
}

.service-page-header {
  padding: 1.75rem 0 1rem;
}

.service-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0.5rem 0 0.5rem;
  color: #0f1412;
}

.service-page-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
}

.breadcrumb {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--accent-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-hidden="true"] {
  margin: 0 0.35rem;
  opacity: 0.55;
}

.service-page-hero {
  width: 100%;
  max-height: min(52vh, 420px);
  overflow: hidden;
  border-bottom: 1px solid rgba(92, 184, 122, 0.2);
}

.service-page-hero img {
  width: 100%;
  height: min(52vh, 420px);
  object-fit: cover;
  display: block;
}

.service-page-body {
  padding-top: 2.25rem;
  max-width: 42rem;
}

.service-page-prose p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: #3d4a44;
}

.service-page-list {
  margin-top: 1rem;
}

.service-checklist,
.service-page-list .service-checklist {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: #3d4a44;
  line-height: 1.55;
}

.service-checklist li,
.service-page-list li {
  margin-bottom: 0.45rem;
}

.service-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.service-related {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.service-related h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
  color: #0f1412;
}

.service-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-related-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 20, 18, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 184, 122, 0.35);
}

.service-related-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.service-related-card span {
  padding: 0.65rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0f1412;
}

@media (max-width: 700px) {
  .service-related-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  min-height: 170px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.03),
    0 10px 28px rgba(15, 20, 18, 0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 184, 122, 0.4);
  box-shadow: 0 14px 36px rgba(15, 20, 18, 0.12);
}

.gallery-item button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-hint {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-actions {
  margin-top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.review-card {
  margin: 0;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.03),
    0 10px 28px rgba(15, 20, 18, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 184, 122, 0.35);
  box-shadow: 0 14px 36px rgba(15, 20, 18, 0.12);
}

.review-card blockquote {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text);
  position: relative;
}

.review-card blockquote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1;
  color: rgba(105, 180, 126, 0.48);
  margin-bottom: 0.2rem;
}

.review-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.15rem;
}

.review-stars-visual {
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  line-height: 1;
  color: #e8cf7a;
  text-shadow: 0 0 12px rgba(232, 207, 122, 0.25);
}

.review-author {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f1412;
}

.review-role {
  font-size: 0.84rem;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  background: #fff;
  padding: 0.15rem 0.9rem;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.03),
    0 8px 24px rgba(15, 20, 18, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(92, 184, 122, 0.25);
}

.faq-item[open] {
  border-color: rgba(92, 184, 122, 0.35);
  background: #f8fcfa;
  box-shadow: 0 10px 30px rgba(15, 20, 18, 0.1);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.65rem 0;
  color: var(--text);
  transition: color 0.15s ease;
}

.faq-item summary:hover {
  color: var(--accent-2);
}

.faq-item p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.contact {
  text-align: center;
}

.contact-panel {
  margin: 1rem auto 0;
  width: min(560px, 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #fff;
  padding: 1.15rem 1.2rem;
  text-align: left;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.03),
    0 14px 40px rgba(15, 20, 18, 0.08);
}

.contact-note {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(92, 184, 122, 0.15);
  border: 1px solid rgba(92, 184, 122, 0.35);
  color: var(--accent-2);
  flex: 0 0 28px;
}

.contact-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.contact-number {
  color: #0f1412;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.contact-number:hover {
  text-decoration: underline;
}

.site-footer {
  margin-top: 0;
  padding: 0;
  color: rgba(230, 236, 233, 0.82);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #193026;
}

.footer-pro {
  padding: 2.75rem 0 1.75rem;
}

.footer-pro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  align-items: start;
  text-align: left;
}

.footer-col-brand {
  padding-right: 0.5rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: #fff;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.18s ease;
}

.footer-logo-mark {
  flex-shrink: 0;
  width: clamp(2.1rem, 4vw, 2.75rem);
  height: clamp(2.1rem, 4vw, 2.75rem);
  object-fit: contain;
}

.footer-logo-text {
  min-width: 0;
}

.footer-logo-link:hover {
  color: #c8efd9;
}

.footer-about {
  margin: 0.85rem 0 0;
  max-width: 36ch;
  line-height: 1.55;
  color: rgba(220, 228, 224, 0.78);
  font-size: 0.9rem;
}

.footer-kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-kicker--spaced {
  margin-top: 1.65rem;
}

.footer-plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-plain-list a {
  color: rgba(245, 250, 248, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-plain-list a:hover {
  color: #b8f0ce;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.footer-contact-row a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-contact-row a:hover {
  text-decoration: underline;
}

.footer-contact-row span {
  color: rgba(235, 242, 239, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-hours-list {
  list-style: none;
  margin: 0 0 0.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: rgba(228, 236, 233, 0.88);
  line-height: 1.45;
}

.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 250, 248, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(92, 184, 122, 0.22);
  border-color: rgba(92, 184, 122, 0.45);
  color: #fff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0 1.35rem;
  background: #193026;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-legal {
  margin: 0;
  line-height: 1.45;
  color: rgba(180, 190, 186, 0.85);
  font-size: 0.84rem;
  max-width: 42rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(160, 172, 168, 0.8);
}

@media (max-width: 960px) {
  .footer-pro-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .footer-pro-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, #3f7a53, #2d5f41);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

.back-to-top.show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 12, 8, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 2rem 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(950px, calc(100vw - 8rem));
  max-height: 85vh;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  flex: 0 1 auto;
}

.lightbox-nav {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    opacity 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(105, 180, 126, 0.4);
  transform: scale(1.04);
}

.lightbox-nav:disabled,
.lightbox-nav[hidden] {
  display: none;
}

.lightbox-prev {
  padding-right: 0.15rem;
}

.lightbox-next {
  padding-left: 0.15rem;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 51;
  border: 0;
  border-radius: 12px;
  font-size: 1.8rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.lightbox-close:hover {
  background: rgba(105, 180, 126, 0.35);
}

@media (max-width: 600px) {
  .lightbox {
    gap: 0.5rem;
    padding: 3.5rem 0.5rem 1rem;
  }

  .lightbox img {
    max-width: calc(100vw - 6.5rem);
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.75rem;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-grid {
    animation: heroReveal 0.88s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 950px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-project-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .featured-project-photo img {
    height: min(340px, 48vh);
  }
}

@media (max-width: 600px) {
  .nav {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
    line-height: 1.25;
    max-width: 100%;
  }

  .brand-text {
    white-space: normal;
  }

  .header-contact {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    justify-content: flex-start;
    width: 100%;
    padding-top: 0.15rem;
  }

  nav {
    grid-column: 1;
    grid-row: 3;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    gap: 0.4rem 0.75rem;
  }

  nav a {
    font-size: 0.88rem;
  }

  nav a.header-contact-btn {
    font-size: 0.88rem;
  }

  .header-call {
    font-size: 0.8rem;
  }

  .gallery-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* 404 page */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-404 main {
  flex: 1;
}

.error-page {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  text-align: center;
  background: linear-gradient(180deg, #f4faf6 0%, #eef3f0 100%);
}

.error-page-bg {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-image: url("./images/background-pool.webp");
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.05);
  opacity: 0.2;
  pointer-events: none;
}

.error-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(248, 252, 249, 0.97) 0%,
    rgba(238, 246, 240, 0.95) 100%
  );
  pointer-events: none;
}

.error-page-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
}

.error-page-code {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 55%, #7ecf98 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.35;
}

.error-page-inner h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  margin-bottom: 0.85rem;
}

.error-page-lead {
  margin-left: auto;
  margin-right: auto;
}

.error-page-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid {
    animation: none !important;
  }

  .hero-backdrop-slide {
    transition: none !important;
  }

  .footer-plain-list a:hover,
  .footer-social a:hover,
  .header-social a:hover {
    transform: none;
  }
}
