/* ============================================================
   VISIONHAUS888 — Premium Interior Design & Fit-Out
   Vision Haus UAE
   ============================================================ */

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Colors */
  --cream:       #F6F1EA;
  --cream-dark:  #EDE7DC;
  --stone:       #C4B8A5;
  --stone-dark:  #9B8E7D;
  --gold:        #A08C6E;
  --gold-light:  #BBA98A;
  --dark:        #111009;
  --dark-mid:    #1C1A14;
  --dark-warm:   #252218;
  --text:        #1C1A14;
  --text-mid:    #4A4640;
  --text-light:  #7A756F;
  --white:       #FDFAF6;

  /* Typography */
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'DM Sans', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: 120px;
  --section-pad-sm: 80px;
  --container:   1320px;
  --container-sm: 1140px;
  --gutter:      40px;

  /* Effects */
  --ease-silk:   cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-expo:   cubic-bezier(0.19, 1, 0.22, 1);
  --transition:  0.4s var(--ease-silk);
  --shadow-soft: 0 2px 40px rgba(17,16,9,0.08);
  --shadow-mid:  0 8px 60px rgba(17,16,9,0.14);
  --shadow-deep: 0 20px 80px rgba(17,16,9,0.22);
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;

  /* Nav */
  --nav-height:  80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background-color: var(--cream);
  overflow-x: hidden;
  line-height: 1.65;
}

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

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

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

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: var(--sans);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.display-xl {
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 300;
}

.display-lg {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 300;
}

.display-md {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.display-sm {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.2;
}

.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-dark);
}

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

.body-lg {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
}

.body-md {
  font-size: 16px;
  line-height: 1.7;
}

.body-sm {
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-sm {
  width: 100%;
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-pad {
  padding: var(--section-pad) 0;
}

.section-pad-sm {
  padding: var(--section-pad-sm) 0;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 30px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn-primary:hover {
  background: var(--dark-mid);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-ghost:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-ghost-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--stone-dark);
  border-color: var(--stone-dark);
}

.btn-arrow::after {
  content: '→';
  font-size: 16px;
  transition: transform 0.3s;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease-silk), backdrop-filter 0.5s, box-shadow 0.5s;
}

.nav.scrolled {
  background: rgba(246, 241, 234, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(17,16,9,0.08);
}

.nav.nav-dark {
  background: transparent;
}

.nav.nav-dark.scrolled {
  background: rgba(17, 16, 9, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s;
}

.nav.scrolled .nav__logo img {
  filter: brightness(0);
}

.nav.nav-dark .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav.nav-dark.scrolled .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-expo);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav.scrolled .nav__link {
  color: var(--text);
}

.nav.nav-dark .nav__link {
  color: var(--white);
}

.nav.nav-dark.scrolled .nav__link {
  color: var(--white);
}

.nav__cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 24px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.nav.scrolled .nav__cta {
  border-color: var(--dark);
  color: var(--dark);
}

.nav.scrolled .nav__cta:hover {
  background: var(--dark);
  color: var(--white);
}

.nav.nav-dark.scrolled .nav__cta {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.nav.nav-dark.scrolled .nav__cta:hover {
  background: var(--white);
  color: var(--dark);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

.nav.scrolled .nav__hamburger span {
  background: var(--dark);
}

.nav.nav-dark .nav__hamburger span,
.nav.nav-dark.scrolled .nav__hamburger span {
  background: var(--white);
}

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-link {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.nav__mobile-link:hover {
  color: var(--gold);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroScale 12s var(--ease-silk) forwards;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroScale 12s var(--ease-silk) forwards;
}

@keyframes heroScale {
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17,16,9,0.75) 0%,
    rgba(17,16,9,0.35) 50%,
    rgba(17,16,9,0.15) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) 80px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero__label {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--stone);
  opacity: 0;
  animation: fadeUp 1s 0.4s var(--ease-expo) forwards;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 300;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s 0.6s var(--ease-expo) forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--stone);
}

.hero__sub {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 1s 0.8s var(--ease-expo) forwards;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.0s var(--ease-expo) forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}

.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  animation: scrollLine 2s 2s infinite;
}

@keyframes scrollLine {
  to { left: 100%; }
}

/* ============================================================
   STRIP / TICKER SECTION
   ============================================================ */
.strip {
  background: var(--dark);
  color: var(--white);
  padding: 22px 0;
  overflow: hidden;
}

.strip__inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.strip__item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 48px;
  color: var(--stone);
}

