:root {
  --bg: #0f0b06;
  --bg-2: #1b1208;
  --cream: #f2dec0;
  --cream-2: #fff4dc;
  --muted: rgba(242, 222, 192, 0.68);
  --gold: #c99a3b;
  --gold-2: #f1c66b;
  --dark: #070503;
  --glass: rgba(255, 255, 255, 0.07);
  --line: rgba(201, 154, 59, 0.22);
  --shadow: 0 40px 120px rgba(0,0,0,0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(201,154,59,0.22), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(255,244,220,0.08), transparent 26%),
    linear-gradient(135deg, #070503 0%, #130d07 48%, #261708 100%);
  color: var(--cream);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(201,154,59,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,154,59,0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 74%);
  pointer-events: none;
  z-index: -2;
}

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

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,154,59,0.16), transparent 67%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.topbar {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 36px));
  height: 74px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: rgba(12, 8, 4, 0.58);
  border: 1px solid var(--line);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(0,0,0,0.28);
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  letter-spacing: .36em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 20px rgba(201,154,59,.12), 0 0 26px rgba(201,154,59,.18);
}

.logo-mark i {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  left: 12px;
  right: 8px;
}

.logo-mark i:nth-child(1) { top: 12px; }
.logo-mark i:nth-child(2) { top: 20px; right: 14px; }
.logo-mark i:nth-child(3) { top: 28px; }

