/* =========================================================================
   OLANIYI TOLANI — PRIVATE PORTFOLIO STYLESHEET
   Editorial luxury · Deep Forest Green · Warm Sand · Soft Ivory · Muted Gold
   ========================================================================= */

/* ----------------------------- Fonts ---------------------------------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfairdisplay-normal-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfairdisplay-normal-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfairdisplay-italic-500.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-normal-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-normal-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-normal-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-normal-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* --------------------------- Design tokens ---------------------------- */
:root {
  --green: #12372A;
  --green-deep: #0C241B;
  --green-soft: #1D4A39;
  --sand: #D8C3A5;
  --sand-soft: #E7DAC4;
  --ivory: #F8F5EF;
  --ivory-deep: #F1ECE1;
  --gold: #B08D57;
  --gold-soft: #C9AC7E;
  --charcoal: #202522;
  --charcoal-soft: #4A524C;
  --muted: #6E766F;
  --line: rgba(18, 55, 42, 0.14);
  --line-gold: rgba(176, 141, 87, 0.35);
  --white: #FFFFFF;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(18, 55, 42, 0.06), 0 4px 12px rgba(18, 55, 42, 0.06);
  --shadow-md: 0 2px 6px rgba(18, 55, 42, 0.07), 0 14px 34px rgba(18, 55, 42, 0.10);
  --shadow-lg: 0 8px 24px rgba(18, 55, 42, 0.12), 0 30px 60px rgba(18, 55, 42, 0.14);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------ Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* The `hidden` attribute must always win over display rules on overlays,
   gate screens and panels (author display:flex/grid would otherwise
   override it and show hidden screens). */
[hidden] { display: none !important; }

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--charcoal); }
ul, ol { list-style: none; }

::selection { background: var(--green); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--green); color: var(--ivory);
  padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------- Utilities -------------------------------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 900px; }

.env-notice {
  position: fixed; top: calc(var(--nav-h) + 10px); left: 50%; transform: translateX(-50%);
  z-index: 130; width: min(92vw, 720px);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #FBF3E3; color: #6E5320;
  border: 1px solid rgba(176, 141, 87, 0.55);
  border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 12px 16px; font-size: 0.84rem; line-height: 1.5;
}
.env-notice button {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: #6E5320;
}
.env-notice button:hover { background: rgba(176, 141, 87, 0.18); }

.section { padding: 88px 0; scroll-margin-top: calc(var(--nav-h) + 10px); }
.section-tight { padding: 64px 0; }

