/* ============================================================
   MOHAMED KAMEL — Dubai Luxury Property Advisor
   Luxury editorial design system
   ============================================================ */

:root {
  --white: #FFFFFF;
  --beige: #FAF7F3;
  --cream: #F4EFE8;
  --gold: #C9A96E;
  --gold-deep: #B08D4F;
  --dark: #4B76A0;
  --dark-2: #5985AE;
  --text: #2C2420;
  --soft: #7A6E68;
  --line: rgba(44, 36, 32, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* Accessible keyboard focus — visible ring on every interactive element */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}
.eyebrow--gold { color: var(--gold); }

.section { padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }
/* Offset anchor jumps so headings clear the fixed navbar */
section[id], [id].section { scroll-margin-top: 84px; }
.section--beige { background: var(--beige); }
.section--dark { background: var(--dark); color: var(--cream); }

.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.section__title--light { color: var(--white); }
.section__sub { margin-top: 1.25rem; color: var(--soft); font-size: 1.05rem; max-width: 60ch; }
.section--dark .section__sub { color: rgba(244, 239, 232, 0.82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1.05rem 2.1rem; border-radius: 2px; cursor: pointer; border: 1px solid transparent;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn--gold { background: var(--gold); color: var(--dark); box-shadow: 0 10px 30px -10px rgba(201,169,110,0.6); }
.btn--gold:hover { background: var(--gold-deep); color: #fff; box-shadow: 0 18px 44px -12px rgba(201,169,110,0.75); }
.btn--ghost { background: rgba(255,255,255,0.6); color: var(--dark); border-color: rgba(44,36,32,0.35); }
.btn--ghost:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.btn--dark { background: var(--dark); color: var(--cream); }
.btn--dark:hover { background: var(--gold); color: var(--dark); }
.btn--block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { font-family: var(--serif); font-size: 3rem; color: var(--gold); letter-spacing: 0.1em; }
.preloader__line { width: 160px; height: 1px; background: rgba(255,255,255,0.15); overflow: hidden; }
.preloader__line span { display: block; height: 100%; width: 0; background: var(--gold); animation: load 1.4s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep)); z-index: 1000; transition: width .1s linear;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding-block: 1.5rem;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.82); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line); padding-block: 0.9rem;
}
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__monogram {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--gold);
  border: 1px solid var(--gold); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 2px;
}
.nav__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.04em; color: var(--dark); }
.nav.is-scrolled .nav__name { color: var(--dark); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--dark); position: relative;
  display: inline-flex; align-items: center; min-height: 44px; opacity: 1;
}
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: 8px; width: 0; height: 1px; background: var(--gold); transition: width .4s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark); border: 1px solid var(--gold); padding: 0.7rem 1.3rem; border-radius: 2px; transition: background .4s var(--ease), color .4s var(--ease); }
.nav__cta:hover { background: var(--gold); color: #fff; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }

/* hero state: nav transparent over dark hero */
.nav:not(.is-scrolled) .nav__name,
.nav:not(.is-scrolled) .nav__links a { color: var(--dark); }
.nav:not(.is-scrolled) .nav__cta { color: var(--dark); border-color: var(--gold); }
.nav:not(.is-scrolled) .nav__toggle span { background: var(--dark); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #FCE9DC 0%, #FBE6EC 9%, #F3EAF6 19%, #F4F8FC 32%, #FFFFFF 46%, var(--beige) 72%, var(--cream) 100%); }
.hero__bg {
  position: absolute; inset: -10% 0 0 0; z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.05) 30%, rgba(250,247,243,0.15) 70%, rgba(250,247,243,0.96) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.80) 34%, rgba(255,255,255,0.32) 64%, rgba(255,255,255,0.12) 100%),
    url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?q=85&w=2400&auto=format&fit=crop');
  background-size: cover; background-position: center 30%;
  filter: saturate(1.12) contrast(1.05);
  transform: scale(1.04);
}
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 78% 35%, rgba(201,169,110,0.14), transparent 55%), radial-gradient(60% 34% at 18% 0%, rgba(247,179,140,0.22), transparent 66%), radial-gradient(58% 32% at 82% 2%, rgba(240,170,190,0.20), transparent 66%), radial-gradient(70% 40% at 50% 0%, rgba(150,185,214,0.14), transparent 70%); }
.hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad);
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; padding-top: 6rem; padding-bottom: 4rem;
}
.hero__eyebrow { color: var(--gold-deep); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.74rem; font-weight: 500; margin-bottom: 1.4rem; }
.hero__title { font-size: clamp(3rem, 8vw, 6.5rem); color: var(--dark); font-weight: 600; line-height: 0.98; }
.hero__subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 3vw, 2rem); color: var(--text); margin-top: 0.6rem; font-weight: 500; }
.hero__role { margin-top: 0.7rem; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 0.6rem; }
.hero__role::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.hero__services { display: flex; flex-wrap: wrap; gap: 0.6rem 0.5rem; margin-top: 2rem; }
.hero__services li {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text);
  background: rgba(255,255,255,0.85); border: 1px solid rgba(44,36,32,0.14); padding: 0.5rem 1rem; border-radius: 40px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* portrait + glass cards */
