/* ============================================================
   THE WALL STUDIOS — Design System
   Light & vibrant: Fresh White / Coral / Aqua / Sunshine / Violet
   Animations use only transform + opacity so they stay smooth.
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4FAFC;
  --bg-warm: #FFF6F2;
  --ink: #1F2A3C;
  --ink-soft: #5B677A;
  --heading: #17324D;

  --primary: #0FB5C8;
  /* aqua */
  --primary-deep: #0A8FA0;
  --accent: #FF6B4A;
  /* coral — replaces the old gold */
  --accent-deep: #F04E2E;
  --accent-soft: #FFE1D8;
  --pink: #FF4F8B;
  --sun: #FFC43D;
  --violet: #7C5CFF;
  --mint: #22C59A;

  --grad-vibrant: linear-gradient(120deg, #FF7A45 0%, #FF4F8B 55%, #7C5CFF 100%);
  --grad-warm: linear-gradient(120deg, #FFC43D 0%, #FF6B4A 55%, #FF4F8B 100%);
  --line: rgba(23, 50, 77, 0.10);

  /* Legacy names still used in some page markup */
  --emerald: var(--heading);
  --emerald-deep: var(--heading);
  --gold: var(--accent);
  --gold-soft: var(--accent-soft);
  --crimson: var(--accent-deep);
  --velvet: var(--pink);

  --font-head: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 14px 40px rgba(23, 50, 77, 0.08);
  --shadow-strong: 0 24px 60px rgba(23, 50, 77, 0.16);
  --ease: cubic-bezier(.16, .84, .44, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-warm);
}

/* Vibrant gradient text (class name kept for existing markup) */
.metallic {
  background: var(--grad-vibrant);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.section-sub {
  color: var(--ink-soft);
  max-width: 640px;
  font-size: 1.05rem;
}

.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}

.section-pad {
  padding: 110px 0;
}

.bg-alt {
  background: var(--bg-alt);
}

.bg-warm {
  background: var(--bg-warm);
}

/* Former dark sections — now a light, colourful wash */
.bg-emerald,
.bg-vibrant {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 196, 61, .22), transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(124, 92, 255, .14), transparent 42%),
    linear-gradient(135deg, #E8FAFC 0%, #FFF3EE 55%, #F5F0FF 100%);
  color: var(--ink);
}

.bg-emerald .section-sub,
.bg-vibrant .section-sub {
  color: var(--ink-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.btn-gold {
  background: linear-gradient(120deg, #FF7A45, #FF4F8B);
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 90, 80, .32);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(255, 90, 80, .42);
}

.btn-outline {
  border-color: var(--primary-deep);
  color: var(--primary-deep);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-ghost-nav {
  border-color: var(--accent);
  color: var(--accent-deep);
  padding: 10px 20px;
}

.btn-ghost-nav:hover {
  background: var(--accent);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: var(--shadow-soft);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.btn-velvet {
  background: linear-gradient(120deg, #7C5CFF, #B45CFF);
  color: #fff;
  box-shadow: 0 12px 26px rgba(124, 92, 255, .3);
}

.btn-velvet:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(124, 92, 255, .42);
}

.btn-sm {
  padding: 11px 20px;
  font-size: .82rem;
}

.btn-block {
  width: 100%;
}

.bg-velvet {
  background: linear-gradient(135deg, #FFF0F5 0%, #F5F0FF 100%);
  color: var(--ink);
}

.bg-velvet .section-sub {
  color: var(--ink-soft);
}

.velvet-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-vibrant);
  color: #fff;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(255, 79, 139, .25);
}

.divider-flourish {
  width: 120px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: var(--grad-vibrant);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 4px 18px rgba(23, 50, 77, .06);
  transition: box-shadow .3s var(--ease);
  padding: 10px 0;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--grad-vibrant);
  opacity: .9;
}

.site-header.scrolled {
  box-shadow: 0 8px 26px rgba(23, 50, 77, .12);
}

.site-header .container {
  padding-left: 8px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .86rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  color: var(--ink);
  padding: 6px 0;
  transition: color .25s var(--ease);
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.main-nav a:not(.btn):hover {
  color: var(--accent-deep);
}

.main-nav a:not(.btn):hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--accent-deep);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--heading);
}

