/* ==========================================================================
   Daiichi Real Estate - main stylesheet
   ========================================================================== */
:root {
  --gold: #c08830;
  --gold-dark: #a9741f;
  --goldenrod: #daa520;
  --bright-gold: #ffd700;
  --crimson: #d51b5e;
  --black: #000;
  --dark: #272727;
  --gray-bg: #f8f8f8;
  --text: #666;
  --muted: #959595;
  --white: #fff;
  --header-h: 140px;
  --font: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Poppins', 'Lato', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 10000; background: var(--gold); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.text-center { text-align: center; }
.gold-text { color: var(--goldenrod); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 15px; }
.container-wide { width: 100%; padding: 0 45px; }
.narrow { max-width: 860px; }
.section { padding: 60px 0; }
.section-sm { padding: 30px 0; }
.section-heading { color: #222; font-family: var(--font-head); font-size: 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.two-col.align-start { align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Buttons ----------------------------------------------------------------- */
.btn { display: inline-block; padding: 8px 16px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; cursor: pointer; font-size: 15px; line-height: 1.5; text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: #fff; padding: 10px 60px; border-radius: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--crimson); border: 2px solid var(--crimson); border-radius: 0; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 10px 22px; }
.btn-outline:hover { background: var(--crimson); color: #fff; }
.btn-outline.light { color: #fff; border-color: #fff; }
.btn-outline.light:hover { background: #fff; color: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row.center { justify-content: center; }

/* Header ------------------------------------------------------------------ */
/* The header is always fixed and the page reserves its full height, so the logo
   shrinking on scroll never moves the page (that caused a jump/stutter near the top). */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; background: rgba(0,0,0,.95); transition: box-shadow .2s; }
body.has-site-header { padding-top: var(--header-h); }
body.page-home { padding-top: 0; }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.5); }
.inner-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; }
.logo img { width: 120px; height: 120px; transition: width .2s, height .2s; }
.site-header.scrolled .logo img { width: 80px; height: 80px; }
/* Daiichi Group mark, right end of the header */
.site-nav { margin-left: auto; }
.site-nav > ul > li > a, .site-nav > ul > li > .dropdown-toggle { white-space: nowrap; }
.group-logo { display: block; flex-shrink: 0; margin-left: 28px; line-height: 0; }
.group-logo img { width: auto; height: 96px; transition: height .2s; }
.site-header.scrolled .group-logo img { height: 64px; }
.site-nav > ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { margin-left: 40px; position: relative; }
.site-nav a, .dropdown-toggle { font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--goldenrod); text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.site-nav a:hover, .dropdown-toggle:hover, .site-nav a[aria-current="page"], .dropdown.is-active > .dropdown-toggle { color: #fff; }
.submenu { position: absolute; top: 100%; left: 0; min-width: 190px; list-style: none; margin: 0; padding: 10px; background: #000; border-top: 2px solid var(--gold); display: none; z-index: 10; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.submenu li { margin: 0 0 5px; }
.submenu a { display: block; padding: 4px 6px; white-space: nowrap; }
.dropdown:hover > .submenu, .dropdown:focus-within > .submenu, .dropdown.open > .submenu { display: block; }
.nav-cta a { color: #fff; border: 1px solid #464646; padding: 6px 20px; font-weight: 900; }
.nav-cta a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.menu-toggle { display: none; width: 40px; height: 32px; background: none; border: 0; cursor: pointer; position: relative; padding: 0; }
.menu-toggle span { display: block; position: absolute; left: 4px; right: 4px; height: 3px; background: var(--gold); border-radius: 2px; transition: transform .25s, opacity .25s, top .25s; }
.menu-toggle span:nth-child(1) { top: 6px; }
.menu-toggle span:nth-child(2) { top: 14px; }
.menu-toggle span:nth-child(3) { top: 22px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 14px; transform: rotate(-45deg); }

/* Home hero --------------------------------------------------------------- */
.home-hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #000; }
.slideshow, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; }
.slide-dots { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; z-index: 3; }
.dot { width: 12px; height: 12px; margin: 0 2px; box-sizing: content-box; padding: 8px; background-clip: content-box; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.dot.is-active, .dot:hover { background: var(--gold); }
.border-frame { position: absolute; inset: 0; padding: 15px; z-index: 2; pointer-events: none; }
.page-home .border-frame { top: var(--header-h); }
.inner-border-frame { border: 1px solid rgba(177,147,83,.5); width: 100%; height: 100%; }
.homelogo { position: absolute; top: 55%; left: 50%; transform: translate(-50%, -50%); z-index: 3; display: block; width: min(350px, 70vw); }
.homelogo-base { width: 100%; opacity: .5; }
.homelogo-mask { position: absolute; top: 0; left: 0; height: 100%; width: 0; overflow: hidden; animation: logo-reveal 4.2s linear infinite; }
.homelogo-mask img { width: min(350px, 70vw); max-width: none; height: auto; }
@keyframes logo-reveal { 0% { width: 0; } 52% { width: 100%; } 100% { width: 100%; } }

/* Home sections ------------------------------------------------------------ */
.title { text-align: center; margin-bottom: 30px; padding: 0 15px; }
.title h2 { font-size: 35px; text-transform: uppercase; color: #000; font-weight: 400; font-family: var(--font); margin-bottom: 4px; }
.title p { color: gray; font-size: 18px; margin: 0; }
.location-points .two-col { max-width: 1140px; gap: 60px; }
.location { text-align: center; padding: 0 20px; }
.location-image { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.location-image img { width: 100%; aspect-ratio: 1.54; object-fit: cover; transition: transform 1.5s ease; }
.location-image:hover img { transform: scale(1.06); }
.location-button { display: block; margin: 14px auto 0; width: 88%; background: var(--gold); color: #fff; text-decoration: none; padding: 7px 10px; border-radius: 2px; box-shadow: 0 2px 5px rgba(0,0,0,.3); }
.location-button:hover { background: var(--gold-dark); }
.our-achievement { padding-top: 30px; }
.dark-bg { background: #000 url('/images/bg.jpg') center / cover; }
.achievement-item { text-align: center; padding: 50px 0; }
.achievement-item img { margin: 0 auto; width: 97px; height: 110px; }
.achievement-count { color: var(--gold); font-size: 100px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; }
.achievement-item p { margin: 0; color: var(--gold); font-size: 40px; font-weight: 700; }
.search-cta { padding: 70px 0; }
.search-cta h2 { color: #fff; font-size: 24px; font-weight: 400; }
.search-cta .gold-text { font-size: 24px; margin-bottom: 20px; }

/* Property cards ------------------------------------------------------------ */
.feature-project { padding: 60px 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-project-item { background: var(--gray-bg); display: flex; flex-direction: column; }
.feature-project-image { position: relative; display: block; overflow: hidden; }
.feature-project-image img { width: 100%; height: 268px; object-fit: cover; transition: transform 1s ease; }
.feature-project-image:hover img { transform: scale(1.06); }
.feature-project-image .badge { position: absolute; top: 0; left: 0; background: var(--gold); color: #fff; padding: 8px 10px; font-size: 12px; }
.feature-project-cnt { padding: 20px; flex: 1; }
.feature-project-cnt h3 { text-align: center; font-size: 30px; font-weight: 700; color: var(--gold); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-project-cnt h3 a { color: inherit; text-decoration: none; }
.feature-project-cnt > p { color: gray; text-align: center; font-size: 18px; margin: 0 0 6px; }
.feature-project-cnt ul { padding: 0; margin: 0; list-style: none; }
.feature-project-cnt li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid gray; padding: 12px 0; font-size: 14px; }
.feature-project-cnt li b { color: #000; font-size: 18px; }
.feature-project-cnt .btn { background: var(--gold); color: #fff; }
.feature-project-cnt .btn:hover { background: var(--gold-dark); }
.empty-state { text-align: center; padding: 40px 20px; background: var(--gray-bg); }
.empty-state.dark { background: transparent; color: #ddd; grid-column: 1 / -1; padding: 80px 20px; }
.empty-state.dark h2 { color: var(--gold); text-transform: uppercase; }

/* Popup --------------------------------------------------------------------- */
.popup { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.popup[hidden] { display: none; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); }
.popup-dialog { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 800px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 4px; animation: pop-in .3s ease; }
@keyframes pop-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.popup-img img { width: 100%; height: 100%; object-fit: cover; }
.popup-form { padding: 20px 40px 24px; text-align: center; }
.popup-form > img { margin: 0 auto 6px; width: 120px; height: 120px; object-fit: contain; }
.popup-form h2 { color: var(--gold); font-size: 18px; font-weight: 700; }
.popup-close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--gold); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.popup .lead-form input { border: 1px solid var(--gold); color: var(--gold); border-radius: 0; }
.popup .lead-form input::placeholder { color: var(--gold); }
.popup .btn-submit { background: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 700; font-size: 13px; border-radius: 0; }
.popup-login { font-size: 14px; text-align: left; margin: 6px 0 0; }

/* Forms --------------------------------------------------------------------- */
.lead-form .form-row { display: flex; flex-wrap: wrap; gap: 0 20px; }
.form-group { margin-bottom: 18px; position: relative; flex: 1 1 100%; }
.form-group.half { flex: 1 1 calc(50% - 10px); }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; padding: 10px 12px; border: 1px solid #999; border-radius: 3px; background: #fff; color: #222; min-height: 46px; }
.lead-form textarea { resize: vertical; min-height: 92px; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,136,48,.2); }
.lead-form .is-invalid { border-color: #c0392b !important; }
.btn-submit { width: 100%; background: var(--gold); color: #fff; font-size: 20px; padding: 8px; border-radius: 3px; border: 0; }
.btn-submit:hover { background: var(--gold-dark); }
.btn-submit[disabled] { opacity: .7; cursor: wait; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 10px 0 0; font-size: 15px; min-height: 1em; }
.form-status.success { color: #1e8e3e; }
.form-status.error { color: #c0392b; }
.form-card { background: #fff; padding: 30px; box-shadow: 0 6px 24px rgba(0,0,0,.12); border-top: 4px solid var(--gold); }
.form-card h3 { color: var(--gold); font-size: 22px; }
.with-icon .field-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #777; display: flex; z-index: 2; pointer-events: none; }
.with-icon input { padding-left: 44px !important; }
.crm-form-embed { min-height: 520px; }

/* Page banners / hero -------------------------------------------------------- */
.page-banner { min-height: 320px; background: #000 center / cover no-repeat; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-banner::before, .hero-banner::before, .contact-banner::before, .not-found::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.page-banner-inner { position: relative; padding: 40px 15px; }
.page-banner h1 { color: #fff; font-size: 44px; font-weight: 400; }
.hero-banner { position: relative; min-height: calc(100vh - var(--header-h)); background: #000 center / cover no-repeat; display: flex; align-items: flex-end; }
.hero-banner::before { background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.35) 45%, rgba(0,0,0,.35)); }
.hero-banner-cnt { position: relative; padding-bottom: 30px; }
.hero-tagline { color: var(--bright-gold); font-size: 44px; font-weight: 400; display: inline-block; padding-right: 8px; border-right: 2px solid #fff; }
.property-hero h1 { color: #fff; font-family: var(--font-head); font-size: 44px; font-weight: 500; margin-bottom: 4px; }
.hero-locale { color: #fff; font-weight: 700; text-transform: uppercase; }
.banner-configurations { display: flex; flex-wrap: wrap; margin: 0; }
.banner-configurations > div { padding: 0 20px; border-left: 1px solid rgba(255,255,255,.6); }
.banner-configurations > div:first-child { padding-left: 0; border-left: 0; }
.banner-configurations dt { color: var(--bright-gold); font-size: 18px; text-transform: uppercase; }
.banner-configurations dd { color: var(--bright-gold); margin: 0; }

.breadcrumbs { padding: 12px 15px; background: #111; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0 auto; padding: 0; max-width: 1280px; font-size: 14px; }
.breadcrumbs li { color: #bbb; }
.breadcrumbs li + li::before { content: '›'; margin: 0 8px; color: var(--gold); }
.breadcrumbs a { color: var(--goldenrod); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* About / detail sections ---------------------------------------------------- */
.inner-title h2 { font-family: var(--font-head); font-size: 32px; color: #222; font-weight: 600; margin-bottom: 20px; }
.inner-title p { text-align: justify; line-height: 2; font-size: 15px; }
.img-box { display: block; min-height: 460px; height: 100%; background: center / cover no-repeat; }
.ceo-section { display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); }
.ceo-text { padding: 70px 45px; display: flex; flex-direction: column; justify-content: center; }
.ceo-text h2 { color: #fff; font-family: var(--font-head); font-size: 32px; text-align: center; margin-bottom: 24px; }
.bordered-box { border: 2px solid var(--crimson); color: #fff; padding: 0 0 6px; }
.bordered-box h3 { font-size: 15px; text-align: center; padding: 10px; border-bottom: 2px solid var(--crimson); margin: 0 0 12px; }
.bordered-box p { padding: 0 14px; font-size: 14px; text-align: justify; }
.ceo-photo { background: #fff; padding: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; }
.ceo-photo img { max-height: 600px; width: auto; }

.project-info-section { display: grid; grid-template-columns: repeat(6, 1fr); padding: 40px 15px; max-width: 1400px; margin: 0 auto; }
.project-info-item { display: flex; align-items: center; gap: 10px; padding: 10px 15px; border-right: 1px solid #ddd; min-width: 0; }
.project-info-item:last-child { border-right: 0; }
.project-info-item img { width: 50px; height: auto; flex-shrink: 0; }
.project-info-item > div { min-width: 0; }
.project-info-item h3 { overflow-wrap: anywhere; }
.project-info-item h3 { color: #222; font-size: 14px; margin: 0 0 2px; text-transform: uppercase; }
.project-info-item p { margin: 0; font-size: 13px; color: #666; word-break: break-word; }

.highlight-div { display: grid; grid-template-columns: 5fr 7fr; box-shadow: 0 0 15px rgba(0,0,0,.15); background: #fff; margin-bottom: 30px; }
.highlight-image { min-height: 240px; background: center / cover no-repeat; }
.highlight-cnt h3 { background: var(--goldenrod); color: #fff; font-size: 16px; font-weight: 400; padding: 18px 25px; margin: 0; }
.highlight-cnt .btn { margin: 0 25px 25px; }
.check-list { list-style: none; margin: 0; padding: 25px; }
.check-list li { display: flex; gap: 10px; font-size: 14px; color: #555; font-weight: 700; margin-bottom: 10px; }
.check-list svg { color: var(--crimson); flex-shrink: 0; margin-top: 3px; }
.amenities-list .highlight-div { margin-bottom: 40px; }

.gallery-section { padding: 30px 0 50px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 5px; }
.gallery-item { display: block; overflow: hidden; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }

.floor-plan-section { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.floor-plan-cnt { background: var(--dark); padding: 60px 45px; display: flex; flex-direction: column; justify-content: center; }
.floor-plan-cnt h2 { color: #fff; font-family: var(--font-head); font-size: 32px; }
.table-wrap { overflow-x: auto; }
.floor-plan-cnt .table-wrap { background: transparent; border: 0; border-radius: 0; }
.floor-plan-cnt table { width: 100%; border-collapse: collapse; color: #fff; font-size: 14px; }
.floor-plan-cnt th, .floor-plan-cnt td { border: 2px solid var(--crimson); padding: 8px 10px; text-align: left; }
.floor-plan-img { padding: 10px; border: 1px solid #eee; display: flex; align-items: center; }
.floor-plan-img img { width: 100%; }
/* grid children may shrink below their content (wide tables scroll inside .table-wrap) */
.floor-plan-section > *, .two-col > *, .ceo-section > *, .highlight-div > * { min-width: 0; }

.cta-section { position: relative; padding: 110px 0; background: center / cover no-repeat; color: #fff; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.cta-section .container { position: relative; max-width: 900px; }
.cta-section h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.cta-section p { font-size: 17px; margin-bottom: 26px; }
.cta-section .btn-gold { background: var(--goldenrod); padding: 10px 24px; font-size: 18px; }

/* Project tiles (local / oversea) ------------------------------------------- */
.dark-page { background: #000; }
.project-list { background: #000; min-height: calc(100vh - var(--header-h)); padding-bottom: 20px; }
.project-list .breadcrumbs { background: #000; }
.inner-project-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 10px 15px 0; }
.project-link { display: block; text-decoration: none; height: 100%; }
.proj_list { position: relative; min-height: 320px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; background: center / cover no-repeat; border: 1px solid var(--gold); }
.proj_list::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.5); transition: background-color .3s; }
.project-link:hover .proj_list::before, .project-link:focus-visible .proj_list::before { background: rgba(0,0,0,.15); }
.proj_list h2 { position: relative; color: var(--bright-gold); font-size: 25px; text-transform: uppercase; margin-bottom: 10px; }
.proj_list p { position: relative; color: var(--bright-gold); font-weight: 700; font-size: 14px; margin: 0; }
.proj_list h4 { position: relative; color: #fff; font-size: 15px; font-weight: 400; margin: 15px 0 0; }

/* Contact ------------------------------------------------------------------- */
.contact-banner { position: relative; height: 180px; background: center / cover no-repeat; display: flex; align-items: flex-start; justify-content: center; }
.contact-banner h1 { position: relative; color: #fff; font-size: 38px; font-weight: 400; margin-top: 10px; }
.contactus { padding: 50px 0 30px; }
.contact-img img { width: 100%; height: 370px; object-fit: cover; }
.contact-points { padding: 30px 0 30px; }
.point { background: #e5e5e5; border-radius: 3px; text-align: center; padding: 50px 20px 20px; position: relative; margin-top: 36px; }
.point-icon { position: absolute; top: -36px; left: 50%; transform: translateX(-50%); width: 72px; height: 72px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; }
.point-icon img { width: 36px; height: 36px; object-fit: contain; }
.point h2 { color: #000; font-size: 28px; margin-bottom: 10px; }
.point p { color: #777; margin: 0; }
.point a { color: #777; text-decoration: none; }
.point a:hover { color: var(--gold); }
.contact-inline { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-inline li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--gold); }
.contact-inline a { color: #444; text-decoration: none; }

/* Search -------------------------------------------------------------------- */
.page-search { background: #000 url('/images/b4.jpg') center top / cover; }
.page-search::before { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: -1; }
.search-page { min-height: calc(100vh - var(--header-h)); padding: 60px 15px 70px; font-family: Arial, Helvetica, sans-serif; }
.search-box { max-width: 900px; margin: 0 auto; }
.basic-search { display: flex; height: 70px; border-radius: 34px; overflow: hidden; background: rgba(206,206,206,.95); }
.basic-search input { flex: 1; border: 0; background: transparent; padding: 0 40px; font-size: 18px; color: #fff; min-width: 0; }
.basic-search input::placeholder { color: #fff; }
.basic-search input:focus { outline: none; }
.icon-wrap { width: 70px; border: 0; background: linear-gradient(90deg, rgba(206,206,206,0), #8b6914); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.advance-search { background: #fff; border-radius: 8px; padding: 40px; margin-top: 6px; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.advance-search .desc { color: #555; font-size: 14px; }
.select-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.select-row select { min-width: 0; text-overflow: ellipsis; }
.select-row select { height: 40px; border-radius: 20px; border: 0; background: #cecece; color: #fff; padding: 0 16px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg fill='%23fff' xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath d='M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; }
.select-row select option { color: #000; }
.search-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btn-home { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border: 2px solid #7a5e10; border-radius: 20px; color: #7a5e10; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.btn-home:hover, .btn-home:focus-visible { background: #7a5e10; color: #fff; }
.btn-home-arrow { transition: transform .2s; }
.btn-home:hover .btn-home-arrow, .btn-home:focus-visible .btn-home-arrow { transform: translateX(-3px); }
.result-count.is-empty { color: #c0392b; font-weight: 700; }
.search-results .no-match h2 { color: #7a5e10; font-size: 26px; margin: 0 0 8px; }
.result-count { color: #555; font-size: 14px; margin-left: auto; }
.btn-search { background: #7a5e10; color: #fff; border: 0; border-radius: 20px; padding: 10px 28px; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.btn-search:hover { background: var(--gold); }
.search-results { margin-top: 40px; }
.search-results .empty-state { background: rgba(255,255,255,.95); }

/* Auth ---------------------------------------------------------------------- */
.page-auth { background: #000; }
.auth-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-image { background: url('/images/login-bg.jpg') center / cover no-repeat; opacity: .6; }
.auth-form-container { background: #414c57; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-form { width: 100%; max-width: 456px; text-align: center; font-family: 'Segoe UI', var(--font); }
.auth-form > a > img { margin: 0 auto 16px; width: 150px; height: 150px; }
.auth-form h1 { color: #fff; font-size: 24px; margin-bottom: 30px; }
.auth-form .form-group { margin-bottom: 20px; }
.auth-form input { width: 100%; height: 40px; border: 2px solid transparent; border-radius: 5px; background: #fff; padding: 0 12px 0 45px; color: #222; }
.auth-form input:focus { outline: none; border-color: #4285f4; }
.auth-form .lead-form input { min-height: 40px; }
.auth-form .form-row { gap: 0; }
.btn-gradient { display: block; width: 100%; margin-top: 10px; border: 0; cursor: pointer; border-radius: 20px; background: linear-gradient(45deg, #dfa31d, #709de8); color: #fff; font-weight: 700; padding: 7px; text-decoration: none; transition: filter .3s; font-size: 16px; }
.btn-gradient:hover { filter: brightness(1.1); color: #fff; }
.auth-form .btn-submit { font-size: 16px; border-radius: 20px; background: linear-gradient(45deg, #dfa31d, #709de8); font-weight: 700; padding: 7px; }
.forget-link { display: block; text-align: left; color: #fff; font-weight: 700; margin: 6px 0 20px; text-decoration: none; }
.auth-switch { color: #fff; margin-top: 30px; }
.auth-switch a { color: #fff; font-weight: 700; text-decoration: none; }
.auth-form .form-status { color: #fff; }
.auth-form .form-status.success { color: #7dffa1; }
.auth-form .form-status.error { color: #ffb3b3; }

/* Policy / 404 ------------------------------------------------------------- */
.policy h2 { color: #222; font-size: 22px; margin-top: 28px; }
.not-found { position: relative; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; text-align: center; background: center / cover; color: #fff; padding: 40px 15px; }
.not-found > div { position: relative; }
.not-found h1 { font-size: 110px; color: var(--gold); margin: 0; }

/* Footer --------------------------------------------------------------------- */
.site-footer { background: var(--dark); padding-top: 50px; color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.footer-group { display: flex; justify-content: center; align-items: flex-start; }
.footer-group a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #999; text-decoration: none; font-size: 14px; letter-spacing: .5px; }
.footer-group a:hover { color: var(--gold); }
.footer-group img { width: 150px; height: auto; }
.footer-brand { text-align: center; }
.footer-brand img { margin: 0 auto; width: 200px; height: 170px; object-fit: contain; }
.footer-social { display: flex; justify-content: center; gap: 0; padding-top: 15px; margin: 0 0 4px; }
.footer-social a { display: inline-flex; padding: 10px; }
.footer-social img { width: 20px; height: 20px; filter: brightness(0) invert(1); transition: filter .2s; }
.footer-social a:hover img { filter: none; }
.footer-tagline { color: #999; }
.footer-heading { color: #999; font-size: 30px; font-weight: 400; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { display: block; padding: 4px 0; color: #fff; text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.copyright { text-align: right; color: #999; font-size: 15px; padding: 20px 0; margin: 0; }

/* WhatsApp button ----------------------------------------------------------- */
.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 999; display: inline-flex; align-items: center; gap: 8px; background: #16be45; color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 40px; font-size: 15px; box-shadow: 0 4px 12px rgba(0,0,0,.3); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); color: #fff; }

/* Lightbox ------------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 28px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: var(--gold); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 14px; }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1320px) {
  .site-nav > ul > li { margin-left: 24px; }
  .group-logo { margin-left: 20px; }
  .group-logo img { height: 80px; }
}
/* laptop widths: tighten the menu so it stays on one line next to both logos */
@media (min-width: 1200px) and (max-width: 1440px) {
  :root { --header-h: 120px; }
  .site-nav > ul > li { margin-left: 18px; }
  .site-nav a, .dropdown-toggle { font-size: 14px; }
  .nav-cta a { padding: 6px 14px; }
  .group-logo { margin-left: 16px; }
  .group-logo img { height: 72px; }
  .logo img { width: 100px; height: 100px; }
  .project-info-section { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .project-info-item:nth-child(3n) { border-right: 0; }
}
@media (max-width: 1199px) {
  :root { --header-h: 100px; }
  .logo img { width: 80px; height: 80px; }
  .menu-toggle { display: block; margin-left: 16px; }
  .group-logo { margin-left: auto; }
  .group-logo img, .site-header.scrolled .group-logo img { height: 64px; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #000; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 20px 24px 40px; }
  .site-nav > ul > li { margin: 0; border-bottom: 1px solid #222; }
  .site-nav a, .dropdown-toggle { width: 100%; padding: 14px 0; font-size: 17px; justify-content: space-between; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 10px 16px; min-width: 0; }
  .dropdown:hover > .submenu, .dropdown:focus-within > .submenu { display: none; }
  .dropdown.open > .submenu { display: block; }
  .dropdown.open .ico-chevron { transform: rotate(180deg); }
  .nav-cta { border-bottom: 0 !important; margin-top: 20px !important; }
  .nav-cta a { justify-content: center; }
  .achievement-count { font-size: 70px; }
  .achievement-item p { font-size: 30px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .two-col, .ceo-section, .floor-plan-section, .popup-dialog, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-group { grid-column: 1 / -1; }
  .img-box { min-height: 320px; }
  .highlight-div { grid-template-columns: 1fr; }
  .project-info-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-info-item, .project-info-item:nth-child(3n) { border-right: 0; }
  .inner-project-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .popup-img { display: none; }
  .container-wide { padding: 0 20px; }
  .ceo-text, .floor-plan-cnt { padding: 50px 20px; }
  .hero-banner { min-height: 70vh; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-image { display: none; }
  .location-points .two-col { gap: 40px; }
}
@media (max-width: 767px) {
  .title h2 { font-size: 26px; }
  .three-col { grid-template-columns: 1fr; gap: 0; }
  .contact-points .three-col { gap: 16px; }
  .achievement-item { padding: 30px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-project-cnt h3 { font-size: 24px; }
  .page-banner { min-height: 220px; }
  .page-banner h1, .hero-tagline, .property-hero h1 { font-size: 30px; }
  .cta-section { padding: 70px 0; }
  .cta-section h2 { font-size: 26px; }
  .project-info-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-info-item { border-right: 0; }
  .select-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .advance-search { padding: 24px; }
  .basic-search { height: 56px; }
  .basic-search input { padding: 0 20px; font-size: 16px; }
  .search-page { padding-top: 30px; }
  .form-group.half { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .copyright { text-align: center; }
  .gallery-item img { height: 180px; }
  .banner-configurations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .banner-configurations > div { padding: 0 12px; }
  .banner-configurations > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .banner-configurations dt { font-size: 15px; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
  .btn-gold { padding: 10px 36px; }
}
@media (max-width: 575px) {
  .inner-project-list { grid-template-columns: 1fr; }
  .proj_list { min-height: 240px; }
  .popup-form { padding: 20px 20px 24px; }
  .location { padding: 0; }
}
/* Fixed (parallax) backgrounds repaint on every scroll frame: large mouse screens only. */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .dark-bg, .cta-section, .page-search { background-attachment: fixed; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .homelogo-mask { width: 100%; }
}

/* ==========================================================================
   Interactive additions: 3D hero, tilt, favorites, toasts
   ========================================================================== */
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 6px; }


/* 3D landing hero (hero3d.js): canvas over the HTML slideshow, under the frame + logo */
.hero3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.home-hero.is-3d .hero3d-canvas { opacity: 1; }
.home-hero .slide-dots { z-index: 4; }
/* the logo floats in 3D with a gold glow */
.homelogo { transform-style: preserve-3d; }
.homelogo-base, .homelogo-mask img { filter: drop-shadow(0 18px 28px rgba(0,0,0,.75)) drop-shadow(0 0 22px rgba(192,136,48,.35)); }
.homelogo-base { animation: logo-float 7s ease-in-out infinite; }
.homelogo-mask { animation: logo-reveal 4.2s linear infinite, logo-float 7s ease-in-out infinite; }
@keyframes logo-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 30px); } }

/* 3D tilt (pointer devices only, set by main.js) */
.tilt { transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s; transform-style: preserve-3d; position: relative; }
.tilt:hover { box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.tilt-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 3; border-radius: inherit; }
.feature-project-item { position: relative; overflow: hidden; }
.location-image { position: relative; }
.homelogo { transition: transform .4s cubic-bezier(.2,.7,.3,1); }

/* Favorite hearts */
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s, background-color .2s; }
.fav-btn:hover { transform: scale(1.1); background: rgba(0,0,0,.75); }
.fav-btn .heart-fill { fill: transparent; stroke: #fff; stroke-width: 2; transition: fill .2s, stroke .2s; }
.fav-btn.is-on .heart-fill { fill: #e0245e; stroke: #e0245e; }
.fav-btn.is-on { animation: heart-pop .35s ease; }
@keyframes heart-pop { 50% { transform: scale(1.25); } }
.fav-toggle.is-on { background: var(--crimson); color: #fff; }

/* Toasts */
.toast-stack { position: fixed; top: calc(var(--header-h) + 12px); right: 20px; z-index: 4000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; max-width: calc(100vw - 40px); }
.toast { background: #1d2028; color: #fff; padding: 12px 18px; border-radius: 6px; border-left: 4px solid var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,.35); font-size: 14px; animation: toast-in .25s ease; transition: opacity .4s, transform .4s; max-width: 380px; }
.toast-ok { border-left-color: #2fb36b; }
.toast-error { border-left-color: #e5484d; }
.toast.out { opacity: 0; transform: translateX(20px); }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* Shared dashboard pieces ----------------------------------------------------- */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(192,136,48,.3); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { padding: 40px; text-align: center; color: #888; }
.notice { padding: 30px; text-align: center; background: var(--gray-bg); border-radius: 6px; }
.notice-error { border-left: 4px solid #e5484d; }
.muted { color: #888; }
.small { font-size: 13px; }
.btn-small { padding: 5px 12px; font-size: 13px; background: #fff; color: #333; border: 1px solid #ccc; }
.btn-small:hover { border-color: var(--gold); color: var(--gold); }
.btn-ok { background: #1e8e3e; border-color: #1e8e3e; color: #fff; }
.btn-ok:hover { background: #17722f; color: #fff; }
.btn-danger { background: #fff; color: #c0392b; border: 1px solid #e3a6a0; }
.btn-danger:hover { background: #c0392b; color: #fff; border-color: #c0392b; }
.btn-remove { background: #fff; color: var(--crimson); border: 1px solid var(--crimson); }
.btn-remove:hover { background: var(--crimson); color: #fff; }
.state-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.state-published { background: #e3f5e8; color: #17692f; }
.state-pending { background: #fff3d6; color: #8a5a00; }
.state-rejected { background: #fde4e4; color: #a12a2a; }
.state-hidden, .state-draft { background: #eceef1; color: #555; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-tile { text-align: left; background: #fff; border: 1px solid #eee; border-top: 3px solid var(--gold); border-radius: 6px; padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: transform .2s, box-shadow .2s; font: inherit; }
.stat-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.stat-tile.attention { border-top-color: #e0a100; }
.stat-value { font-size: 34px; font-weight: 900; color: #1b1b1b; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { color: #666; font-size: 14px; }
.stat-sub { color: #999; font-size: 12px; }
.panel-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 22px; margin-bottom: 24px; }
.panel-card h2, .panel-title { font-size: 20px; color: #1b1b1b; margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-head .panel-title { margin: 0; }
.two-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0 0 16px; }
.detail-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #999; }
.detail-list dd { margin: 0; color: #222; word-break: break-word; }

.dash-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.dash-form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 700; color: #444; }
.dash-form input, .dash-form select, .dash-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; background: #fff; color: #222; font: inherit; }
.dash-form textarea { resize: vertical; }
.dash-form input:focus, .dash-form select:focus, .dash-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,136,48,.18); }
.dash-form input:disabled { background: #f3f3f3; color: #777; }
.dash-form .is-invalid { border-color: #c0392b; }
.field.check { flex-direction: row; align-items: center; gap: 10px; padding-top: 24px; }
.field.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn-gold { padding: 10px 28px; }
.dash-form .form-status { margin: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photo-grid:empty { display: none; }
.photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #f0f0f0; display: flex; align-items: center; justify-content: center; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 6px; top: 6px; background: var(--gold); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 3px; }
.photo-tools { position: absolute; right: 4px; top: 4px; display: flex; gap: 4px; opacity: 0; transition: opacity .2s; }
.photo:hover .photo-tools, .photo:focus-within .photo-tools { opacity: 1; }
.photo-tools button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; font-size: 12px; }
.photo-tools button:hover { background: var(--gold); }
.photo-drop { margin-top: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed #d6c39d; border-radius: 8px; padding: 18px; cursor: pointer; color: var(--gold); font-weight: 700; transition: background-color .2s; }
.photo-drop:hover { background: #fdf8ee; }
.photo-drop small { color: #888; font-weight: 400; }
@media (hover: none) { .photo-tools { opacity: 1; } }

/* User account page ------------------------------------------------------------ */
.page-account { background: #f6f5f2; }
.account-hero { position: relative; background: center / cover; padding: 70px 0 90px; }
.account-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,0,0,.85), rgba(0,0,0,.5)); }
.account-hero .container { position: relative; }
.account-title { color: #fff; font-size: 40px; font-weight: 400; margin: 0; }
.account-sub { color: #ddd; margin: 6px 0 0; }
.account-shell { display: grid; grid-template-columns: 230px 1fr; gap: 24px; margin-top: -50px; position: relative; padding-bottom: 60px; }
.account-tabs { background: #111; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 4px; align-self: start; }
.account-tabs button { text-align: left; background: transparent; border: 0; color: #ccc; padding: 11px 14px; border-radius: 6px; cursor: pointer; font: inherit; font-weight: 700; transition: background-color .2s, color .2s; }
.account-tabs button:hover { background: #222; color: #fff; }
.account-tabs button[aria-selected="true"] { background: var(--gold); color: #fff; }
.account-tabs .account-logout { margin-top: 10px; border-top: 1px solid #2a2a2a; border-radius: 0; color: #e5a1a1; }
.account-panel { background: #fff; border-radius: 8px; padding: 28px; min-height: 420px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.account-panel .card-grid { grid-template-columns: repeat(2, 1fr); }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.action-card { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 8px; border: 1px solid #eee; background: linear-gradient(135deg, #fff, #fbf6ec); cursor: pointer; text-decoration: none; font: inherit; transition: transform .2s, box-shadow .2s; }
.action-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(192,136,48,.18); }
.action-card strong { color: var(--gold); font-size: 17px; }
.action-card span { color: #666; font-size: 14px; }
.listing-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.listing-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: center; border: 1px solid #eee; border-radius: 8px; padding: 12px; }
.listing-thumb { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #999; font-size: 12px; }
.listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-info h3 { font-size: 17px; color: #1b1b1b; margin: 0 0 4px; }
.listing-info p { margin: 0 0 4px; font-size: 14px; }
.listing-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.admin-note { background: #fff8e6; border-left: 3px solid #e0a100; padding: 6px 10px; font-size: 13px; color: #6b4b00; }
.auth-note { color: #ddd; margin-bottom: 18px; }
.auth-signed-in { background: rgba(255,255,255,.1); color: #fff; padding: 10px; border-radius: 6px; }
.auth-signed-in a { color: var(--bright-gold); font-weight: 700; }

/* Admin panel ---------------------------------------------------------------------- */
.page-admin { background: #f4f5f7; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: #000 url('/images/b1.jpg') center / cover; }
.admin-login-card { width: 100%; max-width: 380px; background: rgba(15,16,20,.92); border: 1px solid rgba(192,136,48,.5); border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 8px; color: #ddd; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.admin-login-card img { margin: 0 auto 6px; }
.admin-login-card h1 { color: #fff; text-align: center; font-size: 26px; margin: 0; }
.admin-login-card p { text-align: center; margin: 0 0 10px; color: #aaa; }
.admin-login-card label { font-size: 13px; font-weight: 700; }
.admin-login-card input { padding: 10px 12px; border-radius: 5px; border: 1px solid #444; background: #0b0c10; color: #fff; }
.admin-login-card input:focus { outline: none; border-color: var(--gold); }
.admin-login-card .btn-gold { margin-top: 10px; padding: 10px; }
.admin-login-card .form-status.error { color: #ff9b9b; }
.admin-back { text-align: center; color: #aaa; font-size: 14px; }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; background: linear-gradient(to right, #0e1015 230px, transparent 230px); }
.admin-shell[hidden], .admin-login[hidden] { display: none; }
.admin-sidebar { background: #0e1015; color: #ccc; display: flex; flex-direction: column; padding: 18px 12px; position: sticky; top: 0; height: 100vh; }
.admin-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 900; line-height: 1.1; padding: 0 6px 18px; border-bottom: 1px solid #222; margin-bottom: 12px; }
.admin-brand small { color: var(--gold); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 11px; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.admin-sidebar nav button { text-align: left; background: transparent; border: 0; color: #bbb; padding: 11px 14px; border-radius: 6px; cursor: pointer; font: inherit; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.admin-sidebar nav button:hover { background: #1a1d24; color: #fff; }
.admin-sidebar nav button.is-active { background: var(--gold); color: #fff; }
.nav-badge { background: #e5484d; color: #fff; border-radius: 10px; font-size: 11px; padding: 1px 7px; }
.admin-logout { background: transparent; border: 1px solid #333; color: #e5a1a1; padding: 10px; border-radius: 6px; cursor: pointer; font: inherit; }
.admin-main { min-width: 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 28px; background: #fff; border-bottom: 1px solid #e6e6e6; position: sticky; top: 0; z-index: 50; }
.admin-topbar h1 { font-size: 22px; color: #1b1b1b; margin: 0; }
.publish-box { display: flex; align-items: center; gap: 12px; }
.publish-box .btn-gold { padding: 9px 20px; }
.publish-state { font-size: 13px; color: #17692f; }
.publish-state::before { content: '●'; margin-right: 6px; }
.publish-state.is-pending { color: #a86a00; }
.admin-content { padding: 28px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.toolbar input[type=search] { flex: 1; min-width: 220px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 5px; font: inherit; }
.toolbar select { padding: 10px; border: 1px solid #ccc; border-radius: 5px; font: inherit; background: #fff; }
.toolbar .btn-gold { padding: 9px 20px; }
/* position: relative keeps absolutely positioned bits (e.g. sr-only headers) inside the scroller, so wide tables never widen the page */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #888; padding: 12px 14px; border-bottom: 1px solid #eee; background: #fafafa; white-space: nowrap; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; color: #333; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr.clickable { cursor: pointer; }
.data-table tr:hover td { background: #fcfaf5; }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions .btn { margin-left: 4px; }
.cell-prop { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.cell-prop img, .mini-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; background: #eee; flex-shrink: 0; display: block; }
.cell-prop strong { display: block; color: #1b1b1b; }
.cell-prop .muted { font-size: 12px; }
.source-badge { font-size: 12px; background: #f1ece0; color: #7a5a1c; padding: 3px 8px; border-radius: 4px; }
.crm-badge { font-size: 12px; padding: 3px 8px; border-radius: 4px; background: #eee; color: #555; white-space: nowrap; }
.crm-delivered { background: #e3f5e8; color: #17692f; }
.crm-failed { background: #fde4e4; color: #a12a2a; }
.chart-card .chart-head, .panel-card .chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.chart-head h2 { margin: 0; }
.chart-head a { color: var(--gold); font-size: 14px; }
.chart-wrap { position: relative; }
.bar-chart { width: 100%; height: auto; display: block; }
.bar-chart .grid { stroke: #ececec; stroke-width: 1; }
.bar-chart .grid.base { stroke: #bdbdbd; }
.bar-chart .axis { fill: #8a8a8a; font-size: 11px; font-family: var(--font); }
.bar-chart .bar path { fill: #c08830; transition: fill .15s; }
.bar-chart .bar.on path { fill: #a9741f; }
.bar-chart .bar .hit { fill: transparent; }
.bar-chart .bar.on .hit { fill: rgba(192,136,48,.07); }
.chart-tip { position: absolute; pointer-events: none; background: #1b1b1b; color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 4px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.chart-table summary { cursor: pointer; color: #777; font-size: 13px; margin-top: 8px; }
.chart-table table { border-collapse: collapse; margin-top: 8px; font-size: 13px; }
.chart-table td, .chart-table th { border: 1px solid #eee; padding: 4px 10px; }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mini-list li { display: flex; align-items: center; gap: 12px; }
.mini-list img { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; }
.mini-list div { display: flex; flex-direction: column; min-width: 0; }
.mini-list strong { color: #222; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list span { color: #888; font-size: 12px; }
.lead-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.submission { display: grid; grid-template-columns: 280px 1fr; gap: 20px; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; padding: 16px; margin: 16px 0; }
.sub-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.sub-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.sub-photos img:first-child { grid-column: 1 / -1; }
.sub-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sub-title h3 { margin: 0; color: #1b1b1b; font-size: 19px; }
.sub-body p { margin: 6px 0; font-size: 14px; }
.sub-desc { color: #555; white-space: pre-line; }
.owner-line a, .owner-box a { color: var(--gold); }
.owner-box { background: #fbf6ec; padding: 10px 14px; border-radius: 6px; font-size: 14px; }
.sub-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.sub-actions select { padding: 6px 10px; border: 1px solid #ccc; border-radius: 4px; max-width: 100%; }
.check-list-admin { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-row { display: flex; gap: 14px; align-items: flex-start; }
.check-row strong { display: block; color: #1b1b1b; }
.check-row > div > span { font-size: 13px; font-weight: 700; }
.check-row.ok > div > span { color: #17692f; }
.check-row.todo > div > span { color: #a86a00; }
.check-row p { margin: 2px 0 0; font-size: 13px; }
.check-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; flex-shrink: 0; }
.check-row.ok .check-icon { background: #e3f5e8; color: #17692f; }
.check-row.todo .check-icon { background: #fff3d6; color: #8a5a00; }
.temp-pass code { font-size: 20px; background: #f4f0e6; padding: 6px 12px; border-radius: 4px; letter-spacing: 1px; }
.modal { position: fixed; inset: 0; z-index: 3500; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(10,11,14,.7); }
.modal-dialog { position: relative; background: #fff; border-radius: 10px; width: 100%; max-width: 520px; box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: pop-in .25s ease; }
.modal-dialog.wide { max-width: 860px; }
.modal-dialog header { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid #eee; }
.modal-dialog h2 { margin: 0; font-size: 19px; color: #1b1b1b; }
.modal-x { background: none; border: 0; font-size: 18px; cursor: pointer; color: #888; }
.modal-body { padding: 22px; }

/* Voice agent widget ------------------------------------------------------------------ */
.voice-widget { position: fixed; right: 20px; bottom: 20px; z-index: 1001; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--font); }
body.has-crm-widget .voice-widget { bottom: 100px; }
/* Chat widget (chat-widget.js) owns the bottom-right corner (60px button at 20px);
   the voice "Talk to us" button sits just above it. */
body.has-chat-widget .voice-widget { bottom: 92px; }
.voice-launcher { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 0; border-radius: 40px; cursor: pointer; color: #fff; font-weight: 700; font-size: 15px; background: linear-gradient(135deg, #d9a441, #a9741f); box-shadow: 0 8px 24px rgba(169,116,31,.45); transition: transform .2s, box-shadow .2s; }
.voice-launcher:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(169,116,31,.55); }
.voice-launcher-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; position: relative; }
.voice-launcher-icon::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,215,0,.7); animation: voice-ping 2.2s ease-out infinite; }
@keyframes voice-ping { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.voice-widget.is-open .voice-launcher-icon::after { animation: none; opacity: 0; }
.voice-panel { width: min(340px, calc(100vw - 40px)); background: #0f1116; color: #ddd; border: 1px solid rgba(192,136,48,.55); border-radius: 16px; padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: pop-in .25s ease; }
.voice-panel[hidden] { display: none; }
.voice-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.voice-head img { border-radius: 50%; }
.voice-head > div { flex: 1; min-width: 0; }
.voice-head h2 { color: #fff; font-size: 16px; margin: 0; }
.voice-head p { margin: 0; font-size: 12px; color: var(--gold); }
.voice-close { background: none; border: 0; color: #888; cursor: pointer; padding: 4px; display: flex; }
.voice-close:hover { color: #fff; }
.voice-orb { position: relative; width: 120px; height: 120px; margin: 14px auto; display: flex; align-items: center; justify-content: center; }
.voice-orb span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(192,136,48,.5); }
.voice-orb span:nth-child(2) { inset: 14px; border-color: rgba(192,136,48,.7); }
.voice-orb span:nth-child(3) { inset: 28px; background: radial-gradient(circle at 35% 30%, #f2c46b, #a9741f); border: 0; box-shadow: 0 0 30px rgba(255,190,80,.35); }
.voice-orb i { position: relative; color: #fff; display: flex; }
.voice-widget[data-state="connecting"] .voice-orb span:nth-child(1), .voice-widget[data-state="connecting"] .voice-orb span:nth-child(2) { animation: spin 2.5s linear infinite; border-style: dashed; }
.voice-widget[data-state="live"] .voice-orb span:nth-child(1) { animation: voice-breathe 2.4s ease-in-out infinite; }
.voice-orb.talking span:nth-child(1) { animation: voice-talk .5s ease-in-out infinite alternate; }
.voice-orb.talking span:nth-child(2) { animation: voice-talk .5s .15s ease-in-out infinite alternate; }
@keyframes voice-breathe { 50% { transform: scale(1.06); opacity: .6; } }
@keyframes voice-talk { from { transform: scale(1); } to { transform: scale(1.16); border-color: rgba(255,215,0,.9); } }
.voice-status { text-align: center; font-size: 14px; min-height: 42px; margin: 0 0 14px; color: #ccc; }
.voice-controls { display: flex; gap: 10px; justify-content: center; }
.voice-call { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 30px; padding: 11px 22px; cursor: pointer; font-weight: 700; font-size: 15px; color: #fff; background: #1e8e3e; transition: background-color .2s, transform .2s; }
.voice-call:hover { transform: translateY(-1px); background: #17722f; }
.voice-call.is-end { background: #d93636; }
.voice-call.is-end:hover { background: #b52a2a; }
.voice-mute { border: 1px solid #444; background: transparent; color: #ddd; border-radius: 30px; padding: 10px 18px; cursor: pointer; font: inherit; }
.voice-mute[aria-pressed="true"] { background: #333; color: var(--bright-gold); }
.voice-note { font-size: 11px; color: #777; text-align: center; margin: 14px 0 0; }
.voice-note a { color: #aaa; }

/* Responsive for additions -------------------------------------------------------------- */
@media (max-width: 991px) {
  .account-shell { grid-template-columns: 1fr; margin-top: -40px; }
  .account-tabs { position: static; flex-direction: row; overflow-x: auto; }
  .account-tabs button { white-space: nowrap; }
  .account-tabs .account-logout { margin: 0 0 0 auto; border-top: 0; }
  .quick-actions, .two-panels { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; background: none; }
  .admin-sidebar { position: sticky; top: 0; height: auto; flex-direction: row; align-items: center; gap: 8px; padding: 8px 10px; z-index: 60; min-width: 0; }
  .admin-brand { border: 0; margin: 0; padding: 0; flex-shrink: 0; }
  .admin-brand img { width: 36px; height: 36px; }
  .admin-brand span { display: none; }
  /* section buttons scroll sideways; logo and Log out stay visible */
  .admin-sidebar nav { flex-direction: row; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .admin-sidebar nav::-webkit-scrollbar { display: none; }
  .admin-sidebar nav button { white-space: nowrap; padding: 8px 12px; flex-shrink: 0; }
  .admin-logout { flex-shrink: 0; white-space: nowrap; padding: 8px 12px; }
  .admin-topbar { position: static; padding: 14px 16px; }
  .admin-content { padding: 16px; }
  .submission { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .account-panel { padding: 18px; }
  .account-panel .card-grid { grid-template-columns: 1fr; }
  .account-title { font-size: 30px; }
  .dash-form, .detail-list { grid-template-columns: 1fr; }
  .listing-row { grid-template-columns: 90px 1fr; }
  .listing-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .voice-launcher-label { display: none; }
  .voice-launcher { padding: 8px; }
  .publish-box { width: 100%; justify-content: space-between; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-tile { padding: 14px; }
  .stat-value { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .voice-launcher-icon::after { animation: none; }
}

/* "Talk to us" button (bottom-right): one round button that opens WhatsApp, the chat
   assistant or the voice agent. It turns into a close (X) while anything is open. */
.contact-hub { position: fixed; right: 20px; bottom: 20px; z-index: 1002; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; font-family: var(--font); }
body.has-crm-widget .contact-hub { bottom: 100px; }
.contact-hub-launcher { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer; color: #111; background: #e2b53e; box-shadow: 0 8px 24px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; transition: transform .2s, background-color .2s; }
.contact-hub-launcher:hover { transform: scale(1.06); background: #ecc354; }
.contact-hub-launcher > span { position: absolute; display: flex; transition: opacity .2s, transform .25s; }
.contact-hub-launcher svg { width: 28px; height: 28px; }
.hub-ico-close { opacity: 0; transform: rotate(-90deg); }
.contact-hub.is-active .hub-ico-open { opacity: 0; transform: rotate(90deg); }
.contact-hub.is-active .hub-ico-close { opacity: 1; transform: none; }
.contact-hub-tip { position: relative; display: flex; align-items: center; background: #fff; color: #1d2433; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.22); animation: pop-in .3s ease; max-width: calc(100vw - 40px); }
.contact-hub-tip[hidden] { display: none; }
.contact-hub-tip::after { content: ''; position: absolute; right: 23px; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); }
.contact-hub-tip-text { background: none; border: 0; padding: 12px 6px 12px 16px; font: inherit; font-size: 15px; font-weight: 700; color: inherit; cursor: pointer; text-align: left; }
.contact-hub-tip-x { background: none; border: 0; padding: 10px; color: #888; cursor: pointer; display: flex; position: relative; z-index: 1; }
.contact-hub-tip-x svg { width: 16px; height: 16px; }
.contact-hub-menu { width: min(340px, calc(100vw - 40px)); background: #0b0b0c; border-radius: 16px; padding: 18px 10px 10px; box-shadow: 0 24px 60px rgba(0,0,0,.45); animation: pop-in .25s ease; }
.contact-hub-menu[hidden] { display: none; }
.contact-hub-title { color: #e2b53e; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin: 0 8px 8px; }
.contact-hub-option { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 12px; padding: 10px 8px; color: #fff; cursor: pointer; font: inherit; text-decoration: none; transition: background-color .2s; }
.contact-hub-option:hover, .contact-hub-option:focus-visible { background: #1a1b1f; color: #fff; }
.contact-hub-option strong { display: block; font-size: 16px; }
.contact-hub-option small { display: block; color: #a9abb3; font-size: 13px; }
.contact-hub-ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: #e2b53e; color: #111; display: flex; align-items: center; justify-content: center; }
.contact-hub-ico svg { width: 24px; height: 24px; }
.contact-hub-ico.ico-wa { background: #1f8f4e; color: #fff; }
/* the voice agent keeps its panel but uses the Contact us button instead of its own */
body.has-contact-hub .voice-launcher { display: none; }
body.has-contact-hub .voice-widget { bottom: 88px; }
@media (max-width: 767px) {
  .contact-hub-launcher { width: 56px; height: 56px; }
  body.has-contact-hub .voice-widget { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .contact-hub-tip, .contact-hub-menu { animation: none; } }

/* Contact page ----------------------------------------------------------------
   Black + gold hero: 3D skyline (contact3d.js) behind the intro and the form. */
.page-contact { background: #050506; }
.contact-hero { position: relative; overflow: hidden; min-height: max(760px, calc(100vh - var(--header-h))); padding: 70px 0 110px; color: #fff;
  background: radial-gradient(ellipse at 75% 30%, rgba(226,181,62,.18), transparent 55%), linear-gradient(rgba(5,5,6,.75), rgba(5,5,6,.92)), #050506 url('/images/b2.jpg') center / cover no-repeat; }
.contact3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.contact-hero.is-3d .contact3d-canvas { opacity: 1; }
/* with the 3D skyline running, the photo gives way to a night sky with a gold glow */
.contact-hero.is-3d { background: radial-gradient(ellipse 55% 45% at 25% 65%, rgba(226,181,62,.2), transparent 70%), linear-gradient(#020203 0%, #0a0907 55%, #14100a 100%); }
.contact-hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,5,6,.5) 0%, rgba(5,5,6,.35) 40%, rgba(5,5,6,0) 62%), linear-gradient(to top, #050506 0%, rgba(5,5,6,0) 22%); }
/* buildings show on the left too: a soft dark halo keeps the text readable over them */
.contact-intro h1, .contact-lead, .contact-intro h2, .contact-details li { text-shadow: 0 2px 12px rgba(0,0,0,.95), 0 0 2px rgba(0,0,0,.9); }
.contact-hero-inner { position: relative; max-width: 1560px; margin: 0 auto; padding: 0 60px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 525px); gap: 60px; align-items: start; }
.contact-intro { padding-top: 10px; max-width: 720px; }
.contact-intro h1 { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: #fff; margin: 0 0 22px; }
.contact-intro h1 span { color: var(--goldenrod); }
.contact-lead { font-size: 20px; line-height: 1.55; color: #b9b9be; margin: 0; }
.contact-intro h2 { font-size: 22px; font-weight: 700; color: #fff; margin: 70px 0 18px; }
.contact-details { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-size: 18px; color: #d4d4d8; }
.contact-details svg { color: var(--goldenrod); flex-shrink: 0; }
.contact-details a { color: #d4d4d8; text-decoration: none; }
.contact-details a:hover { color: var(--goldenrod); }

.contact-card { background: rgba(12,12,14,.74); border: 1px solid rgba(226,181,62,.35); border-radius: 18px; padding: 26px 30px 34px; box-shadow: 0 30px 80px rgba(0,0,0,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.contact-form-v2 .cf-field { padding: 20px 10px 0; }
.cf-label { display: block; font-size: 14px; color: #e9e9ec; margin-bottom: 8px; }
.cf-label .req { color: #e5484d; margin-left: 2px; }
.contact-form-v2 input:not([type=hidden]), .contact-form-v2 select, .contact-form-v2 textarea { width: 100%; min-height: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); border-radius: 0; background: transparent; color: #fff; font: inherit; font-size: 17px; padding: 8px 0 14px; box-shadow: none; }
.contact-form-v2 input::placeholder, .contact-form-v2 textarea::placeholder { color: #8d8d95; }
.contact-form-v2 input:focus, .contact-form-v2 select:focus, .contact-form-v2 textarea:focus { outline: none; border-bottom-color: var(--goldenrod); box-shadow: none; }
.contact-form-v2 .is-invalid { border-bottom-color: #e5484d !important; }
.contact-form-v2 textarea { resize: vertical; min-height: 44px; }
.contact-form-v2 select { appearance: none; cursor: pointer; padding-right: 28px; background: transparent url("data:image/svg+xml;charset=UTF-8,%3csvg fill='%23daa520' xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24'%3e%3cpath d='M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z'/%3e%3c/svg%3e") no-repeat right 0 top 6px; }
.contact-form-v2 select option { background: #121214; color: #fff; }
.cf-phone { position: relative; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
.cf-phone:focus-within { border-bottom-color: var(--goldenrod); }
.cf-phone input:not([type=hidden]) { border-bottom: 0 !important; flex: 1; min-width: 0; }
.cf-country { display: flex; align-items: center; gap: 4px; background: none; border: 0; padding: 4px 6px 4px 0; cursor: pointer; color: #9a9aa2; flex-shrink: 0; border-right: 1px solid rgba(255,255,255,.14); }
.cf-country img { width: 24px; height: 16px; border-radius: 2px; object-fit: cover; }
.cf-dial { color: #fff; font-size: 17px; flex-shrink: 0; padding: 8px 0 14px; }
.cf-country-list { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; width: min(300px, 100%); max-height: 260px; overflow-y: auto; list-style: none; margin: 0; padding: 6px; background: #121214; border: 1px solid rgba(226,181,62,.35); border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.cf-country-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; cursor: pointer; color: #ddd; font-size: 14px; }
.cf-country-list li:hover, .cf-country-list li:focus { background: #1f2026; outline: none; }
.cf-country-list li[aria-selected="true"] { color: var(--goldenrod); }
.cf-country-list li span { flex: 1; }
.cf-country-list li b { color: #9a9aa2; font-weight: 400; }
.cf-submit { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; width: 100%; height: 60px; margin-top: 32px; border: 0; border-radius: 6px; background: linear-gradient(135deg, #e2b53e, #b8862a); color: #111; font-size: 19px; font-weight: 700; cursor: pointer; transition: filter .2s, transform .2s; }
.cf-submit:hover { filter: brightness(1.08); }
.cf-submit[disabled] { opacity: .75; cursor: wait; }
.cf-submit span { position: relative; }
.cf-submit .plane { position: absolute; width: 84px; height: 42px; color: rgba(0,0,0,.28); }
.cf-submit .plane:first-child { left: 10px; bottom: -6px; }
.cf-submit .plane:last-of-type { right: 6px; bottom: -4px; transform: scaleX(-1); }
.contact-form-v2 .form-status { padding: 0 4px; }
.contact-form-v2 .form-status.success { color: #7dffa1; }
.contact-form-v2 .form-status.error { color: #ffb3b3; }
.contact-form-v2 .form-status a { color: var(--bright-gold); }
@media (max-width: 1199px) {
  .contact-hero-inner { padding: 0 32px; gap: 40px; }
}
@media (max-width: 991px) {
  .contact-hero { min-height: 0; padding: 40px 0 70px; }
  .contact-hero-inner { grid-template-columns: 1fr; padding: 0 16px; gap: 36px; }
  .contact-hero-shade { background: linear-gradient(rgba(5,5,6,.75), rgba(5,5,6,.45) 45%, rgba(5,5,6,.85)); }
  .contact-intro h2 { margin-top: 36px; }
}
@media (max-width: 767px) {
  .contact-intro h1 { font-size: 30px; }
  .contact-lead { font-size: 17px; }
  .contact-details li { font-size: 16px; }
  .contact-card { padding: 14px 16px 24px; border-radius: 14px; }
  .contact-form-v2 .cf-field { padding: 18px 4px 0; }
  .cf-submit { font-size: 17px; height: 56px; }
}

/* Show / hide password button (main.js adds it to every password box) */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap input { width: 100%; padding-right: 46px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #888; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--gold); background: rgba(192,136,48,.12); }
.pw-toggle[aria-pressed="true"] { color: var(--gold); }
input::-ms-reveal, input::-ms-clear { display: none; } /* Edge's own eye would show twice */

/* Saved-properties heart in the header (signed-in customers) */
.nav-fav[hidden] { display: none !important; }
.nav-fav a { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.nav-fav-heart { fill: none; stroke: var(--goldenrod); stroke-width: 2; transition: fill .2s, transform .2s; }
.nav-fav.has-favs .nav-fav-heart { fill: #e0245e; stroke: #e0245e; }
.nav-fav a:hover .nav-fav-heart { transform: scale(1.12); }
.nav-fav-count { position: absolute; top: -2px; left: 14px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #111; font-size: 11px; font-weight: 900; line-height: 18px; text-align: center; }
.nav-fav-count[hidden] { display: none; }
.nav-fav-label { display: none; }
@media (max-width: 1199px) {
  .nav-fav a { justify-content: flex-start !important; }
  .nav-fav-label { display: inline; }
  .nav-fav-count { position: static; order: 3; }
}

/* Project tile without a photo of its own place yet: black & gold, never a wrong photo */
.proj_list.no-photo { background: radial-gradient(ellipse at 50% 40%, rgba(226,181,62,.22), transparent 65%), linear-gradient(135deg, #0b0b0d, #17140e); }
.proj_list.no-photo::before { background: transparent; }
.proj_list.no-photo::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(226,181,62,.35); pointer-events: none; }

/* Field checks (main.js + src/validation.mjs): red box + message under the field */
input.is-invalid, select.is-invalid, textarea.is-invalid,
.cf-phone.is-invalid, .dd-combo.is-invalid input { border-color: #e5484d !important; box-shadow: 0 0 0 3px rgba(229,72,77,.16) !important; }
.contact-form-v2 input.is-invalid, .contact-form-v2 select.is-invalid, .contact-form-v2 textarea.is-invalid, .cf-phone.is-invalid { box-shadow: none !important; }
.field-error { display: block; margin: 6px 2px 0; color: #c62828; font-size: 13px; line-height: 1.35; font-weight: 600; text-align: left; }
.field-error[hidden] { display: none; }
.field-error::before { content: '⚠ '; }
/* dark backgrounds: login / register, admin sign-in, contact page, account hero forms */
.auth-form .field-error, .admin-login-card .field-error, .contact-form-v2 .field-error { color: #ff9e9e; }
/* first wrong field after a blocked submit: a short pulse so the eye finds it */
.attention { animation: field-attention 1.2s ease; }
@keyframes field-attention { 0%, 100% { box-shadow: 0 0 0 3px rgba(229,72,77,.16); } 25%, 65% { box-shadow: 0 0 0 7px rgba(229,72,77,.35); } }

/* Dropdown lists (main.js): open directly under their field */
.dd-list { position: fixed; z-index: 5000; margin: 0; padding: 6px; list-style: none; overflow-y: auto; background: #fff; color: #1d2433; border: 1px solid #d9d2c3; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.22); font-family: var(--font); font-size: 15px; text-align: left; animation: dd-in .12s ease; }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dd-list li { padding: 9px 12px; border-radius: 6px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-list li.is-active { background: #f6efe1; }
.dd-list li[aria-selected="true"] { color: var(--gold-dark); font-weight: 700; }
.dd-list li[aria-selected="true"]::after { content: ' ✓'; }
.dd-list .dd-empty { color: #888; cursor: default; white-space: normal; font-size: 13px; }
.dd-combo { position: relative; display: block; width: 100%; }
.dd-combo > input { width: 100%; padding-right: 40px !important; }
.dd-arrow { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: #8a6d2c; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.dd-arrow:hover { background: #f6efe1; }
.dd-combo > input[aria-expanded="true"] ~ .dd-arrow svg, .dd-combo[aria-expanded="true"] .dd-arrow svg { transform: rotate(180deg); }
.dd-arrow svg { transition: transform .15s; }
@media (prefers-reduced-motion: reduce) { .attention, .dd-list { animation: none; } }
/* field icons stay centred on the input when an error message appears below it */
.lead-form .with-icon .field-icon { top: 23px; }
.auth-form .with-icon .field-icon { top: 20px; }

/* password changed: countdown to sign-out */
.logout-countdown { line-height: 1.5; }
.btn-link { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.auth-form .btn-link { color: var(--bright-gold); }

/* Admin bell: new property submissions */
.admin-bell-wrap { position: relative; }
.admin-bell { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #e3e3e3; background: #fff; color: #555; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.admin-bell:hover, .admin-bell[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }
.admin-bell.has-new { color: var(--gold-dark); animation: bell-ring 1.4s ease 2; }
@keyframes bell-ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-4deg); } }
.admin-bell-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 900; line-height: 20px; text-align: center; }
.admin-bell-count[hidden] { display: none; }
.admin-bell-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; width: min(380px, calc(100vw - 32px)); max-height: 440px; overflow-y: auto; background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.admin-bell-panel[hidden] { display: none; }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid #f0f0f0; position: sticky; top: 0; background: #fff; }
.admin-bell-panel ul { list-style: none; margin: 0; padding: 6px; }
.admin-bell-panel li button { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 10px; cursor: pointer; font: inherit; color: #333; }
.admin-bell-panel li button:hover { background: #fbf6ec; }
.admin-bell-panel li.unread button { background: #fdf8ee; }
.admin-bell-panel li.unread strong::before { content: '● '; color: #e5484d; }
.admin-bell-panel li span { font-size: 13px; color: #666; }
.admin-bell-panel li small { font-size: 12px; color: #999; }
.bell-empty { padding: 16px; margin: 0; }
@media (prefers-reduced-motion: reduce) { .admin-bell.has-new { animation: none; } }

/* fixed place fields (customer listings: Punjab, Pakistan only) */
.dash-form input.is-fixed { background: #f4f1ea; color: #555; cursor: default; }
.dash-form input.is-fixed:focus { box-shadow: none; border-color: #ccc; }
/* admin Submissions on phones: cards shrink to the screen, long emails / options wrap */
.submission > * { min-width: 0; }
.sub-body p, .owner-line, .owner-box { overflow-wrap: anywhere; }
.sub-actions select { min-width: 0; width: 100%; max-width: 360px; }
@media (max-width: 991px) { .submission { grid-template-columns: minmax(0, 1fr); } }
/* admin Overview on phones: cards shrink to the screen, long titles end in "…" */
.two-panels > *, .mini-list li, .mini-list div { min-width: 0; }
.mini-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 991px) { .two-panels { grid-template-columns: minmax(0, 1fr); } }

/* publish status inside the bell */
.admin-bell.has-pending:not(.has-new) .admin-bell-count { background: #e0a100; color: #111; }
.bell-publish { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px; padding: 12px; border-radius: 8px; background: #eef8f1; }
.bell-publish.is-pending { background: #fff4d6; }
.bell-publish strong { display: block; color: #17692f; font-size: 14px; }
.bell-publish.is-pending strong { color: #8a5a00; }
.bell-publish strong::before { content: '● '; }
.bell-publish span { display: block; font-size: 12px; color: #666; }
.bell-publish .btn { flex-shrink: 0; padding: 7px 12px; }
.bell-publish .btn-gold { background: var(--gold); color: #fff; border: 0; }
.bell-publish .btn-gold:hover { background: var(--gold-dark); color: #fff; }
.admin-bell-panel li span, .admin-bell-panel li strong { overflow-wrap: anywhere; }

/* admin Listings: who submitted a customer listing */
.source-owner { display: flex; flex-direction: column; margin-top: 6px; font-size: 12px; line-height: 1.35; max-width: 220px; }
.source-owner strong { color: #222; font-size: 13px; }
.source-owner span, .source-owner small { color: #777; overflow-wrap: anywhere; }
.source-owner small { font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
.not-found-new { color: #ddd; }

/* Price: currency dropdown + amount (listing forms) */
.price-field { display: flex; gap: 8px; width: 100%; }
.price-field select { flex: 0 0 auto; width: 88px; min-width: 0; padding-left: 8px; padding-right: 4px; }
.price-field input { flex: 1 1 auto; min-width: 0; }
.price-field select.currency-flash { animation: currency-flash 1.2s ease; }
@keyframes currency-flash { 0%, 40% { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.35); } 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); } }
@media (prefers-reduced-motion: reduce) { .price-field select.currency-flash { animation: none; } }

/* Keep the chat / call alive between pages (main.js): the page opens in a frame, the chat, the
   call and the buttons stay on the outer page. A page inside the frame hides its own buttons. */
html.shell-on, html.shell-on body { height: 100%; overflow: hidden; }
html.shell-on body > :not([data-persist]):not(#daiichi-chat-widget):not(.toast-stack) { display: none !important; }
.shell-frame { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #fff; z-index: 1; }
.in-shell .wa-float, .in-shell .voice-widget, .in-shell .contact-hub { display: none !important; }
/* Phones: the call panel takes about half the screen, the website stays usable above it */
@media (max-width: 767px) {
  .voice-panel { max-height: 55svh; overflow-y: auto; padding: 14px; }
  .voice-orb { width: 84px; height: 84px; margin: 6px auto 8px; }
  .voice-orb span:nth-child(2) { inset: 10px; }
  .voice-orb span:nth-child(3) { inset: 20px; }
  .voice-status { min-height: 0; margin-bottom: 10px; }
  .voice-note { margin-top: 10px; }
}