.hero__portrait { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero__portrait-frame { position: relative; }
.hero__portrait-frame img {
  width: 100%; filter: drop-shadow(0 30px 45px rgba(44,36,32,0.35)); position: relative; z-index: 2;
}
.hero__portrait-frame img.is-fallback { background: linear-gradient(160deg, #5985AE, #4B76A0); min-height: 480px; border-radius: 6px; }
/* Clean portrait in front of the skyline — no panel; subtle gold keyline only */
.hero__portrait-frame::after {
  content: ''; position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%);
  width: 82%; height: 80%; border: 1px solid rgba(201,169,110,0.4); border-radius: 4px; z-index: 1;
}

.glass-card {
  position: absolute; z-index: 3; background: rgba(255,255,255,0.88); backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(44,36,32,0.10); border-radius: 10px; padding: 1rem 1.3rem; min-width: 130px;
  box-shadow: 0 20px 45px -22px rgba(44,36,32,0.35); display: flex; flex-direction: column; gap: 0.15rem;
}
.glass-card__value { font-family: var(--serif); font-size: 1.55rem; color: var(--dark); font-weight: 700; }
.glass-card__label { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.glass-card--a { top: 12%; left: -8%; }
.glass-card--b { bottom: 22%; right: -10%; }
.glass-card--c { bottom: -3%; left: 4%; }

.float { animation: float 7.5s ease-in-out infinite; }
.glass-card--b { animation-delay: -2s; }
.glass-card--c { animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--soft); }
.hero__scroll span:first-child { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 50px; background: linear-gradient(rgba(44,36,32,0.5), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold); animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { to { top: 100%; } }

/* ============ TRUST BAR ============ */
.trust { background: var(--dark-2); padding-block: 2.5rem; overflow: hidden; }
.trust__label { text-align: center; color: rgba(244,239,232,0.72); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.6rem; }
.trust__marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.trust__track { display: flex; gap: 4rem; width: max-content; animation: marquee 32s linear infinite; }
.trust:hover .trust__track { animation-play-state: paused; }
.trust__track span { font-family: var(--serif); font-size: 1.7rem; color: rgba(244,239,232,0.78); letter-spacing: 0.04em; white-space: nowrap; transition: color .4s; }
.trust__track span:hover { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ ABOUT ============ */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__visual { position: relative; }
.about__img-frame { position: relative; border-radius: 6px; overflow: hidden; background: var(--cream); }
.about__img-frame::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(29,26,23,0.06)); z-index: 1; }
.about__img-frame img { width: 100%; }
.about__img-frame img.is-fallback { min-height: 520px; }
.about__badge {
  position: absolute; right: -1.2rem; bottom: 2rem; background: var(--dark); color: var(--cream);
  padding: 1.2rem 1.6rem; border-radius: 4px; text-align: center; box-shadow: 0 24px 50px -18px rgba(0,0,0,0.4); z-index: 2;
}
.about__badge span { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--gold); font-weight: 600; }
.about__badge small { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244,239,232,0.7); }
.about__lead { font-size: 1.25rem; line-height: 1.6; color: var(--text); margin-bottom: 1.3rem; font-weight: 400; }
.about__text { color: var(--soft); margin-bottom: 2rem; }
.about__highlights { display: grid; gap: 0.2rem; margin-bottom: 2.4rem; }
.about__highlights li { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.about__hi-num { font-family: var(--serif); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.05em; min-width: 28px; }

/* ============ SERVICES ============ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 2.5rem 2rem 2.2rem;
  position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .5s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(44,36,32,0.25); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-card__index { font-family: var(--serif); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.1em; }
.service-card h3 { font-size: 1.5rem; margin: 0.8rem 0 0.7rem; }
.service-card p { color: var(--soft); font-size: 0.95rem; }

/* ============ MARKET INTELLIGENCE ============ */
.intel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.intel-card { background: var(--white); padding: 2.4rem 2rem; transition: background .5s var(--ease), transform .5s var(--ease); position: relative; }
.intel-card::after { content: '\2192'; position: absolute; top: 2.4rem; right: 2rem; color: var(--gold); opacity: 0; transform: translateX(-8px); transition: all .5s var(--ease); font-size: 1.2rem; }
.intel-card:hover { background: var(--cream); }
.intel-card:hover::after { opacity: 1; transform: translateX(0); }
.intel-card h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.intel-card p { color: var(--soft); font-size: 0.95rem; }

/* ============ PORTFOLIO MANAGEMENT (DARK) ============ */
.pm { overflow: hidden; }
.pm__glow { position: absolute; top: -20%; right: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(201,169,110,0.12), transparent 65%); pointer-events: none; }
.pm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; position: relative; }
.pm__title { font-size: clamp(3rem, 8vw, 5.5rem); color: #fff; line-height: 0.95; }
.pm__title span { display: block; overflow: hidden; }
.pm__title span:nth-child(2) { color: var(--gold); padding-left: 0.6em; }
.pm__title span:nth-child(3) { padding-left: 1.2em; }
.pm__lead { margin-top: 2rem; color: rgba(244,239,232,0.88); font-size: 1.1rem; max-width: 46ch; }
.pm__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: 6px; overflow: hidden; }
.pm__item { background: var(--dark); padding: 1.8rem 1.6rem; transition: background .5s var(--ease); }
.pm__item:hover { background: var(--dark-2); }
.pm__item h3 { font-size: 1.3rem; color: #fff; margin-bottom: 0.4rem; }
.pm__item h3::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; margin-right: 0.6rem; vertical-align: middle; }
.pm__item p { font-size: 0.9rem; color: rgba(244,239,232,0.8); }

