    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      background-color: #f8fafc;
      color: #333333;
      font-family: 'Open Sans', system-ui, sans-serif;
      font-weight: 400;
      line-height: 1.6;
      overflow-x: hidden;
      transition: background-color 0.5s, color 0.5s;
    }

    .dark body {
      background-color: #0A0A0A;
      color: #F5F0E8;
    }

    /* ── Typography system ──
       H1: Montserrat 700 · H2/H3: Montserrat 500 · Body: Open Sans 400 · Accent/labels: Lato 300.
       Weights use !important so the legacy font-light/medium utility classes on headings don't
       drop Montserrat back to an unloaded weight. */
    h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', system-ui, sans-serif; }
    h1 { font-weight: 700 !important; letter-spacing: -0.01em; }
    h2, h3, h4, h5, h6 { font-weight: 500 !important; }

    /* Grain overlay for tactile premium depth */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
      background-size: 200px;
      pointer-events: none;
      z-index: 9999;
      opacity: 0.35;
      transition: opacity 0.5s;
    }
    .dark body::after {
      opacity: 1;
    }

    /* ── Scroll reveal (Cubic Bezier Animations) ── */
    .reveal, .reveal-l, .reveal-r {
      opacity: 0;
      transition: opacity 0.9s cubic-bezier(.22,.68,0,1.1),
                  transform 0.9s cubic-bezier(.22,.68,0,1.1);
    }
    .reveal   { transform: translateY(32px); }
    .reveal-l { transform: translateX(-32px); }
    .reveal-r { transform: translateX(32px); }
    .visible  { opacity: 1 !important; transform: none !important; }

    .sd1 { transition-delay: .10s; }
    .sd2 { transition-delay: .20s; }
    .sd3 { transition-delay: .30s; }
    .sd4 { transition-delay: .40s; }
    .sd5 { transition-delay: .55s; }

    /* ── Gold/Blue gradient text ── */
    .gold-text {
      background: linear-gradient(125deg, #1E3A8A 0%, #2563EB 45%, #1E3A8A 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .dark .gold-text {
      background: linear-gradient(125deg, #C9A96E 0%, #E8D5B0 45%, #C9A96E 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ── Frosted nav ── */
    .nav-glass {
      background: rgba(255,255,255,.82);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
      border-bottom: 1px solid rgba(30,58,138,.12);
      transition: background .4s, border-color .4s;
    }
    .nav-glass.solid { background: rgba(255,255,255,.97); }

    .dark .nav-glass {
      background: rgba(10,10,10,.82);
      border-bottom: 1px solid rgba(201,169,110,.12);
    }
    .dark .nav-glass.solid { background: rgba(10,10,10,.97); }

    /* ── Nav links ── */
    .nav-link {
      position: relative;
      font-size: .72rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #4b5563;
      transition: color .3s;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -3px; left: 0;
      width: 0; height: 1px;
      background: #1E3A8A;
      transition: width .3s;
    }
    .nav-link:hover { color: #1E3A8A; }
    .nav-link:hover::after { width: 100%; }

    .dark .nav-link {
      color: #9A8F7E;
    }
    .dark .nav-link::after {
      background: #C9A96E;
    }
    .dark .nav-link:hover { color: #C9A96E; }

    /* ── Gold/Blue button ── */
    .btn-gold {
      display: inline-block;
      background: linear-gradient(125deg, #1E3A8A 0%, #2563EB 50%, #1E3A8A 100%);
      background-size: 200%;
      background-position: 0 0;
      color: #ffffff;
      font-size: .75rem;
      font-weight: 600;
      letter-spacing: .2em;
      text-transform: uppercase;
      text-align: center;
      padding: 1rem 2.5rem;
      transition: background-position .5s, transform .3s, box-shadow .3s;
    }
    .btn-gold:hover {
      background-position: 100% 100%;
      transform: translateY(-2px);
      box-shadow: 0 12px 35px rgba(30,58,138,.28);
    }
    .dark .btn-gold {
      background: linear-gradient(125deg, #C9A96E 0%, #E8D5B0 50%, #C9A96E 100%);
      background-size: 200%;
      background-position: 0 0;
      color: #0A0A0A;
    }
    .dark .btn-gold:hover {
      box-shadow: 0 12px 35px rgba(201,169,110,.28);
    }

    /* ── Outlined button ── */
    .btn-outline {
      display: inline-block;
      border: 1px solid rgba(30,58,138,.4);
      color: #1e293b;
      font-size: .75rem;
      font-weight: 600;
      letter-spacing: .2em;
      text-transform: uppercase;
      text-align: center;
      padding: 1rem 2.5rem;
      transition: border-color .3s, color .3s, background .3s, transform .3s;
    }
    .btn-outline:hover {
      border-color: #1E3A8A;
      color: #1E3A8A;
      background: rgba(30,58,138,.04);
      transform: translateY(-2px);
    }
    .dark .btn-outline {
      border: 1px solid rgba(201,169,110,.4);
      color: #F5F0E8;
    }
    .dark .btn-outline:hover {
      border-color: #C9A96E;
      color: #C9A96E;
      background: rgba(201,169,110,.04);
    }

    /* ── Hero wrapper layout ── */
    .hero-wrap { position: relative; min-height: 100vh; display: flex; align-items: center; }
    .hero-img {
      position: absolute; inset: 0; z-index: 0;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
    }
    .hero-img::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(105deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.85) 55%, rgba(255,255,255,.60) 100%);
    }
    .dark .hero-img::after {
      background: linear-gradient(105deg, rgba(10,10,10,.93) 0%, rgba(10,10,10,.72) 55%, rgba(10,10,10,.40) 100%);
    }
    .hero-glow {
      position: absolute; inset: 0; z-index: 1;
      background: radial-gradient(ellipse at 75% 55%, rgba(30,58,138,.04) 0%, transparent 65%);
    }
    .dark .hero-glow {
      background: radial-gradient(ellipse at 75% 55%, rgba(201,169,110,.07) 0%, transparent 65%);
    }

    /* ── Vertical decoration line ── */
    .v-line {
      position: absolute;
      left: 2rem; top: 0; bottom: 0;
      width: 1px;
      background: linear-gradient(to bottom, transparent, rgba(30,58,138,.12), transparent);
    }
    .dark .v-line {
      background: linear-gradient(to bottom, transparent, rgba(201,169,110,.22), transparent);
    }

    /* ── Gold/Blue divider ── */
    .divider {
      width: 56px; height: 1px;
      background: linear-gradient(to right, transparent, #1E3A8A, transparent);
    }
    .dark .divider {
      background: linear-gradient(to right, transparent, #C9A96E, transparent);
    }

    /* ── Deco rule ── */
    .deco-rule {
      display: flex; align-items: center; gap: 1rem;
    }
    .deco-rule::before, .deco-rule::after {
      content: '';
      flex: 1; height: 1px;
      background: linear-gradient(to right, transparent, rgba(30,58,138,.3), transparent);
    }
    .dark .deco-rule::before, .dark .deco-rule::after {
      background: linear-gradient(to right, transparent, rgba(201,169,110,.3), transparent);
    }

    /* ── Section subtitle label ── */
    .label {
      font-family: 'Lato', system-ui, sans-serif;
      font-weight: 300;
      font-size: .68rem;
      letter-spacing: .32em;
      text-transform: uppercase;
      color: #1E3A8A;
    }
    .dark .label {
      color: #C9A96E;
    }

    /* ── Property card ── */
    .prop-card {
      background: #ffffff;
      border: 1px solid rgba(30,58,138,.1);
      transition: transform .45s cubic-bezier(.22,.68,0,1.1),
                  box-shadow .45s ease,
                  border-color .45s;
      overflow: hidden;
    }
    .prop-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 32px 64px rgba(30,58,138,.12), 0 0 0 1px rgba(30,58,138,.28);
      border-color: rgba(30,58,138,.25);
    }
    .prop-card:hover .prop-img { transform: scale(1.06); }
    .prop-img { transition: transform .65s ease; width: 100%; height: 100%; object-fit: cover; }

    .dark .prop-card {
      background: #161616;
      border: 1px solid rgba(201,169,110,.1);
    }
    .dark .prop-card:hover {
      box-shadow: 0 32px 64px rgba(0,0,0,.55), 0 0 0 1px rgba(201,169,110,.28);
      border-color: rgba(201,169,110,.25);
    }

    /* ── Card overlay gradient ── */
    .img-grad { background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.18) 55%, transparent 100%); }

    /* ── Service card ── */
    .svc-card {
      background: linear-gradient(145deg, #ffffff, #f8fafc);
      border: 1px solid rgba(30,58,138,.07);
      padding: 2.5rem;
      transition: border-color .4s, background .4s, transform .4s;
    }
    .svc-card:hover {
      border-color: rgba(30,58,138,.28);
      background: linear-gradient(145deg, #f1f5f9, #f8fafc);
      transform: translateY(-5px);
    }
    .svc-icon {
      color: #1d4ed8;
      transition: color .3s, transform .3s;
    }
    .svc-card:hover .svc-icon { color: #2563eb; transform: scale(1.12); }

    .dark .svc-card {
      background: linear-gradient(145deg, #111111, #0E0E0E);
      border: 1px solid rgba(201,169,110,.07);
    }
    .dark .svc-card:hover {
      border-color: rgba(201,169,110,.28);
      background: linear-gradient(145deg, #181818, #131313);
    }
    .dark .svc-icon {
      color: #8B6B3D;
    }
    .dark .svc-card:hover .svc-icon { color: #C9A96E; }

    /* ── Services 3-2 split layout ──
       3 cards per row on desktop, the remaining 2 wrap and center beneath them;
       2 per row on tablet, 1 per row (stacked) on mobile. justify-content:center keeps
       any partial last row horizontally centered. */
    .svc-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
    }
    .svc-grid > .svc-card { flex: 0 0 100%; }
    @media (min-width: 640px) {
      .svc-grid > .svc-card { flex: 0 0 calc(50% - 0.75rem); }
    }
    @media (min-width: 1024px) {
      .svc-grid > .svc-card { flex: 0 0 calc(33.333% - 1rem); }
    }

    /* ── Testimonial card ── */
    .testi-card {
      background: linear-gradient(135deg, #ffffff, #f8fafc);
      border: 1px solid rgba(30,58,138,.12);
    }
    .dark .testi-card {
      background: linear-gradient(135deg, #111111, #0E0E0E);
      border: 1px solid rgba(201,169,110,.12);
    }

    /* ── Luxury form inputs ── */
    .lux-input {
      width: 100%;
      padding: .85rem 1.1rem;
      font-size: .875rem;
      font-family: 'Open Sans', sans-serif;
      background: rgba(30,58,138,.015);
      border: 1px solid rgba(30,58,138,.18);
      color: #0f172a;
      transition: border-color .3s, background .3s;
      outline: none;
    }
    .lux-input::placeholder { color: #94a3b8; }
    .lux-input:focus {
      border-color: #1E3A8A;
      background: rgba(30,58,138,.04);
    }
    
    .dark .lux-input {
      background: rgba(255,255,255,.025);
      border: 1px solid rgba(201,169,110,.18);
      color: #F5F0E8;
    }
    .dark .lux-input::placeholder { color: #5C5550; }
    .dark .lux-input:focus {
      border-color: #C9A96E;
      background: rgba(201,169,110,.04);
    }
    option { background: #ffffff; color: #0f172a; }
    .dark option { background: #111111; color: #F5F0E8; }

    /* ── WhatsApp float widget ── */
    .wa-float {
      position: fixed; bottom: 28px; right: 28px; z-index: 500;
      transition: transform .3s, box-shadow .3s;
    }
    .wa-float:hover { transform: scale(1.12); box-shadow: 0 12px 36px rgba(37,211,102,.42); }

    /* ── Scrollbar ── */
    ::-webkit-scrollbar { width: 3px; }
    ::-webkit-scrollbar-track { background: #f1f5f9; }
    .dark ::-webkit-scrollbar-track { background: #0A0A0A; }
    ::-webkit-scrollbar-thumb { background: #1E3A8A; border-radius: 2px; }
    .dark ::-webkit-scrollbar-thumb { background: #8B6B3D; }

    /* ── Stats bar ── */
    .stat-num {
      font-family: 'Montserrat', system-ui, sans-serif;
      font-size: clamp(2.6rem, 4.6vw, 3.8rem);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.02em;
      background: linear-gradient(125deg, #1E3A8A, #2563EB, #1E3A8A);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .dark .stat-num {
      background: linear-gradient(125deg, #C9A96E, #E8D5B0, #C9A96E);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ── About image frame ── */
    .about-frame {
      position: relative;
      display: inline-block;
    }
    .about-frame::before {
      content: '';
      position: absolute;
      inset: -10px;
      border: 1px solid rgba(30,58,138,.22);
      pointer-events: none;
    }
    .dark .about-frame::before {
      border: 1px solid rgba(201,169,110,.22);
    }
    .about-frame::after {
      content: '';
      position: absolute;
      inset: -20px;
      border: 1px solid rgba(30,58,138,.08);
      pointer-events: none;
    }
    .dark .about-frame::after {
      border: 1px solid rgba(201,169,110,.08);
    }

    /* ── Quote mark ── */
    .quote-mark {
      font-family: 'Montserrat', system-ui, sans-serif;
      font-size: 5.5rem;
      line-height: .75;
      color: rgba(30,58,138,.18);
      user-select: none;
    }
    .dark .quote-mark {
      color: rgba(201,169,110,.18);
    }

    /* ── Hero scroll-cue pulse ── */
    @keyframes scrollPulse {
      0%,100% { opacity:.5; transform:scaleY(1); }
      50% { opacity:1; transform:scaleY(1.15); }
    }

    /* ════════════════════════════════════════════════
       Enhancements (added in maintainability/a11y pass)
       ════════════════════════════════════════════════ */

    /* Optimized hero background (WebP with JPEG fallback) */
    .hero-img {
      background-image: url("../assets/hero_background.jpg");
      background-image: image-set(
        url("../assets/hero_background.webp") type("image/webp"),
        url("../assets/hero_background.jpg")  type("image/jpeg")
      );
    }

    /* Let <picture> not create a box, so child <img> sizing rules still apply */
    picture { display: contents; }

    /* Skip-to-content link (visible only on keyboard focus) */
    .skip-link {
      position: absolute; left: -9999px; top: 0; z-index: 10000;
      background: #1E3A8A; color: #fff;
      padding: .75rem 1.25rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
    }
    .skip-link:focus { left: 1rem; top: 1rem; }
    .dark .skip-link { background: #C9A96E; color: #0A0A0A; }

    /* Visible keyboard focus (overrides Tailwind focus:outline-none for keyboard users only) */
    :where(a, button, input, select, textarea, [tabindex]):focus-visible {
      outline: 2px solid #1E3A8A !important;
      outline-offset: 2px;
    }
    .dark :where(a, button, input, select, textarea, [tabindex]):focus-visible {
      outline-color: #C9A96E !important;
    }

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

    /* ── Form toast (used by the contact form JS) ── */
    .toast {
      position: fixed; bottom: 6rem; left: 50%; transform: translateX(-50%); z-index: 50;
      background: #ffffff; border: 2px solid #1E3A8A; color: #1e293b;
      font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
      padding: 1rem 2rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
      transition: opacity .5s; max-width: 90vw; text-align: center;
    }
    .dark .toast { background: #111111; border-color: #C9A96E; color: #ffffff; }
    .toast.error { border-color: #ef4444; }
    .toast.hide  { opacity: 0; }

/* ── Property Carousel ── */
.prop-carousel { position: relative; width: 100%; height: 100%; }
.prop-carousel-track { display: flex; height: 100%; transition: transform .4s cubic-bezier(.22,.68,0,1.1); }
.prop-carousel-slide { min-width: 100%; height: 100%; }
.prop-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Arrow buttons */
.prop-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); color: #fff; cursor: pointer; opacity: 0; transition: opacity .3s, background .3s; font-size: 14px; }
.prop-carousel:hover .prop-carousel-btn { opacity: 1; }
.prop-carousel-btn:hover { background: rgba(0,0,0,.7); }
.prop-carousel-btn.prev { left: 8px; }
.prop-carousel-btn.next { right: 8px; }

/* Clickable preview opens the full-screen gallery */
.prop-carousel { cursor: zoom-in; }

/* Photo counter (top-right of the card) */
.prop-carousel-count { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(0,0,0,.55); color: #fff; font-family: 'Lato', system-ui, sans-serif; font-size: .62rem; letter-spacing: .1em; padding: 3px 9px; pointer-events: none; }

/* Video play button on card */
.prop-video-btn { position: absolute; bottom: 1.2rem; right: 1.2rem; z-index: 4; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; cursor: pointer; transition: background .3s, transform .3s, border-color .3s; }
.prop-video-btn:hover { background: rgba(201,169,110,.85); border-color: #C9A96E; transform: scale(1.1); }
.prop-video-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Video count badge */
.prop-video-count { position: absolute; top: -4px; right: -4px; background: #C9A96E; color: #0A0A0A; font-size: .55rem; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ── Unified media gallery lightbox (images + videos) ── */
.media-lightbox { position: fixed; inset: 0; z-index: 10000; display: none; flex-direction: column; background: rgba(8,8,8,.96); backdrop-filter: blur(10px); }
.media-lightbox.active { display: flex; }

.ml-close { position: absolute; top: 14px; right: 16px; z-index: 6; width: 40px; height: 40px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer; font-size: 15px; transition: background .3s, border-color .3s, color .3s; }
.ml-close:hover { border-color: #C9A96E; color: #C9A96E; }

.ml-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 4.75rem 1.05rem 1.5rem; color: #F5F0E8; }
.ml-title { font-family: 'Montserrat', system-ui, sans-serif; font-weight: 500; font-size: .95rem; }
.ml-counter { font-family: 'Lato', system-ui, sans-serif; font-size: .78rem; letter-spacing: .16em; color: rgba(245,240,232,.7); white-space: nowrap; }

.ml-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 4.75rem; position: relative; opacity: 0; transition: opacity .28s ease; }
.ml-stage.is-visible { opacity: 1; }
.ml-stage img, .ml-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 24px 70px rgba(0,0,0,.55); background: #000; }

.ml-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer; font-size: 17px; transition: background .3s, border-color .3s, color .3s; }
.ml-nav:hover { background: rgba(201,169,110,.9); border-color: #C9A96E; color: #0A0A0A; }
.ml-prev { left: 16px; }
.ml-next { right: 16px; }

.ml-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 1.5rem 20px; scrollbar-width: thin; scrollbar-color: rgba(201,169,110,.5) transparent; }
.ml-thumb { position: relative; flex: 0 0 auto; width: 86px; height: 60px; padding: 0; border: 1px solid rgba(255,255,255,.18); background: #111; cursor: pointer; opacity: .5; transition: opacity .3s, border-color .3s; overflow: hidden; }
.ml-thumb:hover { opacity: .85; }
.ml-thumb.active { opacity: 1; border-color: #C9A96E; }
.ml-thumb img, .ml-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ml-thumb-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.32); }
.ml-thumb-play svg { width: 22px; height: 22px; fill: #fff; }

@media (max-width: 640px) {
  .ml-bar { padding: .85rem 4rem .85rem 1rem; }
  .ml-stage { padding: 0 .75rem; }
  .ml-nav { width: 38px; height: 38px; }
  .ml-prev { left: 6px; } .ml-next { right: 6px; }
  .ml-thumb { width: 66px; height: 48px; }
}
