/* ==========================================================================
   INTIDECO — Premium Interior Design Studio
   Pixel-perfect replica stylesheet matching Framer styles & measurements
   ========================================================================== */

:root {
  --color-forest: #18382e;
  --color-forest-dark: #112920;
  --color-clay: #8b6a4f;
  --color-gold: #c8a96a;
  --color-cream: #f8f7f4;
  --color-cream-semi: rgba(248, 247, 244, 0.82);
  --color-cream-muted: rgba(248, 247, 244, 0.72);
  --color-charcoal: #222222;
  --color-border-subtle: rgba(24, 56, 46, 0.16);

  --font-serif: "Cormorant", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --content-max-width: 1320px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  overflow-x: hidden;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--color-gold);
  color: var(--color-forest-dark);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  background: rgba(248, 247, 244, 0.08);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--color-gold);
  transition: width 0.08s linear;
}

/* ==========================================================================
   Navigation Bar (Sticky)
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-forest);
  width: 100%;
  transition: box-shadow 0.3s ease;
}

.header-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
  width: 100%;
  padding: 9px 56px;
  height: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  perspective: 600px;
  flex-shrink: 0;
  animation: logo-welcome 3.5s ease-out;
}

/* Blend the supplied JPEG's black backdrop into each green section.
   Lighten keeps the lighter white and bronze artwork without redrawing it.
   Apply to the whole logo group so the 3D transform does not isolate the image. */
.header-nav,
.site-footer {
  isolation: isolate;
}

.brand-logo,
.footer-logo {
  mix-blend-mode: lighten;
}

.brand-logo-surface {
  display: block;
  position: relative;
  border-radius: 4px;
  transform: rotateX(var(--logo-rotate-x, 0deg)) rotateY(var(--logo-rotate-y, 0deg));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition: transform 0.22s ease-out, box-shadow 0.3s ease;
}

.brand-logo-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--logo-light-x, 50%) var(--logo-light-y, 50%), rgba(255, 236, 194, 0.2), transparent 70%);
  transition: opacity 0.3s ease;
}

.brand-logo:hover .brand-logo-surface { animation: none; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3); }
.brand-logo:hover .brand-logo-surface::after { opacity: 1; }
.brand-logo:focus-visible .brand-logo-surface { animation: none; transform: rotateY(8deg); }
.brand-logo:active .brand-logo-surface { animation: none; transform: rotateY(-5deg) scale(0.97); }

@keyframes logo-welcome {
  0% { transform: rotateY(-12deg) rotateX(5deg) translateY(2px); }
  55% { transform: rotateY(5deg) rotateX(-2deg) translateY(-2px); }
  100% { transform: rotateY(0) rotateX(0) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo { animation: none !important; }
  .brand-logo-surface { animation: none !important; transform: none !important; transition: none !important; }
}

.brand-logo img {
  height: 86px;
  width: 110px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.brand-logo:hover img {
  opacity: 0.9;
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-cream-semi);
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--color-cream);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gold);
  color: var(--color-forest) !important;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.nav-cta-btn:hover {
  background-color: #d8b877;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 110;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-cream);
  border-radius: 1px;
  transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section (Introduction)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 720px;
  height: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 96px 56px 84px;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 500;
  color: #ffffff;
  line-height: 0.98;
  letter-spacing: -1.8px;
  max-width: 820px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gold);
  color: var(--color-forest);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: 2px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  transition: var(--transition-smooth);
}