.strip__item strong {
  color: var(--white);
}

.strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: 72px;
}

.section-header--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 72px;
}

.section-header .label {
  display: block;
  margin-bottom: 20px;
}

.section-header__title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.section-header__body {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 520px;
}

.section-header--center .section-header__body {
  margin: 0 auto;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats {
  background: var(--dark-mid);
  padding: var(--section-pad) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.stats__item {
  padding: 60px 48px;
  background: var(--dark-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.stats__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-expo);
}

.stats__item:hover::before {
  transform: scaleX(1);
}

.stats__number {
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.stats__number span {
  color: var(--gold);
}

.stats__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 8px;
}

.stats__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

/* ============================================================
   FEATURED WORK SECTION
   ============================================================ */
.featured-work {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

.featured-work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-card--large {
  grid-row: span 2;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-expo);
  display: block;
}

.project-card--large .project-card__img {
  height: 740px;
}

.project-card:not(.project-card--large) .project-card__img {
  height: 365px;
}

.project-card:hover .project-card__img {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,16,9,0.72) 0%, transparent 60%);
  opacity: 0.7;
  transition: opacity 0.5s;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 40px;
}

.project-card__cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.project-card__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}

.project-card__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.project-card__arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s, transform 0.4s;
}

.project-card:hover .project-card__arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: var(--cream-dark);
  padding: var(--section-pad) 0;
}

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

.service-card {
  background: var(--cream);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-expo);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card:hover {
  background: var(--white);
}

.service-card__num {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 300;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 32px;
  transition: color 0.4s;
}

.service-card:hover .service-card__num {
  color: rgba(160, 140, 110, 0.2);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  opacity: 0.6;
}

.service-card__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-card__body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s;
}

.service-card__link:hover {
  gap: 14px;
}

/* ============================================================
   AI EXPERIENCE TEASER
   ============================================================ */
.ai-teaser {
  background: var(--dark);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.ai-teaser::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160,140,110,0.08) 0%, transparent 70%);
}

.ai-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ai-teaser__label {
  color: var(--gold);
  margin-bottom: 24px;
}

.ai-teaser__title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.ai-teaser__title em {
  font-style: italic;
  color: var(--stone);
}

.ai-teaser__body {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}

.ai-teaser__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.ai-step {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ai-step__num {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(160,140,110,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.ai-step__text {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
}

.ai-teaser__visual {
  position: relative;
}

.ai-preview-card {
  background: var(--dark-warm);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ai-preview-card__header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-preview-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ai-preview-card__dot:nth-child(1) { background: #FF5F57; }
.ai-preview-card__dot:nth-child(2) { background: #FFBD2E; }
.ai-preview-card__dot:nth-child(3) { background: #28C840; }

.ai-preview-card__title {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

.ai-preview-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(0,0,0,0.2);
}

.ai-preview-img {
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  width: 100%;
}

.ai-preview-label {
  padding: 8px 16px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0,0,0,0.4);
  text-align: center;
}

.ai-preview-card__footer {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(160,140,110,0.12);
  border: 1px solid rgba(160,140,110,0.2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--gold-light);
}

.ai-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

.why__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 100px;
  align-items: center;
}

.why__visual {
  position: relative;
}

.why__img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.why__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 160px;
  height: 160px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.why__badge-num {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.why__badge-text {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
}

.why__points {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.why__point {
  display: flex;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--cream-dark);
}

.why__point:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.why__point-num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 4px;
}

.why__point-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.why__point-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process {
  background: var(--dark-mid);
  padding: var(--section-pad) 0;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 72px;
}

.process-step {
  background: var(--dark-mid);
  padding: 52px 36px;
  position: relative;
  transition: background 0.4s;
}

.process-step:hover {
  background: var(--dark-warm);
}

.process-step__num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 300;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.process-step__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.process-step__title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}

.process-step__sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.process-step__body {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

.process-step__line {
  position: absolute;
  top: 52px;
  right: 0;
  width: 1px;
  height: 40px;
  background: var(--gold);
  opacity: 0.2;
}

.process-step:last-child .process-step__line {
  display: none;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

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

.testimonial-card {
  background: var(--white);
  padding: 48px 44px;
  position: relative;
  border: 1px solid var(--cream-dark);
  transition: box-shadow 0.4s, transform 0.4s;
}

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

.testimonial-card__quote {
  font-family: var(--serif);
  font-size: 56px;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 24px;
  opacity: 0.4;
}

.testimonial-card__text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 32px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--cream-dark);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 500;
  font-size: 15px;
  color: var(--dark);
  display: block;
}

.testimonial-card__role {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--dark);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://www.visionhaus.ae/assets/media/about.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
}

.cta-section__label {
  color: var(--gold);
  margin-bottom: 24px;
}

.cta-section__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto 32px;
}

.cta-section__title em {
  font-style: italic;
  color: var(--stone);
}

.cta-section__body {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.cta-section__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #25D366;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}

.cta-section__whatsapp:hover {
  background: #1fba57;
  transform: translateY(-1px);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
  background: var(--cream-dark);
  padding: var(--section-pad) 0;
}

.faq__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 100px;
  align-items: start;
}

.faq__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(28,26,20,0.12);
}

.faq-item__question {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  cursor: pointer;
  transition: color 0.3s;
}

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

.faq-item__icon {
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: transform 0.4s, background 0.3s, color 0.3s;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-expo), padding 0.4s;
}

