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

  :root {
    --navy:       #0B1F3A;
    --navy-light: #152d52;
    --gold:       #C9A84C;
    --gold-light: #e2c47a;
    --white:      #FFFFFF;
    --cream:      #F8F5F0;
    --text-dark:  #1a1a2e;
    --text-mid:   #4a5568;
    --text-light: #8a9bb0;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
  }

  /* ─────────────────── NAVBAR ─────────────────── */
  nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 52px;
  }

  .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-decoration: none;
  }
  .logo span { color: var(--gold); }
  .logo small {
    display: block;
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.8;
    font-family: 'DM Sans', sans-serif;
  }

  .nav-links {
    display: flex;
    gap: 34px;
    list-style: none;
  }
  .nav-links a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold); }

  /* Language flags */
  .lang-flags {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(11,31,58,0.85);
    padding: 6px 8px;
    border-radius: 30px;
    border: 1px solid rgba(201,168,76,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .flag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    color: rgba(255,255,255,0.55);
    padding: 4px 8px;
    border-radius: 20px;
    transition: color 0.2s, background 0.2s;
    font-family: 'DM Sans', sans-serif;
    line-height: 1;
  }
  .flag:hover { color: var(--white); background: rgba(255,255,255,0.1); }
  .flag.active {
    color: var(--navy);
    background: var(--gold);
    font-weight: 700;
  }

  /* ─────────────────── HERO ─────────────────── */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  /* Real photo from Unsplash — Thailand beach */
  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/hero/hero.jpg');
    background-size: cover;
    background-position: center 60%;
    z-index: 0;
    transform: scale(1.04);
    animation: slowZoom 18s ease-in-out infinite alternate;
  }

  @keyframes slowZoom {
    from { transform: scale(1.04); }
    to   { transform: scale(1.12); }
  }

  /* Dark overlay gradient */
  .hero-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(11,31,58,0.60) 0%,
        rgba(11,31,58,0.25) 45%,
        rgba(11,31,58,0.72) 100%);
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    animation: fadeUp 1s ease both;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .hero-eyebrow::before,
  .hero-eyebrow::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
  }

  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  }
  .hero-title em {
    font-style: italic;
    color: var(--gold-light);
  }

  .hero-sub {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 44px;
    letter-spacing: 0.02em;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ─── SEARCH BAR ─── */
  .search-box {
    background: rgba(255,255,255,0.97);
    border-radius: 14px;
    padding: 10px;
    display: flex;
    gap: 0;
    align-items: stretch;
    max-width: 860px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
    animation: fadeUp 1s 0.18s ease both;
  }

  .search-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 8px 16px;
    border-right: 1px solid #ebebeb;
  }
  .search-group:last-of-type { border-right: none; }

  .search-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 4px;
  }

  .search-input {
    border: none;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: var(--text-dark);
    background: transparent;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    appearance: none;
  }

  .search-btn {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0 28px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.03em;
    min-width: 130px;
  }
  .search-btn:hover { background: #b8923e; transform: scale(1.02); }

  /* ─── STATS BAR ─── */
  .stats-bar {
    position: relative;
    z-index: 10;
    margin-top: 40px;
    display: flex;
    gap: 0;
    animation: fadeUp 1s 0.32s ease both;
    background: rgba(0,0,0,0.28);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    padding: 14px 36px;
    border: 1px solid rgba(255,255,255,0.12);
  }

  .stat {
    text-align: center;
    padding: 0 28px;
    color: white;
  }
  .stat + .stat {
    border-left: 1px solid rgba(255,255,255,0.18);
  }
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1;
  }
  .stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-top: 3px;
  }

  /* Wave divider */
  .wave-divider {
    display: block;
    width: 100%;
    line-height: 0;
    margin-top: -1px;
  }

  /* ─────────────────── CATEGORIES ─────────────────── */
  .section {
    padding: 84px 52px;
    max-width: 1300px;
    margin: 0 auto;
  }

  .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 42px;
  }

  .section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 6px;
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.12;
  }

  .view-all {
    font-size: 0.8rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: opacity 0.2s;
  }
  .view-all:hover { opacity: 0.75; }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .cat-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    height: 260px;
    cursor: pointer;
    transition: transform 0.35s ease;
  }
  .cat-card:hover { transform: translateY(-5px); }
  .cat-card:hover .cat-bg { transform: scale(1.08); }

  .cat-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    border-radius: 14px;
  }

  .cat-card:nth-child(1) .cat-bg {
    background-image: linear-gradient(145deg, #2D6A4F 0%, #1B4332 100%);
  }
  .cat-card:nth-child(2) .cat-bg {
    background-image: linear-gradient(145deg, #1e3a5f 0%, #0B1F3A 100%);
  }
  .cat-card:nth-child(3) .cat-bg {
    background-image: linear-gradient(145deg, #6b3a1f 0%, #3d1f0d 100%);
  }
  .cat-card:nth-child(4) .cat-bg {
    background-image: linear-gradient(145deg, #1a4a72 0%, #0a2640 100%);
  }

  .cat-emoji {
    position: absolute;
    bottom: 18px;
    right: 18px;
    font-size: 3.5rem;
    opacity: 0.22;
    z-index: 2;
  }

  .cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 55%);
    z-index: 3;
    border-radius: 14px;
  }

  .cat-info {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    padding: 20px 22px;
    z-index: 4;
  }
  .cat-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
  }
  .cat-count {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.62);
    margin-top: 3px;
    letter-spacing: 0.04em;
  }

  /* ─────────────────── FEATURED LISTINGS ─────────────────── */
  .listings-section {
    background: var(--navy);
    padding: 84px 0;
  }

  .listings-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 52px;
  }

  .listings-inner .section-title { color: var(--white); }
  .listings-inner .view-all { color: var(--gold-light); border-color: var(--gold-light); }

  .prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 42px;
  }

  .prop-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
  }
  .prop-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  }

  .prop-img {
    height: 210px;
    position: relative;
    overflow: hidden;
  }
  .prop-card:nth-child(1) .prop-img { background: linear-gradient(135deg, #1e6b4a 0%, #0d3d2a 100%); }
  .prop-card:nth-child(2) .prop-img { background: linear-gradient(135deg, #1a4a7a 0%, #0a2444 100%); }
  .prop-card:nth-child(3) .prop-img { background: linear-gradient(135deg, #6b4a1e 0%, #3d2a0d 100%); }

  .prop-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 11px;
    border-radius: 5px;
    z-index: 2;
  }

  .prop-fav {
    position: absolute;
    top: 12px; right: 14px;
    background: rgba(0,0,0,0.35);
    color: white;
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
  }
  .prop-fav:hover { background: rgba(201,168,76,0.7); }

  .prop-icon-bg {
    position: absolute;
    bottom: 12px; right: 14px;
    font-size: 3.5rem;
    opacity: 0.18;
  }

  .prop-body { padding: 20px 22px 22px; }

  .prop-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 4px;
    line-height: 1.1;
  }
  .prop-price small {
    font-size: 0.75rem;
    opacity: 0.55;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    margin-left: 6px;
  }

  .prop-title {
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
  }

  .prop-location {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.48);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .prop-specs {
    display: flex;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
  }

  .spec {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 5px;
  }

  /* ─────────────────── WHY US ─────────────────── */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 50px;
  }

  .why-card {
    text-align: center;
    padding: 36px 22px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 4px 28px rgba(0,0,0,0.06);
    transition: transform 0.25s;
    border-bottom: 3px solid transparent;
  }
  .why-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--gold);
  }

  .why-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: block;
  }

  .why-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
  }

  .why-text {
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.65;
  }

  /* ─────────────────── CTA STRIP ─────────────────── */
  .cta-strip {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 50%, #0B1F3A 100%);
    padding: 72px 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-strip::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 65%);
    border-radius: 50%;
  }
  .cta-strip::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 60%);
    border-radius: 50%;
  }

  .cta-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 14px;
  }

  .cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
  }

  .cta-sub {
    color: rgba(255,255,255,0.62);
    font-size: 0.92rem;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
  }

  .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }

  .btn-gold {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 15px 34px;
    border-radius: 9px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-gold:hover { background: #b8923e; transform: scale(1.03); }

  .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 14px 32px;
    border-radius: 9px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color 0.2s;
  }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

  /* ─────────────────── FOOTER ─────────────────── */
  footer {
    background: #060f1f;
    padding: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
  }
  .footer-logo small {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 3px;
  }

  .footer-links {
    display: flex;
    gap: 28px;
    list-style: none;
    flex-wrap: wrap;
  }
  .footer-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold); }

  .footer-copy {
    font-size: 0.73rem;
    color: rgba(255,255,255,0.28);
  }

  /* ─────────────────── FLOATING ELEMENTS ─────────────────── */
  .whatsapp-fab {
    position: fixed;
    bottom: 80px;
    right: 26px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 54px; height: 54px;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    z-index: 300;
    transition: transform 0.2s;
    text-decoration: none;
  }
  .whatsapp-fab:hover { transform: scale(1.12); }

  .currency-pill {
    position: fixed;
    bottom: 26px;
    right: 26px;
    background: var(--navy);
    color: white;
    border: 1px solid var(--gold);
    border-radius: 30px;
    padding: 9px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 300;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
    transition: transform 0.2s;
  }
  .currency-pill:hover { transform: scale(1.04); }

  .currency-dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  /* ─────────────────── HAMBURGER ─────────────────── */
  .hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px 8px;
    z-index: 200;
  }

  /* ─────────────────── MOBILE ─────────────────── */
  @media (max-width: 900px) {

    nav {
      padding: 16px 20px;
      flex-wrap: wrap;
      gap: 0;
    }

    .hamburger { display: block; }

    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      background: rgba(11,31,58,0.97);
      padding: 16px 20px 20px;
      gap: 16px;
      order: 3;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1rem; }

    .lang-flags {
      order: 2;
      gap: 2px;
      padding: 5px 8px;
    }
    .flag { font-size: 0.65rem; padding: 3px 6px; }

    .hero { min-height: 100svh; }

    .hero-title { font-size: 2.2rem; }
    .hero-sub { font-size: 0.9rem; display: none; }
    .hero-eyebrow { font-size: 0.65rem; }

    .search-box {
      flex-direction: column;
      border-radius: 12px;
      padding: 12px;
      gap: 0;
      max-width: 95vw;
    }
    .search-group {
      border-right: none;
      border-bottom: 1px solid #ebebeb;
      padding: 10px 12px;
    }
    .search-group:last-of-type { border-bottom: none; }
    .search-btn {
      width: 100%;
      border-radius: 8px;
      padding: 14px;
      margin-top: 8px;
    }

    .stats-bar {
      flex-wrap: wrap;
      gap: 0;
      border-radius: 14px;
      padding: 12px 16px;
      justify-content: center;
    }
    .stat { padding: 8px 14px; }
    .stat + .stat { border-left: 1px solid rgba(255,255,255,0.18); }

    .section { padding: 52px 20px; }

    .category-grid {
      grid-template-columns: 1fr !important;
    }
    .cat-card { height: 200px !important; }

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

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

    .cta-strip { padding: 48px 20px; }
    .cta-title { font-size: 1.8rem; }

    footer {
      flex-direction: column;
      align-items: flex-start;
      padding: 36px 20px;
      gap: 20px;
    }
    .footer-links { gap: 16px; }

    .listings-inner { padding: 0 20px; }
  }

  @media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .stat-num { font-size: 1.3rem; }
    .why-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.9rem; }
    .cta-title { font-size: 1.5rem; }
    .stats-bar { display: none; }
  }