.overline {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.overline::before {
  content: ""; width: 34px; height: 1px; background: var(--gold);
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .overline { justify-content: center; }
.section-head.center .overline::after { content: ""; width: 34px; height: 1px; background: var(--gold); }

h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1, .h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2, .h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.lead { font-size: 1.08rem; color: var(--charcoal-soft); line-height: 1.8; }

.gold-text { color: var(--gold); }
.green-text { color: var(--green); }

/* ----------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--green); color: var(--ivory); box-shadow: 0 8px 20px rgba(18, 55, 42, 0.28); }
.btn-primary:hover { background: var(--green-soft); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(18, 55, 42, 0.34); }

.btn-sand { background: var(--sand); color: var(--green-deep); box-shadow: 0 8px 20px rgba(18, 55, 42, 0.16); }
.btn-sand:hover { background: var(--sand-soft); transform: translateY(-2px); }

.btn-outline { border-color: rgba(248, 245, 239, 0.55); color: var(--ivory); background: rgba(18, 55, 42, 0.12); backdrop-filter: blur(4px); }
.btn-outline:hover { border-color: var(--ivory); background: rgba(248, 245, 239, 0.12); transform: translateY(-2px); }

.btn-outline-dark { border-color: var(--line); color: var(--green); }
.btn-outline-dark:hover { border-color: var(--green); background: rgba(18, 55, 42, 0.05); transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 8px 20px rgba(176, 141, 87, 0.3); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }

.btn-whatsapp { background: #1E7A46; color: #fff; }
.btn-whatsapp:hover { background: #17623a; transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn svg { flex: none; }

/* ------------------------------- Chips -------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: var(--green);
  background: rgba(248, 245, 239, 0.6);
}

/* ------------------------------- Cards -------------------------------- */
.card {
  background: var(--white);
  border: 1px solid rgba(18, 55, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

/* ------------------------------ Reveal --------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  height: var(--nav-h);
  background: rgba(248, 245, 239, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(18, 55, 42, 0.08); }

.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  background: var(--green); color: var(--sand);
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(216, 195, 165, 0.35);
}
.brand-text { line-height: 1.25; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.06rem; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-role { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 15px;
  font-size: 0.88rem; font-weight: 600; color: var(--charcoal-soft);
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--green); background: rgba(18, 55, 42, 0.06); }

.nav-cta { margin-left: 10px; }

/* Keep the nav CTA fitting on narrower desktop widths */
@media (max-width: 1150px) {
  .nav-inner { gap: 12px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 11px; font-size: 0.82rem; }
  #nav-cta .btn { padding: 9px 16px; font-size: 0.8rem; }
}

.nav-burger {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  color: var(--green);
}
.nav-burger:hover { background: rgba(18, 55, 42, 0.05); }

/* Below 1020px the CTA and links move into the burger menu */
@media (max-width: 1020px) {
  #nav-cta { display: none; } /* available in the mobile menu instead */
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--ivory);
  display: none; flex-direction: column;
  padding: calc(var(--nav-h) + 24px) 28px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a.mm-link {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
  color: var(--green); padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu .mm-sub {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  color: var(--charcoal-soft); font-size: 0.95rem; font-weight: 600;
}
.mobile-menu .mm-sub a { display: flex; align-items: center; gap: 10px; }

/* =========================================================================
   PASSWORD GATE
   ========================================================================= */
.gate {
  position: fixed; inset: 0; z-index: 500;
  background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.gate-card {
  width: 100%; max-width: 420px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(18, 55, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 52px 40px 44px;
}
.gate-mark {
  width: 68px; height: 68px; margin: 0 auto 26px;
  background: var(--green); color: var(--sand);
  border-radius: 18px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(216, 195, 165, 0.35), 0 12px 28px rgba(18, 55, 42, 0.25);
}
.gate h1 { font-size: 1.5rem; margin-bottom: 8px; }
.gate p { color: var(--muted); font-size: 0.92rem; margin-bottom: 30px; }
.gate-error { color: #A03A2E; font-size: 0.85rem; min-height: 1.4em; margin-top: 14px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 56px;
  color: var(--ivory);
  overflow: hidden;
  background-size: cover; background-position: center 30%;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 36, 27, 0.55) 0%, rgba(12, 36, 27, 0.25) 40%, rgba(12, 36, 27, 0.88) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-overline {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 26px;
}
.hero-overline::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

.hero h1 { color: var(--ivory); margin-bottom: 10px; }
.hero .hero-role {
  font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 600;
  color: var(--sand); letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.hero-statement {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  color: var(--ivory);
  margin-bottom: 20px;
}
.hero-text { max-width: 560px; color: rgba(248, 245, 239, 0.85); font-size: 1.02rem; margin-bottom: 36px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(248, 245, 239, 0.22);
  padding-top: 30px;
}
.hero-stat { padding-right: 44px; margin-right: 44px; border-right: 1px solid rgba(248, 245, 239, 0.22); }
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat .num {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--sand);
  display: block; line-height: 1.1;
}
.hero-stat .lbl {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(248, 245, 239, 0.72); margin-top: 4px; display: block;
}

.hero-affil {
  position: absolute; top: calc(var(--nav-h) + 26px); right: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(12, 36, 27, 0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(216, 195, 165, 0.3);
  color: var(--sand);
  padding: 10px 18px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em;
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: rgba(248, 245, 239, 0.6); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drift 2.4s ease-in-out infinite;
}
@keyframes drift {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================================
   PROFILE
   ========================================================================= */
.profile-grid {
  display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: start;
}
.profile-media { position: sticky; top: calc(var(--nav-h) + 24px); }

.photo-frame { position: relative; }
.photo-frame::before {
  content: "";
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.photo-frame img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.photo-badge {
  position: absolute; z-index: 2; left: -14px; bottom: 34px;
  background: var(--green); color: var(--ivory);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 16px 22px;
  border: 1px solid rgba(216, 195, 165, 0.3);
}
.photo-badge .n { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--sand); line-height: 1; }
.photo-badge .t { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px; color: rgba(248, 245, 239, 0.85); }
.photo-note {
  margin-top: 18px; font-size: 0.78rem; color: var(--muted); font-style: italic; text-align: center;
}

.profile-body h2 { margin: 14px 0 20px; }
.profile-body .intro { font-size: 1.13rem; color: var(--green); font-weight: 600; margin-bottom: 18px; line-height: 1.7; }
.profile-body p { color: var(--charcoal-soft); margin-bottom: 16px; }

.profile-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 6px; }
.profile-chips .chip { font-size: 0.85rem; padding: 9px 18px; }

.profile-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 34px 0 34px;
}
.profile-stat { background: var(--white); padding: 22px 18px; text-align: center; }
.profile-stat .n {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--green); display: block; line-height: 1.1;
}
.profile-stat .l { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; display: block; }

.strength-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; }
.strength { display: flex; gap: 14px; align-items: flex-start; }
.strength .ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(18, 55, 42, 0.07); color: var(--green);
  display: grid; place-items: center;
}
.strength h4 { font-size: 0.98rem; font-weight: 700; color: var(--charcoal); margin-bottom: 2px; }
.strength p { font-size: 0.86rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* =========================================================================
   TRACK RECORD
   ========================================================================= */
.track { background: var(--ivory-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.track-list { position: relative; max-width: 860px; margin: 0 auto; padding-left: 44px; }
.track-list::before {
  content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px;
  width: 1px; background: linear-gradient(180deg, var(--gold), rgba(176, 141, 87, 0.15));
}
.track-item { position: relative; padding: 0 0 44px; }
.track-item:last-child { padding-bottom: 6px; }
.track-item::before {
  content: ""; position: absolute; left: -44px; top: 7px;
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--ivory);
  border: 6px solid var(--gold);
  box-shadow: 0 0 0 5px var(--ivory-deep);
}
.track-card {
  background: var(--white);
  border: 1px solid rgba(18, 55, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.track-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.track-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.track-year {
  font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--gold);
}
.track-type {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); background: rgba(18, 55, 42, 0.07);
  padding: 5px 12px; border-radius: 999px;
}
.track-loc { font-size: 0.8rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-left: auto; }
.track-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.track-card p { font-size: 0.92rem; color: var(--charcoal-soft); margin: 0; }

/* =========================================================================
   PROPERTY PORTFOLIO
   ========================================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent; color: var(--charcoal-soft);
  font-size: 0.85rem; font-weight: 600;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active {
  background: var(--green); border-color: var(--green); color: var(--ivory);
  box-shadow: 0 6px 16px rgba(18, 55, 42, 0.25);
}

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

.property-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(18, 55, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.property-card.featured-card { grid-column: span 3; flex-direction: row; }
.property-card.featured-card .pc-media { width: 55%; flex: none; }
.property-card.featured-card .pc-media img { aspect-ratio: 16 / 10; height: 100%; }
.property-card.featured-card .pc-body { flex: 1; }

.pc-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ivory-deep); }
.pc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.property-card:hover .pc-media img { transform: scale(1.05); }

.pc-status {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  color: #fff; backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.pc-status.Available  { background: rgba(30, 122, 70, 0.92); }
.pc-status.Sold       { background: rgba(32, 37, 34, 0.88); }
.pc-status.Reserved   { background: rgba(176, 141, 87, 0.95); }
.pc-status.OffMarket, .pc-status.Off\ Market { background: rgba(110, 118, 111, 0.9); }

.pc-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(248, 245, 239, 0.92); color: var(--green);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.pc-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-price {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.35rem; color: var(--green); line-height: 1.2;
  margin-bottom: 6px;
}
.pc-price.placeholder { color: var(--gold); font-size: 1.1rem; }
.pc-name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.3; color: var(--charcoal); margin-bottom: 6px; }
.pc-loc { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.pc-loc svg { color: var(--gold); flex: none; }
.pc-meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: 0.78rem; font-weight: 600; color: var(--charcoal-soft);
  padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.pc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pc-meta svg { color: var(--gold); }
.pc-feature { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.pc-btn { margin-top: auto; }

.properties-empty {
  text-align: center; padding: 70px 20px; color: var(--muted);
  border: 1px dashed var(--line-gold); border-radius: var(--radius);
}

/* =========================================================================
   PROPERTY DETAIL VIEW
   ========================================================================= */
.property-view { padding: calc(var(--nav-h) + 34px) 0 90px; }

.pv-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 700; color: var(--green);
  margin-bottom: 26px; padding: 8px 4px;
  transition: color 0.2s;
}
.pv-back:hover { color: var(--gold); }

.pv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.pv-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 8px 0 8px; }
.pv-loc { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.pv-loc svg { color: var(--gold); }
.pv-pricebox { text-align: right; }
.pv-price {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--green); line-height: 1.15;
}
.pv-price.placeholder { color: var(--gold); font-size: 1.4rem; }
.pv-listing-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); display: block; margin-top: 4px;
}

.pv-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: auto; gap: 12px; margin-bottom: 40px; }
.pv-gallery.single { grid-template-columns: 1fr; }
.pv-gallery.single .g-main { grid-row: auto; aspect-ratio: 16 / 9; }
.pv-gallery.single figure { aspect-ratio: 16 / 9; }
.pv-gallery .g-main { grid-row: 1 / -1; aspect-ratio: 16 / 10; }
.pv-gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--ivory-deep); aspect-ratio: 4 / 3; }
.pv-gallery figure.g-main { aspect-ratio: 16 / 10; }
.pv-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pv-gallery figure:hover img { transform: scale(1.04); }
.pv-gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  background: rgba(12, 36, 27, 0.72); color: var(--ivory);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.pv-gallery .g-more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(12, 36, 27, 0.55); color: var(--ivory);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em;
}
.pv-gallery .g-video-badge {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none; /* only the play button itself is clickable */
}
.g-play {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(248, 245, 239, 0.94); color: var(--green);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s var(--ease);
  pointer-events: auto; cursor: pointer;
}
.g-play:hover { transform: scale(1.08); }