.hero-btn:hover {
  background-color: #d8b877;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Section 3: Why INTIDECO (#approach)
   ========================================================================== */
.approach-section {
  padding: 112px 56px;
  background-color: var(--color-cream);
  max-width: var(--content-max-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.approach-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
}

.approach-copy {
  flex: 1;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 14.4px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.section-label.clay {
  color: var(--color-clay);
}

.section-label.gold {
  color: var(--color-gold);
}

.approach-heading {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: -1px;
  color: var(--color-forest);
}

.approach-description {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 23.25px;
  color: var(--color-charcoal);
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.principle-item {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 16.8px;
  color: var(--color-forest);
  display: flex;
  align-items: center;
}

.approach-image-box {
  flex: 1;
  max-width: 596px;
  height: 520px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.approach-image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.approach-image-box:hover img {
  transform: scale(1.03);
}

.approach-caption-badge {
  position: relative;
  z-index: 2;
  background: rgba(24, 56, 46, 0.9);
  padding: 14px 16px;
  border-radius: 2px;
  max-width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.caption-title {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: -0.2px;
  color: var(--color-cream);
}

.caption-detail {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 13.2px;
  letter-spacing: 0.3px;
  color: rgba(248, 247, 244, 0.72);
}

/* ==========================================================================
   Section 4: Featured Projects (#projects)
   ========================================================================== */
.projects-section {
  padding: 112px 56px;
  background-color: var(--color-forest);
  color: var(--color-cream);
  width: 100%;
}

.projects-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 40px;
}

.projects-title-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.projects-main-heading {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 500;
  line-height: 54px;
  letter-spacing: -1px;
  color: var(--color-cream);
}

.projects-note {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 23.25px;
  color: rgba(248, 247, 244, 0.72);
  max-width: 380px;
}

.project-rail-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--color-forest);
}

.project-rail-controls button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(24, 56, 46, 0.3);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.project-gallery-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 0 2px 18px;
  scroll-snap-type: none;
  scroll-behavior: auto;
  scroll-padding-left: 2px;
  scrollbar-color: var(--color-gold) rgba(24, 56, 46, 0.12);
  scrollbar-width: thin;
}

.project-gallery-grid::-webkit-scrollbar {
  height: 7px;
}

.project-gallery-grid::-webkit-scrollbar-track {
  background: rgba(24, 56, 46, 0.12);
  border-radius: 99px;
}

.project-gallery-grid::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 99px;
}

.project-card {
  position: relative;
  flex: 0 0 clamp(320px, 42vw, 520px);
  height: 500px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  cursor: pointer;
  scroll-snap-align: start;
}

.project-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(15, 35, 29, 0.78) 100%
  );
  z-index: 1;
  transition: opacity 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-name {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: var(--color-cream);
}

.project-details {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ===========================================================================
   Before & After Transformations
   =========================================================================== */
.transformations-section {
  padding: 112px 56px;
  background-color: #efece6;
}

.transformations-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.transformations-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.transformations-heading {
  margin-top: 12px;
  color: var(--color-forest);
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
}

.transformations-note {
  max-width: 330px;
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
}

.comparison-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--color-gold) rgba(24, 56, 46, 0.12);
  scrollbar-width: thin;
}

.comparison-rail-single {
  overflow: visible;
  padding-bottom: 0;
  justify-content: center;
}

.comparison-rail-single .comparison-card {
  flex: 0 1 min(100%, 860px);
  width: min(100%, 860px);
}

.comparison-rail::-webkit-scrollbar { height: 7px; }
.comparison-rail::-webkit-scrollbar-track { background: rgba(24, 56, 46, 0.12); border-radius: 99px; }
.comparison-rail::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: 99px; }

.comparison-card {
  flex: 0 0 min(78vw, 620px);
  scroll-snap-align: start;
}

.comparison-visual {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: var(--color-forest-dark);
  border-radius: 2px;
  user-select: none;
}

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

.comparison-before-layer,
.comparison-after-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.comparison-before-layer {
  z-index: 1;
  /* The before image always stays full size; only its visible area is masked. */
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
}

.comparison-after-layer { z-index: 0; }

.comparison-before-layer img {
  filter: saturate(0.42) brightness(0.68) contrast(0.82);
}

.comparison-divider {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  width: 2px;
  background: var(--color-gold);
  pointer-events: none;
}

.comparison-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  background: var(--color-forest);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.comparison-divider span::before,
.comparison-divider span::after {
  position: absolute;
  top: 50%;
  color: var(--color-gold);
  font-size: 16px;
  line-height: 1;
  transform: translateY(-50%);
}

.comparison-divider span::before { content: '‹'; left: 9px; }
.comparison-divider span::after { content: '›'; right: 9px; }

