:root {
  --purple: #43126b;
  --purple-dark: #26093f;
  --gold: #c9a14a;
  --sand: #f8f5ef;
  --white: #ffffff;
  --ink: #1b1b1b;
  --muted: #6f6875;
  --line: rgba(67, 18, 107, 0.14);
  --shadow: 0 24px 70px rgba(31, 13, 43, 0.16);
  --soft-shadow: 0 16px 40px rgba(31, 13, 43, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 161, 74, 0.36);
  border-radius: 50%;
  animation: pulseLoad 1.4s ease-in-out infinite;
}

.loader-mark img {
  width: 92px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 34px;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 36px rgba(27, 27, 27, 0.08);
}

.navbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0;
}

.site-header.scrolled .brand {
  color: var(--purple);
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  padding: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
}

.site-header.scrolled .nav-menu {
  color: var(--ink);
}

.nav-menu a {
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.scrolled .nav-toggle span {
  background: var(--purple);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 150px 34px 78px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(rgba(24, 8, 38, 0.24), rgba(24, 8, 38, 0.18)),
    url("../images/impressions/gambia-coast-panorama.jpg") center / cover;
  transform: scale(1.04);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(24, 8, 38, 0.88) 0%, rgba(67, 18, 107, 0.64) 42%, rgba(20, 8, 31, 0.14) 100%),
    linear-gradient(0deg, rgba(27, 27, 27, 0.38), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-right: 330px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  color: var(--purple-dark);
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.04;
  font-weight: 750;
  letter-spacing: 0;
}

h3 {
  color: var(--purple-dark);
  font-size: 1.16rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 24px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--purple);
  box-shadow: 0 16px 32px rgba(67, 18, 107, 0.24);
}

.btn-primary:hover {
  background: var(--purple-dark);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.btn-light {
  color: var(--purple);
  background: var(--white);
}

.btn-outline {
  color: var(--purple);
  border-color: rgba(67, 18, 107, 0.18);
  background: var(--white);
}

.btn-gold {
  color: var(--purple-dark);
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(201, 161, 74, 0.24);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.82rem;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: max(34px, calc((100vw - 1180px) / 2));
  bottom: 74px;
  width: min(315px, calc(100vw - 68px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

.hero-panel span,
.completion span,
.contact-details span,
.map-placeholder span,
.render-note span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.45;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  width: 30px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}

.section {
  padding: 110px 34px;
  scroll-margin-top: 128px;
}

.section-heading,
.split-heading,
.icon-grid,
.team-grid,
.infographic-grid,
.property-grid,
.contact-grid,
.map-placeholder {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 830px;
  text-align: center;
  margin-bottom: 54px;
}

.section-heading p:not(.eyebrow),
.split-heading p,
.contact-copy p {
  color: var(--muted);
}

.icon-grid,
.team-grid,
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card,
.info-card,
.team-card,
.property-card,
.map-placeholder {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card:hover,
.info-card:hover,
.team-card:hover,
.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 161, 74, 0.38);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 30px 26px;
}

.impact-story {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
  align-items: start;
  padding: 42px;
  border: 1px solid rgba(201, 161, 74, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(67, 18, 107, 0.96), rgba(38, 9, 63, 0.92)),
    var(--purple);
  box-shadow: var(--shadow);
}

.impact-story h3,
.impact-story p {
  color: var(--white);
}

.impact-story h3 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
}

.impact-story-copy {
  display: grid;
  gap: 16px;
}

.impact-story-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--purple);
  font-weight: 800;
  font-size: 0.84rem;
}

.feature-card p,
.info-card p,
.team-card p,
.property-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.team-section,
.properties,
.contact {
  background: var(--white);
}

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

.team-card {
  border: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.team-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.team-photo-frame {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.98), rgba(248, 245, 239, 0.78) 42%, rgba(235, 225, 214, 0.92) 100%);
  box-shadow: var(--soft-shadow);
}

.team-photo-frame-luxury {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(67, 18, 107, 0.16)),
    url("../images/team/luxury-coast-bg.jpg") center / cover;
}

.team-photo-frame-luxury::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(248, 245, 239, 0.2));
  pointer-events: none;
}

.team-photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 0 18px;
  filter: saturate(0.96);
}