.desktop-nav {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a {
  transition: color .25s ease;
}

.desktop-nav a:hover {
  color: var(--gold-2);
}

.topbar-cta,
.button,
.lead-form button,
.whatsapp-float {
  border: 1px solid rgba(201,154,59,.55);
  background: linear-gradient(135deg, var(--gold), #8c5e14);
  color: #fff5dd;
  padding: 13px 20px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 0 18px 45px rgba(201,154,59,.16);
  transition: transform .25s ease, box-shadow .25s ease;
}

.topbar-cta:hover,
.button:hover,
.lead-form button:hover,
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 65px rgba(201,154,59,.24);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 60px;
  padding: 150px max(28px, calc((100vw - 1180px) / 2)) 80px;
  perspective: 1500px;
  overflow: hidden;
}

.hero-bg-title {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  font-size: clamp(160px, 26vw, 520px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  color: rgba(242,222,192,0.035);
  pointer-events: none;
  white-space: nowrap;
}

.kicker {
  color: var(--gold-2);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 22px;
}

.hero-title,
.section-copy h2,
.contact-card h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero-title {
  font-size: clamp(58px, 7.3vw, 118px);
  line-height: .88;
  margin: 0;
}

.hero-title span {
  display: block;
  color: var(--gold-2);
}

.hero-subtitle {
  color: var(--muted);
  max-width: 650px;
  font-size: 18px;
  line-height: 1.8;
  margin: 30px 0 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
}

.button.ghost {
  background: rgba(255,255,255,0.04);
  color: var(--cream);
  box-shadow: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  transform: translateZ(0);
}

.hero-stats strong {
  display: block;
  color: var(--cream-2);
  margin-bottom: 8px;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-scene-wrap {
  min-height: 650px;
  perspective: 1500px;
}

.hero-scene {
  position: relative;
  height: 650px;
  transform-style: preserve-3d;
  will-change: transform;
}

.scene-card.main-property {
  position: absolute;
  inset: 58px 36px 46px 60px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  transform: translateZ(70px) rotateY(-12deg) rotateX(5deg);
  border: 1px solid rgba(201,154,59,.42);
}

.main-property img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.property-overlay {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  background: rgba(7,5,3,.55);
  border: 1px solid rgba(201,154,59,.28);
  backdrop-filter: blur(18px);
}

.property-overlay span {
  display: block;
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 8px;
}

.property-overlay strong {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 600;
}

.scene-ring {
  position: absolute;
  border: 1px solid rgba(201,154,59,.34);
  border-radius: 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.ring-a {
  width: 560px;
  height: 560px;
  top: 40px;
  left: 40px;
  transform: translateZ(120px) rotateX(68deg) rotateZ(-24deg);
}

.ring-b {
  width: 430px;
  height: 430px;
  top: 128px;
  right: 6px;
  transform: translateZ(170px) rotateX(70deg) rotateZ(28deg);
  border-color: rgba(242,222,192,.22);
}

.ring-c {
  width: 310px;
  height: 310px;
  right: 84px;
  bottom: 64px;
  transform: translateZ(220px) rotateX(62deg) rotateZ(-38deg);
  border-color: rgba(201,154,59,.44);
}

.floating-tile {
  position: absolute;
  z-index: 4;
  width: 210px;
  padding: 20px;
  border: 1px solid rgba(201,154,59,.34);
  background: rgba(15,11,6,.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.26);
}

.floating-tile small {
  display: block;
  color: var(--gold-2);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 10px;
}

.floating-tile strong {
  font-family: "Playfair Display", serif;
  font-size: 25px;
  font-weight: 600;
}

.tile-one {
  left: 6px;
  top: 118px;
  transform: translateZ(250px) rotate(-4deg);
}

.tile-two {
  right: -10px;
  top: 262px;
  transform: translateZ(280px) rotate(5deg);
}

.tile-three {
  left: 58px;
  bottom: 54px;
  transform: translateZ(230px) rotate(3deg);
}

.glass-depth {
  position: absolute;
  border: 1px solid rgba(201,154,59,.18);
  background: rgba(255,255,255,.035);
  border-radius: 34px;
  pointer-events: none;
}

.depth-one {
  inset: 34px 14px 66px 94px;
  transform: translateZ(0px) rotateY(-18deg) rotateX(9deg);
}

.depth-two {
  inset: 88px 90px 20px 8px;
  transform: translateZ(-90px) rotateY(-20deg) rotateX(10deg);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 9px;
  color: rgba(242,222,192,.55);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.scroll-hint span {
  width: 1px;
  height: 44px;
  background: linear-gradient(transparent, var(--gold), transparent);
}

.section {
  position: relative;
  padding: 120px max(28px, calc((100vw - 1180px) / 2));
}

.split-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.section-copy h2 {
  font-size: clamp(44px, 5.2vw, 82px);
  line-height: .95;
  margin: 0;
}

.section-copy.center {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 64px;
}

.depth-text-panel {
  padding: 36px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  box-shadow: 0 34px 100px rgba(0,0,0,.2);
  transform: perspective(900px) rotateY(-7deg) rotateX(4deg);
}

.depth-text-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
  margin: 0 0 22px;
}

.depth-text-panel p:last-child {
  margin-bottom: 0;
}

.projects-section {
  overflow: hidden;
}

.project-showcase {
  position: relative;
  height: 620px;
  perspective: 1600px;
}

.project-slider {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.project-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, 74vw);
  height: 560px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(201,154,59,.42);
  background: #1a1007;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.2,.8,.2,1), opacity .55s ease, filter .55s ease;
}

.project-slide img {
  height: 100%;
  object-fit: cover;
}

.project-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(7,5,3,.82));
}

.slide-content {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 2;
  transform: translateZ(60px);
}

.slide-content span {
  color: var(--gold-2);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

.slide-content h3 {
  margin: 12px 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 4vw, 64px);
  line-height: .95;
  font-weight: 600;
}

.slide-content p {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.slider-btn {
  position: absolute;
  top: 46%;
  z-index: 20;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(201,154,59,.55);
  background: rgba(15,11,6,.62);
  color: var(--gold-2);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform .25s ease, background .25s ease;
}

.slider-btn:hover {
  transform: scale(1.08);
  background: rgba(201,154,59,.18);
}

.slider-btn.prev {
  left: 6%;
}

.slider-btn.next {
  right: 6%;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.slider-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  background: rgba(242,222,192,.22);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.slider-dots button.active {
  width: 58px;
  background: var(--gold-2);
}

.process-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 68px;
  align-items: start;
}

.process-stack {
  display: grid;
  gap: 18px;
  perspective: 1200px;
}

.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  transform-style: preserve-3d;
  box-shadow: 0 24px 75px rgba(0,0,0,.18);
  transition: transform .35s ease, background .35s ease;
}

.process-item:hover {
  transform: translateX(-12px) rotateY(6deg);
  background: rgba(255,255,255,.07);
}

.process-item span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  border: 1px solid rgba(201,154,59,.45);
  font-weight: 900;
}

.process-item h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 31px;
  font-weight: 600;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.areas-3d-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.areas-3d-grid span {
  min-height: 130px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream-2);
  font-weight: 900;
  letter-spacing: .06em;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(201,154,59,.08));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
  transition: transform .35s ease, background .35s ease;
}

.areas-3d-grid span:hover {
  transform: translateY(-14px) rotateX(8deg) rotateY(-8deg);
  background: linear-gradient(135deg, rgba(201,154,59,.16), rgba(255,255,255,.08));
}

.contact-section {
  padding-bottom: 80px;
}

.contact-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding: clamp(28px, 5vw, 70px);
  background:
    radial-gradient(circle at 90% 10%, rgba(201,154,59,.18), transparent 34%),
    rgba(255,255,255,.052);
  border: 1px solid rgba(201,154,59,.32);
  box-shadow: var(--shadow);
  border-radius: 34px;
  transform-style: preserve-3d;
}