/* ============ PROCESS ============ */
.process__timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 2rem; }
.process__timeline::before { content: ''; position: absolute; top: 2rem; left: 0; right: 0; height: 1px; background: var(--line); }
.process__progress { position: absolute; top: 2rem; left: 0; height: 1px; background: var(--gold); width: 12.5%; transition: width .6s var(--ease); z-index: 1; }
.process-step { background: none; border: none; text-align: left; cursor: pointer; padding-top: 3rem; position: relative; font-family: inherit; }
.process-step::before {
  content: ''; position: absolute; top: calc(2rem - 6px); left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--beige); border: 1px solid var(--soft); transition: all .5s var(--ease); z-index: 2;
}
.process-step.is-active::before, .process-step:hover::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(201,169,110,0.18); }
.process-step__num { font-family: var(--serif); font-size: 2.4rem; color: var(--line); transition: color .5s var(--ease); display: block; line-height: 1; }
.process-step.is-active .process-step__num { color: var(--gold); }
.process-step h3 { font-size: 1.4rem; margin: 0.6rem 0 0.5rem; transition: color .4s; }
.process-step p { color: var(--soft); font-size: 0.92rem; transition: opacity .5s; }
.process-step:not(.is-active) p { opacity: 0.55; }

/* ============ DEVELOPER EXPERTISE ============ */
.devs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.dev-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 2.2rem 2rem;
  cursor: pointer; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  perspective: 1000px;
}
.dev-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(44,36,32,0.28); }
.dev-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.dev-card__name { font-family: var(--serif); font-size: 1.8rem; color: var(--text); }
.dev-card__pos { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.dev-card__body { margin-top: 1rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .5s var(--ease); }
.dev-card.is-open .dev-card__body { max-height: 400px; opacity: 1; margin-top: 1.4rem; }
.dev-card__row { padding: 0.7rem 0; border-top: 1px solid var(--line); }
.dev-card__row b { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); margin-bottom: 0.2rem; }
.dev-card__row span { font-size: 0.95rem; color: var(--text); }
.dev-card__toggle { margin-top: 1.2rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 0.4rem; }
.dev-card__toggle::after { content: '+'; font-size: 1.1rem; transition: transform .4s; }
.dev-card.is-open .dev-card__toggle::after { transform: rotate(45deg); }

/* ============ TRUSTED (DARK) ============ */
.trusted__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; text-align: center; }
.stat { padding: 2rem 1rem; border: 1px solid var(--line-light); border-radius: 6px; transition: background .5s; }
.stat:hover { background: var(--dark-2); }
.stat__value { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--gold); font-weight: 600; line-height: 1.1; }
.stat__value--text { font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: #fff; }
.stat__label { display: block; margin-top: 0.6rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,239,232,0.82); }

/* ============ CONSULTATION ============ */
.consult__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.consult__lead { color: var(--soft); margin-top: 1.2rem; font-size: 1.05rem; }
.consult__portrait { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.consult__portrait img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top center; background: var(--cream); }
.consult__portrait img.is-fallback { min-height: 64px; }
.consult__portrait strong { font-family: var(--serif); font-size: 1.25rem; display: block; }
.consult__portrait span { font-size: 0.78rem; color: var(--soft); letter-spacing: 0.05em; }
.consult__channels { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.consult__channels a { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.7rem 1.2rem; border: 1px solid var(--line); border-radius: 40px; transition: all .4s var(--ease); }
.consult__channels a:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }

.consult__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; background: var(--white); padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(44,36,32,0.3); }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.95rem; color: var(--text); background: var(--beige);
  border: 1px solid transparent; border-bottom: 1px solid var(--line); border-radius: 4px; padding: 1.4rem 1rem 0.6rem; transition: border-color .4s, background .4s; resize: none;
}
.field textarea { padding-top: 1.6rem; }
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--cream); }
.field label { position: absolute; left: 1rem; top: 1.05rem; font-size: 0.95rem; color: var(--soft); pointer-events: none; transition: all .3s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label {
  top: 0.45rem; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep);
}
.consult__note { grid-column: 1 / -1; text-align: center; font-size: 0.78rem; color: var(--soft); margin-top: -0.4rem; }
.consult__form.is-sent { text-align: center; place-items: center; }