.comparison-range {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 0;
  width: 100%;
  height: 44px;
  margin: -22px 0 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.comparison-range::-webkit-slider-thumb {
  width: 44px;
  height: 44px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.comparison-range::-moz-range-thumb {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

.comparison-range:focus-visible { outline: none; }
.comparison-range:focus-visible + .comparison-label { outline: 2px solid var(--color-gold); }

.comparison-label {
  position: absolute;
  z-index: 1;
  top: 18px;
  padding: 7px 10px;
  color: var(--color-cream);
  background: rgba(17, 41, 32, 0.74);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-label-before { left: 18px; }
.comparison-label-after { right: 18px; }

.comparison-card h3 {
  margin-top: 18px;
  color: var(--color-forest);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.comparison-card p {
  margin-top: 7px;
  color: var(--color-clay);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Section 5: Design Philosophy (#philosophy)
   ========================================================================== */
.philosophy-section {
  display: flex;
  height: 620px;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-clay);
}

.philosophy-image-col {
  flex: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.philosophy-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-copy-col {
  flex: 1.15;
  background-color: var(--color-clay);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  gap: 24px;
  color: var(--color-cream);
}

.philosophy-heading {
  font-family: var(--font-serif);
  font-size: 37px;
  font-weight: 500;
  line-height: 37px;
  letter-spacing: -1px;
  color: var(--color-cream);
}

.philosophy-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  color: rgba(248, 247, 244, 0.85);
  max-width: 540px;
}

/* ==========================================================================
   Section 6: Services (#services)
   ========================================================================== */
.services-section {
  padding: 112px 56px;
  background-color: var(--color-cream);
  max-width: var(--content-max-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.services-intro {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.services-heading {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: -1px;
  color: var(--color-forest);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--color-border-subtle);
  border: 1px solid var(--color-border-subtle);
}

.service-cell {
  background-color: var(--color-cream);
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: background-color 0.35s ease, transform 0.35s ease;
}

.service-cell:hover,
.service-cell:focus-visible,
.service-cell.active {
  background-color: var(--color-forest);
  transform: translateY(-3px);
}

.service-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-number {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: 1px;
  color: var(--color-gold);
}

.service-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-content { display: flex; flex-direction: column; align-items: flex-start; }

.service-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.3px;
  color: var(--color-forest);
  transition: color 0.25s ease, transform 0.3s ease;
}

.service-description {
  max-width: 290px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(248, 247, 244, 0.8);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.25s ease, transform 0.35s ease;
}

.service-explore {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.25s ease, transform 0.35s ease;
}

.service-cell:hover .service-icon,
.service-cell:focus-visible .service-icon,
.service-cell.active .service-icon { opacity: 1; transform: translateY(0); }

.service-cell:hover .service-title,
.service-cell:focus-visible .service-title,
.service-cell.active .service-title { color: var(--color-cream); transform: translateY(-2px); }

.service-cell:hover .service-description,
.service-cell:focus-visible .service-description,
.service-cell.active .service-description { max-height: 50px; margin-top: 10px; opacity: 1; transform: translateY(0); }

.service-cell:hover .service-explore,
.service-cell:focus-visible .service-explore,
.service-cell.active .service-explore { max-height: 20px; margin-top: 14px; opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Section 7: Our Process
   ========================================================================== */
.process-section {
  padding: 88px 56px;
  background: var(--color-forest-dark);
  color: var(--color-cream);
}

.process-container {
  max-width: var(--content-max-width);
  margin-inline: auto;
}

.process-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 54px;
}

.process-header h2 {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.6px;
}

.process-intro {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(248, 247, 244, 0.76);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 26px;
  border-top: 1px solid rgba(200, 169, 106, 0.4);
}

.process-step::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: var(--color-gold);
}

.process-number {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
}

.process-step-top svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step h3 {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}

.process-step > p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(248, 247, 244, 0.76);
  margin-bottom: 26px;
}

.process-detail {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

@media (max-width: 1024px) {
  .process-section { padding: 72px 32px; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}

@media (max-width: 640px) {
  .process-section { padding: 56px 24px; }
  .process-header { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 36px; }
  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-step { border-top: 0; border-left: 1px solid rgba(200, 169, 106, 0.4); padding: 0 0 36px 26px; }
  .process-step:last-child { padding-bottom: 0; }
  .process-step::before { top: 14px; left: -4px; }
  .process-step-top { margin-bottom: 18px; }
  .process-number { font-size: 36px; }
  .process-step > p { margin-bottom: 14px; }
}

/* ==========================================================================
   Section 8: Consultation (#consultation)
   ========================================================================== */
.consultation-section {
  padding: 120px 56px;
  background-color: var(--color-forest);
  color: var(--color-cream);
  text-align: center;
  width: 100%;
}

.consultation-container {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.consultation-heading {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: var(--color-cream);
}

.consultation-intro {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(248, 247, 244, 0.8);
  max-width: 520px;
}

.consultation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gold);
  color: var(--color-forest);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
  max-width: 100%;
  text-wrap: balance;
  padding: 16px 24px;
  border-radius: 2px;
  margin-top: 6px;
  transition: var(--transition-smooth);
}

.consultation-btn:hover {
  background-color: #d8b877;
  transform: translateY(-2px);
}

/* ==========================================================================
   Section 9: Footer
   ========================================================================== */
.site-footer {
  padding: 12px 56px;
  background-color: var(--color-forest-dark);
  color: var(--color-cream);
  width: 100%;
}

.footer-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  display: block;
  width: 140px;
  max-width: 100%;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-cream);
}

.footer-subtitle {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(248, 247, 244, 0.6);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
}

.footer-about {
  width: min(100%, 370px);
  color: rgba(248, 247, 244, 0.7);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.footer-about-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  cursor: pointer;
}

.footer-about-trigger span {
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-about-trigger:hover span,
.footer-about-trigger:focus-visible span {
  transform: rotate(90deg);
}

.footer-links li {
  display: flex;
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.3px;
  color: var(--color-cream);
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.75;
}

.footer-links .footer-whatsapp,
.footer-links .footer-instagram {
  gap: 7px;
}

.footer-links .footer-whatsapp { color: #8ee0a6; }
.footer-links .footer-instagram { color: #f0a3c1; }

.footer-whatsapp svg,
.footer-instagram svg {
  width: 18px;
  height: 18px;
}

.footer-whatsapp svg { fill: currentColor; }

.footer-instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-instagram svg circle:last-child {
  fill: currentColor;
  stroke: none;
}

/* Floating WhatsApp action */
.floating-whatsapp {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: #237a4b;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
  background: #2d8b58;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.33);
}

.floating-whatsapp.is-hidden-at-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-whatsapp svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: currentColor;
}

/* About Us popup */
.about-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 41, 32, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.about-modal.active {
  opacity: 1;
  visibility: visible;
}

.about-modal-panel {
  position: relative;
  width: min(100%, 470px);
  padding: 46px 42px 40px;
  border: 1px solid rgba(200, 169, 106, 0.4);
  border-radius: 3px;
  background: var(--color-cream);
  color: var(--color-charcoal);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  transform: translateY(18px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-modal.active .about-modal-panel { transform: translateY(0); }

.about-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: var(--color-forest);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
}

.about-modal-close:hover { opacity: 1; }

.about-modal-title {
  margin: 8px 0 18px;
  color: var(--color-forest);
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.08;
}

.about-modal-panel > p:not(.modal-label) {
  margin-top: 12px;
  color: rgba(34, 34, 34, 0.7);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
}

/* ==========================================================================
   Scroll Animation Classes (Graceful fade-up)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-container {
    padding: 10px 32px;
    height: 86px;
  }

  .brand-logo img {
    height: 70px;
    width: 90px;
  }

  .hero-section {
    padding: 80px 32px 64px;
    min-height: 600px;
    height: 600px;
  }

  .hero-title {
    font-size: 40px;
  }

  .approach-section {
    padding: 80px 32px;
  }

  .approach-container {
    gap: 48px;
  }

  .approach-image-box {
    height: 440px;
  }

  .projects-section {
    padding: 80px 32px;
  }

  .transformations-section { padding: 80px 32px; }

  .projects-main-heading {
    font-size: 44px;
    line-height: 44px;
  }

  .project-card {
    height: 420px;
  }

  .philosophy-section {
    height: 520px;
  }

  .philosophy-copy-col {
    padding: 48px 40px;
  }

  .philosophy-heading {
    font-size: 32px;
    line-height: 32px;
  }

  .services-section {
    padding: 80px 32px;
  }

  .consultation-section {
    padding: 96px 32px;
  }

  .consultation-heading {
    font-size: 42px;
  }

  .site-footer {
    padding: 12px 32px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 10px 24px;
    height: 76px;
  }

  .brand-logo img {
    height: 60px;
    width: 78px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links-wrapper {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--color-forest);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links-wrapper.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .nav-links a {
    font-size: 16px;
  }

  .nav-cta-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  .hero-section {
    padding: 60px 24px 48px;
    min-height: 520px;
    height: 520px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -1px;
  }

  .hero-btn,
  .consultation-btn {
    width: 100%;
    min-height: 52px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .floating-whatsapp {
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 56px;
    min-height: 56px;
    justify-content: center;
    padding: 0;
  }

  .floating-whatsapp span { display: none; }

  .floating-whatsapp svg { width: 25px; height: 25px; }

  .approach-section {
    padding: 64px 24px;
  }

  .approach-container {
    flex-direction: column;
    gap: 40px;
  }

  .approach-copy {
    max-width: 100%;
  }

  .approach-image-box {
    width: 100%;
    max-width: 100%;
    height: 380px;
  }

  .projects-section {
    padding: 64px 24px;
  }

  .transformations-section { padding: 64px 24px; }

  .transformations-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .transformations-heading { font-size: 36px; }

  .comparison-card { flex-basis: 88vw; }

  .comparison-rail-single .comparison-card { flex-basis: 100%; }

  .comparison-visual { height: 350px; }


  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .projects-main-heading {
    font-size: 36px;
    line-height: 36px;
  }

  .project-gallery-grid {
    gap: 20px;
  }

  .project-card {
    flex-basis: min(82vw, 420px);
    height: 380px;
  }

  .philosophy-section {
    flex-direction: column;
    height: auto;
  }

  .philosophy-image-col {
    height: 320px;
  }

  .philosophy-copy-col {
    padding: 56px 24px;
  }

  .philosophy-heading {
    font-size: 28px;
    line-height: 28px;
  }

  .services-section {
    padding: 64px 24px;
  }

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

  .service-cell {
    min-height: 160px;
  }

  .consultation-section {
    padding: 80px 24px;
  }

  .consultation-heading {
    font-size: 34px;
  }

  .site-footer {
    padding: 16px 24px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .footer-contact {
    align-items: flex-start;
  }

  .footer-about {
    text-align: left;
  }

  .about-modal-panel { padding: 42px 28px 32px; }

  .about-modal-title { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   CONSULTATION MODAL
   ========================================================================== */

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 41, 32, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Panel */
.modal-panel {
  background: var(--color-cream);
  border-radius: 4px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 52px 48px 44px;
  position: relative;
  transform: translateY(28px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-panel {
  transform: translateY(0);
}

/* ===========================================================================
   Project gallery modal
   =========================================================================== */
.project-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 41, 32, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.project-gallery-panel {
  position: relative;
  width: min(1100px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 44px;
  background: var(--color-cream);
  border-radius: 4px;
  transform: translateY(24px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-gallery-modal.active .project-gallery-panel {
  transform: translateY(0);
}

.project-gallery-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 1;
  border: 0;
  padding: 4px 8px;
  background: transparent;
  color: var(--color-forest);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
}

.project-gallery-close:hover { opacity: 1; }

.project-gallery-details {
  margin-top: 6px;
  color: var(--color-clay);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.project-gallery-viewer {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.project-gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-gallery-thumbnail {
  width: 104px;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.project-gallery-thumbnail:hover,
.project-gallery-thumbnail:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.project-gallery-thumbnail.active {
  border-color: var(--color-gold);
  opacity: 1;
}

.project-gallery-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-gallery-main-image-wrap { margin: 0; }

.project-gallery-main-image,
.project-gallery-main-video {
  display: block;
  width: 100%;
  height: min(44vh, 410px);
  object-fit: contain;
  background: rgba(24, 56, 46, 0.06);
  border-radius: 2px;
}

.project-gallery-main-image[hidden],
.project-gallery-main-video[hidden],
.project-card-copy[hidden] { display: none; }

.project-gallery-main-video { background: #10271f; }

.project-gallery-thumbnail-video { position: relative; }

.project-gallery-video-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.38);
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.project-gallery-description {
  min-height: 5.4em;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.project-gallery-main-image-wrap figcaption {
  margin-top: 10px;
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  font-size: 13px;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--color-forest);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease;
  padding: 4px 8px;
}
.modal-close:hover { opacity: 1; }

/* Modal header */
.modal-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  color: var(--color-forest);
  line-height: 1.18;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(34,34,34,0.6);
  margin-bottom: 32px;
}

/* Form layout */
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-forest);
  text-transform: uppercase;
}

.form-group .required {
  color: var(--color-clay);
}

.form-group input,
.form-group select {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-charcoal);
  background: #fff;
  border: 1px solid rgba(24, 56, 46, 0.22);
  border-radius: 2px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2318382e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(24, 56, 46, 0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: #c0392b;
}

/* Submit button */
.form-submit-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-forest);
  background: var(--color-gold);
  border: none;
  border-radius: 2px;
  padding: 16px 32px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 8px;
  transition: background 0.25s ease, transform 0.15s ease;
}

.form-submit-btn:hover {
  background: #b8954f;
  transform: translateY(-1px);
}

.form-submit-btn:active {
  transform: translateY(0);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 32px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-forest);
  color: var(--color-gold);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--color-forest);
  margin-bottom: 10px;
}

.form-success p {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(34,34,34,0.65);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Modal responsive */
@media (max-width: 640px) {
  .project-gallery-modal { padding: 12px; }

  .project-gallery-panel {
    padding: 40px 20px 24px;
  }

  .project-gallery-viewer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-gallery-thumbnails {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .project-gallery-thumbnail {
    flex: 0 0 72px;
    width: 72px;
  }

  .project-gallery-main-image,
  .project-gallery-main-video {
    height: min(35vh, 280px);
  }

  .modal-panel {
    padding: 44px 24px 36px;
  }

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

  .form-submit-btn {
    width: 100%;
    text-align: center;
  }
}

/* Small-phone refinement: preserve the editorial feel without desktop-sized spacing. */
@media (max-width: 480px) {
  .nav-container {
    padding-inline: 18px;
  }

  .brand-logo img {
    width: 78px;
    height: 60px;
  }

  .nav-links-wrapper {
    padding: 26px 18px 30px;
  }

  .hero-section {
    min-height: 100svh;
    height: auto;
    padding: 96px 20px 42px;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 38px);
  }

  .hero-btn,
  .consultation-btn,
  .nav-cta-btn,
  .form-submit-btn {
    min-height: 54px;
  }

  .approach-section,
  .projects-section,
  .transformations-section,
  .services-section,
  .process-section,
  .consultation-section {
    padding-inline: 20px;
  }

  .approach-section,
  .projects-section,
  .transformations-section,
  .services-section,
  .process-section {
    padding-block: 52px;
  }

  .approach-image-box {
    height: 300px;
  }

  .projects-main-heading,
  .transformations-heading {
    font-size: clamp(31px, 9vw, 36px);
    line-height: 1.04;
  }

  .project-gallery-grid {
    margin-right: -20px;
    padding-right: 20px;
  }

  .project-card {
    flex-basis: 84vw;
    height: 340px;
  }

  .comparison-visual {
    height: 280px;
  }

  .comparison-label {
    top: 12px;
    font-size: 9px;
  }

  .comparison-label.before { left: 12px; }
  .comparison-label.after { right: 12px; }

  .service-cell {
    min-height: 174px;
    padding: 22px 20px;
  }

  .service-title {
    font-size: 28px;
  }

  .philosophy-copy-col {
    padding: 46px 20px;
  }

  .philosophy-image-col {
    height: 270px;
  }

  .consultation-section {
    padding-block: 64px;
  }

  .consultation-heading {
    font-size: clamp(31px, 9vw, 36px);
    line-height: 1.06;
  }

  .site-footer {
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
  }

  .footer-links {
    gap: 14px 18px;
  }

  .footer-links a {
    min-height: 32px;
  }

  .floating-whatsapp {
    right: 16px;
    width: 58px;
    min-height: 58px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  }

  .about-modal-panel {
    padding: 38px 22px 28px;
  }
}