.contact-card h2 {
  font-size: clamp(44px, 5vw, 80px);
  line-height: .95;
  margin: 0 0 22px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.lead-form input,
.lead-form select {
  width: 100%;
  border: 1px solid rgba(201,154,59,.25);
  background: rgba(7,5,3,.46);
  color: var(--cream);
  padding: 16px 14px;
  font: inherit;
  outline: none;
}

.lead-form input::placeholder {
  color: rgba(242,222,192,.45);
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--gold-2);
}

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

.lead-form button {
  cursor: pointer;
  min-height: 54px;
}

.footer {
  padding: 34px max(28px, calc((100vw - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  display: block;
  color: var(--cream);
  letter-spacing: .32em;
  margin-bottom: 8px;
}

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

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  border-radius: 999px;
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .hero-section,
  .split-section,
  .process-section,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-scene-wrap {
    min-height: 560px;
  }

  .hero-scene {
    height: 560px;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    top: 12px;
    width: calc(100% - 22px);
  }

  .topbar-cta {
    display: none;
  }

  .logo span:last-child {
    font-size: 14px;
  }

  .hero-section {
    padding: 120px 18px 60px;
  }

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

  .hero-scene-wrap {
    min-height: 470px;
  }

  .hero-scene {
    height: 470px;
  }

  .scene-card.main-property {
    inset: 40px 0 56px;
  }

  .floating-tile {
    width: 165px;
    padding: 14px;
  }

  .tile-one {
    left: 0;
    top: 70px;
  }

  .tile-two {
    right: 0;
    top: 210px;
  }

  .tile-three {
    left: 18px;
    bottom: 16px;
  }

  .ring-a,
  .ring-b,
  .ring-c {
    display: none;
  }

  .section {
    padding: 82px 18px;
  }

  .project-showcase {
    height: 520px;
  }

  .project-slide {
    width: 86vw;
    height: 470px;
  }

  .slider-btn {
    width: 48px;
    height: 48px;
    font-size: 34px;
  }

  .slider-btn.prev {
    left: 0;
  }

  .slider-btn.next {
    right: 0;
  }

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

  .areas-3d-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

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

/* ==========================================================
   EVOLVE V3 — Cream/Gold Theme + 3D Egypt Property Map Hero
   ========================================================== */

:root {
  --bg: #f6ead7;
  --bg-2: #ead4ae;
  --cream: #11100e;
  --cream-2: #2a2117;
  --muted: #665c4e;
  --gold: #a97818;
  --gold-2: #c99a3b;
  --dark: #fff7ea;
  --glass: rgba(255, 255, 255, 0.36);
  --line: rgba(169, 120, 24, 0.32);
  --shadow: 0 38px 110px rgba(111, 75, 8, 0.18);
}

body {
  background:
    radial-gradient(circle at 18% 9%, rgba(255,255,255,0.72), transparent 26%),
    radial-gradient(circle at 80% 0%, rgba(169,120,24,0.14), transparent 28%),
    linear-gradient(135deg, #f8ecd9 0%, #ead4ae 45%, #f4e5cf 100%) !important;
  color: var(--cream);
}

body::before {
  background:
    linear-gradient(rgba(169,120,24,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,120,24,0.045) 1px, transparent 1px) !important;
  background-size: 74px 74px !important;
}

.cursor-glow {
  background: radial-gradient(circle, rgba(169,120,24,0.16), transparent 67%) !important;
}

.topbar {
  background: rgba(246, 234, 215, 0.78) !important;
  border: 1px solid rgba(169,120,24,0.28) !important;
  box-shadow: 0 18px 55px rgba(111,75,8,0.10) !important;
}

.logo,
.desktop-nav,
.footer,
.footer strong {
  color: var(--cream) !important;
}

.desktop-nav {
  color: rgba(17,16,14,0.7) !important;
}

.desktop-nav a:hover {
  color: var(--gold) !important;
}

.logo-mark {
  border-color: var(--gold) !important;
  box-shadow: inset 0 0 18px rgba(169,120,24,.12), 0 0 22px rgba(169,120,24,.14) !important;
}

.logo-mark i {
  background: linear-gradient(90deg, var(--gold), #d6a447) !important;
}

.button.ghost {
  background: rgba(255,255,255,0.28) !important;
  color: var(--cream) !important;
}

.hero-bg-title {
  color: rgba(111,75,8,0.055) !important;
}

.hero-subtitle,
.depth-text-panel p,
.process-item p,
.contact-card p,
.footer,
.slide-content p {
  color: var(--muted) !important;
}

.hero-stats div,
.depth-text-panel,
.process-item,
.contact-card,
.areas-3d-grid span {
  background: rgba(255,255,255,0.28) !important;
  border-color: rgba(169,120,24,0.28) !important;
  box-shadow: 0 28px 80px rgba(111,75,8,0.12) !important;
}

.project-slide,
.property-overlay,
.floating-tile {
  color: #fff4dc !important;
}

.slide-content,
.property-overlay {
  color: #fff4dc !important;
}

.slide-content p,
.property-overlay p {
  color: rgba(255,244,220,0.75) !important;
}

.lead-form input,
.lead-form select {
  background: rgba(255,248,234,0.72) !important;
  color: var(--cream) !important;
  border-color: rgba(169,120,24,0.32) !important;
}

.lead-form input::placeholder {
  color: rgba(17,16,14,0.48) !important;
}

.contact-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(169,120,24,.13), transparent 34%),
    rgba(255,255,255,.30) !important;
}

/* Reset the new hero away from dark/poster feeling */
.v3-map-hero {
  grid-template-columns: .92fr 1.08fr;
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 80px;
}

.v3-map-hero .hero-content {
  position: relative;
  z-index: 3;
}

.v3-map-hero .hero-title {
  max-width: 720px;
  color: #11100e;
}

.v3-map-hero .hero-title span {
  color: var(--gold);
}

.market-panel {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  perspective: 1100px;
}

.market-panel div {
  padding: 18px;
  background: rgba(255,255,255,0.30);
  border: 1px solid rgba(169,120,24,0.28);
  box-shadow: 0 22px 60px rgba(111,75,8,0.10);
  transform-style: preserve-3d;
  transition: transform .3s ease, background .3s ease;
}

.market-panel div:hover {
  transform: translateY(-8px) rotateX(7deg) rotateY(-5deg);
  background: rgba(255,255,255,0.44);
}

.market-panel small {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 8px;
}

.market-panel strong {
  display: block;
  color: #11100e;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 600;
}

/* 3D Egypt Map Hero */
.hero-map-wrap {
  min-height: 680px;
  perspective: 1600px;
}

.egypt-map-scene {
  position: relative;
  height: 680px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .22s ease-out;
}

.egypt-map-card {
  position: absolute;
  inset: 42px 60px 44px 48px;
  transform-style: preserve-3d;
  transform: translateZ(70px) rotateY(-12deg) rotateX(6deg);
}

.egypt-map-shape {
  position: absolute;
  inset: 14px 82px 80px 74px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.46), rgba(217,189,145,0.24)),
    linear-gradient(180deg, #e9d0a6, #cfa35b);
  clip-path: polygon(
    42% 0%,
    58% 2%,
    66% 13%,
    63% 26%,
    72% 39%,
    67% 56%,
    74% 69%,
    63% 86%,
    54% 100%,
    42% 88%,
    36% 68%,
    30% 52%,
    34% 34%,
    28% 18%
  );
  border: 1px solid rgba(169,120,24,0.55);
  box-shadow:
    inset 0 0 55px rgba(255,255,255,0.32),
    inset 0 -45px 80px rgba(111,75,8,0.13),
    0 44px 95px rgba(111,75,8,0.20);
  transform-style: preserve-3d;
  transform: translateZ(70px);
}

.egypt-map-shape::before {
  content: "";
  position: absolute;
  inset: 20px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.45), transparent 20%),
    linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.28), transparent 58%);
  clip-path: inherit;
  opacity: .9;
}