/* ============ FOOTER ============ */
.footer { background: var(--dark); color: rgba(244,239,232,0.85); padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__monogram { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); border: 1px solid var(--gold); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 2px; margin-bottom: 1.2rem; }
.footer__brand h3 { font-size: 1.8rem; color: #fff; }
.footer__role { color: var(--gold); font-size: 0.95rem; letter-spacing: 0.05em; margin-top: 0.2rem; }
.footer__tag { font-size: 0.8rem; letter-spacing: 0.06em; margin-top: 0.8rem; color: rgba(244,239,232,0.75); }
.footer__col h4 { font-family: var(--sans); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer__col p, .footer__col a { display: block; font-size: 0.92rem; margin-bottom: 0.5rem; transition: color .3s; }
.footer__col a:hover { color: var(--gold); }
.footer__bar { border-top: 1px solid var(--line-light); padding-block: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); font-size: 0.74rem; letter-spacing: 0.08em; color: rgba(244,239,232,0.45); }

/* ============ FLOATING WHATSAPP ============ */
.fab {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 800; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 36px -8px rgba(37,211,102,0.6);
  transition: transform .4s var(--ease); animation: fabpulse 2.6s infinite;
}
.fab:hover { transform: scale(1.1); }
@keyframes fabpulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ MOBILE MENU PANEL ============ */
.nav__links.is-open { display: flex; }

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

/* ============================================================
   RESPONSIVE — mobile-first luxury experience
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__portrait { order: -1; max-width: 300px; }
  .glass-card--a { left: -4%; } .glass-card--b { right: -4%; } .glass-card--c { left: 0; }
  .about__grid, .pm__grid, .consult__grid { grid-template-columns: 1fr; }
  .services__grid, .intel__grid, .devs__grid { grid-template-columns: repeat(2, 1fr); }
  .trusted__grid { grid-template-columns: repeat(2, 1fr); }
  .about__visual { max-width: 460px; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); background: var(--dark);
    flex-direction: column; justify-content: center; gap: 1.6rem; padding: 3rem; transform: translateX(100%);
    transition: transform .6s var(--ease); display: flex; z-index: 950;
  }
  .nav__links.is-open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,0.4); }
  .nav__links a { color: #fff !important; font-size: 1rem; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; z-index: 960; }
  .nav.is-menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
  .nav.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }

  .hero { min-height: auto; padding-block: 7rem 3rem; }
  .hero__inner { padding-top: 1rem; text-align: center; }
  .hero__eyebrow { font-size: 0.66rem; }
  .hero__services { justify-content: center; }
  .hero__cta { justify-content: center; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__portrait { max-width: 250px; margin-inline: auto; }
  .glass-card { padding: 0.7rem 0.9rem; min-width: 104px; }
  .glass-card__value { font-size: 1.2rem; }
  .glass-card--a { top: 6%; left: -6%; } .glass-card--b { bottom: 14%; right: -6%; } .glass-card--c { display: none; }
  .hero__scroll { display: none; }

  .services__grid, .intel__grid, .devs__grid, .trusted__grid, .pm__list, .consult__form { grid-template-columns: 1fr; }
  .process__timeline { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .process__timeline::before { left: 6px; top: 0; bottom: 0; width: 1px; height: auto; right: auto; }
  .process__progress { display: none; }
  .process-step { padding: 1.4rem 0 1.4rem 2.4rem; }
  .process-step::before { top: 1.9rem; left: 0; }
  .process-step:not(.is-active) p { opacity: 0.75; }

  .about__badge { right: 0.5rem; bottom: 0.5rem; padding: 0.9rem 1.2rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bar { flex-direction: column; }
  .intel__grid { gap: 1px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 2.7rem; }
  .glass-card--a { left: 0; top: 2%; } .glass-card--b { right: 0; bottom: 8%; }
}

/* ============================================================
   v2 — MODERN UPGRADE LAYER
   Richer depth, lighting, grain, FAQ, refined micro-interactions
   ============================================================ */

/* Smoother base rhythm + modern font features */
body { font-feature-settings: "ss01","kern","liga"; letter-spacing: 0.005em; }
h1, h2, h3 { font-feature-settings: "ss01","dlig"; }

/* Refined elevation tokens */
:root {
  --shadow-sm: 0 4px 14px -6px rgba(44,36,32,0.14);
  --shadow-md: 0 20px 50px -28px rgba(44,36,32,0.30);
  --shadow-lg: 0 40px 90px -50px rgba(29,26,23,0.45);
  --radius: 14px;
}

/* Editorial film grain — subtle premium texture over the whole page */
.grain {
  position: fixed; inset: 0; z-index: 700; pointer-events: none; opacity: 0.4; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { .grain { display: none; } }

/* HERO — layered gradient mesh so it looks premium even before the photo loads */
/* v2 hero base now light (see hero rule above) */
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 80% 20%, rgba(201,169,110,0.16), transparent 60%),
    radial-gradient(45% 45% at 10% 90%, rgba(201,169,110,0.08), transparent 60%);
}
.hero__title { color: var(--dark); }
.hero__eyebrow::before {
  content: ''; display: inline-block; width: 34px; height: 1px; background: var(--gold);
  vertical-align: middle; margin-right: 0.8rem; transform: translateY(-3px);
}