/* ---------- Hero (split: carousel left, introduction right) ---------- */
.hero-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.intro-hero {
  padding-top: 84px;
  overflow: hidden;
  background: var(--bg);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(480px, 72vh, 580px);
}

/* Left: full-bleed media panel */
.intro-media {
  position: relative;
  min-height: 0;
  background: #E4F4F7;
  overflow: hidden;
}

.intro-media::after {
  /* brush-edged border where the media meets the text */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px;
  width: 26px;
  z-index: 4;
  pointer-events: none;
  background: var(--bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 400' preserveAspectRatio='none'%3E%3Cpath d='M26 0H14c-6 30 6 50-2 80s8 55 0 90 10 40 2 75-8 60 0 85 2 50 0 70h12z'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 400' preserveAspectRatio='none'%3E%3Cpath d='M26 0H14c-6 30 6 50-2 80s8 55 0 90 10 40 2 75-8 60 0 85 2 50 0 70h12z'/%3E%3C/svg%3E") no-repeat center/100% 100%;
}

.hero-owl.owl-carousel {
  display: block;
  position: absolute;
  inset: 0;
}

.hero-owl .owl-stage-outer,
.hero-owl .owl-stage,
.hero-owl .owl-item {
  height: 100%;
}

.hero-owl:not(.owl-loaded) .hero-item:not(:first-child) {
  display: none;
}

/* before Owl starts / if it fails */
.hero-item {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #E4F4F7;
}

.hero-item::after {
  /* soft shade so the white caption stays readable */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(23, 50, 77, .78) 0%, rgba(23, 50, 77, .22) 40%, transparent 62%);
}

.hero-owl .owl-item img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-owl .owl-item.active img {
  animation: kenBurns 7s ease-out both;
  will-change: transform;
}

/* Slide caption — category name painted on with a brush swipe */
.slide-caption {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 124px;
  z-index: 3;
  color: #fff;
}

.slide-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #FFD66B;
  margin-bottom: 10px;
  opacity: 0;
}

.slide-caption h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.1;
}

.slide-caption h3 span {
  position: relative;
  display: inline-block;
  padding: 4px 14px 6px;
  margin-left: -14px;
  opacity: 0;
  z-index: 0;
}

.slide-caption h3 span::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(95deg, #FF7A45 0%, #FF4F8B 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M2 8C40 2 120 4 196 3l2 6-3 5 4 7-3 6 2 9C130 38 60 39 4 37l-3-7 3-6-4-6 3-5z'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M2 8C40 2 120 4 196 3l2 6-3 5 4 7-3 6 2 9C130 38 60 39 4 37l-3-7 3-6-4-6 3-5z'/%3E%3C/svg%3E") no-repeat center/100% 100%;
}

.slide-caption p {
  margin: 0;
  font-size: .95rem;
  color: #EAF2F7;
  opacity: 0;
}

.owl-item.active .slide-tag {
  animation: riseIn .6s var(--ease) .25s both;
}

.owl-item.active .slide-caption h3 span {
  animation: fadeIn .01s linear .45s both;
}

.owl-item.active .slide-caption h3 span::before {
  animation: brushSwipe .7s var(--ease) .45s both;
}

.owl-item.active .slide-caption p {
  animation: riseIn .6s var(--ease) .85s both;
}

/* Controls */
.hero-controls {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 24px;
  z-index: 5;
}

