/* Hawaii Real Estate — site styles */
:root {
  --navy: #1e3a8a;
  --navy-dark: #172e6e;
  --navy-deep: #0f1f4d;
  --red: #b91c1c;
  --red-dark: #991b1b;
  --orange: #f97316;
  --ink: #020817;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --gray: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 6px 24px rgba(15,31,77,.08);
  --shadow-lg: 0 4px 10px rgba(0,0,0,.05), 0 20px 48px rgba(15,31,77,.16);
  --head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 700; color: var(--navy); }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.red { color: var(--red); }
.hl { color: #ef4444; }
p { margin: 0 0 1em; color: var(--text); }
.eyebrow { display: block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 10px; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 64ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eef2ff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-wa { background: #16a34a; color: #fff; }
.btn-wa:hover { background: #15803d; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-word { font-family: var(--head); font-weight: 700; font-size: 1.85rem; letter-spacing: -.02em; color: var(--navy); line-height: 1; }
.brand-word b { color: var(--red); font-weight: 700; }
.brand-sep { width: 1px; height: 30px; background: var(--navy); opacity: .5; }
.brand-sub { font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; color: var(--navy); line-height: 1.15; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 28px 12px 26px; font-size: 1rem; color: var(--ink); border-bottom: 2px solid transparent; transition: color .15s; }
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); border-bottom-color: var(--red); font-weight: 500; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 28px; height: 28px; }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 4px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav-links.open a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links.open a.active { border-bottom-color: var(--line); }
}
@media (max-width: 520px) {
  .nav { height: 70px; }
  .nav-links.open { top: 70px; }
  .brand-word { font-size: 1.45rem; }
  .brand-sub { font-size: .7rem; }
  .nav-cta .btn span { display: none; }
  .nav-cta .btn { padding: 10px 12px; }
}

/* Hero */
.hero { position: relative; color: #fff; padding: 72px 0 64px; overflow: hidden; background: var(--navy-deep); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,14,30,.72), rgba(10,14,30,.6) 45%, rgba(10,14,30,.78)); }
.hero .wrap { position: relative; z-index: 2; }
.hero-copy { text-align: center; max-width: 920px; margin: 0 auto; }
.hero-copy p { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 760px; margin: 18px auto 26px; }
.hero-short { padding: 64px 0 56px; }
.hero-short h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }

/* Glass search */
.search-panel {
  margin: 40px auto 0; max-width: 1140px; padding: 26px 34px 30px; border-radius: 14px;
  background: rgba(40, 40, 46, .55); backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.tabs { display: flex; justify-content: center; margin-bottom: 18px; }
.toggle { display: inline-flex; padding: 5px; border-radius: 10px; background: rgba(255,255,255,.18); }
.toggle button { border: 0; background: none; color: #fff; padding: 9px 22px; border-radius: 7px; cursor: pointer; font-weight: 500; }
.toggle button.on { background: #fff; color: var(--ink); }
.search-panel label { display: block; font-size: .98rem; margin-bottom: 8px; color: #fff; }
.search-panel input[type=text], .search-panel select {
  width: 100%; padding: 14px 16px; border-radius: 7px; border: 0; background: #fff; color: var(--ink); outline: none; min-width: 0;
}
.search-panel select:disabled { background: #d1d5db; color: var(--muted); }
.s-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 18px; }
.s-row.three { grid-template-columns: repeat(3, 1fr); }
.s-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 16px; flex-wrap: wrap; }
.radio-pill { display: inline-flex; gap: 6px; background: rgba(255,255,255,.18); padding: 8px 10px; border-radius: 8px; }
.radio-pill label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; cursor: pointer; }
.radio-pill input { accent-color: var(--navy); width: 16px; height: 16px; margin: 0; }
.s-foot .btn { padding: 14px 34px; }
@media (max-width: 900px) {
  .search-panel { padding: 20px 16px; }
  .s-row, .s-row.three { grid-template-columns: 1fr 1fr; gap: 12px; }
  .s-foot .btn { width: 100%; }
}
@media (max-width: 480px) { .s-row, .s-row.three { grid-template-columns: 1fr; } }

/* Sections */
section { padding: 80px 0; }
@media (max-width: 700px) { section { padding: 56px 0; } }
.bg-gray { background: var(--gray); }
.section-head { margin-bottom: 44px; }
.section-head h2 + .lead { margin-top: 14px; }
.section-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.link-more { color: var(--red); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-more:hover { text-decoration: underline; }

/* About split + advisor card */
.about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.about p { font-size: 1.05rem; }
.advisor {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; border-radius: 16px; padding: 30px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 12px; position: sticky; top: 108px;
}
.advisor .eyebrow { color: #fca5a5; margin: 0; }
.advisor h3 { color: #fff; font-size: 1.45rem; line-height: 1.3; margin-bottom: 8px; }
.advisor .btn { justify-content: flex-start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 32px; } .advisor { position: static; } }

/* Cards */
.grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #e5e7eb; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge.soon { background: #7c3aed; }
.media-ph { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center; padding: 24px; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #fff; }
.media-ph span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.media-ph b { font-family: var(--head); font-size: 1.35rem; line-height: 1.2; }
.pp-steps { font-size: .8rem; color: var(--muted); margin: 0; }
.badge.sale { background: var(--navy); }
.badge.rent { background: var(--red); }
.pill-over { position: absolute; left: 12px; bottom: 12px; background: rgba(17,24,39,.72); color: #fff; font-size: .78rem; padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-family: var(--head); font-size: 1.3rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
.card-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; }
.card-loc svg { width: 16px; height: 16px; color: var(--red); flex: none; }
.card-text { color: var(--text); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.specs { display: flex; flex-wrap: wrap; gap: 16px; font-size: .9rem; color: var(--text); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 6px; }
.specs span { display: inline-flex; align-items: center; gap: 6px; }
.specs svg { width: 17px; height: 17px; color: var(--navy); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; gap: 10px; }
.card-price { font-weight: 700; color: var(--red); font-size: 1.15rem; line-height: 1.2; }
.card-price small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.card-cta { color: var(--navy); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 4px; }
.meta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.meta2 span { display: block; font-size: .78rem; color: var(--muted); }
.meta2 b { font-size: .98rem; color: var(--navy); }
.meta2 b.red { color: var(--red); }
.hl { color: #ef4444; }

/* Feature / info blocks */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.feat .ic { width: 48px; height: 48px; border-radius: 10px; background: #eef2ff; color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { margin-bottom: 8px; }
.feat p { margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.note-box { margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--red); background: #fef2f2; border-radius: 0 10px 10px 0; color: var(--text); }

/* Numbered options */
.options { display: grid; gap: 18px; }
.option { display: grid; grid-template-columns: 56px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.option .n { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.2rem; }
.option h3 { margin-bottom: 6px; }
.option p { margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.step::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .92rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist.two { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 3px; }
@media (max-width: 600px) { .checklist.two { grid-template-columns: 1fr; } }

/* Services page */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row img { border-radius: 14px; aspect-ratio: 16 / 11; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.service-row:nth-child(even) .service-media { order: 2; }
.service-row h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; gap: 24px; } .service-row:nth-child(even) .service-media { order: 0; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; margin: 0; }
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { flex: 1; font-size: 1rem; }
.quote cite { font-style: normal; font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; font-family: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; margin: 0; }

/* CTA band */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--navy-deep); }
.cta-band .hero-bg img { opacity: .35; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30,58,138,.85), rgba(15,31,77,.9)); z-index: 1; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 640px; margin: 14px auto 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Filters (listings) */
.filters { display: grid; grid-template-columns: auto repeat(6, 1fr) auto; gap: 12px; align-items: end; background: #fff; padding: 16px; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); margin: -48px 0 28px; position: relative; z-index: 5; }
.filters .f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.filters label { font-size: .78rem; color: var(--muted); font-weight: 600; }
.filters select, .filters input { padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--gray); width: 100%; min-width: 0; }
.filters .toggle { background: var(--gray); border: 1px solid var(--line); }
.filters .toggle button { color: var(--text); }
.filters .toggle button.on { background: var(--navy); color: #fff; }
.filters .reset { background: none; border: 0; color: var(--red); font-weight: 600; cursor: pointer; padding: 11px 6px; }
@media (max-width: 1180px) { .filters { grid-template-columns: 1fr 1fr 1fr; } .filters .toggle { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 600px) { .filters { grid-template-columns: 1fr 1fr; margin-top: -32px; } .filters .toggle { width: 100%; } .filters .toggle button { flex: 1; } }
.filters.proj { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 600px) { .filters.proj { grid-template-columns: 1fr; } }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.result-bar b { color: var(--navy); }
.result-bar select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.empty { text-align: center; padding: 56px 24px; background: #fff; border: 1px dashed #cbd5e1; border-radius: var(--radius); grid-column: 1 / -1; }
.empty h3 { margin-bottom: 8px; }
.empty p { max-width: 520px; margin: 0 auto 20px; }

/* Property detail */
.crumbs { font-size: .9rem; color: var(--muted); padding: 22px 0; }
.crumbs a:hover { color: var(--red); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; border-radius: 14px; overflow: hidden; height: min(60vh, 540px); }
.gallery.single { grid-template-columns: 1fr; }
.gallery button { border: 0; padding: 0; cursor: zoom-in; overflow: hidden; background: #e5e7eb; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .side { display: grid; gap: 10px; }
.gallery .more { position: absolute; right: 12px; bottom: 12px; background: #fff; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; height: auto; } .gallery > button { aspect-ratio: 4 / 3; } .gallery .side { display: none; } }
.detail { display: grid; grid-template-columns: 1fr 370px; gap: 48px; margin: 36px 0 0; align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; gap: 32px; } }
.detail-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.detail-top h1 { color: var(--navy); font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.detail-top .price { font-family: var(--head); font-weight: 700; font-size: 2rem; color: var(--red); line-height: 1.1; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.fact { background: var(--gray); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.fact b { display: block; font-size: 1.15rem; color: var(--navy); }
.fact span { font-size: .82rem; color: var(--muted); }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr 1fr; } }
.detail h2 { font-size: 1.5rem; margin: 32px 0 14px; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); }
.agent-card { position: sticky; top: 108px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.agent-card h3 { font-size: 1.35rem; }

/* Forms */
.form { display: grid; gap: 12px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form label { font-size: .88rem; font-weight: 500; color: var(--text); display: grid; gap: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid #d1d5db; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,58,138,.12); }
.form textarea { min-height: 120px; resize: vertical; }
.form .note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-ok { background: #ecfdf5; color: #065f46; padding: 14px; border-radius: 8px; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 12px; margin: 24px 0; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 16px 18px; border-radius: 10px; border: 1px solid var(--line); }
.contact-item .ic { width: 42px; height: 42px; border-radius: 10px; background: #eef2ff; color: var(--navy); display: grid; place-items: center; flex: none; }
.contact-item svg { width: 20px; height: 20px; }
.contact-item span { display: block; font-size: .8rem; color: var(--muted); }
.contact-item b, .contact-item a { color: var(--navy); font-weight: 600; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.7rem; margin-bottom: 6px; }
@media (max-width: 520px) { .panel { padding: 22px 16px; } }

/* About page */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 16px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .95rem; }
.site-footer p { color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-word, .site-footer .brand-sub { color: #fff; }
.site-footer .brand-sep { background: #fff; }
.site-footer .brand { margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.socials svg { width: 17px; height: 17px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #22c55e; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(2,8,23,.94); z-index: 100; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }

/* Reveal */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Spec table */
.spec-table { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-table div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.spec-table div:nth-child(odd) { border-right: 1px solid var(--line); }
.spec-table dt { color: var(--muted); font-size: .92rem; }
.spec-table dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
@media (max-width: 640px) { .spec-table { grid-template-columns: 1fr; } .spec-table div:nth-child(odd) { border-right: 0; } }
.fact b { display: flex; align-items: center; gap: 6px; }
.fact b svg { width: 18px; height: 18px; color: var(--red); }
a.card-title:hover { color: var(--red); }
a.card-media { display: block; }

/* Payment plan bar */
.pp-bar { display: flex; border-radius: 12px; overflow: hidden; min-height: 86px; }
.pp-seg { padding: 14px; color: #fff; display: flex; flex-direction: column; justify-content: center; min-width: 90px; }
.pp-seg b { font-family: var(--head); font-size: 1.4rem; }
.pp-seg span { font-size: .8rem; opacity: .9; }
.pp-seg.s0 { background: var(--red); } .pp-seg.s1 { background: var(--navy); } .pp-seg.s2 { background: var(--navy-deep); } .pp-seg.s3 { background: #475569; }
@media (max-width: 520px) { .pp-bar { flex-direction: column; } .pp-seg { flex: none !important; } }

/* Mortgage calculator */
.calc { margin-top: 36px; background: var(--gray); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.calc h2 { font-size: 1.5rem; }
.calc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 20px; }
.calc-inputs { display: grid; gap: 16px; align-content: start; }
.calc-inputs label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--text); }
.calc-inputs label b { color: var(--navy); float: right; }
.calc-inputs input[type=text], .calc-inputs input[type=number], .calc-inputs select { padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; width: 100%; }
.calc-inputs input[type=range] { accent-color: var(--red); width: 100%; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-result { background: var(--navy); color: #fff; border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.calc-result > span { font-size: .85rem; opacity: .8; }
.calc-result > b { font-family: var(--head); font-size: 2rem; line-height: 1.1; }
.calc-result dl { margin: 10px 0 14px; display: grid; gap: 8px; }
.calc-result dl div { display: flex; justify-content: space-between; font-size: .9rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 8px; }
.calc-result dt { opacity: .8; } .calc-result dd { margin: 0; font-weight: 600; }
.calc .note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: 1fr; } .calc { padding: 18px; } }

/* Unit types table */
.unit-table { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.unit-table table { width: 100%; border-collapse: collapse; min-width: 420px; }
.unit-table th { text-align: left; background: var(--navy); color: #fff; font-weight: 600; font-size: .88rem; padding: 12px 16px; }
.unit-table td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.unit-table tr:nth-child(even) td { background: var(--gray); }
.unit-table td:first-child { font-weight: 600; color: var(--navy); }