/* Glassier, deeper floating stat cards */
.glass-card { border-radius: var(--radius); }

/* Buttons — modern sheen sweep */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease);
}
.btn:hover::after { left: 140%; }
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,0.18), transparent); }

/* Cards — unified modern radius, depth and gold edge-glow on hover */
.service-card, .dev-card, .intel-card, .stat { border-radius: var(--radius); }
.service-card, .dev-card { box-shadow: var(--shadow-sm); }
.service-card:hover, .dev-card:hover { box-shadow: var(--shadow-md), 0 0 0 1px rgba(201,169,110,0.35); }
.service-card__index { display:inline-flex; width: 44px; height: 44px; align-items:center; justify-content:center; border:1px solid var(--line); border-radius: 50%; }
.service-card:hover .service-card__index { border-color: var(--gold); color: var(--gold-deep); }

/* Section headings get a refined kicker line */
.section__title { position: relative; }

/* Trust marquee — softer, modern weight */
.trust__track span { font-weight: 500; }

/* Portfolio dark section — add depth grid */
.pm.section--dark, .trusted.section--dark, .footer {
  background-image:
    radial-gradient(60% 80% at 80% 0%, rgba(201,169,110,0.10), transparent 60%),
    linear-gradient(180deg, #4B76A0, #3F668C);
}

/* ============ FAQ (modern accordion) ============ */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem,6vw,5rem); align-items: start; }
.faq__list { display: grid; gap: 0.9rem; }
.faq__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-md); border-color: rgba(201,169,110,0.4); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.3rem 0; font-family: var(--serif); font-size: 1.35rem;
  color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold-deep);
  transition: transform .4s var(--ease); flex: 0 0 auto;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--soft); padding: 0 0 1.4rem; font-size: 0.98rem; max-width: 60ch; }

/* ============ Back to top ============ */
.to-top {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 790; width: 48px; height: 48px; border-radius: 50%;
  background: var(--dark); color: var(--cream); border: 1px solid rgba(255,255,255,0.15); cursor: pointer;
  display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .4s; box-shadow: var(--shadow-md);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--dark); }
/* lift the WhatsApp FAB so the two don't overlap */
.fab { bottom: 5.4rem; }

/* Modern focus + selection refinements */
.faq__item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 768px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__item summary { font-size: 1.15rem; }
  .to-top { width: 44px; height: 44px; bottom: 1.2rem; }
  .fab { bottom: 4.6rem; }
}

/* ============================================================
   v3 — LIVING LAYER
   Breathing light, live status, rotator, tilt, gold dust
   ============================================================ */

/* Hero light slowly "breathes" */
@keyframes breathe { 0%,100% { opacity: 0.6; } 50% { opacity: 0.95; } }
.hero__overlay { animation: breathe 9s ease-in-out infinite; }

/* Portrait gold frame shimmers gently */
@keyframes frame-glow {
  0%,100% { border-color: rgba(201,169,110,0.45); box-shadow: 0 0 0 rgba(201,169,110,0); }
  50% { border-color: rgba(201,169,110,0.85); box-shadow: 0 0 36px rgba(201,169,110,0.18); }
}
.hero__portrait-frame::after { animation: frame-glow 7s ease-in-out infinite; }

/* Rotating advisory word */
.hero__rotator { margin-top: 1.6rem; font-size: 0.9rem; color: var(--soft); letter-spacing: 0.04em; }
.hero__rotator-word {
  display: inline-block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-deep);
  border-bottom: 1px solid rgba(201,169,110,0.45); padding-bottom: 1px; min-width: 13ch;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.hero__rotator-word.is-out { opacity: 0; transform: translateY(8px); }

/* Live availability status */
.hero__status { margin-top: 1.4rem; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); display: flex; align-items: center; gap: 0.6rem; }
.hero__status-dot { width: 9px; height: 9px; border-radius: 50%; background: #58c08a; position: relative; flex: 0 0 auto; }
.hero__status-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #58c08a; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* Section titles draw a gold underline when revealed */
.section__title::after {
  content: ''; display: block; width: 0; height: 2px; margin-top: 1.1rem;
  background: linear-gradient(90deg, var(--gold), transparent); transition: width 1.1s var(--ease) .25s;
}
.section__title.is-in::after { width: 84px; }
.section__head--center .section__title::after { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* 3D tilt-ready cards */
.service-card, .dev-card, .intel-card { transform-style: preserve-3d; }
.tilting { transition: none !important; }

/* Gold dust canvas in dark portfolio section */
.pm__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.85; }
.pm .container { position: relative; z-index: 1; }

/* Trust bar gets a soft sheen passing through */
@keyframes trust-sheen { 0% { transform: translateX(-100%);} 100% { transform: translateX(220%);} }
.trust { position: relative; overflow: hidden; }
.trust::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(201,169,110,0.06), transparent);
  animation: trust-sheen 7s linear infinite; pointer-events: none;
}