.hero-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-dots .owl-dot {
  width: 22px;
  height: 14px;
  padding: 0;
  border: 2px solid #fff;
  cursor: pointer;
  border-radius: 3px 7px 4px 8px;
  /* paint-chip shape */
  background: var(--c, #fff);
  opacity: .6;
  transition: width .3s var(--ease), transform .3s var(--ease), opacity .3s var(--ease);
}

.hero-dots .owl-dot:nth-child(6n+1) {
  --c: #FF6B4A;
}

.hero-dots .owl-dot:nth-child(6n+2) {
  --c: #0FB5C8;
}

.hero-dots .owl-dot:nth-child(6n+3) {
  --c: #FFC43D;
}

.hero-dots .owl-dot:nth-child(6n+4) {
  --c: #7C5CFF;
}

.hero-dots .owl-dot:nth-child(6n+5) {
  --c: #22C59A;
}

.hero-dots .owl-dot:nth-child(6n+6) {
  --c: #FF4F8B;
}

.hero-dots .owl-dot:hover {
  opacity: .95;
  transform: translateY(-3px);
}

.hero-dots .owl-dot.active {
  opacity: 1;
  width: 36px;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}

.hero-controls-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-counter {
  font-family: var(--font-head);
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 74px;
}

.hero-counter b {
  font-size: 1.9rem;
  color: #FFD66B;
  line-height: 1;
}

.hero-counter span {
  font-size: .95rem;
  color: #EAF2F7;
}

.hero-progress {
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 5px;
  background: var(--grad-warm);
}

.hero-progress span.run {
  animation: paintFill var(--dur, 5s) linear forwards;
}

.hero-progress span.paused {
  animation-play-state: paused;
}

.hero-arrow,
.hero-sound {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading);
  background: #fff;
  border: 0;
  box-shadow: 0 6px 16px rgba(23, 50, 77, .2);
  transition: color .3s var(--ease), transform .3s var(--ease);
}

.hero-arrow::before,
.hero-sound::before {
  /* paint fills the button from the bottom on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FF7A45, #FF4F8B);
  transform: translateY(101%);
  transition: transform .4s var(--ease);
}

.hero-arrow svg,
.hero-sound svg {
  position: relative;
}

.hero-arrow:hover,
.hero-sound:hover {
  color: #fff;
  transform: translateY(-2px);
}

.hero-arrow:hover::before,
.hero-sound:hover::before {
  transform: translateY(0);
}

.hero-arrow:active {
  transform: scale(.94);
}

.hero-sound .sound-on {
  display: none;
}

.hero-sound.unmuted .sound-on {
  display: inline;
}

.hero-sound.unmuted .sound-off {
  display: none;
}

/* Right: introduction */
.intro-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 5vw 32px 4vw;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 196, 61, .22), transparent 34%),
    radial-gradient(circle at 12% 94%, rgba(15, 181, 200, .14), transparent 38%),
    radial-gradient(circle at 70% 70%, rgba(255, 79, 139, .07), transparent 40%);
}

.intro-content>* {
  max-width: 640px;
}

.hero-in {
  animation: riseIn .8s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 90ms + 150ms);
}

.paint-drips {
  position: absolute;
  top: 0;
  right: 8%;
  display: flex;
  gap: 18px;
  z-index: -1;
}

.paint-drips i {
  position: relative;
  display: block;
  width: 10px;
  height: var(--h, 40px);
  border-radius: 0 0 10px 10px;
  background: var(--c);
  transform-origin: top;
  animation: dripDown 1.4s var(--ease) both;
  animation-delay: var(--dl, 0s);
}

.paint-drips i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: calc(100% + 5px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: inherit;
  transform: translateX(-50%);
}

.paint-drips i:nth-child(1) {
  --h: 56px;
  --c: #FF6B4A;
  --dl: .2s;
}

.paint-drips i:nth-child(2) {
  --h: 30px;
  --c: #FFC43D;
  --dl: .5s;
  width: 7px;
}

.paint-drips i:nth-child(3) {
  --h: 74px;
  --c: #0FB5C8;
  --dl: .35s;
}

.paint-drips i:nth-child(4) {
  --h: 38px;
  --c: #FF4F8B;
  --dl: .65s;
  width: 8px;
}

.paint-drips i:nth-child(5) {
  --h: 62px;
  --c: #7C5CFF;
  --dl: .3s;
}

.paint-drips i:nth-child(6) {
  --h: 26px;
  --c: #22C59A;
  --dl: .75s;
  width: 6px;
}

.paint-drips i:nth-child(7) {
  --h: 46px;
  --c: #FF7A45;
  --dl: .45s;
}