.egypt-map-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background:
    linear-gradient(rgba(111,75,8,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,75,8,0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .55;
}

.map-highlight {
  position: absolute;
  width: 62%;
  height: 26%;
  left: 24%;
  top: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.36), transparent 70%);
  transform: rotate(-18deg);
  z-index: 1;
}

.map-floor {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  height: 210px;
  background:
    linear-gradient(rgba(169,120,24,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,120,24,0.14) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: rotateX(68deg) translateZ(-120px);
  opacity: .34;
  border-radius: 50%;
  pointer-events: none;
}

.map-orbit {
  position: absolute;
  border: 1px solid rgba(169,120,24,0.42);
  border-radius: 50%;
  pointer-events: none;
  filter: drop-shadow(0 24px 36px rgba(111,75,8,.12));
}

.orbit-main {
  width: 580px;
  height: 580px;
  left: 46px;
  top: 54px;
  transform: translateZ(120px) rotateX(69deg) rotateZ(-24deg);
  animation: mapOrbitOne 9s ease-in-out infinite;
}

.orbit-side {
  width: 430px;
  height: 430px;
  right: 10px;
  top: 136px;
  transform: translateZ(170px) rotateX(70deg) rotateZ(26deg);
  border-color: rgba(201,154,59,0.34);
  animation: mapOrbitTwo 11s ease-in-out infinite;
}

.orbit-front {
  width: 290px;
  height: 290px;
  right: 104px;
  bottom: 64px;
  transform: translateZ(230px) rotateX(64deg) rotateZ(-40deg);
  border-color: rgba(255,255,255,0.38);
  animation: mapOrbitThree 7s ease-in-out infinite;
}

@keyframes mapOrbitOne {
  0%,100% { transform: translateZ(120px) rotateX(69deg) rotateZ(-24deg) translateY(0); }
  50% { transform: translateZ(145px) rotateX(69deg) rotateZ(-15deg) translateY(-18px); }
}

@keyframes mapOrbitTwo {
  0%,100% { transform: translateZ(170px) rotateX(70deg) rotateZ(26deg) translateY(0); }
  50% { transform: translateZ(195px) rotateX(70deg) rotateZ(18deg) translateY(15px); }
}

@keyframes mapOrbitThree {
  0%,100% { transform: translateZ(230px) rotateX(64deg) rotateZ(-40deg) translateY(0); }
  50% { transform: translateZ(250px) rotateX(64deg) rotateZ(-30deg) translateY(-12px); }
}

.map-glass-layer {
  position: absolute;
  border-radius: 34px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(169,120,24,0.22);
  pointer-events: none;
}

.layer-back {
  inset: 70px 60px 62px 96px;
  transform: translateZ(-80px) rotateY(-18deg) rotateX(10deg);
}

.layer-front {
  inset: 28px 30px 100px 30px;
  transform: translateZ(20px) rotateY(-15deg) rotateX(8deg);
}

.map-pin {
  position: absolute;
  z-index: 5;
  border: 0;
  background: transparent;
  padding: 0;
  color: #11100e;
  cursor: pointer;
  transform: translateZ(130px);
}

.map-pin span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8e8 0%, var(--gold-2) 42%, var(--gold) 100%);
  border: 2px solid rgba(255,255,255,.82);
  box-shadow:
    0 0 0 7px rgba(169,120,24,.16),
    0 16px 32px rgba(111,75,8,.28);
  position: relative;
}

