/* Selected brand palette: navy, ivory and champagne. */
:root {
  --navy: #1b2250;
  --ivory: #f7f4ed;
  --champagne: #c6a76d;
  --gold-ink: #806536;
  --ink: #1b2250;
  --ink-2: #303862;
  --forest: #1b2250;
  --forest-deep: #1b2250;
  --sage: #59617b;
  --sand: #eee8dc;
  --paper: #f7f4ed;
  --gold: #c6a76d;
  --line: rgba(27,34,80, 0.14);
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(27,34,80, 0.12);
}

.site-policy-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(198,167,109,.2); }
.site-policy-links a { display: inline-flex; align-items: center; min-height: 44px; color: #c6a76d; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.review-stage { color: #806536; font-size: 11px; font-weight: 600; letter-spacing: .16em; }
.public-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.public-socials[hidden] { display: none; }
.public-socials-footer { padding-top: 18px; padding-bottom: 18px; }
.public-socials .public-social-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; margin: 0; border: 1px solid #c6a76d; border-radius: 8px; background: #1b2250; color: #f7f4ed; font-size: 12px; line-height: 1.5; font-weight: 500; }
.public-socials .public-social-link svg { flex: 0 0 18px; width: 18px; height: 18px; }
.public-socials .public-social-link:hover { background: #1b2250; border-color: #c6a76d; }
.public-socials .public-social-link:focus-visible { outline: 2px solid #c6a76d; outline-offset: 3px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5vw;
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(27,34,80, .93);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; }
.brand-mark {
  width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%; display: grid; place-items: center;
  font-family: "Playfair Display", serif; font-size: 22px;
}
.brand strong { display: block; font-family: "Playfair Display", serif; font-size: 17px; font-weight: 600; line-height: 1.05; }
.brand small { display: block; letter-spacing: .22em; font-size: 7px; margin-top: 4px; opacity: .8; }
.desktop-nav { display: flex; gap: 32px; align-items: center; }
.desktop-nav a { font-size: 13px; opacity: .9; position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: currentColor; transition: width .2s ease; }
.desktop-nav a:hover::after { width: 100%; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }

.primary-btn, .ghost-btn, .search-btn {
  border: 0; border-radius: 999px; min-height: 46px;
  padding: 0 20px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px; transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.primary-btn:hover, .ghost-btn:hover, .search-btn:hover { transform: translateY(-1px); }
.primary-btn { background: var(--white); color: var(--ink); }
.ghost-btn { background: transparent; border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.compact { min-width: 52px; padding: 0 12px; min-height: 40px; }
.dark-btn { background: var(--ink); color: var(--white); }
.dark-outline { color: var(--ink); border-color: var(--line); }
.full-btn { width: 100%; }
.menu-btn { display: none; background: none; border: 0; color: var(--white); font-size: 24px; }
.mobile-menu { display: none; }

.hero { min-height: 780px; height: 100vh; position: relative; overflow: hidden; color: var(--white); background: #1b2250; }
.hero-media {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=80");
  background-size: cover; background-position: center 44%; transform: scale(1.015);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,34,80,.72) 0%, rgba(27,34,80,.37) 48%, rgba(27,34,80,.14) 78%), linear-gradient(0deg, rgba(27,34,80,.45), transparent 42%); }
.hero-content { position: relative; z-index: 2; padding-top: 180px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 700; margin: 0 0 18px; }
.eyebrow.dark { color: #59617b; }
.eyebrow.light { color: rgba(255,255,255,.72); }
.hero h1, h2 { font-family: "Playfair Display", serif; font-weight: 500; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(58px, 7.4vw, 108px); line-height: .9; margin: 0; max-width: 820px; }
.hero-copy { max-width: 650px; font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.85); margin: 28px 0 36px; }

.search-panel {
  width: min(100%, 1020px); display: grid; grid-template-columns: 1.1fr 1fr .9fr auto;
  gap: 0; background: rgba(247,244,237,.96); color: var(--ink);
  border-radius: 16px; padding: 10px; box-shadow: 0 18px 45px rgba(0,0,0,.2);
}
.search-panel label { padding: 8px 18px; border-right: 1px solid var(--line); }
.search-panel label span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: #59617b; margin-bottom: 5px; }
.search-panel select { width: 100%; border: 0; background: transparent; color: var(--ink); outline: none; appearance: none; font-weight: 600; font-size: 13px; }
.search-btn { background: var(--ink); color: var(--white); padding: 0 25px; }
.hero-trust { position: absolute; z-index: 2; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 34px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.7); }
.hero-trust span::before { content: "•"; color: #c6a76d; margin-right: 10px; }

.section { padding: 112px 0; }
.section-heading { margin-bottom: 44px; }
.section-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.03; max-width: 790px; }
.split-heading { display: grid; grid-template-columns: 1.45fr .55fr; gap: 70px; align-items: end; }
.split-heading > p { margin: 0; color: #59617b; line-height: 1.7; font-size: 14px; max-width: 380px; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-chip { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; color: var(--ink); font-size: 12px; }
.filter-chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.property-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.property-image { height: 330px; background-size: cover; background-position: center; position: relative; }
.property-badges { position: absolute; top: 15px; left: 15px; display: flex; gap: 7px; }
.property-badge { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); padding: 7px 10px; border-radius: 999px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.property-badge.featured { background: var(--ink); color: white; }
.property-body { padding: 21px 20px 20px; }
.property-location { color: #59617b; text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 700; }
.property-title-row { display: flex; justify-content: space-between; gap: 14px; align-items: start; margin: 8px 0 16px; }
.property-title-row h3 { margin: 0; font-family: "Playfair Display", serif; font-size: 24px; font-weight: 600; line-height: 1.05; }
.property-price { text-align: right; font-weight: 700; font-size: 13px; white-space: nowrap; }
.property-price small { display: block; font-weight: 400; color: #59617b; font-size: 10px; margin-top: 2px; }
.property-specs { display: flex; gap: 17px; padding-top: 15px; border-top: 1px solid var(--line); color: #59617b; font-size: 11px; }
.property-card button { width: 100%; margin-top: 18px; background: transparent; border: 0; padding: 0; text-align: left; font-weight: 700; color: var(--ink); font-size: 12px; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; }
.empty-state h3 { font-family: "Playfair Display", serif; font-size: 30px; margin: 0 0 8px; }
.empty-state p { color: #59617b; margin: 0; }

.category-section { background: var(--forest-deep); color: white; }
.light-title { color: white; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.category-card { min-height: 330px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; background-size: cover; background-position: center; isolation: isolate; }
.category-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27,34,80,.8), rgba(27,34,80,.08)); z-index: -1; transition: background .25s ease; }
.category-card:hover::before { background: linear-gradient(0deg, rgba(27,34,80,.9), rgba(27,34,80,.2)); }
.category-card span { position: absolute; top: 22px; left: 24px; font-size: 10px; letter-spacing: .16em; opacity: .8; }
.category-card h3 { font-family: "Playfair Display", serif; font-size: 34px; margin: 0 0 8px; }
.category-card p { color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.6; margin: 0; }
.category-villa { background-image: none; }
.category-land { background-image: none; }
.category-home { background-image: none; }
.category-commercial { background-image: none; }

.text-link { font-weight: 700; font-size: 12px; }
.location-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 18px; }
.location-card { min-height: 470px; border-radius: 16px; background-size: cover; background-position: center; overflow: hidden; position: relative; }
.location-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27,34,80,.62), rgba(27,34,80,.02) 65%); }
.location-card div { position: absolute; z-index: 2; left: 24px; bottom: 24px; color: white; }
.location-card span { display: block; font-family: "Playfair Display", serif; font-size: 34px; }
.location-card small { display: block; margin-top: 4px; color: rgba(255,255,255,.72); }
.loc-ubud { background-image: none; }
.loc-canggu { background-image: none; }
.loc-uluwatu { background-image: none; background-position: 68% center; }

.services-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: start; }
.services-copy h2 { font-size: clamp(42px, 5vw, 66px); line-height: 1.02; margin: 0 0 24px; }
.services-copy > p:not(.eyebrow) { color: #59617b; line-height: 1.75; max-width: 500px; margin: 0 0 30px; }
.service-list article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.service-list article:last-child { border-bottom: 1px solid var(--line); }
.service-list article > span { color: #59617b; font-size: 11px; letter-spacing: .1em; }
.service-list h3 { font-family: "Playfair Display", serif; font-size: 27px; margin: 0 0 7px; }
.service-list p { color: #59617b; line-height: 1.65; margin: 0; font-size: 13px; }

.about-banner { min-height: 620px; position: relative; display: flex; align-items: center; background: #1b2250 center/cover no-repeat; color: white; }
.about-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,34,80,.75), rgba(27,34,80,.18)); }
.about-content { position: relative; z-index: 2; }
.about-content h2 { font-size: clamp(52px, 7vw, 95px); line-height: .95; margin: 0 0 24px; }
.about-content > p:not(.eyebrow) { max-width: 580px; line-height: 1.75; color: rgba(255,255,255,.82); }

.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.contact-section h2 { font-size: clamp(42px, 5vw, 70px); margin: 0 0 22px; line-height: 1.03; }
.contact-section > div > p:not(.eyebrow) { line-height: 1.75; color: #59617b; max-width: 500px; }
.contact-form { background: white; border-radius: 18px; padding: 28px; box-shadow: 0 1px 0 var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; margin-bottom: 15px; }
.contact-form label span { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #59617b; margin-bottom: 7px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; background: var(--paper); outline: none; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #59617b; box-shadow: 0 0 0 3px rgba(89,97,123,.12); }
.form-note { text-align: center; color: #59617b; font-size: 10px; margin: 10px 0 0; }

footer { background: var(--forest-deep); color: rgba(255,255,255,.72); padding: 72px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr 1fr; gap: 60px; }
.footer-logo { color: white; }
.footer-brand > p { max-width: 320px; font-size: 12px; line-height: 1.7; margin-top: 20px; }
footer h4 { color: white; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 18px; }
footer a, footer p { display: block; margin: 0 0 11px; font-size: 12px; }
.footer-bottom { margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; font-size: 10px; }

.modal-backdrop { position: fixed; z-index: 90; inset: 0; background: rgba(27,34,80,.72); backdrop-filter: blur(10px); display: none; padding: 28px; overflow: auto; }
.modal-backdrop.open { display: grid; place-items: center; }
.property-modal { width: min(900px, 100%); background: var(--paper); border-radius: 20px; overflow: hidden; position: relative; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.modal-close { position: absolute; z-index: 2; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 24px; }
.modal-image { min-height: 560px; background-size: cover; background-position: center; }
.modal-body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.modal-body h2 { font-size: 44px; margin: 0 0 16px; line-height: 1; }
.modal-body > p:not(.eyebrow) { color: #59617b; line-height: 1.7; }
.modal-specs { display: flex; gap: 16px; flex-wrap: wrap; padding: 18px 0; margin: 10px 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.modal-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: white; border-radius: 999px; padding: 12px 18px; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) {
  .desktop-nav, .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-actions { justify-self: end; }
  .menu-btn { display: block; }
  .mobile-menu { position: absolute; top: 76px; left: 24px; right: 24px; background: rgba(27,34,80,.98); padding: 18px; border-radius: 14px; box-shadow: var(--shadow); }
  .mobile-menu.open { display: grid; gap: 2px; }
  .mobile-menu a { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .search-panel { grid-template-columns: 1fr 1fr; gap: 8px; }
  .search-panel label { border: 1px solid var(--line); border-radius: 10px; }
  .search-btn { min-height: 58px; }
  .hero-trust { display: none; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1.3fr 1fr; }
  .location-card:last-child { grid-column: 1 / -1; min-height: 330px; }
  .services-section, .contact-section { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 30px, 1180px); }
  .site-header { padding: 0 18px; height: 72px; }
  .compact { min-width: 44px; min-height: 36px; font-size: 11px; }
  .brand strong { font-size: 15px; }
  .brand-mark { width: 35px; height: 35px; }
  .hero { min-height: 760px; height: auto; }
  .hero-content { padding-top: 150px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-copy { font-size: 14px; margin-top: 22px; }
  .search-panel { grid-template-columns: 1fr; border-radius: 14px; }
  .search-panel label { padding: 10px 14px; }
  .section { padding: 82px 0; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading h2 { font-size: 43px; }
  .property-grid { grid-template-columns: 1fr; }
  .property-image { height: 360px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 290px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-card, .location-card:last-child { min-height: 370px; grid-column: auto; }
  .services-section, .contact-section { gap: 42px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .property-modal { grid-template-columns: 1fr; }
  .modal-image { min-height: 310px; }
  .modal-body { padding: 32px 24px; }
  .modal-body h2 { font-size: 37px; }
  .modal-backdrop { padding: 14px; }
}



/* Brand direction: the visual logo is hero-only. */
.site-header > .brand{
  display:none !important;
}
.site-header{
  grid-template-columns:1fr auto 1fr !important;
}
.site-header > .desktop-nav{
  grid-column:2 !important;
  justify-self:center !important;
}
.site-header > .header-actions{
  grid-column:3 !important;
  justify-self:end !important;
}
.footer-logo .brand-mark{
  display:none !important;
}
.footer-logo{
  gap:0 !important;
}
@media(max-width:1000px){
  .site-header{
    grid-template-columns:1fr auto !important;
  }
  .site-header > .header-actions{
    grid-column:2 !important;
  }
}


@media(max-width:700px){.hero-media{background-image:url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=900&q=75")}}