.intro-title {
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.brush-mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.brush-underline {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 18px;
  overflow: visible;
}

.brush-underline path {
  fill: none;
  stroke: var(--sun);
  stroke-width: 7;
  stroke-linecap: round;
  opacity: .9;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawStroke 1.2s var(--ease) .9s forwards;
}

.intro-lead {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  color: var(--accent-deep);
  margin: 0 0 10px;
}

.intro-text {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 16px;
}

.intro-text b {
  color: var(--heading);
}

.intro-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-bottom: 20px;
}

.intro-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
}

.intro-points .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.intro-points li:nth-child(2) .tick {
  background: var(--mint);
}

.intro-points li:nth-child(3) .tick {
  background: var(--accent);
}

.intro-points li:nth-child(4) .tick {
  background: var(--violet);
}

.intro-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.intro-cta .btn {
  padding: 13px 26px;
}

.intro-cta .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.intro-cta .btn::after {
  /* wet-paint shine sweeping across on hover */
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 40%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: translateX(-160%) skewX(-20deg);
  transition: transform .7s var(--ease);
}

.intro-cta .btn:hover::after {
  transform: translateX(360%) skewX(-20deg);
}

.palette-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.palette-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 6px;
}

.swatch {
  position: relative;
  width: 28px;
  height: 34px;
  background: var(--c);
  border-radius: 4px 4px 12px 12px;
  box-shadow: 0 6px 14px rgba(23, 50, 77, .14), inset 0 -8px 0 rgba(0, 0, 0, .08);
  transition: transform .3s var(--ease);
}

.swatch:hover {
  transform: translateY(-8px) rotate(-4deg);
}

.paint-line {
  position: relative;
  height: 30px;
  margin-bottom: 2px;
  overflow: hidden;
}

.paint-track {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  animation: rollAcross 2.6s var(--ease) 1.2s forwards;
}

.paint-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 15px;
  bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-vibrant);
}

.paint-roller {
  position: absolute;
  right: 0;
  bottom: 0;
}

.intro-proof {
  display: flex;
  gap: 32px;
  padding-top: 8px;
  flex-wrap: wrap;
}

.intro-proof b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  line-height: 1.1;
  background: var(--grad-vibrant);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro-proof span {
  font-size: .76rem;
  color: var(--ink-soft);
  letter-spacing: .03em;
}