.faq-item.open .faq-item__answer {
  max-height: 400px;
}

.faq-item__answer-inner {
  padding-bottom: 28px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 80px 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-logo {
  filter: brightness(0) invert(1);
  height: 32px;
  width: auto;
  margin-bottom: 24px;
}

.footer__brand-body {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  transition: var(--transition);
}

.footer__social:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer__col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--white);
}

.footer__contact-item {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__contact-item strong {
  color: rgba(255,255,255,0.25);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s;
}

.footer__legal a:hover {
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   PAGE HERO (Interior Pages)
   ============================================================ */
.page-hero {
  background: var(--dark);
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.page-hero--about::before {
  background-image: url('https://www.visionhaus.ae/assets/media/about.jpg');
}

.page-hero--services::before {
  background-image: url('https://www.visionhaus.ae/assets/media/s1.jpeg');
}

.page-hero--projects::before {
  background-image: url('https://www.visionhaus.ae/assets/media/proj-1.jpg');
}

.page-hero--contact::before {
  background-image: url('https://www.visionhaus.ae/assets/media/t1.jpeg');
}

.page-hero--ai::before {
  background-image: url('https://www.visionhaus.ae/assets/media/s2.jpeg');
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.page-hero__breadcrumb a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.page-hero__breadcrumb a:hover { color: var(--white); }

.page-hero__breadcrumb span {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

.page-hero__breadcrumb .current {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero__label {
  color: var(--gold);
  margin-bottom: 20px;
}

.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.page-hero__title em {
  font-style: italic;
  color: var(--stone);
}

.page-hero__sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ============================================================
   ABOUT PAGE SPECIFIC
   ============================================================ */
.about-story {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-story__img {
  width: 100%;
  height: 580px;
  object-fit: cover;
}

.about-story__content .label {
  margin-bottom: 24px;
  display: block;
}

.about-story__content h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.about-story__content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-values {
  background: var(--dark-mid);
  padding: var(--section-pad) 0;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  margin-top: 72px;
}

.value-card {
  background: var(--dark-mid);
  padding: 52px 40px;
  transition: background 0.4s;
}

.value-card:hover {
  background: var(--dark-warm);
}

.value-card__icon {
  font-size: 32px;
  margin-bottom: 24px;
}

.value-card__title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
}

.value-card__body {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.about-team {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
}

.team-card {
  text-align: center;
}

.team-card__img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  margin-bottom: 24px;
  filter: grayscale(20%);
  transition: filter 0.4s;
}

.team-card:hover .team-card__img {
  filter: grayscale(0%);
}

.team-card__name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 6px;
}

.team-card__role {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-detailed {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.service-detail-block:last-child {
  border-bottom: none;
}

.service-detail-block--reverse {
  direction: rtl;
}

.service-detail-block--reverse > * {
  direction: ltr;
}

.service-detail-block__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.service-detail-block__num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.service-detail-block__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.service-detail-block__body {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
}

.service-detail-block__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-mid);
}

.service-feature::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-filter {
  background: var(--cream);
  padding: 60px 0 0;
}

.filter-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid var(--cream-dark);
  border-right: none;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}

.filter-tab:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.filter-tab:last-child  { border-right: 1px solid var(--cream-dark); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.filter-tab.active,
.filter-tab:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.projects-grid {
  padding: 60px 0 var(--section-pad);
  background: var(--cream);
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.proj-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.proj-card--featured {
  grid-column: span 2;
}

.proj-card__img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-expo);
}

.proj-card--featured .proj-card__img {
  height: 600px;
}

.proj-card:hover .proj-card__img {
  transform: scale(1.04);
}

.proj-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,16,9,0.8) 0%, transparent 55%);
  opacity: 0.8;
  transition: opacity 0.4s;
}

.proj-card:hover .proj-card__overlay {
  opacity: 1;
}

.proj-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 48px;
  transform: translateY(8px);
  transition: transform 0.4s;
}