.map-pin span::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(169,120,24,.35);
  animation: pinPulse 2s ease-out infinite;
}

@keyframes pinPulse {
  0% { transform: scale(.45); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.map-pin em {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  color: #11100e;
  background: rgba(255,248,234,.78);
  border: 1px solid rgba(169,120,24,.28);
  backdrop-filter: blur(12px);
  padding: 7px 9px;
  box-shadow: 0 14px 30px rgba(111,75,8,.12);
  opacity: .78;
  transition: opacity .25s ease, transform .25s ease;
}

.map-pin:hover em,
.map-pin.active em {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
}

.map-pin.active span {
  box-shadow:
    0 0 0 9px rgba(169,120,24,.20),
    0 0 38px rgba(169,120,24,.35),
    0 20px 42px rgba(111,75,8,.32);
}

.pin-new-cairo { left: 55%; top: 24%; }
.pin-capital { left: 63%; top: 30%; }
.pin-zayed { left: 43%; top: 28%; }
.pin-north { left: 34%; top: 13%; }
.pin-sokhna { left: 64%; top: 43%; }
.pin-redsea { left: 62%; top: 68%; }

.map-info-card,
.map-floating-stat {
  position: absolute;
  z-index: 8;
  border: 1px solid rgba(169,120,24,.34);
  background: rgba(248,236,217,.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(111,75,8,.16);
  color: #11100e;
}

.map-info-card {
  width: 290px;
  right: 0;
  top: 82px;
  padding: 24px;
  transform: translateZ(270px) rotateY(-6deg);
  transition: transform .3s ease, opacity .25s ease;
}

.map-info-card small,
.map-floating-stat small {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 10px;
}

.map-info-card h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 42px;
  line-height: .95;
  font-weight: 600;
}

.map-info-card strong {
  display: block;
  color: #6f4b08;
  margin-bottom: 12px;
}

.map-info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.map-floating-stat {
  padding: 17px 19px;
  min-width: 160px;
}

.map-floating-stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  font-weight: 600;
}

.stat-one {
  left: 18px;
  top: 92px;
  transform: translateZ(230px) rotate(-4deg);
}

.stat-two {
  left: 46px;
  bottom: 70px;
  transform: translateZ(260px) rotate(4deg);
}

/* Light-theme support for dark-designed sections */
.process-item h3,
.section-copy h2,
.contact-card h2,
.hero-title,
.slide-content h3 {
  color: #11100e;
}

.project-slide .slide-content h3,
.project-slide .slide-content,
.project-slide .slide-content span {
  color: #fff4dc !important;
}

.project-slide .slide-content p {
  color: rgba(255,244,220,0.78) !important;
}

.areas-3d-grid span {
  color: #11100e !important;
}

.footer {
  border-top-color: rgba(169,120,24,0.28) !important;
}

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

  .hero-map-wrap {
    min-height: 620px;
  }

  .egypt-map-scene {
    height: 620px;
  }

  .market-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-map-wrap {
    min-height: 520px;
  }

  .egypt-map-scene {
    height: 520px;
  }

  .egypt-map-card {
    inset: 32px 4px 40px 4px;
  }

  .egypt-map-shape {
    inset: 34px 58px 92px 40px;
  }

  .map-orbit,
  .map-glass-layer {
    display: none;
  }

  .map-info-card {
    width: 235px;
    right: 0;
    top: 12px;
    padding: 18px;
  }

  .map-info-card h3 {
    font-size: 32px;
  }

  .map-floating-stat {
    display: none;
  }

  .map-pin em {
    display: none;
  }

  .pin-new-cairo { left: 58%; top: 26%; }
  .pin-capital { left: 66%; top: 33%; }
  .pin-zayed { left: 42%; top: 31%; }
  .pin-north { left: 33%; top: 17%; }
  .pin-sokhna { left: 65%; top: 47%; }
  .pin-redsea { left: 62%; top: 72%; }
}