/* Paint animations (transform / opacity only) */
@keyframes kenBurns {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

@keyframes brushSwipe {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes paintFill {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dripDown {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes rollAcross {
  to {
    transform: translateX(0);
  }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 26px 16px;
  border-bottom: 1px solid var(--line);
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: .02em;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
}

.trust-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.trust-chip:nth-child(2) .dot {
  background: var(--primary);
}

.trust-chip:nth-child(3) .dot {
  background: var(--sun);
}

.trust-chip:nth-child(4) .dot {
  background: var(--mint);
}

.trust-chip:nth-child(5) .dot {
  background: var(--violet);
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 18px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--c, var(--accent));
}

.stat-card:nth-child(2) {
  --c: var(--primary);
}

.stat-card:nth-child(3) {
  --c: var(--sun);
}

.stat-card:nth-child(4) {
  --c: var(--violet);
}

.stat-card .num {
  font-family: var(--font-head);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--heading);
}

.stat-card span {
  font-size: .8rem;
  color: var(--ink-soft);
}

/* ---------- Why us (image cards) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  --c: var(--accent);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.why-card:nth-child(2) {
  --c: var(--primary);
}

.why-card:nth-child(3) {
  --c: var(--mint);
}

.why-card:nth-child(4) {
  --c: var(--violet);
}

.why-card:nth-child(5) {
  --c: var(--sun);
}

.why-card:nth-child(6) {
  --c: var(--pink);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.why-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-alt);
}

.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.why-card:hover .why-media img {
  transform: scale(1.06);
}

.why-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--c);
}

.why-body {
  position: relative;
  padding: 40px 26px 30px;
  flex: 1;
}

.why-icon {
  position: absolute;
  top: -28px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: #fff;
  border: 3px solid var(--c);
  box-shadow: 0 10px 20px rgba(23, 50, 77, .12);
  transition: transform .35s var(--ease);
}

.why-card:hover .why-icon {
  transform: rotate(-8deg) scale(1.06);
}

.why-card h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--ink-soft);
  font-size: .92rem;
  margin: 0 0 14px;
}

.why-stroke {
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--c);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.why-card:hover .why-stroke {
  transform: scaleX(2.2);
}

/* ---------- Categories ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  --c: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.category-card:nth-child(6n+2) {
  --c: var(--primary);
}

.category-card:nth-child(6n+3) {
  --c: var(--sun);
}

.category-card:nth-child(6n+4) {
  --c: var(--violet);
}

.category-card:nth-child(6n+5) {
  --c: var(--mint);
}

.category-card:nth-child(6n+6) {
  --c: var(--pink);
}

.category-card::after {
  /* colour bar that paints across the bottom on hover */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.category-card:hover::after {
  transform: scaleX(1);
}

.cat-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.category-card:hover .cat-media img {
  transform: scale(1.08);
}

.cat-media::after {
  /* soft wash of the card colour over the photo on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, var(--c));
  opacity: 0;
  transition: opacity .4s var(--ease);
  mix-blend-mode: multiply;
}

.category-card:hover .cat-media::after {
  opacity: .55;
}

.cat-num {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--heading);
  background: rgba(255, 255, 255, .92);
  padding: 2px 10px;
  border-radius: 100px;
}

.cat-icon {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: #fff;
  border: 3px solid var(--c);
  box-shadow: 0 8px 18px rgba(23, 50, 77, .18);
  transition: transform .35s var(--ease);
}

.category-card:hover .cat-icon {
  transform: translateY(-4px) rotate(-8deg);
}

.cat-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.category-card p {
  color: var(--ink-soft);
  font-size: .84rem;
  margin: 0 0 14px;
  flex: 1;
}

.cat-link {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--accent-deep);
}

.cat-link span {
  display: inline-block;
  transition: transform .3s var(--ease);
}

.category-card:hover .cat-link span {
  transform: translateX(5px);
}

/* ---------- Service area chips ---------- */
.area-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.area-chip {
  padding: 10px 22px;
  border-radius: 100px;
  background: #fff;
  border: 1.5px solid var(--accent-soft);
  color: var(--heading);
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(23, 50, 77, .05);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}

.area-chip:hover {
  transform: translateY(-3px);
  background: var(--accent);
  color: #fff;
}

/* ---------- Visualizer ---------- */
.visualizer {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.visualizer-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 10/7;
  box-shadow: var(--shadow-strong);
  border: 6px solid #fff;
}

.visualizer-stage .stage-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, .92);
  color: var(--heading);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  z-index: 3;
}

.visualizer-stage svg {
  width: 100%;
  height: 100%;
  display: block;
}

.room-wall {
  transition: fill 1.1s var(--ease);
}

.room-wall-left {
  filter: brightness(.62);
}

.room-wall-right {
  filter: brightness(.8);
}

.room-wall-shadow {
  transition: opacity 1.1s var(--ease);
}

.room-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 2;
  transition: opacity .4s var(--ease);
}

.finish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.finish-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  background: #fff;
  text-align: left;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.finish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.finish-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent) inset;
}

.finish-swatch {
  width: 100%;
  height: 50px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.finish-card h5 {
  margin: 0 0 2px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--heading);
}

.finish-card span {
  font-size: .72rem;
  color: var(--ink-soft);
}

.color-swatches {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.color-swatches button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}

.color-swatches button.active {
  box-shadow: 0 0 0 2px var(--accent);
}

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.gallery-item img,
.gallery-item .img-slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.gallery-item:hover img,
.gallery-item:hover .img-slot-img {
  transform: scale(1.06);
}

.gallery-item .img-slot-placeholder,
.gallery-item .img-slot-img {
  position: absolute;
  inset: 0;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 50, 77, .8), transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h5 {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
}