/* Scroll-cue arrow on mobile hero CTA pulse */
@keyframes cta-pulse { 0%,100% { box-shadow: 0 10px 30px -10px rgba(201,169,110,0.6);} 50% { box-shadow: 0 14px 44px -8px rgba(201,169,110,0.85);} }
.hero__cta .btn--gold { animation: cta-pulse 3.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero__overlay, .hero__portrait-frame::after, .hero__status-dot::after,
  .trust::after, .hero__cta .btn--gold { animation: none !important; }
  .section__title::after { width: 84px; transition: none; }
}

/* Light hero: no text shadows needed — dark on light is crystal clear */

/* Services: centre a lone last card in the 3-column grid */
@media (min-width: 1025px) { .service-card:nth-child(3n+1):last-child { grid-column: 2; } }


/* Cinematic living skyline — slow 3D-feel zoom drift */
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .hero__bg { animation: none; } }

/* ============================================================
   v4 — LIVING 3D MOTION
   Cards & blocks rise and rotate into place as they scroll in.
   Professional, simple, reduced-motion safe.
   ============================================================ */
.service-card.reveal, .intel-card.reveal, .dev-card.reveal,
.pm__item.reveal, .stat.reveal, .faq__item.reveal,
.process-step.reveal, .about__highlights li.reveal {
  opacity: 0;
  transform: perspective(1100px) rotateX(12deg) translateY(46px);
  transform-origin: 50% 100%;
  transition: opacity .9s var(--ease), transform 1s var(--ease);
}
.service-card.reveal.is-in, .intel-card.reveal.is-in, .dev-card.reveal.is-in,
.pm__item.reveal.is-in, .stat.reveal.is-in, .faq__item.reveal.is-in,
.process-step.reveal.is-in, .about__highlights li.reveal.is-in {
  opacity: 1;
  transform: perspective(1100px) rotateX(0) translateY(0);
}

/* Section visuals gain a gentle depth lift on enter */
.about__visual.reveal, .consult__form.reveal {
  opacity: 0; transform: perspective(1200px) rotateY(7deg) translateY(40px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.about__visual.reveal.is-in, .consult__form.reveal.is-in {
  opacity: 1; transform: perspective(1200px) rotateY(0) translateY(0);
}

/* Continuous, very subtle float on portrait frame & badges = "alive" */
@keyframes float-soft { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-7px);} }
.about__badge { animation: float-soft 6s ease-in-out infinite; }

/* Service index medallion rotates subtly in 3D on hover */
.service-card { perspective: 800px; }
.service-card:hover .service-card__index { transform: rotateY(180deg); transition: transform .7s var(--ease); }
.service-card__index { transition: transform .7s var(--ease), border-color .4s, color .4s; transform-style: preserve-3d; }

@media (prefers-reduced-motion: reduce) {
  .service-card.reveal, .intel-card.reveal, .dev-card.reveal,
  .pm__item.reveal, .stat.reveal, .faq__item.reveal,
  .process-step.reveal, .about__highlights li.reveal,
  .about__visual.reveal, .consult__form.reveal { transform: none !important; opacity: 1 !important; }
  .about__badge { animation: none; }
}

/* ============================================================
   v5 — LUXURY PROPERTY BACKDROPS
   Subtle villa/pool imagery behind spacious sections.
   Strong overlays keep every word crystal clear.
   ============================================================ */

/* Portfolio Management (navy) — luxury pool villa at dusk */
.pm.section--dark {
  background-image:
    linear-gradient(180deg, rgba(49,83,111,0.90) 0%, rgba(40,69,93,0.93) 100%),
    url('https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?q=80&w=2000&auto=format&fit=crop');
  background-size: cover; background-position: center; background-attachment: fixed;
}

/* Trusted by Investors (navy) — modern luxury villa */
.trusted.section--dark {
  background-image:
    linear-gradient(180deg, rgba(49,83,111,0.91) 0%, rgba(40,69,93,0.94) 100%),
    url('https://images.unsplash.com/photo-1613977257363-707ba9348227?q=80&w=2000&auto=format&fit=crop');
  background-size: cover; background-position: center; background-attachment: fixed;
}

/* Consultation (light) — luxury residence, barely there */
.consult.section--beige {
  background-image:
    linear-gradient(180deg, rgba(250,247,243,0.93) 0%, rgba(244,239,232,0.96) 100%),
    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?q=80&w=2000&auto=format&fit=crop');
  background-size: cover; background-position: center; background-attachment: fixed;
}

/* Services (beige) — soft architectural texture */
.services.section--beige {
  background-image:
    linear-gradient(180deg, rgba(250,247,243,0.95) 0%, rgba(244,239,232,0.97) 100%),
    url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=2000&auto=format&fit=crop');
  background-size: cover; background-position: center; background-attachment: fixed;
}

/* Mobile: drop fixed attachment (iOS perf) */
@media (max-width: 900px) {
  .pm.section--dark, .trusted.section--dark, .consult.section--beige, .services.section--beige {
    background-attachment: scroll;
  }
}

/* ============================================================
   v6 — EXTENDED 3D LAYER
   Richer depth, professional and simple. Reduced-motion safe.
   ============================================================ */