.team-photo-frame img.team-logo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  width: 58px;
  height: 58px;
  padding: 5px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(201, 161, 74, 0.32);
  box-shadow: 0 14px 30px rgba(33, 12, 50, 0.12);
  filter: none;
}

.team-photo-frame img.team-photo-gerwin {
  padding: 18px 28px 0;
  transform: translateY(0);
}

.team-photo-frame img.team-photo-sanna {
  transform: translateY(4px);
}

.team-photo-frame img.team-photo-joop {
  transform: translateY(2px);
}

.team-body {
  padding: 24px 0 0;
}

.team-body h3,
.team-body .role {
  margin-bottom: 4px;
}

.role {
  color: var(--gold);
  font-weight: 700;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}

.infographic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.why-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-card {
  grid-column: span 2;
  min-height: 214px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 239, 0.82));
}

.why-grid .info-card {
  grid-column: span 1;
}

.info-card.wide {
  grid-column: span 6;
  min-height: auto;
  display: grid;
  grid-template-columns: 120px 0.8fr 1.1fr;
  gap: 24px;
  align-items: center;
  background: var(--purple);
}

.info-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(201, 161, 74, 0.34);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.info-card.wide span {
  margin-bottom: 0;
}

.info-card.wide h3,
.info-card.wide p {
  color: var(--white);
}

.impression-band {
  position: relative;
  width: min(1180px, calc(100% - 68px));
  min-height: 420px;
  margin: 20px auto 0;
  overflow: hidden;
  display: grid;
  align-items: end;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.impression-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(27, 27, 27, 0.02), rgba(38, 9, 63, 0.68)),
    linear-gradient(90deg, rgba(67, 18, 107, 0.52), transparent 62%);
}

.impression-band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
  transform: scale(1.01);
}

.impression-band div {
  max-width: 820px;
  padding: 52px;
}

.impression-band h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 4.25rem);
  line-height: 0.98;
}

.impression-band h2 span {
  white-space: nowrap;
}

.impressions {
  background:
    linear-gradient(180deg, var(--sand), rgba(255, 255, 255, 0.98));
}

.impression-slider {
  position: relative;
  width: min(1180px, 100%);
  height: clamp(460px, 58vw, 680px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(201, 161, 74, 0.16);
  border-radius: calc(var(--radius) + 2px);
  background: var(--purple-dark);
  box-shadow: 0 28px 90px rgba(27, 27, 27, 0.14);
}

.impression-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.85s ease;
}

.impression-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.impression-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}

.impression-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 34%, rgba(27, 27, 27, 0.66)),
    linear-gradient(90deg, rgba(67, 18, 107, 0.36), transparent 62%);
  pointer-events: none;
}

.impression-slide figcaption {
  position: absolute;
  left: 34px;
  right: auto;
  bottom: 34px;
  z-index: 2;
  max-width: min(560px, calc(100% - 68px));
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, rgba(38, 9, 63, 0.8), rgba(67, 18, 107, 0.58));
  backdrop-filter: blur(12px);
}

.impression-slide figcaption span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.impression-slide figcaption strong {
  display: block;
  font-size: clamp(1.35rem, 2.3vw, 2.4rem);
  line-height: 1.08;
}

.impression-controls {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(38, 9, 63, 0.58);
  backdrop-filter: blur(12px);
}

.impression-controls button {
  min-width: 48px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.impression-controls button:hover {
  color: var(--purple);
  background: var(--gold);
}

.impression-dots {
  display: flex;
  gap: 7px;
}

.impression-dots button {
  min-width: auto;
  width: 9px;
  height: 9px;
  min-height: auto;
  padding: 0;
  background: rgba(255, 255, 255, 0.34);
}

.impression-dots button.active {
  width: 24px;
  background: var(--gold);
}

.smiling-coast {
  background: var(--white);
}

.smiling-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(560px, 1.1fr);
  gap: 56px;
  align-items: end;
}

.smiling-copy {
  max-width: 560px;
  padding-bottom: 6px;
}

.smiling-copy h2 {
  margin-bottom: 22px;
}

.smiling-copy p:not(.eyebrow) {
  color: var(--muted);
}

.smiling-portraits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 20px;
  align-items: stretch;
}

.smiling-portraits figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: var(--soft-shadow);
}