/* ==========================================================
   EVOLVE V3.1 — 3D Property Gallery Hero
   ========================================================== */

.gallery-hero {
  grid-template-columns: .9fr 1.1fr;
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 80px;
  background:
    radial-gradient(circle at 78% 18%, rgba(169,120,24,0.16), transparent 28%),
    radial-gradient(circle at 18% 9%, rgba(255,255,255,0.62), transparent 24%);
}

.gallery-copy {
  position: relative;
  z-index: 4;
}

.gallery-hero .hero-title {
  color: #11100e;
  max-width: 760px;
}

.gallery-hero .hero-title span {
  color: var(--gold);
}

.brokerage-strip {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  perspective: 1000px;
}

.brokerage-strip div {
  padding: 20px;
  border: 1px solid rgba(169,120,24,0.28);
  background: rgba(255,255,255,0.34);
  box-shadow: 0 28px 70px rgba(111,75,8,0.11);
  transform-style: preserve-3d;
  transition: transform .35s ease, background .35s ease;
}

.brokerage-strip div:hover {
  transform: translateY(-10px) rotateX(7deg) rotateY(-5deg);
  background: rgba(255,255,255,0.50);
}

.brokerage-strip small {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 18px;
}

.brokerage-strip strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  font-weight: 600;
  color: #11100e;
  margin-bottom: 8px;
}

.brokerage-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.gallery-scene-wrap {
  min-height: 700px;
  perspective: 1700px;
}

.gallery-scene {
  position: relative;
  height: 700px;
  transform-style: preserve-3d;
  transition: transform .22s ease-out;
}

.spotlight-card {
  position: absolute;
  inset: 72px 72px 58px 58px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(169,120,24,0.44);
  box-shadow:
    0 46px 120px rgba(111,75,8,0.22),
    inset 0 0 0 1px rgba(255,255,255,0.24);
  transform: translateZ(120px) rotateY(-11deg) rotateX(5deg);
  transform-style: preserve-3d;
  background: #11100e;
}

.spotlight-card img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: opacity .35s ease, transform .65s ease;
}

.spotlight-card.changing img {
  opacity: .18;
  transform: scale(1.09);
}

.spotlight-overlay {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 3;
  padding: 26px;
  background: rgba(17,16,14,0.64);
  border: 1px solid rgba(201,154,59,0.34);
  backdrop-filter: blur(18px);
  color: #fff4dc;
  transform: translateZ(80px);
}

.spotlight-overlay small {
  display: block;
  color: #f1c66b;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 10px;
}

.spotlight-overlay h3 {
  color: #fff4dc;
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(35px, 4vw, 62px);
  line-height: .95;
  font-weight: 600;
}

.spotlight-overlay p {
  max-width: 520px;
  color: rgba(255,244,220,0.76);
  line-height: 1.7;
  margin: 0;
}

.side-image {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(169,120,24,0.34);
  box-shadow: 0 36px 90px rgba(111,75,8,0.17);
  background: #11100e;
}