.gallery-overlay span {
  color: #FFD66B;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Before/After slider */
.ba-slider {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  user-select: none;
}

.ba-slider img,
.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before svg,
.ba-after svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ba-after {
  clip-path: inset(0 0 0 50%);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.ba-tag {
  position: absolute;
  top: 16px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255, 255, 255, .92);
  color: var(--heading);
}

.ba-tag.before {
  left: 16px;
}

.ba-tag.after {
  right: 16px;
}

/* ---------- Process timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}

.timeline-step {
  --c: var(--accent);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--c);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.timeline-step:nth-child(2) {
  --c: var(--primary);
}

.timeline-step:nth-child(3) {
  --c: var(--sun);
}

.timeline-step:nth-child(4) {
  --c: var(--violet);
}

.timeline-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.timeline-step .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c);
  margin-bottom: 14px;
}

.timeline-step h4 {
  color: var(--heading);
  font-size: 1.2rem;
}

.timeline-step p {
  color: var(--ink-soft);
  font-size: .9rem;
  margin: 0;
}

/* ---------- Estimator ---------- */
.estimator-card {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.estimator-steps {
  display: flex;
  background: var(--bg-alt);
}

.estimator-steps span {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
}

.estimator-steps span.active {
  color: var(--accent-deep);
  border-color: var(--accent);
}

.estimator-body {
  padding: 44px;
}

.est-step {
  display: none;
}

.est-step.active {
  display: block;
  animation: riseIn .5s var(--ease);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 30px;
}

.option-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}

.option-card:hover {
  border-color: var(--accent);
}

.option-card.active {
  border-color: var(--primary);
  background: #EFFBFD;
  box-shadow: 0 0 0 2px var(--primary) inset;
}

.option-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.option-thumb .img-slot-placeholder {
  padding: 10px;
}

.option-thumb .img-slot-icon {
  width: 22px;
  height: 22px;
}

.option-thumb .img-slot-label {
  font-size: .7rem;
}

.option-thumb .img-slot-path {
  font-size: .56rem;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 181, 200, .14);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.estimator-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.estimate-result {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  margin-bottom: 26px;
}

.estimate-result .amount {
  font-family: var(--font-body);
  font-size: 2.3rem;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.01em;
  color: var(--accent-deep);
}

.estimate-result .amount .cur {
  font-size: .7em;
  font-weight: 600;
  margin-right: .25em;
  vertical-align: .12em;
  color: inherit;
}

.estimate-result .amount .paise {
  font-size: .55em;
  font-weight: 600;
}

.estimate-result .amount span {
  font-size: 1rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.testimonial-card .stars {
  color: var(--sun);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--ink-soft);
}

.testimonial-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-vibrant);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
}

.testimonial-card .who b {
  display: block;
  color: var(--heading);
  font-size: .9rem;
}

.testimonial-card .who span {
  font-size: .75rem;
  color: var(--ink-soft);
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  color: var(--accent-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 14px;
}

/* ---------- Partners / B2B ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.partner-card .icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.partner-card h4 {
  color: var(--heading);
}

.partner-card p {
  color: var(--ink-soft);
  font-size: .9rem;
  margin: 0;
}

/* ---------- Contact / booking ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 40px;
}

/* ---------- Forms shared ---------- */
form .field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-msg {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .88rem;
  margin-top: 16px;
  display: none;
}

.form-msg.show {
  display: block;
}

.form-msg.ok {
  background: #E6F8F2;
  color: #0E7A5C;
}

.form-msg.err {
  background: #FFECE7;
  color: var(--accent-deep);
}

/* ---------- Footer (light) ---------- */
.site-footer {
  position: relative;
  background: #F3F8FB;
  color: var(--ink-soft);
  padding: 80px 0 20px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-vibrant);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: 14px;
  border-radius: 8px;
}

.footer-brand p {
  font-size: .88rem;
  color: var(--ink-soft);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-badges span {
  font-size: .68rem;
  border: 1px solid var(--accent-soft);
  color: var(--accent-deep);
  background: #fff;
  padding: 5px 12px;
  border-radius: 100px;
}

.footer-col h4 {
  color: var(--heading);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.footer-col a:not(.btn):hover {
  color: var(--accent-deep);
}

.footer-col .btn {
  display: inline-flex;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: .78rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1fae5a, #25D366);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(37, 211, 102, .4);
  z-index: 900;
}

.whatsapp-fab::before {
  /* pulse ring (transform/opacity only — no repaint cost) */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: fabPulse 2.6s ease-out infinite;
}

@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: .5;
  }

  80%,
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* ---------- Image slot (real photo if present, upload placeholder if not) ---------- */
.img-slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-slot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: repeating-linear-gradient(135deg, #F4FAFC, #F4FAFC 10px, #EAF4F8 10px, #EAF4F8 20px);
  border: 2px dashed rgba(15, 181, 200, .35);
  border-radius: inherit;
  color: var(--ink-soft);
  text-align: center;
  padding: 18px;
}

.img-slot-icon {
  width: 30px;
  height: 30px;
  color: var(--primary);
  opacity: .7;
}

.img-slot-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--heading);
}