.smiling-portraits figure:first-child {
  grid-column: 1 / -1;
}

.smiling-portraits img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smiling-portraits figure:first-child img {
  object-position: center 52%;
}

.smiling-portraits figure:nth-child(2) img {
  object-position: center 44%;
}

.smiling-portraits figure:nth-child(3) img {
  object-position: center 54%;
}

.smiling-portraits figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: min(1180px, 100%);
  margin: -22px auto 38px;
}

.filter-btn {
  min-width: 112px;
  min-height: 42px;
  border: 1px solid rgba(67, 18, 107, 0.16);
  border-radius: 999px;
  color: var(--purple);
  background: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

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

.property-grid {
  grid-template-columns: repeat(4, 1fr);
}

.property-grid.filtered {
  grid-template-columns: repeat(auto-fit, minmax(270px, 360px));
  justify-content: center;
}

.property-card {
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
}

.property-card:focus-visible {
  outline: 3px solid rgba(201, 161, 74, 0.6);
  outline-offset: 4px;
}

.property-card.hide {
  display: none;
}

.property-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--sand);
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.08);
}

.advert-image {
  height: 285px;
  padding: 10px;
}

.advert-image img {
  border-radius: calc(var(--radius) - 2px);
  object-fit: contain;
  background: var(--white);
}

.plot-card {
  border-color: rgba(201, 161, 74, 0.3);
}

.plot-card .property-content {
  background:
    linear-gradient(180deg, rgba(248, 245, 239, 0.42), rgba(255, 255, 255, 0.98));
}

.listing-kicker {
  margin-bottom: 8px;
  color: var(--gold) !important;
  text-transform: uppercase;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
}

.badge.available {
  background: #1f8f5b;
}

.badge.reserved {
  background: #d58724;
}

.badge.sold {
  background: #b33434;
}

.ribbon {
  position: absolute;
  top: 18px;
  right: -42px;
  z-index: 3;
  width: 150px;
  transform: rotate(38deg);
  padding: 7px 0;
  text-align: center;
  color: var(--white);
  background: #b33434;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.property-content {
  padding: 24px;
}

.location {
  margin-bottom: 16px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.property-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.price {
  display: block;
  margin-bottom: 16px;
  color: var(--purple);
  font-size: 1.06rem;
}

.availability {
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid rgba(67, 18, 107, 0.1);
  border-radius: var(--radius);
  background: rgba(248, 245, 239, 0.8);
}

.availability-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.availability-top span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.availability-top strong {
  color: var(--purple);
  font-size: 0.82rem;
}

.availability-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(67, 18, 107, 0.12);
}

.availability-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  transition: width 0.35s ease;
}

.availability p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.plot-availability-map {
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid rgba(201, 161, 74, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(248, 245, 239, 0.92));
}

.plot-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.plot-map-head span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plot-map-head strong {
  color: var(--purple);
  font-size: 0.8rem;
}

.plot-map-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.detail-map .plot-map-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.plot-map-grid span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 800;
}

.plot-map-grid .available {
  color: #0d6b42;
  background: rgba(31, 143, 91, 0.14);
  border: 1px solid rgba(31, 143, 91, 0.22);
}

.plot-map-grid .sold {
  color: #7d2525;
  background: rgba(179, 52, 52, 0.14);
  border: 1px solid rgba(179, 52, 52, 0.24);
}

.plot-map-grid .more {
  color: var(--purple);
  background: rgba(67, 18, 107, 0.09);
}

.plot-map-legend {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.plot-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.plot-map-legend i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.plot-map-legend i.available {
  background: #1f8f5b;
}

.plot-map-legend i.sold {
  background: #b33434;
}

.detail-map {
  margin-bottom: 18px;
}

.plot-detail-page {
  background: var(--sand);
}

.plot-hero {
  width: min(1220px, calc(100% - 68px));
  min-height: 82vh;
  margin: 0 auto;
  padding: 150px 0 70px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: center;
}

.plot-hero-copy {
  max-width: 590px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plot-hero h1 {
  margin-bottom: 22px;
  color: var(--purple-dark);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
}

.plot-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.plot-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.plot-hero-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(201, 161, 74, 0.24);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.plot-hero-card img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--white);
}

.plot-details-section,
.plot-body-section {
  padding-top: 34px;
}

