:root {
  --bg: #000000;
  --bg-2: #09090B;
  --panel: #0F172B;
  --zinc: #18181B;
  --line: rgba(212, 175, 55, 0.22);
  --line-strong: rgba(212, 175, 55, 0.45);
  --gold: #FFD230;
  --gold-deep: #D4AF37;
  --text: #F1F5F9;
  --muted: #CAD5E2;
  --dim: #90A1B9;
  --radius: 16px;
  --gold-grad: linear-gradient(135deg, #F5C518, #D4AF37, #B8860B);
  --gold-text: linear-gradient(135deg, #FFF0B3, #F5C518, #D4AF37 70%, #9A7B1C);
  --font: 'Times New Roman', Tinos, Times, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #FFF0B3; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; color: #fff; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.gold-text { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; cursor: pointer; border: 0; transition: transform .2s, box-shadow .2s, background .2s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-gold { background: var(--gold-grad); color: #000; box-shadow: 0 10px 30px -10px rgba(245, 197, 24, .45); text-transform: uppercase; }
.btn-gold:hover { color: #000; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(245, 197, 24, .6); }
.btn-ghost { background: rgba(15, 23, 43, .8); color: var(--gold); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(212, 175, 55, .1); color: #FFF0B3; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 999px; }
.btn-block { width: 100%; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .3); color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pill svg { width: 14px; height: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.82)); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-ring { width: 44px; height: 44px; border-radius: 50%; padding: 2px; background: linear-gradient(to top right, #D97706, #FACC15, #FDE68A); flex-shrink: 0; }
.brand-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top; background: #000; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 20px; letter-spacing: .06em; white-space: nowrap; }
.brand-name small { white-space: nowrap; font-size: 10px; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 700; letter-spacing: .03em; }
.nav a { color: var(--muted); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: linear-gradient(to right, #FBBF24, #FEF08A); transition: width .3s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: var(--gold); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #000; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 16px; }
  .menu-btn { display: inline-flex; }
  .header-cta .hide-sm { display: none; }
}
@media (max-width: 560px) { .site-header .wrap { gap: 10px; } .brand { gap: 8px; } .brand-ring { width: 38px; height: 38px; } .brand-name strong { font-size: 16px; } .brand-name small { font-size: 8.5px; letter-spacing: .1em; } .header-cta .btn-gold.btn-sm { font-size: 0; gap: 0; width: 44px; height: 44px; min-height: 44px; padding: 0; } .header-cta .btn-gold.btn-sm svg { width: 18px; height: 18px; } }

/* Sections */
.section { padding: 96px 0; border-top: 1px solid rgba(245, 158, 11, .12); position: relative; }
.section-alt { background: linear-gradient(to bottom, #000, var(--bg-2) 50%, #000); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; letter-spacing: .02em; }
.section-head p { color: var(--muted); }
.divider { width: 96px; height: 2px; background: var(--gold-grad); border-radius: 2px; }

/* Cards */
.card { background: linear-gradient(to bottom, rgba(15,23,43,.9), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .3s, box-shadow .3s, transform .3s; }
.card:hover { border-color: var(--line-strong); box-shadow: 0 0 24px rgba(212,175,55,.15); }
.glow { box-shadow: 0 0 18px rgba(212, 175, 55, .16); border-color: rgba(212, 175, 55, .35); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: var(--gold); flex-shrink: 0; }
.icon-box svg { width: 24px; height: 24px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, #000 0%, rgba(0,0,0,.8) 50%, rgba(0,0,0,.6) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); text-transform: uppercase; letter-spacing: .02em; line-height: 1.12; margin: 22px 0 22px; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 620px; }
.hero-lead b { color: var(--gold); }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 26px 0 30px; font-size: 14px; color: var(--muted); }
.ticks span { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 16px; height: 16px; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.channels { margin-top: 34px; }
.channels-title { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--gold); margin-bottom: 12px; }
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chip { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 700; border: 1px solid; transition: background .2s; }
.chip svg { width: 15px; height: 15px; }
.chip-gold { color: var(--gold); border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.08); }
.chip-blue { color: #93C5FD; border-color: rgba(59,130,246,.35); background: rgba(59,130,246,.08); }
.chip-red { color: #FCA5A5; border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.08); }
.chip-pink { color: #F9A8D4; border-color: rgba(236,72,153,.35); background: rgba(236,72,153,.08); }
.chip-green { color: #86EFAC; border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.08); }
.chip:hover { filter: brightness(1.25); }

.portrait-card { position: relative; }
.portrait-card::before { content: ''; position: absolute; inset: -6px; border-radius: 22px; background: linear-gradient(to right, #F59E0B, #FDE047, #B45309); filter: blur(14px); opacity: .3; animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.portrait-inner { position: relative; border-radius: 20px; padding: 12px; background: linear-gradient(to bottom, var(--panel), var(--bg-2), #000); border: 1px solid var(--line-strong); box-shadow: 0 0 18px rgba(212,175,55,.16); }
.portrait-photo { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 4.6; }
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portrait-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, #000 0%, transparent 55%); }
.portrait-caption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.portrait-caption .pill { margin-bottom: 8px; background: var(--gold-grad); color: #000; border: 0; font-size: 10px; }
.portrait-caption strong { display: block; font-size: 26px; letter-spacing: .04em; color: #fff; }
.portrait-caption span { color: var(--gold); font-weight: 700; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.stat { text-align: center; padding: 14px 6px; border-radius: 12px; background: rgba(15,23,43,.8); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(17px, 1.9vw, 23px); white-space: nowrap; }
.stat small { font-size: 10px; letter-spacing: .14em; color: var(--dim); font-weight: 700; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portrait-card { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) { .channel-grid { grid-template-columns: repeat(2, 1fr); } .hero { padding-top: 40px; } }

/* Partner strip */
.partners { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.partners p { text-align: center; font-size: 12px; letter-spacing: .24em; color: var(--gold); font-weight: 700; margin-bottom: 18px; }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; font-size: 20px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 0 24px rgba(212,175,55,.15); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--gold-grad); color: #000; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(245,197,24,.18); transition: transform .2s; }
.play:hover { transform: translate(-50%, -50%) scale(1.08); color: #000; }
.play svg { width: 30px; height: 30px; margin-left: 4px; }
.about-photo .play-label { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-weight: 700; color: #fff; letter-spacing: .06em; }
.quote { border-left: 3px solid var(--gold-deep); padding: 6px 0 6px 20px; font-size: 22px; font-style: italic; color: #fff; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* Services */
.service { display: flex; flex-direction: column; gap: 16px; }
.service h3 { font-size: 21px; }
.service p { color: var(--muted); font-size: 15.5px; flex: 1; }
.service a { font-weight: 700; font-size: 14px; }

/* Projects */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row > span { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--dim); margin-right: 6px; }
.fbtn { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(245,158,11,.3); background: rgba(15,23,43,.6); color: var(--muted); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .2s; }
.fbtn:hover { color: var(--gold); }
.fbtn[aria-pressed="true"] { background: var(--gold-grad); color: #000; border-color: transparent; }
.search { min-height: 44px; flex: 1 1 260px; max-width: 420px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(245,158,11,.3); background: rgba(15,23,43,.6); }
.search::placeholder { color: var(--dim); }
.project { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project:hover .project-img img { transform: scale(1.06); }
.project-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 55%); }
.tag { position: absolute; z-index: 1; top: 14px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.tag-dev { left: 14px; background: rgba(0,0,0,.7); color: var(--gold); border: 1px solid var(--line-strong); }
.tag-hot { right: 14px; background: linear-gradient(135deg, #EF4444, #F97316); color: #fff; }
.price { position: absolute; z-index: 1; left: 16px; bottom: 12px; }
.price small { display: block; font-size: 10px; letter-spacing: .16em; color: var(--muted); font-weight: 700; }
.price b { font-size: 22px; }
.project-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-body .cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.project-body h3 { font-size: 22px; }
.loc { display: flex; gap: 6px; font-size: 14px; color: var(--dim); }
.loc svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; color: var(--gold); }
.project-body ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--muted); flex: 1; }
.project-body li { display: flex; gap: 8px; }
.project-body li::before { content: '◆'; color: var(--gold-deep); font-size: 10px; margin-top: 5px; }
.project-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.project-actions .btn { min-height: 44px; font-size: 13px; padding: 0 10px; }
.empty { text-align: center; color: var(--dim); padding: 40px 0; grid-column: 1 / -1; }

/* Loan calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } .grid > *, .calc > * { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.field-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.field-top output { color: var(--gold); font-size: 16px; letter-spacing: 0; }
input[type=range] { width: 100%; accent-color: #F5C518; height: 28px; }
.range-marks { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--dim); }
.years { display: flex; flex-wrap: wrap; gap: 8px; }
.tip { font-size: 14.5px; color: var(--muted); padding: 14px 16px; border-radius: 12px; background: rgba(245,158,11,.07); border: 1px dashed rgba(245,158,11,.35); }
.big-number { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; margin: 6px 0; }
.rows { display: flex; flex-direction: column; margin: 22px 0; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 15px; }
.rows div span { color: var(--muted); }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--zinc); }
.bar i { background: var(--gold-grad); transition: width .3s; }
.bar-legend { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dim); margin: 8px 0 22px; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* Testimonials */
.testi { display: flex; flex-direction: column; gap: 20px; position: relative; }
.stars { color: var(--gold); letter-spacing: 3px; }
.testi blockquote { margin: 0; font-size: 17.5px; font-style: italic; color: #fff; flex: 1; }
.person { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-deep); }
.person b { display: block; color: #fff; }
.person span { display: block; font-size: 13.5px; color: var(--gold); }
.person small { display: block; font-size: 13px; color: var(--dim); }

/* Videos */
.video-card { padding: 0; overflow: hidden; color: #fff; display: flex; flex-direction: column; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play { width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(245,197,24,.2); }
.video-thumb .play svg { width: 24px; height: 24px; }
.video-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.video-card .body small { color: var(--gold); font-weight: 700; letter-spacing: .12em; font-size: 12px; }
.video-card .body h3 { font-size: 21px; }

/* Contact cards */
.contact-card { display: flex; flex-direction: column; gap: 12px; }
.contact-card .label { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--dim); }
.contact-card h3 { font-size: 19px; }
.contact-card .handle { font-weight: 700; color: var(--gold); }
.contact-card p { color: var(--muted); font-size: 15px; flex: 1; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 700; color: var(--muted); }
.form input, .form select, .form textarea { min-height: 50px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(212,175,55,.3); background: rgba(0,0,0,.6); color: var(--text); font-weight: 400; }
.form textarea { padding: 12px 16px; resize: vertical; }
.form select option { background: #000; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(245,197,24,.15); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.note { font-size: 13px; color: var(--dim); text-align: center; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 88px 0 72px; overflow: hidden; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero .hero-bg img { opacity: .3; }
.page-hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); text-transform: uppercase; }
.page-hero p { color: var(--muted); max-width: 720px; font-size: 18px; }
.crumbs { font-size: 13.5px; color: var(--dim); }
.crumbs a { color: var(--dim); }

/* Project detail */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 48px; }
.detail-main h2 { font-size: 30px; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.fact { padding: 18px; border-radius: 12px; background: rgba(15,23,43,.7); border: 1px solid var(--line); }
.fact small { display: block; font-size: 12px; letter-spacing: .12em; color: var(--dim); font-weight: 700; }
.fact b { font-size: 17px; }
.amenities { display: flex; flex-wrap: wrap; gap: 10px; }
.amenities span { padding: 8px 16px; border-radius: 999px; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.3); font-size: 14.5px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--gold); font-size: 13px; letter-spacing: .12em; }
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: rgba(15,23,43,.5); }
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.advisor { display: flex; gap: 14px; align-items: center; }
.advisor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--gold-deep); }
.detail-cover { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 0 24px rgba(212,175,55,.15); }
.detail-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
@media (max-width: 1000px) { .detail { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* Steps / timeline */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: step; content: '0' counter(step); position: absolute; top: 0; left: 28px; font-size: 40px; font-weight: 700; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.timeline { display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--line-strong); margin-left: 10px; }
.tl { position: relative; padding: 0 0 36px 32px; }
.tl::before { content: ''; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 5px rgba(245,197,24,.15); }
.tl small { color: var(--gold); font-weight: 700; letter-spacing: .14em; }
.tl h3 { font-size: 22px; margin: 4px 0 8px; }
.tl p { color: var(--muted); }
details.faq { border: 1px solid var(--line); border-radius: 12px; background: rgba(15,23,43,.5); padding: 0 22px; }
details.faq + details.faq { margin-top: 12px; }
details.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: '–'; }
details.faq p { color: var(--muted); padding-bottom: 20px; }
.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* CTA band */
.cta-band { text-align: center; padding: 72px 24px; border-radius: 24px; background: radial-gradient(ellipse at top, rgba(245,197,24,.16), transparent 60%), linear-gradient(to bottom, var(--panel), #000); border: 1px solid var(--line-strong); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; }
.cta-band p { color: var(--muted); max-width: 640px; }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid rgba(245,158,11,.2); padding: 64px 0 40px; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-size: 14px; letter-spacing: .16em; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: var(--muted); }
.site-footer ul a:hover { color: var(--gold); }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--dim); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating contact */
.float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.float a { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .2s; font-weight: 700; font-size: 13px; }
.float a:hover { transform: scale(1.08); color: #fff; }
.float svg { width: 24px; height: 24px; }
.f-zalo { background: #0068FF; }
.f-fb { background: #1877F2; }
.f-call { background: var(--gold-grad); color: #000 !important; animation: ring 2.2s infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,.55); } 70% { box-shadow: 0 0 0 16px rgba(245,197,24,0); } }

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { width: min(960px, 100%); aspect-ratio: 16 / 9; position: relative; }
.modal-box iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.modal-close { position: absolute; top: -48px; right: 0; background: none; border: 1px solid var(--line-strong); color: var(--gold); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 20px; }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .card { padding: 22px; }
  .project-body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* News */
.news { display: flex; flex-direction: column; gap: 14px; }
.news h3 { font-size: 23px; line-height: 1.25; color: #fff; }
.news-featured h3 { font-size: clamp(26px, 3vw, 34px); }
.news-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-size: 14px; color: var(--dim); }
.news-topic { padding: 4px 10px; border-radius: 6px; background: rgba(245,158,11,.1); border: 1px solid var(--line-strong); color: var(--gold); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; }
.news-tip { padding: 14px 16px; border-left: 3px solid var(--gold-deep); background: rgba(245,158,11,.06); border-radius: 0 10px 10px 0; color: var(--muted); font-size: 15.5px; }
.news-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; margin-top: auto; }
.news-link svg { width: 16px; height: 16px; }

/* Bảng hàng: filter bar + map + list */
.bh-bar { position: sticky; top: 76px; z-index: 40; background: rgba(0,0,0,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bh-bar-in { display: flex; gap: 10px; align-items: center; padding: 14px 24px; overflow-x: auto; scrollbar-width: none; }
.bh-bar-in::-webkit-scrollbar { display: none; }
.bh-search { position: relative; flex: 0 0 280px; }
.bh-search input { width: 100%; min-height: 46px; padding: 0 44px 0 18px; border-radius: 999px; border: 1px solid rgba(245,158,11,.35); background: rgba(15,23,43,.7); color: #fff; font: inherit; font-size: 15px; }
.bh-search input::placeholder { color: var(--dim); }
.bh-search svg { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
.bh-sel { flex: 0 0 auto; min-height: 46px; padding: 0 38px 0 16px; border-radius: 12px; border: 1px solid rgba(245,158,11,.3); background: rgba(15,23,43,.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FFD230' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--muted); font: inherit; font-size: 15px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.bh-sel:focus, .bh-search input:focus { outline: 2px solid var(--gold-deep); outline-offset: 1px; }
.bh-sel option { background: #0b0b0e; color: #fff; }
.bh-clear { flex: 0 0 auto; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--dim); font: inherit; font-size: 15px; cursor: pointer; }
.bh-clear:hover { color: var(--gold); border-color: var(--line-strong); }
.bh-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.bh-map-col { position: sticky; top: 151px; height: calc(100vh - 151px); border-right: 1px solid var(--line); }
#bh-map { width: 100%; height: 100%; background: #0b0b0e; }
.bh-list-col { padding: 28px 28px 40px; min-width: 0; }
.bh-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.bh-head h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.bh-sort { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 14px; }
.bh-chip { margin-bottom: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(245,158,11,.1); color: var(--gold); font: inherit; font-size: 14px; cursor: pointer; }
#bh-list { display: flex; flex-direction: column; gap: 18px; }
.unit { padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); }
.unit:hover { border-color: var(--line-strong); box-shadow: 0 0 22px rgba(212,175,55,.14); }
.unit-img { position: relative; display: block; min-height: 220px; overflow: hidden; }
.unit-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.unit:hover .unit-img img { transform: scale(1.04); }
.unit-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.unit-kind { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.unit-price { font-size: 26px; line-height: 1.2; }
.unit-body h3 { font-size: 20px; line-height: 1.3; }
.unit-body h3 a { color: #fff; }
.unit-body .loc svg { width: 15px; height: 15px; flex: none; margin-top: 4px; }
.unit-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; color: var(--muted); }
.unit-meta b { color: #fff; }
.unit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.bh-pin-wrap { background: none; border: 0; }
.bh-pin { display: inline-block; transform: translate(-50%, -50%); padding: 6px 12px; border-radius: 999px; background: #0b0b0e; border: 1px solid var(--line-strong); color: #fff; font: 700 13px/1.2 var(--font); white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.6); cursor: pointer; transition: background .2s, color .2s; }
.bh-pin:hover, .bh-pin.on { background: var(--gold-grad); color: #000; border-color: transparent; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #0b0b0e; color: #fff; border: 1px solid var(--line-strong); }
.leaflet-popup-content { margin: 10px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--gold); }
.bh-pop { display: flex; flex-direction: column; gap: 4px; color: #fff !important; font-family: var(--font); }
.bh-pop img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: 4px; }
.bh-pop b { font-size: 16px; }
.bh-pop span { font-size: 12.5px; color: var(--dim); }
.bh-pop em { font-style: normal; color: var(--gold); font-size: 13px; font-weight: 700; }
.leaflet-control-zoom a { background: #0b0b0e !important; color: var(--gold) !important; border-color: var(--line) !important; }
.leaflet-control-attribution { background: rgba(0,0,0,.7) !important; color: var(--dim) !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }
@media (max-width: 1000px) {
  .bh-split { grid-template-columns: minmax(0, 1fr); }
  .bh-map-col { position: relative; top: 0; height: 340px; border-right: 0; border-bottom: 1px solid var(--line); }
  .bh-list-col { padding: 22px 16px 36px; }
}
@media (max-width: 640px) {
  .bh-bar { top: 64px; }
  .bh-bar-in { padding: 10px 16px; }
  .bh-search { flex-basis: 220px; }
  .unit { grid-template-columns: minmax(0, 1fr); }
  .unit-img { min-height: 200px; }
}

/* Unit page */
.unit-page { padding: 24px 0 72px; }
.unit-page .crumbs { display: block; margin-bottom: 16px; }
.ug { position: relative; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); height: clamp(300px, 46vw, 540px); }
.ug-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.ug-3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.ug-3 .ug-tile:first-child { grid-row: 1 / 3; }
.ug-4, .ug-5 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.ug-4 .ug-tile:first-child, .ug-5 .ug-tile:first-child { grid-row: 1 / 3; }
.ug-4 .ug-tile:nth-child(2) { grid-column: 2 / 4; }
.ug-tile { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #0b0b0e; cursor: zoom-in; min-height: 0; }
.ug-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ug-tile:hover img { transform: scale(1.03); }
.ug-back, .ug-count { position: absolute; z-index: 2; padding: 10px 16px; border-radius: 12px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); border: 1px solid var(--line-strong); color: #fff; font-size: 14.5px; font-weight: 700; }
.ug-back { top: 16px; left: 16px; }
.ug-count { right: 16px; bottom: 16px; pointer-events: none; }
.unit-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin: 18px 0 32px; }
.unit-strip .loc { font-size: 15.5px; color: var(--muted); align-items: center; }
.unit-strip .loc svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.unit-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.unit-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(15,23,43,.6); font-size: 14.5px; color: #fff; }
.unit-chips svg { width: 17px; height: 17px; color: var(--gold); }
.unit-detail { align-items: start; }
.unit-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.unit-pricebox, .unit-about { display: flex; flex-direction: column; gap: 14px; }
.unit-pricebox h1 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.unit-bigprice { font-size: clamp(34px, 4vw, 46px); font-weight: 700; line-height: 1.05; }
.unit-pricebox small { font-size: 12.5px; }
.agent { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--line-strong); background: linear-gradient(to bottom, rgba(15,23,43,.9), var(--bg-2)); }
.agent img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--gold-deep); }
.agent > div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; margin-right: auto; }
.agent b { color: #fff; font-size: 17px; }
.agent-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.unit-about-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.unit-about-head h2 { font-size: 24px; }
.unit-tools { display: flex; gap: 6px; }
.tool-btn { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.tool-btn:hover, .tool-btn[aria-pressed="true"] { color: var(--gold); border-color: var(--line-strong); }
.unit-facts { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.unit-facts .fact { padding: 12px 14px; }
.unit-facts .fact b { font-size: 15.5px; }
.unit-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.unit-plan img { height: 140px; width: auto; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.plan-empty { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--line-strong); color: #fff; line-height: 1.3; }
.plan-empty svg { width: 30px; height: 30px; color: var(--gold); }
.plan-empty small { color: var(--dim); }
.unit-area { font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; line-height: 1; margin-left: auto; }
.unit-jump { display: inline-block; margin-top: 10px; color: var(--gold); font-weight: 700; font-size: 15px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.unit-side { top: 96px; }
.ul-panel { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ul-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.ul-head h3 { font-size: 19px; }
.ul-head .bh-sel { min-height: 40px; font-size: 14px; max-width: 100%; }
.ul-list { list-style: none; margin: 0; padding: 0 4px 0 0; display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 230px); min-height: 260px; overflow-y: auto; position: relative; }
.ul-list li[hidden] { display: none; }
.ul-list a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid transparent; color: #fff; transition: background .2s, border-color .2s; }
.ul-list a:hover { background: rgba(245,158,11,.06); border-color: var(--line); }
.ul-list a.current { background: rgba(245,158,11,.12); border-color: var(--line-strong); }
.ul-list img { flex: 0 0 72px; width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.ul-list span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ul-list b { font-size: 15px; }
.ul-list small { font-size: 12.5px; color: var(--dim); }
.ul-list em { font-style: normal; font-weight: 700; font-size: 14px; }
.ul-all { color: var(--gold); font-weight: 700; font-size: 14.5px; }
.unit-mini { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.unit-mini img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.unit-mini > div { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.unit-mini h3 { font-size: 19px; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.94); padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(0,0,0,.6); color: #fff; font-size: 24px; cursor: pointer; }
.lb-x { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 1180px) { .unit-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) { .ul-list { max-height: 440px; } }
@media (max-width: 640px) {
  .ug, .ug-2, .ug-3, .ug-4, .ug-5 { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; height: 280px; }
  .ug .ug-tile:not(:first-child) { display: none; }
  .ug-back { top: 10px; left: 10px; padding: 8px 12px; font-size: 13.5px; }
  .unit-area { margin-left: 0; }
}
.bh-tiles { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.45); }
.bh-cluster { background: var(--gold-grad); color: #000; border-color: transparent; }
.bh-cluster:hover { filter: brightness(1.08); }.only-sm { display: none; }
@media (max-width: 1000px) { .only-sm { display: inline-block; } }