.side-image img {
  height: 100%;
  object-fit: cover;
}

.side-one {
  width: 260px;
  height: 330px;
  left: 0;
  top: 105px;
  transform: translateZ(260px) rotateY(18deg) rotateZ(-4deg);
}

.side-two {
  width: 250px;
  height: 300px;
  right: -6px;
  bottom: 84px;
  transform: translateZ(250px) rotateY(-18deg) rotateZ(5deg);
}

.gallery-selector {
  position: absolute;
  right: 8px;
  top: 94px;
  z-index: 10;
  display: grid;
  gap: 12px;
  transform: translateZ(310px);
}

.gallery-choice {
  width: 210px;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid rgba(169,120,24,0.32);
  background: rgba(248,236,217,0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(111,75,8,0.14);
  cursor: pointer;
  color: #11100e;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.gallery-choice:hover,
.gallery-choice.active {
  transform: translateX(-8px);
  background: rgba(255,248,234,0.94);
  border-color: rgba(169,120,24,0.58);
}

.gallery-choice span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 7px;
}

.gallery-choice strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 600;
}

.floating-badge {
  position: absolute;
  z-index: 11;
  padding: 18px 20px;
  min-width: 178px;
  border: 1px solid rgba(169,120,24,0.32);
  background: rgba(248,236,217,0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(111,75,8,0.16);
  color: #11100e;
}

.floating-badge small {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.floating-badge strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
}

.badge-one {
  left: 18px;
  bottom: 88px;
  transform: translateZ(300px) rotate(-4deg);
}

.badge-two {
  right: 74px;
  bottom: 18px;
  transform: translateZ(280px) rotate(4deg);
}

.gallery-depth {
  position: absolute;
  border-radius: 34px;
  border: 1px solid rgba(169,120,24,0.22);
  background: rgba(255,255,255,0.16);
  pointer-events: none;
}

.depth-back {
  inset: 46px 64px 86px 110px;
  transform: translateZ(-80px) rotateY(-18deg) rotateX(9deg);
}

.depth-front {
  inset: 112px 28px 30px 40px;
  transform: translateZ(20px) rotateY(-15deg) rotateX(8deg);
}

.gallery-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(169,120,24,0.36);
  pointer-events: none;
  filter: drop-shadow(0 24px 36px rgba(111,75,8,.12));
}

.gallery-orbit.orbit-one {
  width: 590px;
  height: 590px;
  left: 42px;
  top: 58px;
  transform: translateZ(135px) rotateX(69deg) rotateZ(-24deg);
  animation: galleryOrbitOne 9s ease-in-out infinite;
}

.gallery-orbit.orbit-two {
  width: 420px;
  height: 420px;
  right: 12px;
  top: 162px;
  transform: translateZ(210px) rotateX(70deg) rotateZ(26deg);
  border-color: rgba(201,154,59,0.30);
  animation: galleryOrbitTwo 11s ease-in-out infinite;
}

@keyframes galleryOrbitOne {
  0%,100% { transform: translateZ(135px) rotateX(69deg) rotateZ(-24deg) translateY(0); }
  50% { transform: translateZ(160px) rotateX(69deg) rotateZ(-15deg) translateY(-18px); }
}

@keyframes galleryOrbitTwo {
  0%,100% { transform: translateZ(210px) rotateX(70deg) rotateZ(26deg) translateY(0); }
  50% { transform: translateZ(235px) rotateX(70deg) rotateZ(18deg) translateY(15px); }
}

@media (max-width: 1050px) {
  .gallery-hero {
    grid-template-columns: 1fr;
  }

  .gallery-scene-wrap {
    min-height: 640px;
  }

  .gallery-scene {
    height: 640px;
  }
}

@media (max-width: 680px) {
  .gallery-scene-wrap {
    min-height: 560px;
  }

  .gallery-scene {
    height: 560px;
  }

  .spotlight-card {
    inset: 58px 0 72px;
    transform: translateZ(100px) rotateY(-4deg) rotateX(3deg);
  }

  .side-image,
  .gallery-orbit,
  .gallery-depth,
  .floating-badge {
    display: none;
  }

  .gallery-selector {
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    transform: translateZ(220px);
  }

  .gallery-choice {
    width: auto;
    padding: 12px 10px;
  }

  .gallery-choice strong {
    font-size: 16px;
  }

  .spotlight-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
  }

  .brokerage-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   EVOLVE V4 — Premium Search Hero + Moved 3D Gallery Section
   ========================================================== */

.search-home-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  padding: 150px max(22px, calc((100vw - 1180px) / 2)) 150px;
  overflow: hidden;
  isolation: isolate;
}