.plot-details-grid,
.plot-body-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
}

.plot-summary-card,
.plot-info-card,
.plot-content-panel,
.plot-contact-panel {
  padding: 34px;
  border: 1px solid rgba(67, 18, 107, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.plot-summary-card h2,
.plot-contact-panel h2,
.plot-content-panel h2 {
  margin-bottom: 20px;
  color: var(--purple-dark);
}

.detail-availability {
  margin-bottom: 18px;
}

.detail-price {
  display: block;
  color: var(--purple);
  font-size: 1.5rem;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.detail-list div,
.plot-highlight-grid div {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--sand);
}

.detail-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-list strong {
  color: var(--purple-dark);
}

.plot-body-grid {
  grid-template-columns: 1.12fr 0.88fr;
  align-items: start;
}

.plot-content-panel p {
  color: var(--muted);
}

.plot-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.plot-highlight-grid span {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--gold);
}

.plot-highlight-grid strong {
  color: var(--purple-dark);
}

.contact-details.compact {
  margin: 24px 0;
}

.whatsapp-detail-button {
  width: fit-content;
}

.whatsapp-detail-button img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: middle;
}

.cta {
  width: min(1180px, calc(100% - 68px));
  margin: 96px auto;
  padding: 54px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(67, 18, 107, 0.96), rgba(67, 18, 107, 0.7)),
    url("../images/impressions/gambia-aerial-green-01.jpg") center / cover;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 0;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.contact-details a,
.contact-details p {
  margin: 0;
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: var(--sand);
  border-radius: var(--radius);
  color: var(--purple-dark);
  font-weight: 700;
}

.contact-copy {
  text-align: center;
}

.map-placeholder {
  min-height: 260px;
  margin-top: 34px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(38, 9, 63, 0.76), rgba(38, 9, 63, 0.76)),
    url("../images/impressions/gambia-aerial-road-02.jpg") center / cover;
}

.map-placeholder strong {
  display: block;
  margin-top: 8px;
  font-size: 1.5rem;
}

.footer {
  padding: 54px 34px 32px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 34px;
  align-items: center;
  color: rgba(255, 255, 255, 0.74);
  background: var(--purple-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 440px;
}

.footer-brand img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--white);
  padding: 5px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-brand p,
.copyright {
  margin: 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-links a:hover,
.admin-open:hover {
  color: var(--gold);
}

.admin-open {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.whatsapp-float,
.scroll-top {
  position: fixed;
  z-index: 90;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 0;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(27, 27, 27, 0.18);
}

.whatsapp-float {
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  overflow: hidden;
  background: var(--white);
  padding: 0;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-top {
  right: 24px;
  bottom: 94px;
  width: 46px;
  height: 46px;
  background: var(--purple);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.25s ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.advert-modal,
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.advert-modal.open,
.admin-modal.open {
  opacity: 1;
  visibility: visible;
}

.advert-modal-backdrop,
.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.72);
  backdrop-filter: blur(12px);
}

.advert-modal-panel,
.admin-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.admin-panel {
  width: min(920px, 100%);
}

.advert-modal-panel .eyebrow,
.admin-panel .eyebrow {
  margin-bottom: 6px;
}

.advert-modal-title {
  margin-bottom: 18px;
}

.advert-modal-image {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--sand);
}

.advert-modal-close,
.admin-close {
  position: sticky;
  top: 0;
  float: right;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--white);
  background: var(--purple);
  font-weight: 800;
  cursor: pointer;
}

.admin-login,
.admin-editor {
  display: grid;
  gap: 18px;
  clear: both;
}