.img-slot-path {
  font-size: .66rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .7);
  padding: 3px 8px;
  border-radius: 6px;
  word-break: break-all;
}

/* ---------- Scroll reveal (hidden only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width:980px) {
  .intro-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .intro-media {
    height: 56vh;
    min-height: 360px;
    max-height: 480px;
  }

  .intro-media::after {
    display: none;
  }

  .intro-content {
    padding: 40px 24px 36px;
  }

  .intro-content>* {
    max-width: none;
  }

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

  .why-grid,
  .gallery-grid,
  .testimonial-grid,
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width:768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .1);
    transform: translateX(110%);
    transition: transform .4s var(--ease);
  }

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

  .nav-toggle {
    display: flex;
  }

  .brand-logo {
    height: 52px;
  }

  .why-grid,
  .gallery-grid,
  .testimonial-grid,
  .partner-grid,
  .timeline,
  .option-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

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

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

  .section-pad {
    padding: 70px 0;
  }

  .estimator-body {
    padding: 26px;
  }

  .intro-hero {
    padding-top: 76px;
  }

  .intro-media {
    height: 50vh;
    min-height: 320px;
    max-height: 420px;
  }

  .slide-caption {
    left: 20px;
    right: 20px;
    bottom: 128px;
  }

  .slide-caption p {
    font-size: .85rem;
  }

  .hero-controls {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .hero-dots {
    gap: 6px;
    margin-bottom: 14px;
  }

  .hero-dots .owl-dot {
    width: 16px;
    height: 11px;
  }

  .hero-arrow,
  .hero-sound {
    width: 42px;
    height: 42px;
  }

  .hero-counter {
    min-width: 60px;
  }

  .hero-counter b {
    font-size: 1.5rem;
  }

  .brush-mark {
    white-space: normal;
  }

  .intro-points {
    grid-template-columns: 1fr;
  }

  .intro-cta .btn {
    flex: 1 1 100%;
  }

  .intro-proof {
    gap: 24px;
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ============================================================
   CLEAN WHITE LAYOUT
   Whole site on a plain white background with tighter section
   spacing. Overrides the tinted / gradient section washes above.
   ============================================================ */
body,
.bg-alt,
.bg-warm,
.bg-emerald,
.bg-vibrant,
.bg-velvet,
.intro-hero,
.intro-content,
.site-footer {
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.section-pad {
  padding: 72px 0;
}

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

.section-more {
  text-align: center;
  margin-top: 36px;
}

/* Why us: compact icon features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.feature:hover {
  border-color: rgba(15, 181, 200, .45);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(15, 181, 200, .1);
  color: var(--primary-deep);
}

.feature h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .92rem;
}

/* Why us: photo on top of each feature card */
.feature:has(.feature-media) {
  padding: 0;
  overflow: hidden;
}

.feature-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.feature-media .img-slot-img {
  transition: transform .6s var(--ease);
}

.feature:hover .feature-media .img-slot-img {
  transform: scale(1.05);
}

.feature-body {
  position: relative;
  padding: 0 24px 26px;
}

.feature-body .feature-icon {
  margin-top: -23px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

/* Services: title + link only */
.category-card .cat-body p {
  display: none;
}

/* Closing call to action */
.home-cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.home-cta .section-sub {
  margin: 0 auto 26px;
}

.home-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.home-cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 26px;
  font-size: .9rem;
  font-weight: 600;
}

.home-cta-links a {
  color: var(--primary-deep);
}

.home-cta-links a:hover {
  color: var(--accent-deep);
}

.home-cta-areas {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: .85rem;
}

@media (max-width: 980px) {
  .feature-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

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

  .home-cta {
    padding: 40px 20px;
  }
}

/* ---------- Header "Book Consultation" button ----------
   ".main-nav a" (padding: 6px 0, colour, active state) is more specific
   than ".btn-ghost-nav", so it stripped the button's side padding and,
   on the Contact page, turned the hover text coral-on-coral. Scoped
   selectors restore a proper solid button in every state. */
.main-nav a.btn-ghost-nav,
.main-nav a.btn-ghost-nav.active {
  padding: 11px 24px;
  border: 0;
  border-radius: 100px;
  background: var(--accent-deep);
  color: #fff;
  font-weight: 600;
  font-size: .86rem;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(240, 78, 46, .25);
}

.main-nav a.btn-ghost-nav:hover,
.main-nav a.btn-ghost-nav:focus-visible {
  background: #D63F21;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .main-nav a.btn-ghost-nav {
    margin-top: 8px;
    text-align: center;
  }
}