.proj-card:hover .proj-card__info {
  transform: translateY(0);
}

.proj-card__cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.proj-card__title {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 8px;
}

.proj-card__location {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.proj-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.4s 0.1s;
}

.proj-card:hover .proj-card__cta {
  opacity: 1;
}

/* Featured story cards */
.project-stories {
  background: var(--cream-dark);
  padding: var(--section-pad) 0;
}

.story-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  margin-bottom: 2px;
  overflow: hidden;
}

.story-card--reverse {
  direction: rtl;
}

.story-card--reverse > * {
  direction: ltr;
}

.story-card__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.story-card__content {
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-card__cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.story-card__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.story-card__location {
  font-size: 13px;
  color: var(--stone-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-card__location::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--stone);
}

.story-card__body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ============================================================
   AI DESIGN PAGE
   ============================================================ */
.ai-page {
  background: var(--cream);
}

.ai-intro {
  background: var(--dark);
  padding: var(--section-pad) 0;
}

.ai-intro__inner {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.ai-intro__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.ai-intro__body {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 48px;
}

.ai-workflow {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

.ai-workflow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cream-dark);
  margin-bottom: 80px;
}

.ai-workflow-step {
  background: var(--cream);
  padding: 48px 36px;
}

.ai-workflow-step__num {
  width: 44px;
  height: 44px;
  border: 1px solid var(--stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 24px;
}

.ai-workflow-step__title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 12px;
}

.ai-workflow-step__body {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* AI Upload Interface */
.ai-interface {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--cream-dark);
}

.ai-interface__tabs {
  display: flex;
  border-bottom: 1px solid var(--cream-dark);
}

.ai-interface__tab {
  flex: 1;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.ai-interface__tab.active {
  color: var(--dark);
}

.ai-interface__tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.ai-interface__tab.done {
  color: var(--gold);
}

.ai-interface__tab.done::before {
  content: '✓';
  margin-right: 6px;
}

.ai-interface__panel {
  display: none;
  padding: 48px;
}

.ai-interface__panel.active {
  display: block;
}

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--cream-dark);
  border-radius: var(--radius);
  padding: 80px 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--gold);
  background: rgba(160, 140, 110, 0.04);
}

.upload-zone__icon {
  font-size: 48px;
  color: var(--stone);
  margin-bottom: 20px;
}

.upload-zone__title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 10px;
}

.upload-zone__sub {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.upload-zone__note {
  font-size: 12px;
  color: var(--stone-dark);
  margin-top: 16px;
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* Quiz */
.ai-quiz {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.quiz-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 12px;
}

.quiz-field input,
.quiz-field select,
.quiz-field textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  font-size: 15px;
  color: var(--dark);
  transition: border-color 0.3s;
  outline: none;
  -webkit-appearance: none;
}

.quiz-field input:focus,
.quiz-field select:focus,
.quiz-field textarea:focus {
  border-color: var(--gold);
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quiz-option {
  padding: 16px;
  border: 1px solid var(--cream-dark);
  text-align: center;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--cream);
}

.quiz-option:hover,
.quiz-option.selected {
  border-color: var(--gold);
  background: rgba(160,140,110,0.08);
  color: var(--dark);
}

.quiz-option__icon {
  font-size: 24px;
  display: block;
  margin-bottom: 6px;
}

/* Before/After */
.before-after {
  position: relative;
  user-select: none;
  overflow: hidden;
}

.before-after__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.before-after__after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  width: 50%;
}

.before-after__after-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  min-width: 100%;
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--white);
  cursor: ew-resize;
  z-index: 10;
}

.before-after__handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.before-after__label {
  position: absolute;
  top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(17,16,9,0.6);
  padding: 6px 14px;
}

.before-after__label--before { left: 20px; }
.before-after__label--after  { right: 20px; }