.admin-login label,
.admin-row label {
  display: grid;
  gap: 8px;
  color: var(--purple-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-login input,
.admin-row input {
  width: 100%;
  border: 1px solid rgba(67, 18, 107, 0.14);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--sand);
  outline: none;
}

.admin-rows {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(67, 18, 107, 0.1);
  border-radius: var(--radius);
  background: var(--sand);
}

.admin-property-row {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(67, 18, 107, 0.12);
  border-radius: var(--radius);
  background: var(--sand);
}

.admin-property-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.admin-remove {
  border: 1px solid rgba(179, 52, 52, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  color: #b33434;
  background: rgba(179, 52, 52, 0.06);
  font-weight: 800;
  cursor: pointer;
}

.admin-field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.admin-full-field,
.admin-image-tools label {
  display: grid;
  gap: 8px;
  color: var(--purple-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-property-row input,
.admin-property-row select,
.admin-property-row textarea {
  width: 100%;
  border: 1px solid rgba(67, 18, 107, 0.14);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  outline: none;
}

.admin-property-row textarea {
  resize: vertical;
}

.admin-image-tools {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: center;
}

.admin-image-tools img {
  width: 150px;
  height: 110px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--white);
}

.admin-row-title strong,
.admin-row-title span {
  display: block;
}

.admin-row-title strong {
  color: var(--purple);
}

.admin-row-title span {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-message {
  min-height: 20px;
  margin: 0;
  color: var(--purple);
  font-size: 0.86rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@keyframes pulseLoad {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(201, 161, 74, 0.2);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 18px rgba(201, 161, 74, 0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-18px, 10px, 0);
  }
}

@keyframes scrollCue {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 22px);
  }
}

@media (max-width: 1100px) {
  .icon-grid,
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .impression-slider {
    height: 520px;
  }

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

  .smiling-copy {
    max-width: 720px;
  }

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

  .hero-content {
    padding-right: 0;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 40px auto 0;
  }

  .hero {
    display: block;
  }

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

  .plot-hero,
  .plot-details-grid,
  .plot-body-grid {
    grid-template-columns: 1fr;
  }

  .plot-hero {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span {
    color: var(--white);
  }

  .site-header.scrolled .brand span {
    color: var(--purple);
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.985);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 12px 10px;
  }

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

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

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

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 132px;
  }

  .split-heading,
  .info-card.wide,
  .impact-story,
  .cta,
  .footer {
    grid-template-columns: 1fr;
  }

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

  .info-card,
  .info-card.wide {
    grid-column: span 1;
  }

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

  .cta {
    width: calc(100% - 40px);
    padding: 38px 28px;
  }

  .impression-band {
    width: calc(100% - 40px);
    min-height: 360px;
  }

  .impression-band div {
    padding: 36px;
  }

  .impression-band h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .impression-band h2 span {
    white-space: normal;
  }

  .plot-hero {
    width: calc(100% - 40px);
    padding-top: 122px;
  }

  .plot-hero h1 {
    font-size: clamp(2.65rem, 11vw, 4.2rem);
  }
}

@media (max-width: 620px) {
  .brand span {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 90px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.3rem);
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-panel {
    display: none;
  }

  .icon-grid,
  .team-grid,
  .infographic-grid,
  .property-grid {
    grid-template-columns: 1fr;
  }

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

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

  .impression-slider {
    height: 430px;
  }

  .smiling-portraits {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .smiling-portraits figure:first-child {
    grid-column: auto;
  }

  .impression-slide figcaption {
    left: 16px;
    right: 16px;
    bottom: 94px;
    max-width: none;
    padding: 16px 18px;
  }

  .impression-slide figcaption strong {
    font-size: 1.22rem;
    line-height: 1.18;
  }

  .impression-controls {
    left: 16px;
    right: 16px;
    bottom: 22px;
    justify-content: space-between;
    padding: 8px;
  }

  .impression-controls button {
    min-width: 46px;
    min-height: 36px;
  }

  .section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    padding-bottom: 8px;
  }

  .cta-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .plot-hero {
    width: calc(100% - 32px);
    padding-bottom: 36px;
  }

  .plot-hero-card {
    padding: 8px;
  }

  .plot-hero-actions,
  .plot-hero-actions .btn {
    width: 100%;
  }

  .plot-details-section,
  .plot-body-section {
    padding-top: 24px;
  }

  .plot-summary-card,
  .plot-info-card,
  .plot-content-panel,
  .plot-contact-panel {
    padding: 24px;
  }

  .detail-list,
  .plot-highlight-grid {
    grid-template-columns: 1fr;
  }

  .impact-story,
  .admin-panel {
    padding: 26px;
  }

  .admin-field-grid,
  .admin-image-tools {
    grid-template-columns: 1fr;
  }

  .admin-property-head {
    display: grid;
  }

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

  .footer {
    padding: 42px 20px 28px;
  }

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

  .scroll-top {
    right: 16px;
    bottom: 84px;
  }
}

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