/* Whole hero reacts to pointer for parallax depth (set via JS vars) */
.hero__inner { transform-style: preserve-3d; }
.hero__portrait { transition: transform .3s var(--ease); transform-style: preserve-3d; }
.hero__portrait-frame img { transform: translateZ(40px); }
.glass-card { transition: transform .3s var(--ease), box-shadow .4s var(--ease); }

/* Developer cards flip to reveal thesis in 3D */
.dev-card { transform-style: preserve-3d; }
.dev-card__name { display: inline-block; transition: transform .5s var(--ease); transform-style: preserve-3d; }
.dev-card:hover .dev-card__name { transform: translateZ(26px); }
.dev-card__pos { display: inline-block; transition: transform .5s var(--ease); }
.dev-card:hover .dev-card__pos { transform: translateZ(16px); }

/* Process steps lift in depth as the active one advances */
.process-step { transition: transform .6s var(--ease); transform-style: preserve-3d; }
.process-step.is-active { transform: translateZ(0) translateY(-8px) scale(1.015); }
.process-step.is-active .process-step__num { text-shadow: 0 14px 30px rgba(49,83,111,0.22); }

/* Stat cards get a glossy 3D plate feel + gentle entrance rotate */
.stat { transition: transform .5s var(--ease), background .5s, box-shadow .5s var(--ease); transform-style: preserve-3d; }
.stat:hover { transform: translateY(-6px) rotateX(6deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5); }

/* Section titles: gold word "lifts" forward */
.section__title { transform-style: preserve-3d; }

/* Animated gradient divider between major bands */
.band-divider { height: 2px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); background-size: 200% 100%; animation: shimmer-line 6s linear infinite; opacity: .5; }
@keyframes shimmer-line { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Floating WhatsApp + back-to-top gain subtle 3D press */
.fab, .to-top { transition: transform .35s var(--ease), background .4s, box-shadow .4s; }
.fab:active, .to-top:active { transform: scale(0.92) translateZ(0); }

@media (prefers-reduced-motion: reduce) {
  .hero__portrait, .hero__portrait-frame img, .glass-card,
  .dev-card__name, .dev-card__pos, .process-step, .stat { transform: none !important; transition: none !important; }
  .band-divider { animation: none; }
}

/* ============================================================
   v7 — CLEARER PROPERTY BACKDROPS + MORE LIVE MOTION
   ============================================================ */

/* --- Backgrounds made clearer (lighter overlays, sharper images) --- */
/* Navy sections: villa shows through more, white text still safe */
.pm.section--dark {
  background-image:
    linear-gradient(180deg, rgba(49,83,111,0.78) 0%, rgba(40,69,93,0.84) 100%),
    url('https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?q=85&w=2400&auto=format&fit=crop');
}
.trusted.section--dark {
  background-image:
    linear-gradient(180deg, rgba(49,83,111,0.80) 0%, rgba(40,69,93,0.86) 100%),
    url('https://images.unsplash.com/photo-1613977257363-707ba9348227?q=85&w=2400&auto=format&fit=crop');
}
/* Card sections: cards are solid, so let the photo breathe */
.services.section--beige {
  background-image:
    linear-gradient(180deg, rgba(250,247,243,0.72) 0%, rgba(244,239,232,0.80) 100%),
    url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=85&w=2400&auto=format&fit=crop');
}
.consult.section--beige {
  background-image:
    linear-gradient(180deg, rgba(250,247,243,0.82) 0%, rgba(244,239,232,0.90) 100%),
    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?q=85&w=2400&auto=format&fit=crop');
}

/* --- New backdrops on previously plain lower sections --- */
.intel.section {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.80) 0%, rgba(255,255,255,0.86) 100%),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=85&w=2400&auto=format&fit=crop');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.devs.section {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.88) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=85&w=2400&auto=format&fit=crop');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.process.section--beige {
  background-image:
    linear-gradient(180deg, rgba(250,247,243,0.84) 0%, rgba(244,239,232,0.90) 100%),
    url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?q=85&w=2400&auto=format&fit=crop');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.faq.section {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.92) 100%),
    url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?q=85&w=2400&auto=format&fit=crop');
  background-size: cover; background-position: center; background-attachment: fixed;
}
@media (max-width: 900px) {
  .intel.section, .devs.section, .process.section--beige, .faq.section { background-attachment: scroll; }
}

/* --- MORE LIVE MOTION --- */

/* Portfolio glow now drifts + pulses (alive) */
.pm__glow { animation: glow-drift 14s ease-in-out infinite alternate; }
@keyframes glow-drift {
  0%   { transform: translate3d(0,0,0) scale(1);   opacity: .8; }
  100% { transform: translate3d(-6%, 6%, 0) scale(1.25); opacity: 1; }
}