/* Gate / Lead Capture */
.ai-gate {
  background: var(--dark-mid);
  padding: 60px 48px;
  text-align: center;
}

.ai-gate__icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.ai-gate__title {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 300;
}

.ai-gate__body {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.ai-gate__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.ai-gate__form input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 14px;
  outline: none;
}

.ai-gate__form input::placeholder {
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.contact-info__title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-info__body {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 48px;
}

.contact-detail {
  margin-bottom: 28px;
}

.contact-detail__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 6px;
}

.contact-detail__value {
  font-size: 16px;
  color: var(--dark);
}

.contact-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  padding: 18px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 40px;
  transition: var(--transition);
}

.contact-wa-btn:hover {
  background: #1fba57;
  transform: translateY(-2px);
}

.contact-form__field {
  margin-bottom: 24px;
}

.contact-form__field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 10px;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 18px 22px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  font-size: 15px;
  color: var(--dark);
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--gold);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================================
   JOURNAL / INSIGHTS
   ============================================================ */
.journal {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
}

.journal-card {
  background: var(--white);
  transition: transform 0.4s, box-shadow 0.4s;
}

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

.journal-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.journal-card__content {
  padding: 32px;
}

.journal-card__cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.journal-card__title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.journal-card__excerpt {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 24px;
}

.journal-card__date {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

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

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ============================================================
   HORIZONTAL LINE DECORATION
   ============================================================ */
.h-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s, visibility 0.6s;
  /* CSS fallback: auto-hide after 2.5s even if JavaScript fails to load */
  animation: loaderAutoDismiss 0.6s 2.4s forwards;
}

@keyframes loaderAutoDismiss {
  0%   { opacity: 1; visibility: visible; pointer-events: auto; }
  100% { opacity: 0; visibility: hidden;  pointer-events: none; }
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none; /* JS already dismissed it — stop CSS animation */
}

.loader__logo {
  filter: brightness(0) invert(1);
  height: 36px;
  animation: fadeIn 0.5s forwards;
}

.loader__bar {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.loader__bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: loaderBar 1.2s var(--ease-expo) forwards;
}

@keyframes loaderBar {
  to { left: 100%; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  :root {
    --gutter: 32px;
    --section-pad: 100px;
  }

  .grid-4 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr 1fr 1fr; }
  .about-values__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root {
    --section-pad: 80px;
    --section-pad-sm: 60px;
  }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }

  .hero__title { font-size: clamp(42px, 8vw, 64px); }

  .featured-work__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .project-card--large { grid-row: span 1; }
  .project-card--large .project-card__img { height: 500px; }
  .project-card:not(.project-card--large) .project-card__img { height: 340px; }

  .services__grid { grid-template-columns: 1fr 1fr; }
  .ai-teaser__inner { grid-template-columns: 1fr; gap: 60px; }
  .why__inner { grid-template-columns: 1fr; gap: 60px; }
  .why__img { height: 400px; }
  .why__badge { bottom: -16px; right: -16px; width: 130px; height: 130px; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }

  .about-story__inner { grid-template-columns: 1fr; gap: 60px; }
  .story-card { grid-template-columns: 1fr; direction: ltr; }
  .story-card--reverse { direction: ltr; }
  .story-card__img { height: 360px; }
  .story-card__content { padding: 48px; }

  .contact-section__inner { grid-template-columns: 1fr; gap: 60px; }

  .faq__inner { grid-template-columns: 1fr; gap: 60px; }

  .ai-workflow__steps { grid-template-columns: 1fr 1fr; }
  .ai-interface__panel { padding: 32px; }

  .projects-masonry { grid-template-columns: 1fr; }
  .proj-card--featured { grid-column: span 1; }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section-pad: 60px;
  }

  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__item { padding: 40px 28px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }

  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { text-align: center; justify-content: center; }

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

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

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .ai-workflow__steps { grid-template-columns: 1fr; }
  .ai-gate__form { flex-direction: column; }
  .quiz-options { grid-template-columns: 1fr 1fr; }

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

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

  .service-detail-block {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .service-detail-block--reverse { direction: ltr; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

/* Dark section text overrides */
.text-white { color: var(--white); }
.text-stone  { color: var(--stone); }
.text-gold   { color: var(--gold); }

.bg-dark { background: var(--dark); }
.bg-cream { background: var(--cream); }
.home .nav.scrolled .custom-logo {
  filter: invert(1) !important;
}