.search-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  transform: scale(1.04);
  transition: transform .3s ease-out;
}

.search-hero-bg img {
  height: 100%;
  object-fit: cover;
}

.search-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(17,16,14,0.32), rgba(17,16,14,0.30)),
    radial-gradient(circle at 50% 42%, rgba(248,236,217,0.10), transparent 34%),
    linear-gradient(90deg, rgba(17,16,14,0.18), rgba(17,16,14,0.04), rgba(17,16,14,0.18));
}

.search-hero-content {
  position: relative;
  z-index: 3;
  width: min(980px, 100%);
  text-align: center;
  color: #fff7ea;
  transform-style: preserve-3d;
}

.search-hero-content .kicker {
  color: #f1c66b;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.search-hero-content h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: .96;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-shadow: 0 18px 50px rgba(0,0,0,.38);
}

.search-hero-content h1 span {
  color: #f1c66b;
}

.search-hero-content p {
  max-width: 760px;
  margin: 24px auto 34px;
  color: rgba(255,247,234,.82);
  line-height: 1.75;
  font-size: 17px;
}

.hero-search-bar {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
  gap: 10px;
  padding: 12px;
  border-radius: 26px;
  background: rgba(255,248,234,0.88);
  border: 1px solid rgba(255,255,255,0.58);
  backdrop-filter: blur(18px);
  box-shadow:
    0 32px 85px rgba(0,0,0,0.24),
    inset 0 0 0 1px rgba(169,120,24,0.12);
  transform: translateZ(80px);
}

.hero-search-bar input,
.hero-search-bar select {
  min-height: 52px;
  border: 1px solid rgba(169,120,24,0.18);
  background: rgba(255,255,255,0.72);
  color: #11100e;
  padding: 0 16px;
  border-radius: 16px;
  font: inherit;
  outline: none;
}

.hero-search-bar input:focus,
.hero-search-bar select:focus {
  border-color: rgba(169,120,24,0.55);
  box-shadow: 0 0 0 4px rgba(169,120,24,0.10);
}

.hero-search-bar button {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 0 26px;
  background: linear-gradient(135deg, #c99a3b, #8c5e14);
  color: #fff7ea;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: .05em;
  box-shadow: 0 14px 34px rgba(111,75,8,.22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-search-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(111,75,8,.30);
}

.direction-cards {
  position: absolute;
  left: 50%;
  bottom: -84px;
  z-index: 5;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  perspective: 1200px;
}

.direction-card {
  min-height: 178px;
  border: 1px solid rgba(169,120,24,0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.78), transparent 58%),
    rgba(239,224,200,0.94);
  box-shadow: 0 28px 80px rgba(111,75,8,0.15);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: #11100e;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

.direction-card:hover {
  transform: translateY(-16px) rotateX(8deg) rotateY(-7deg);
  box-shadow: 0 38px 95px rgba(111,75,8,0.22);
  background: rgba(255,248,234,0.98);
}

.direction-card span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #11100e;
  color: #fff7ea;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(17,16,14,.18);
}

.direction-card strong {
  display: block;
  margin-top: 12px;
  font-family: "Playfair Display", serif;
  font-size: 31px;
  line-height: 1;
  font-weight: 600;
}

.direction-card small {
  display: block;
  margin-top: 10px;
  max-width: 210px;
  color: var(--muted);
  line-height: 1.5;
}

/* Give space after overlapping direction cards */
.gallery-showcase-section {
  padding-top: 190px !important;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 60px;
  overflow: hidden;
}

.gallery-section-copy h2 {
  margin: 0;
  color: #11100e;
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 5.2vw, 82px);
  line-height: .95;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.gallery-section-copy p:not(.kicker) {
  margin: 26px 0 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 18px;
  max-width: 560px;
}

.gallery-showcase-section .gallery-scene-wrap {
  min-height: 640px;
}

.gallery-showcase-section .gallery-scene {
  height: 640px;
}

@media (max-width: 1050px) {
  .hero-search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .hero-search-bar button {
    grid-column: 1 / -1;
  }

  .direction-cards {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: -70px auto 0;
  }

  .gallery-showcase-section {
    padding-top: 110px !important;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .search-home-hero {
    min-height: 760px;
    padding: 130px 18px 90px;
  }

  .search-hero-content h1 {
    font-size: 47px;
  }

  .hero-search-bar {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .direction-cards {
    grid-template-columns: 1fr;
    margin-top: -44px;
    gap: 14px;
  }

  .direction-card {
    min-height: 132px;
  }

  .direction-card strong {
    font-size: 26px;
  }

  .gallery-showcase-section {
    padding-top: 80px !important;
  }
}
