/* =========================================================
   HEIM — interior finishing & design
   A calm, credential-forward design built for trust and clarity.
   ========================================================= */

:root {
  --ink: #20241F;
  --ink-soft: #565B52;
  --ivory: #F7F4EE;
  --stone: #EAE3D6;
  --stone-deep: #DCD2BE;
  --green: #161616;
  --green-deep: #1B221C;
  --gold: #A8874F;
  --line: rgba(32, 36, 31, 0.12);
  --line-strong: rgba(32, 36, 31, 0.24);

  --font-display: "Newsreader", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 3px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow-plain {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-solid {
  background: var(--green);
  color: var(--ivory);
}

.btn-solid:hover {
  background: var(--green-deep);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(32, 36, 31, 0.04);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 1.35rem 0;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

/* Scroll reading progress bar */
.header-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, #d8c29d 100%);
  transition: width 0.08s linear;
  z-index: 10;
  pointer-events: none;
}

/* Header in full-screen cover hero mode */
.site-header.is-cover-mode {
  padding: 1.45rem 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid transparent;
}

.site-header.is-cover-mode .brand-name {
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.site-header.is-cover-mode .brand-tagline {
  color: rgba(255, 255, 255, 0.72);
}

.site-header.is-cover-mode .brand-emblem-wrap {
  border-color: rgba(168, 135, 79, 0.75);
  box-shadow: 0 0 16px rgba(168, 135, 79, 0.3), 0 3px 10px rgba(0, 0, 0, 0.5);
}

.site-header.is-cover-mode .nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.site-header.is-cover-mode .nav-link:hover,
.site-header.is-cover-mode .nav-link.is-active {
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.site-header.is-cover-mode .header-cta {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.site-header.is-cover-mode .header-cta:hover {
  background: #FFFFFF;
  color: var(--green-deep);
  border-color: #FFFFFF;
}

.site-header.is-cover-mode .nav-toggle span {
  background: #FFFFFF;
}

/* Header in scrolled sticky mode */
.site-header.is-scrolled {
  padding: 0.85rem 0;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(32, 36, 31, 0.05);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled .brand-name {
  color: var(--ink);
  text-shadow: none;
}

.site-header.is-scrolled .brand-tagline {
  color: var(--green);
}

.site-header.is-scrolled .brand-emblem-wrap {
  width: 50px;
  height: 50px;
  border-color: rgba(168, 135, 79, 0.65);
  box-shadow: 0 2px 10px rgba(32, 36, 31, 0.15), 0 0 10px rgba(168, 135, 79, 0.2);
}

.site-header.is-scrolled .nav-link {
  color: var(--ink-soft);
  text-shadow: none;
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  color: var(--ink);
}

.site-header.is-scrolled .header-cta {
  background: var(--green);
  color: var(--ivory);
  border-color: transparent;
}

.site-header.is-scrolled .header-cta:hover {
  background: var(--green-deep);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4, 2.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease;
}

.brand:hover {
  opacity: 0.95;
}

.brand:hover .brand-emblem-wrap {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(168, 135, 79, 0.5), 0 6px 18px rgba(0, 0, 0, 0.35);
  border-color: rgba(216, 194, 157, 0.95);
}

.brand-emblem-wrap {
  position: relative;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #000000;
  border: 2px solid rgba(168, 135, 79, 0.75);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 14px rgba(168, 135, 79, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: block;

  /* Keep the entire logo visible */
  object-fit: contain;

  /* Clean circular emblem */
  border-radius: 50%;

  /* Slightly enlarge without aggressive cropping */
  transform: scale(1.05);
  transform-origin: center;

  /* Prevent blurry rendering */
  image-rendering: auto;

  /* Smooth animation if navbar has hover effects */
  transition: transform 0.3s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.3s ease;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 4px;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.site-footer .brand {
  margin-right: 0;
}

.site-footer .brand-name {
  color: var(--ink);
}

.site-footer .brand-tagline {
  color: var(--gold);
}

.site-footer .brand-emblem-wrap {
  width: 66px;
  height: 66px;
  border-color: rgba(168, 135, 79, 0.55);
  box-shadow: 0 3px 12px rgba(32, 36, 31, 0.12);
}

.main-nav {
  display: flex;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* =========================================================
   Cover Hero (Fullscreen Gallery & Intro)
   ========================================================= */
.cover-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(6.5rem, 12vh, 8.5rem);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  overflow: hidden;
  background-color: #121513;
  color: #FFFFFF;
}

/* Background slides container with parallax support */
.cover-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.cover-slide {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 7s cubic-bezier(0.1, 0, 0.2, 1);
  will-change: opacity, transform;
}

.cover-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Cinematic multi-stop overlay for contrast & rich tones */
.cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg,
      rgba(14, 17, 15, 0.72) 0%,
      rgba(14, 17, 15, 0.3) 30%,
      rgba(14, 17, 15, 0.52) 65%,
      rgba(14, 17, 15, 0.92) 100%);
  pointer-events: none;
}

.cover-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 45%,
      rgba(0, 0, 0, 0) 0%,
      rgba(14, 17, 15, 0.45) 100%);
  pointer-events: none;
}

/* Cover Content Foreground */
.cover-content {
  position: relative;
  z-index: 4;
  width: 100%;
  will-change: transform, opacity;
}

.cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cover-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulseGold 2.2s infinite ease-in-out;
}

@keyframes pulseGold {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 14px var(--gold);
  }
}


.cover-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
  color: #FFFFFF;
  margin: 0 0 1.1rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  max-width: 920px;
}

.cover-title em {
  font-style: italic;
  font-weight: 400;
  color: #E7D7BE;
}

.cover-lead {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  color: rgba(247, 244, 238, 0.88);
  max-width: 640px;
  margin: 0 0 2rem;
  line-height: 1.65;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.cover-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(2.2rem, 5vh, 3.5rem);
}

.btn-cover-primary {
  background: var(--gold);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(168, 135, 79, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-cover-primary:hover {
  background: #BFA063;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(168, 135, 79, 0.45);
}

.btn-cover-secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-cover-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* =========================================================
   Cover Hero Navigation Controls (Arrows & Dots)
   ========================================================= */
.cover-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(14, 17, 15, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cover-nav-arrow:hover {
  background: rgba(168, 135, 79, 0.9);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 24px rgba(168, 135, 79, 0.5);
}

.cover-prev {
  left: clamp(1rem, 3vw, 2.5rem);
}

.cover-next {
  right: clamp(1rem, 3vw, 2.5rem);
}

.cover-dots {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.cover-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cover-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.cover-dot.is-active {
  width: 32px;
  border-radius: 999px;
  background: var(--gold);
  border-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(168, 135, 79, 0.6);
}

@media (max-width: 760px) {
  .cover-nav-arrow {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }
}

/* =========================================================
   Cover Scroll Indicator
   ========================================================= */
.cover-scroll-indicator {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.cover-scroll-indicator:hover {
  color: #FFFFFF;
  transform: translateX(-50%) translateY(2px);
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheelPulse 1.8s infinite ease-in-out;
}

@keyframes scrollWheelPulse {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  60% {
    transform: translateY(11px);
    opacity: 0;
  }

  61% {
    transform: translateY(0);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: clamp(5rem, 8vw, 7.5rem) 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  max-width: 15ch;
}

.hero-sub {
  max-width: 50ch;
  font-size: 1.08rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}

.badge {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.4rem 0.85rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-panel {
  position: relative;
  width: 100%;
}

.panel-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  border-radius: var(--radius);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  overflow: hidden;
}

.panel-tag {
  position: relative;
  color: var(--ivory);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(27, 34, 28, 0.55);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
}

/* =========================================================
   Placeholder photo treatment (swap for real photography)
   ========================================================= */
.swatch-a {
  background: linear-gradient(160deg, #4b5a4c, #2a342c 55%, #1b221c);
}

.swatch-b {
  background: linear-gradient(160deg, #6b5a3f, #4a3f2c 55%, #332a1c);
}

.swatch-c {
  background: linear-gradient(160deg, #8a8377, #5f594e 55%, #3f3a31);
}

.swatch-d {
  background: linear-gradient(160deg, #3d4a44, #26332c 55%, #182019);
}

/* =========================================================
   Stats band
   ========================================================= */
.stats-band {
  background: var(--green);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--ivory);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(247, 244, 238, 0.72);
}

/* =========================================================
   Section shared
   ========================================================= */
section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  max-width: 22ch;
}

.section-intro {
  font-size: 1.05rem;
  max-width: 56ch;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink);
}

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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


/* =========================================================
   Process
   ========================================================= */
.process {
  background: var(--stone);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

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

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

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.92rem;
}

/* =========================================================
   Work
   ========================================================= */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.project-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.project-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(32, 36, 31, 0.1);
}

.pc-photo {
  aspect-ratio: 4 / 3;
  min-height: 200px;
}

.pc-info {
  padding: 1.35rem 1.5rem 1.6rem;
}

.pc-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.pc-meta {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pc-info p:last-child {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* =========================================================
   Work Showcase & Gradient Fade Overlay
   ========================================================= */
.work-showcase-container {
  position: relative;
  margin-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.work-showcase-container .project-grid {
  margin-top: 0;
}

/* Fading cards 7, 8, 9 for a visual teaser preview effect */
.work-showcase-container .project-card:nth-child(n+7) {
  opacity: 0.45 !important;
  filter: blur(0.5px) grayscale(15%);
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.work-showcase-container:hover .project-card:nth-child(n+7),
.work-showcase-container .project-card:nth-child(n+7):hover {
  opacity: 0.8 !important;
  filter: blur(0px) grayscale(0%);
}

.work-fade-overlay {
  position: absolute;
  bottom: 0;
  left: -20px;
  right: -20px;
  height: 340px;
  background: linear-gradient(180deg,
      rgba(247, 244, 238, 0) 0%,
      rgba(247, 244, 238, 0.65) 35%,
      rgba(247, 244, 238, 0.95) 75%,
      var(--ivory) 100%);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.5rem;
  z-index: 5;
}

.work-cta-wrap {
  position: relative;
  z-index: 10;
  text-align: center;
  pointer-events: auto;
}

/* =========================================================
   Show All Projects Custom Button
   ========================================================= */
.btn-show-all-projects {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.15rem 2.6rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  background: linear-gradient(135deg, #1B221C 0%, #111512 100%);
  border: 1px solid rgba(168, 135, 79, 0.45);
  border-radius: 50px;
  box-shadow: 0 12px 32px rgba(27, 34, 28, 0.22), 0 0 18px rgba(168, 135, 79, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-show-all-projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.btn-show-all-projects:hover::before {
  left: 100%;
}

.btn-show-all-projects:hover {
  background: linear-gradient(135deg, var(--gold) 0%, #BFA063 100%);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(168, 135, 79, 0.4), 0 0 25px rgba(168, 135, 79, 0.5);
}

.btn-show-all-projects .btn-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn-show-all-projects:hover .btn-icon-wrapper {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .btn-show-all-projects {
    width: 100%;
    max-width: 320px;
    padding: 1rem 1.8rem;
    font-size: 0.98rem;
  }

  .work-fade-overlay {
    height: 420px;
  }
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  background: var(--stone);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.contact-list {
  margin: 1.75rem 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
}

.ci-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-list a,
.contact-list span:not(.ci-label) {
  color: var(--ink);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--gold) !important;
}

.contact-list a:hover .fab,
.contact-list a:hover .fas,
.contact-list a:hover .fa-whatsapp {
  color: var(--gold) !important;
}

.contact-list .fab.fa-whatsapp,
.contact-list .fa-whatsapp {
  color: #25D366;
  font-size: 1.15rem;
}

.contact-list .fa-phone,
.contact-list .fa-envelope,
.contact-list .fa-location-dot {
  color: var(--gold);
  font-size: 0.95rem;
}

.contact-card {
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav {
  display: flex;
  gap: 1.75rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 2rem auto;
  }

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

  .about-portrait {
    position: static;
    max-width: 280px;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem clamp(1.5rem, 8vw, 3rem);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -12px 0 40px rgba(32, 36, 31, 0.15);
    z-index: 1000;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1.3rem;
    color: var(--ink) !important;
    text-shadow: none !important;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.is-open span {
    background: var(--ink) !important;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .credential {
    grid-template-columns: 70px 1fr;
  }

  .contact-list li {
    grid-template-columns: 90px 1fr;
  }

  /* Cover responsive styles */
  .cover-hero {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  .cover-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.15;
  }

  .cover-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cover-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .btn-cover-primary,
  .btn-cover-secondary {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .cover-gallery-dock {
    padding: 0.85rem;
  }

  .dock-cards {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.65rem;
    padding-bottom: 2px;
  }

  .dock-cards::-webkit-scrollbar {
    display: none;
  }

  .dock-card {
    flex: 0 0 175px;
    display: flex !important;
  }

  .cover-scroll-indicator {
    display: none;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .dock-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .dock-card:nth-child(n+4) {
    display: none;
  }
}

/* =========================================================
   Interactive Proof of Fidelity (Render vs Real Site Slider)
   ========================================================= */
.proof-section {
  background: var(--ivory);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
}

.proof-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.proof-header .section-title {
  max-width: 100%;
}

.comparison-box {
  max-width: 1020px;
  margin: 0 auto;
  background: #141815;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 24, 21, 0.22);
  border: 1px solid rgba(168, 135, 79, 0.3);
}

.comparison-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.comparison-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #FFFFFF;
}

.comparison-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(168, 135, 79, 0.2);
  color: var(--gold);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

.comparison-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
}

.comparison-switchers {
  display: flex;
  gap: 0.5rem;
}

.comp-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.comp-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.comp-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
  font-weight: 600;
}

.comparison-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 380px;
  max-height: 560px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.comp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.comp-img-before {
  z-index: 1;
}

.comp-img-after {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
  will-change: clip-path;
}

.comp-badge {
  position: absolute;
  top: 1.25rem;
  z-index: 5;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.comp-badge-render {
  left: 1.25rem;
  background: rgba(20, 24, 21, 0.8);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.comp-badge-site {
  right: 1.25rem;
  background: rgba(168, 135, 79, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.comp-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #FFFFFF;
  z-index: 4;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
  pointer-events: none;
  will-change: left;
}

.comp-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--gold);
  transform: translate(-50%, -50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  cursor: ew-resize;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  will-change: left;
}

.comp-slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 26px rgba(168, 135, 79, 0.65);
}

.comp-slider-handle i {
  font-size: 0.72rem;
  color: var(--gold);
}

.comparison-caption {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.comparison-caption strong {
  color: #FFFFFF;
}

.comparison-caption a {
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.comparison-caption a:hover {
  opacity: 0.85;
}

/* =========================================================
   The 5 Pillars of Client Trust
   ========================================================= */
.trust-pillars {
  background: var(--stone);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.pillars-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.pillars-header .section-title {
  max-width: 100%;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2.2rem 1.85rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(32, 36, 31, 0.08);
  border-color: var(--gold);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(168, 135, 79, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.pillar-card p {
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.pillar-highlight {
  grid-column: span 2;
  background: linear-gradient(135deg, #20241F 0%, #151815 100%);
  color: #FFFFFF;
  border-color: rgba(168, 135, 79, 0.35);
}

.pillar-highlight .pillar-icon-box {
  background: rgba(168, 135, 79, 0.22);
  color: #E7D7BE;
}

.pillar-highlight h3 {
  color: #FFFFFF;
}

.pillar-highlight p {
  color: rgba(247, 244, 238, 0.85);
}

/* =========================================================
   Services Spectrum
   ========================================================= */
.services-section {
  background: var(--ivory);
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
}

.services-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.services-header .section-title {
  max-width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.85rem;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(32, 36, 31, 0.07);
  transform: translateY(-3px);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.service-card p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.service-features {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.service-features li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.service-features li i {
  color: var(--gold);
  font-size: 0.72rem;
}

/* =========================================================
   Filterable Projects Tabs
   ========================================================= */
.project-filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2rem 0 2.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.55rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.filter-btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--ivory);
}

.project-card.is-hidden {
  display: none !important;
}

/* =========================================================
   Client Testimonials
   ========================================================= */
.testimonials-section {
  background: var(--stone);
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
}

.testimonials-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.testimonials-header .section-title {
  max-width: 100%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testi-card {
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2.2rem 1.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(32, 36, 31, 0.08);
}

.testi-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
  display: flex;
  gap: 3px;
}

.testi-quote {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.testi-meta h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.15rem;
  color: var(--ink);
}

.testi-meta span {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
}

/* =========================================================
   Interactive Scope & Timeline Estimator
   ========================================================= */
.estimator-section {
  background: var(--ivory);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.estimator-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.estimator-header .section-title {
  max-width: 100%;
}

.estimator-box {
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(32, 36, 31, 0.06);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.est-controls {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.est-group-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.est-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.est-pill-btn {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.est-pill-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.est-pill-btn.is-selected {
  background: var(--green);
  border-color: var(--green);
  color: var(--ivory);
  font-weight: 600;
}

.est-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.est-slider {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
  height: 6px;
  border-radius: 3px;
}

.est-area-val {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.est-summary-card {
  background: var(--green-deep);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(168, 135, 79, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.est-summary-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.est-summary-timeline {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.est-summary-lead {
  font-size: 0.88rem;
  color: rgba(247, 244, 238, 0.75);
  margin-bottom: 1.5rem;
}

.est-checklist {
  margin-bottom: 1.75rem;
}

.est-checklist li {
  font-size: 0.84rem;
  color: rgba(247, 244, 238, 0.9);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.est-checklist li i {
  color: var(--gold);
  font-size: 0.75rem;
}

.btn-est-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  text-align: center;
}

.btn-est-whatsapp:hover {
  background: #20BA5A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

/* =========================================================
   FAQ Accordion
   ========================================================= */
.faq-section {
  background: var(--stone);
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
}

.faq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.faq-header .section-title {
  max-width: 100%;
}

.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(32, 36, 31, 0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.75rem;
}

.faq-item.is-open .faq-answer {
  max-height: 350px;
  padding-bottom: 1.35rem;
}

.faq-answer p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   Floating WhatsApp Concierge Widget
   ========================================================= */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #FFFFFF;
}

.floating-wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.floating-wa-tooltip {
  background: var(--ink);
  color: #FFFFFF;
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
}

.floating-wa:hover .floating-wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================
   Responsive Additions
   ========================================================= */
@media (max-width: 980px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar-highlight {
    grid-column: span 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .estimator-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .comparison-stage {
    min-height: 270px;
    aspect-ratio: 4 / 3;
  }

  .comp-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
  }

  .comparison-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-wa-tooltip {
    display: none;
  }

  .floating-wa {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-wa-btn {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}