.pv-layout { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }

.pv-specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 34px;
}
.pv-spec { background: var(--white); padding: 18px 14px; text-align: center; }
.pv-spec .ico { color: var(--gold); margin-bottom: 6px; display: inline-flex; }
.pv-spec .n { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--charcoal); display: block; line-height: 1.2; }
.pv-spec .l { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.pv-section { margin-bottom: 34px; }
.pv-section h2 { font-size: 1.4rem; margin-bottom: 14px; }
.pv-section p { color: var(--charcoal-soft); font-size: 0.98rem; }

.pv-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pv-feature {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid rgba(18, 55, 42, 0.08);
  border-radius: 12px; padding: 13px 16px;
  font-size: 0.88rem; font-weight: 600; color: var(--charcoal);
}
.pv-feature .ico {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(18, 55, 42, 0.07); color: var(--green);
  display: grid; place-items: center;
}

.amenity-list { display: flex; flex-wrap: wrap; gap: 10px; }
.amenity {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px;
  font-size: 0.82rem; font-weight: 600; color: var(--charcoal-soft);
}
.amenity svg { color: var(--gold); }

.pv-location {
  background: var(--white); border: 1px solid rgba(18, 55, 42, 0.08);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.pv-location .loc-name { font-weight: 700; color: var(--charcoal); font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.pv-location .loc-name svg { color: var(--gold); }
.pv-location .loc-sub { font-size: 0.84rem; color: var(--muted); margin-top: 4px; }

.pv-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.pv-cta {
  background: var(--green);
  border-radius: var(--radius-lg);
  color: var(--ivory);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
}
.pv-cta h3 { color: var(--ivory); font-size: 1.35rem; margin-bottom: 8px; }
.pv-cta p { color: rgba(248, 245, 239, 0.78); font-size: 0.9rem; margin-bottom: 24px; }
.pv-cta .btn { width: 100%; margin-bottom: 12px; }
.pv-cta .btn-whatsapp { background: #1E7A46; }
.pv-cta .btn-whatsapp:hover { background: #17623a; }
.pv-cta .btn-ghost { background: transparent; border: 1px solid rgba(248, 245, 239, 0.4); color: var(--ivory); }
.pv-cta .btn-ghost:hover { border-color: var(--ivory); background: rgba(248, 245, 239, 0.08); }

.pv-related { margin-top: 64px; }
.pv-related h2 { font-size: 1.5rem; margin-bottom: 26px; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.t-card {
  background: var(--white);
  border: 1px solid rgba(18, 55, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px 30px 28px;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-quote-mark {
  font-family: var(--serif); font-weight: 700; font-size: 3.4rem; line-height: 0.6;
  color: var(--sand); margin-bottom: 22px;
}
.t-quote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.02rem; line-height: 1.65; color: var(--charcoal-soft);
  margin-bottom: 26px; flex: 1;
}
.t-who { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--green); color: var(--sand);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 0.95rem;
}
.t-name { font-weight: 700; font-size: 0.92rem; color: var(--charcoal); line-height: 1.3; }
.t-detail { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

/* =========================================================================
   WHY / JOURNEY
   ========================================================================= */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card {
  background: var(--white);
  border: 1px solid rgba(18, 55, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.why-ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(18, 55, 42, 0.07); color: var(--green);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: background 0.3s, color 0.3s;
}
.why-card:hover .why-ico { background: var(--green); color: var(--sand); }
.why-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.why-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin: 0; }

.journey { background: var(--ivory-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.journey-step { position: relative; padding-top: 18px; }
.journey-step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold) 0 33%, rgba(176, 141, 87, 0.25) 33% 100%);
}
.j-step-num {
  font-family: var(--serif); font-weight: 700;
  font-size: 2.3rem; color: var(--gold); line-height: 1; margin-bottom: 14px;
  display: block;
}
.journey-step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.journey-step p { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* =========================================================================
   PRIVATE PORTFOLIO BAND
   ========================================================================= */
.private-band {
  background: var(--green);
  color: var(--ivory);
  position: relative; overflow: hidden;
}
.private-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(176, 141, 87, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(216, 195, 165, 0.1), transparent 55%);
}
.private-inner { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }
.private-mark {
  width: 74px; height: 74px; margin: 0 auto 28px;
  border: 1px solid rgba(216, 195, 165, 0.45); border-radius: 20px;
  color: var(--sand);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 6px rgba(216, 195, 165, 0.08);
}
.private-band h2 { color: var(--ivory); margin-bottom: 18px; }
.private-band p { color: rgba(248, 245, 239, 0.82); font-size: 1.05rem; line-height: 1.8; }
.private-note {
  margin-top: 30px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.private-note::before, .private-note::after { content: ""; width: 30px; height: 1px; background: rgba(176, 141, 87, 0.5); }

/* =========================================================================
   BOOKING
   ========================================================================= */
.booking-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }

.booking-info h2 { margin: 14px 0 18px; }
.booking-info p { color: var(--charcoal-soft); margin-bottom: 28px; }

.info-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  background: var(--white); border: 1px solid var(--line); color: var(--green);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.info-item h4 { font-size: 0.94rem; margin-bottom: 1px; }
.info-item p { font-size: 0.86rem; color: var(--muted); margin: 0; }

.booking-form {
  background: var(--white);
  border: 1px solid rgba(18, 55, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 38px 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green);
  margin-bottom: 8px;
}
.form-group label .req { color: var(--gold); }
.form-control {
  width: 100%;
  background: var(--ivory);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.16);
}
.form-hint { font-size: 0.76rem; color: var(--muted); margin-top: 6px; }
textarea.form-control { resize: vertical; min-height: 110px; }

.booking-confirm {
  background: rgba(30, 122, 70, 0.07);
  border: 1px solid rgba(30, 122, 70, 0.3);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-align: center;
}
.booking-confirm .ok {
  width: 60px; height: 60px; margin: 0 auto 18px;
  background: var(--green); color: var(--ivory);
  border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(18, 55, 42, 0.3);
}
.booking-confirm h3 { margin-bottom: 8px; }
.booking-confirm p { color: var(--charcoal-soft); font-size: 0.92rem; margin-bottom: 22px; }

/* =========================================================================
   CONTACT CTA
   ========================================================================= */
.contact-band {
  background: var(--sand);
  position: relative; overflow: hidden;
  color: var(--green-deep);
}
.contact-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(1000px 400px at 90% 0%, rgba(255, 255, 255, 0.35), transparent 60%);
}
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.contact-inner h2 { margin: 14px 0 16px; }
.contact-inner .lead { color: rgba(32, 37, 34, 0.78); }

.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-actions .btn { width: 100%; justify-content: flex-start; }

.contact-details { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 34px; }
.contact-detail { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.94rem; }
.contact-detail svg { color: var(--gold); }
.contact-detail small { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(32, 37, 34, 0.55); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--green-deep); color: rgba(248, 245, 239, 0.75); padding: 64px 0 120px; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(248, 245, 239, 0.12);
}
.footer-brand { max-width: 340px; }
.footer-brand .brand-mark { width: 50px; height: 50px; font-size: 1.15rem; }
.footer-brand h3 { color: var(--ivory); font-size: 1.3rem; margin: 18px 0 4px; }
.footer-role { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.footer-tag { font-size: 0.9rem; color: rgba(248, 245, 239, 0.6); margin-top: 12px; }

.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 16px;
}
.footer-col a, .footer-col button {
  display: flex; align-items: center; gap: 10px;
  color: rgba(248, 245, 239, 0.72);
  font-size: 0.9rem; padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover, .footer-col button:hover { color: var(--ivory); }
.footer-col svg { color: var(--gold); flex: none; }

.footer-bottom {
  padding-top: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 0.8rem; color: rgba(248, 245, 239, 0.5);
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links button { color: rgba(248, 245, 239, 0.6); font-size: 0.8rem; }
.footer-bottom .links button:hover { color: var(--ivory); }

/* =========================================================================
   MOBILE STICKY BAR
   ========================================================================= */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100;
  display: none;
}
.mobile-bar .btn {
  width: 100%;
  background: #1E7A46; color: #fff;
  box-shadow: 0 12px 30px rgba(18, 55, 42, 0.35);
  padding: 16px 20px;
}
.mobile-bar .btn:hover { background: #17623a; transform: none; }

/* =========================================================================
   LIGHTBOX
   ========================================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10, 22, 17, 0.96);
  display: flex; flex-direction: column;
}
.lb-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; color: var(--ivory);
}
.lb-count { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; color: rgba(248, 245, 239, 0.7); }
.lb-close {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ivory);
  border: 1px solid rgba(248, 245, 239, 0.25);
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(248, 245, 239, 0.12); }
.lb-stage {
  flex: 1; display: grid; place-items: center;
  padding: 10px 20px 26px; position: relative; min-height: 0;
}
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(248, 245, 239, 0.1); color: var(--ivory);
  border: 1px solid rgba(248, 245, 239, 0.25);
  display: grid; place-items: center;
  transition: background 0.2s;
}
.lb-nav:hover { background: rgba(248, 245, 239, 0.2); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-caption { text-align: center; font-size: 0.85rem; color: rgba(248, 245, 239, 0.8); padding: 0 24px 20px; }

.lb-open-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--sand); font-size: 0.9rem; font-weight: 700;
  padding: 10px 22px; border-radius: 999px;
  border: 1px solid rgba(216, 195, 165, 0.45);
  transition: background 0.2s, border-color 0.2s;
}
.lb-open-btn:hover { background: rgba(216, 195, 165, 0.12); border-color: var(--sand); }

/* =========================================================================
   MODAL (privacy / terms)
   ========================================================================= */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 450;
  background: rgba(10, 22, 17, 0.6);
  backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 22px;
}
.modal {
  width: 100%; max-width: 640px; max-height: 84vh; overflow-y: auto;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 38px;
  position: relative;
}
.modal h2 { font-size: 1.5rem; margin-bottom: 16px; }
.modal h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.modal p { font-size: 0.92rem; color: var(--charcoal-soft); margin-bottom: 10px; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--green);
}
.modal-close:hover { background: rgba(18, 55, 42, 0.06); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .property-card.featured-card { grid-column: span 2; flex-direction: column; }
  .property-card.featured-card .pc-media { width: 100%; }
  .profile-grid { grid-template-columns: 340px 1fr; gap: 46px; }
  .pv-layout { grid-template-columns: 1fr 330px; gap: 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-media { position: static; max-width: 420px; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .booking-grid { grid-template-columns: 1fr; gap: 44px; }
  .pv-layout { grid-template-columns: 1fr; }
  .pv-side { position: static; }
  .pv-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1.6fr 1fr; height: auto; }
  .pv-gallery .g-main { grid-row: span 1; grid-column: span 2; aspect-ratio: 16 / 9; }
  .pv-gallery figure { aspect-ratio: 16 / 10; }
  .pv-gallery .g-main figure { aspect-ratio: 16 / 9; }
  .hero-affil { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 66px 0; }
  .properties-grid { grid-template-columns: 1fr; }
  .property-card.featured-card { grid-column: span 1; }
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
  .strength-list { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px 0; }
  .hero-stat { padding-right: 22px; margin-right: 22px; }
  .footer { padding-bottom: 110px; }
  .mobile-bar { display: block; }
  .pv-specs { grid-template-columns: repeat(2, 1fr); }
  .pv-features { grid-template-columns: 1fr; }
  .booking-form { padding: 30px 22px; }
  .modal { padding: 32px 24px; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .hero-stat .num { font-size: 1.55rem; }

  /* Property gallery on phones: stack every image full-width so no
     thumbnail is ever squeezed or hidden by the inherited tablet grid. */
  .pv-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    gap: 10px;
  }
  .pv-gallery .g-main {
    grid-row: auto;
    grid-column: auto;
    aspect-ratio: 16 / 9;
  }
  .pv-gallery figure {
    aspect-ratio: 16 / 9;
  }
}

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