/* ---------- Numbers: clean sans-serif, solid colour ---------- */
.intro-proof b,
.stat-card .num {
  font-family: var(--font-body);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--heading);
}

.intro-proof b {
  font-size: 1.5rem;
}

.stat-card .num {
  font-size: 2rem;
}

.timeline-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--heading);
  color: #fff;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}

/* ============================================================
   RESPONSIVE HARDENING (production pass)
   ============================================================ */

/* Inner-page top spacing (clears the fixed header) - replaces inline padding-top:160px */
.page-top {
  padding-top: 160px;
}

/* Grid children may shrink below their content's min width - stops long
   buttons / headings from pushing the page wider than the phone screen */
.contact-wrap > *,
.visualizer > *,
.intro-grid > *,
.footer-grid > *,
.field-row > * {
  min-width: 0;
}

html,
body {
  overflow-x: clip;
}

h1, h2, h3, .section-title {
  overflow-wrap: break-word;
}

/* Hamburger: proper 44px tap target, animates to an X */
.nav-toggle {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-right: -10px;
  position: relative;
  z-index: 1002;
}

.nav-toggle span {
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

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

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(23, 50, 77, .35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}

.nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}

body.nav-locked {
  overflow: hidden;
}

/* Tablet & small laptop: the 6-item nav doesn't fit, switch to the drawer earlier */
@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    height: 100vh;
    height: 100dvh;
    width: min(300px, 85vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 96px 28px 28px;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .1);
    transform: translateX(110%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
    font-size: 1rem;
  }

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

  .main-nav a:not(.btn) {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:not(.btn)::after {
    display: none;
  }

  .main-nav a.btn-ghost-nav {
    margin-top: 16px;
    padding: 14px 24px;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .page-top {
    padding-top: 110px;
  }

  /* 16px stops iOS Safari from zooming the page when a field is tapped */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .contact-card {
    padding: 28px 22px;
  }

  /* Estimator: option cards become compact rows (thumb left, text right) */
  .option-grid {
    gap: 10px;
    margin: 18px 0 24px;
  }

  .option-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: 14px;
    text-align: left;
    padding: 10px;
  }

  .option-card .option-thumb {
    grid-column: 1;
    grid-row: 1 / 5;
    margin-bottom: 0;
  }

  .option-card > b {
    grid-column: 2;
    grid-row: 2;
  }

  .option-card > span {
    grid-column: 2;
    grid-row: 3;
    margin-top: 2px;
  }

  .option-card br {
    display: none;
  }

  .estimator-body {
    padding: 22px 18px;
  }

  .estimator-steps span {
    padding: 12px 4px;
    font-size: .68rem;
    letter-spacing: 0;
  }

  .estimate-result {
    padding: 22px 14px;
  }

  .estimate-result .amount {
    font-size: clamp(1.6rem, 8vw, 2.3rem);
  }

  .estimator-footer {
    gap: 10px;
  }

  .ba-slider {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Long button labels may wrap instead of forcing horizontal scroll */
  .btn {
    white-space: normal;
    text-align: center;
    padding: 14px 22px;
  }

  .btn-sm {
    padding: 11px 18px;
  }

  .home-cta-actions .btn,
  .intro-cta .btn {
    flex: 1 1 100%;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
  }
}