/* Floating gold orbs in the navy sections */
.pm.section--dark::after, .trusted.section--dark::after {
  content: ''; position: absolute; width: 38vw; height: 38vw; max-width: 460px; max-height: 460px;
  left: -8%; bottom: -12%; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(201,169,110,0.16), transparent 65%);
  animation: orb-float 12s ease-in-out infinite;
}
.trusted.section--dark::after { left: auto; right: -8%; top: -12%; bottom: auto; animation-delay: -5s; }
@keyframes orb-float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-26px) scale(1.08); } }
.pm .container, .trusted .container { position: relative; z-index: 2; }

/* Card sections: animated soft sheen sweeping across the section */
.services.section--beige, .intel.section, .devs.section { position: relative; overflow: hidden; }
.services.section--beige::after, .intel.section::after, .devs.section::after {
  content: ''; position: absolute; top: -50%; left: -60%; width: 50%; height: 200%;
  background: linear-gradient(100deg, transparent, rgba(201,169,110,0.07), transparent);
  transform: skewX(-16deg); animation: sec-sheen 9s linear infinite; pointer-events: none; z-index: 0;
}
@keyframes sec-sheen { 0% { left: -60%; } 100% { left: 160%; } }
.services .container, .intel .container, .devs .container { position: relative; z-index: 1; }

/* Eyebrow gold dot pulses on every section */
.eyebrow::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: 0.7rem; vertical-align: middle; animation: dot-pulse 2.4s ease-in-out infinite; }
@keyframes dot-pulse { 0%,100% { opacity: .4; transform: scale(0.8);} 50% { opacity: 1; transform: scale(1.25);} }

/* Trust marquee a touch livelier */
.trust__track { animation-duration: 26s; }

@media (prefers-reduced-motion: reduce) {
  .pm__glow, .pm.section--dark::after, .trusted.section--dark::after,
  .services.section--beige::after, .intel.section::after, .devs.section::after,
  .eyebrow::after { animation: none !important; }
}

/* ============================================================
   v8 — LUXURY BACKDROP IN WHITE SECTIONS
   ============================================================ */
.about.section {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.90) 100%),
    url('https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?q=85&w=2400&auto=format&fit=crop');
  background-size: cover; background-position: center; background-attachment: fixed;
  position: relative; overflow: hidden;
}
.about.section::after {
  content: ''; position: absolute; top: -50%; right: -60%; width: 50%; height: 200%;
  background: linear-gradient(100deg, transparent, rgba(201,169,110,0.06), transparent);
  transform: skewX(-16deg); animation: sec-sheen 11s linear infinite; pointer-events: none; z-index: 0;
}
.about .container { position: relative; z-index: 1; }

/* Hero keeps skyline; give the very base a faint residence whisper */
@media (max-width: 900px) { .about.section { background-attachment: scroll; } }

/* ============================================================
   v9 — DUBAI STYLE, SIMPLER & HARMONIOUS
   Replace western imagery with Dubai modern architecture,
   calmer overlays, less visual noise.
   ============================================================ */

/* Navy sections — Dubai skyline depth */
.pm.section--dark {
  background-image:
    linear-gradient(180deg, rgba(75,118,160,0.78) 0%, rgba(63,102,140,0.84) 100%),
    url('https://images.unsplash.com/photo-1528702748617-c64d49f918af?q=85&w=2400&auto=format&fit=crop');
}
.trusted.section--dark {
  background-image:
    linear-gradient(180deg, rgba(75,118,160,0.80) 0%, rgba(63,102,140,0.86) 100%),
    url('https://images.unsplash.com/photo-1518684079-3c830dcef090?q=85&w=2400&auto=format&fit=crop');
}

/* Light sections — Dubai modern villas & interiors, calm & airy */
.about.section {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.90) 0%, rgba(255,255,255,0.93) 100%),
    url('https://images.unsplash.com/photo-1518684079-3c830dcef090?q=85&w=2400&auto=format&fit=crop');
}
.services.section--beige {
  background-image:
    linear-gradient(180deg, rgba(250,247,243,0.86) 0%, rgba(244,239,232,0.90) 100%),
    url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?q=85&w=2400&auto=format&fit=crop');
}
.intel.section {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.92) 100%),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=85&w=2400&auto=format&fit=crop');
}
.devs.section {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.92) 100%),
    url('https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?q=85&w=2400&auto=format&fit=crop');
}
.process.section--beige {
  background-image:
    linear-gradient(180deg, rgba(250,247,243,0.88) 0%, rgba(244,239,232,0.92) 100%),
    url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?q=85&w=2400&auto=format&fit=crop');
}
.faq.section {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.90) 0%, rgba(255,255,255,0.93) 100%),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=85&w=2400&auto=format&fit=crop');
}
.consult.section--beige {
  background-image:
    linear-gradient(180deg, rgba(250,247,243,0.86) 0%, rgba(244,239,232,0.91) 100%),
    url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?q=85&w=2400&auto=format&fit=crop');
}

/* --- Simpler: remove the busy sheen sweeps & pulsing dots --- */
.services.section--beige::after, .intel.section::after,
.devs.section::after, .about.section::after { content: none !important; }
.eyebrow::after { display: none !important; }

/* Calmer single floating orb (keep one, drop the second) */
.trusted.section--dark::after { display: none; }
