/* Prototype design system — .modal/.toast rules removed (Bootstrap 5 components are used instead; see d2h.css) */
/* =========================================================
   Dial2Hire — Property / Builder Segment
   Design system: "Blueprint" — architectural, drafted, precise
   ========================================================= */

:root{
  --ink:      #14213D;
  --blue:     #2C6E9E;
  --blue-dim: #E7EFF4;
  --amber:    #E8A33D;
  --amber-dim:#FBEBD2;
  --concrete: #F2F0EA;
  --paper:    #FFFFFF;
  --slate:    #5B6470;
  --line:     #D8D3C7;
  --line-blue:#B9CFDE;
  --green:    #3F7A54;
  --red:      #B14545;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 3px;
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--concrete);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
p{ margin:0 0 1em; color:var(--slate); max-width:62ch; }
button{ font-family:inherit; cursor:pointer; }
:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; } }

.wrap{
  max-width: var(--container);
  margin:0 auto;
  padding:0 28px;
}

/* ---------- Top nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background: var(--paper);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
}
.brand{
  display:flex; align-items:baseline; gap:8px;
  font-family:var(--serif); font-weight:700; font-size:1.35rem; color:var(--ink);
}
.brand small{
  font-family:var(--sans); font-weight:600; font-size:.62rem;
  color:var(--blue); background:var(--blue-dim);
  padding:3px 7px; border-radius:2px; letter-spacing:.03em;
}
.nav-links{ display:flex; gap:30px; }
.nav-links a{
  font-size:.92rem; color:var(--ink); position:relative; padding:4px 0;
}
.nav-links a.active{ color:var(--blue); }
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--amber);
}
.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:1px solid var(--line); border-radius:2px; padding:8px 10px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  display:block; width:18px; height:2px; background:var(--ink); position:relative; content:"";
}
.nav-toggle span::before{ top:-6px; } .nav-toggle span::after{ top:4px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; font-size:.93rem; font-weight:600;
  border-radius: var(--radius); border:1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background:var(--ink); color:var(--paper); }
.btn-primary:hover{ background:#1e2f56; }
.btn-amber{ background:var(--amber); color:var(--ink); }
.btn-amber:hover{ background:#dc9528; }
.btn-outline{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-outline:hover{ background:var(--ink); color:var(--paper); }
.btn-ghost{ color:var(--blue); padding:12px 6px; }
.btn-ghost:hover{ text-decoration:underline; }
.btn-sm{ padding:8px 14px; font-size:.82rem; }
.btn-block{ width:100%; }
.btn-wa{ background:#2f6b4f; color:#fff; }
.btn-wa:hover{ background:#255840; }
.btn[disabled]{ opacity:.45; cursor:not-allowed; }

/* ---------- Section scaffolding ---------- */
section{ padding:72px 0; }
.section-tight{ padding:44px 0; }
.section-head{ max-width:640px; margin-bottom:40px; }
.kicker{
  display:inline-block; font-size:.78rem; font-weight:600; color:var(--blue);
  border-bottom:1px solid var(--line-blue); padding-bottom:4px; margin-bottom:14px;
}
.on-ink{ background:var(--ink); color:var(--paper); }
.on-ink p{ color:#C9D2E3; }
.on-ink h2, .on-ink h3{ color:var(--paper); }
.on-blue-dim{ background:var(--blue-dim); }

/* ---------- Blueprint grid rule (decorative divider) ---------- */
.rule{ border:0; border-top:1px solid var(--line); margin:0; }
.corner-card{
  position:relative; background:var(--paper); border:1px solid var(--line); padding:26px;
}
.corner-card::before, .corner-card::after{
  content:""; position:absolute; width:9px; height:9px; border-top:2px solid var(--amber); border-left:2px solid var(--amber);
  top:-1px; left:-1px;
}
.corner-card::after{ left:auto; right:-1px; top:auto; bottom:-1px; border-left:none; border-right:2px solid var(--amber); border-top:none; border-bottom:2px solid var(--amber); }

/* ---------- Hero ---------- */
.hero{ padding:64px 0 40px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(2.1rem, 4vw, 3.2rem); max-width:14ch; }
.hero .lede{ font-size:1.08rem; max-width:46ch; }
.hero-stats{ display:flex; gap:32px; margin-top:32px; }
.hero-stats div strong{ display:block; font-family:var(--serif); font-size:1.6rem; color:var(--ink); }
.hero-stats div span{ font-size:.8rem; color:var(--slate); }
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }

.mock-card{
  background:var(--paper); border:1px solid var(--line); position:relative;
}
.mock-card .mock-photo{
  height:200px; background:
    linear-gradient(135deg, var(--blue-dim) 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(225deg, var(--blue-dim) 25%, transparent 25%) -10px 0/20px 20px,
    var(--concrete);
  border-bottom:1px solid var(--line);
  position:relative;
}
.mock-tag{
  position:absolute; top:12px; left:12px; background:var(--amber); color:var(--ink);
  font-size:.72rem; font-weight:700; padding:4px 9px; border-radius:2px;
}
.mock-body{ padding:18px 20px 20px; }
.mock-body h4{ margin-bottom:4px; font-size:1.05rem; }
.mock-meta{ display:flex; justify-content:space-between; font-size:.82rem; color:var(--slate); margin-bottom:14px; }
.mock-price{ font-family:var(--serif); font-size:1.25rem; color:var(--ink); }
.mock-row{ display:flex; justify-content:space-between; align-items:center; }

/* ---------- Feature grid ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.feat{ border-top:2px solid var(--ink); padding-top:16px; }
.feat .num{ font-family:var(--serif); font-size:.85rem; color:var(--blue); display:block; margin-bottom:10px; }
.feat h4{ font-size:1.05rem; margin-bottom:8px; }
.feat p{ font-size:.92rem; }

/* ---------- Logos strip ---------- */
.logo-strip{ display:flex; gap:44px; flex-wrap:wrap; align-items:center; opacity:.75; }
.logo-strip span{ font-family:var(--serif); font-weight:600; color:var(--slate); font-size:1.1rem; }

/* ---------- Pricing ---------- */
.plan-toggle{
  display:inline-flex; border:1px solid var(--line); border-radius:20px; padding:3px; background:var(--paper);
}
.plan-toggle button{
  border:0; background:transparent; padding:8px 18px; font-size:.85rem; border-radius:20px; font-weight:600; color:var(--slate);
}
.plan-toggle button.active{ background:var(--ink); color:var(--paper); }
.plans{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:stretch; margin-top:36px; }
.plan{
  background:var(--paper); border:1px solid var(--line); padding:30px 26px; display:flex; flex-direction:column;
}
.plan.featured{ border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); position:relative; }
.plan.featured .badge{
  position:absolute; top:-13px; left:26px; background:var(--amber); color:var(--ink);
  font-size:.72rem; font-weight:700; padding:4px 10px; border-radius:2px;
}
.plan h3{ font-size:1.2rem; margin-bottom:2px; }
.plan .sub{ font-size:.85rem; color:var(--slate); margin-bottom:18px; }
.plan .price{ font-family:var(--serif); font-size:2.2rem; color:var(--ink); }
.plan .price span{ font-family:var(--sans); font-size:.85rem; color:var(--slate); font-weight:400; }
.plan .old-price{ font-size:.82rem; color:var(--slate); text-decoration:line-through; }
.plan-list{ margin:22px 0 26px; flex:1; }
.plan-list li{
  display:flex; gap:10px; align-items:flex-start; font-size:.88rem; color:var(--ink); padding:7px 0; border-top:1px dashed var(--line);
}
.plan-list li:first-child{ border-top:0; }
.plan-list li.off{ color:#A7A196; }
.plan-list li .tick{ color:var(--green); font-weight:700; }
.plan-list li .cross{ color:#c8c2b4; }

.addons{ margin-top:56px; }
.addon-row{
  display:grid; grid-template-columns:1fr auto auto; gap:16px; align-items:center;
  padding:16px 0; border-top:1px solid var(--line);
}
.addon-row:last-child{ border-bottom:1px solid var(--line); }
.addon-row h5{ font-family:var(--sans); font-weight:600; margin:0 0 2px; font-size:.95rem; }
.addon-row p{ margin:0; font-size:.82rem; }
.addon-price{ font-family:var(--serif); font-size:1.05rem; white-space:nowrap; }

/* ---------- Steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
.step{ position:relative; padding-top:6px; }
.step::before{
  counter-increment:step; content:counter(step,decimal-leading-zero);
  font-family:var(--serif); font-size:.85rem; color:var(--amber); display:block; margin-bottom:10px;
}

/* ---------- Testimonial ---------- */
.testi{ border-left:3px solid var(--amber); padding-left:22px; }
.testi p{ font-family:var(--serif); font-size:1.3rem; color:var(--ink); font-style:italic; max-width:56ch; }
.testi cite{ font-style:normal; font-size:.85rem; color:var(--slate); display:block; margin-top:10px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:#C9D2E3; padding:52px 0 24px; margin-top:40px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
.foot-grid h5{ color:#fff; font-size:.85rem; margin-bottom:14px; }
.foot-grid li{ font-size:.88rem; margin-bottom:9px; color:#B7C1D6; }
.foot-grid li a:hover{ color:#fff; }
.foot-bottom{ display:flex; justify-content:space-between; font-size:.78rem; color:#8996AE; margin-top:40px; padding-top:20px; border-top:1px solid #263354; }

/* ---------- Dashboard shell ---------- */
.app-shell{ display:flex; min-height:100vh; }
.side-nav{
  width:230px; flex-shrink:0; background:var(--ink); color:#fff; padding:22px 16px;
  position:sticky; top:0; height:100vh; display:flex; flex-direction:column; justify-content:space-between;
}
.side-nav .brand{ color:#fff; margin-bottom:30px; padding:0 6px; }
.side-nav .brand small{ background:rgba(255,255,255,.12); color:#fff; }
.side-links a{
  display:flex; align-items:center; gap:11px; padding:11px 12px; border-radius:4px; font-size:.9rem; color:#C9D2E3; margin-bottom:2px;
}
.side-links a .ic{ width:18px; text-align:center; }
.side-links a:hover{ background:rgba(255,255,255,.06); color:#fff; }
.side-links a.active{ background:var(--amber); color:var(--ink); font-weight:600; }
.side-foot{ font-size:.78rem; color:#8996AE; padding:0 6px; }
.side-foot a{ color:#fff; text-decoration:underline; }

.main-col{ flex:1; min-width:0; }
.topbar{
  background:var(--paper); border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; padding:18px 32px;
}
.topbar h1{ font-size:1.25rem; margin:0; }
.topbar .who{ display:flex; align-items:center; gap:12px; font-size:.85rem; }
.avatar{ width:34px; height:34px; border-radius:50%; background:var(--blue-dim); color:var(--blue); display:flex; align-items:center; justify-content:center; font-weight:700; font-family:var(--serif); }
.content{ padding:32px; max-width:1200px; }

.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:30px; }
.stat-card{ background:var(--paper); border:1px solid var(--line); padding:20px 20px 18px; }
.stat-card .label{ font-size:.78rem; color:var(--slate); display:flex; justify-content:space-between; }
.stat-card .val{ font-family:var(--serif); font-size:1.85rem; margin:8px 0 2px; }
.stat-card .delta{ font-size:.78rem; }
.delta.up{ color:var(--green); } .delta.down{ color:var(--red); }

.panel{ background:var(--paper); border:1px solid var(--line); margin-bottom:24px; }
.panel-head{ display:flex; justify-content:space-between; align-items:center; padding:18px 22px; border-bottom:1px solid var(--line); }
.panel-head h3{ font-size:1.02rem; margin:0; }
.panel-body{ padding:6px 22px 18px; }

table.dtable{ width:100%; border-collapse:collapse; font-size:.87rem; }
table.dtable th{ text-align:left; color:var(--slate); font-weight:600; font-size:.76rem; text-transform:none; padding:12px 10px; border-bottom:1px solid var(--line); }
table.dtable td{ padding:13px 10px; border-bottom:1px solid var(--line); vertical-align:middle; }
table.dtable tr:last-child td{ border-bottom:0; }
.pill{ display:inline-block; font-size:.74rem; font-weight:600; padding:3px 10px; border-radius:20px; }
.pill.hot{ background:var(--amber-dim); color:#8a5c11; }
.pill.new{ background:var(--blue-dim); color:var(--blue); }
.pill.won{ background:#e4f1e8; color:var(--green); }
.pill.visit{ background:#f1e8f9; color:#6a3f96; }
.pill.wa{ background:#e4f1e8; color:#2f6b4f; }
.pill.live{ background:#e4f1e8; color:var(--green); }
.pill.draft{ background:#eee; color:var(--slate); }
.pill.review{ background:var(--amber-dim); color:#8a5c11; }

.chan-ic{ width:22px; height:22px; border-radius:4px; display:inline-flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:700; color:#fff; }
.chan-ic.web{ background:var(--blue); }
.chan-ic.wa{ background:#2f6b4f; }
.chan-ic.visit{ background:#6a3f96; }

/* ---------- Forms ---------- */
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.83rem; font-weight:600; margin-bottom:6px; }
.field .hint{ font-size:.76rem; color:var(--slate); margin-top:5px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number],
.field input[type=date], .field select, .field textarea{
  width:100%; padding:11px 13px; border:1px solid var(--line); border-radius:3px; font-family:inherit; font-size:.92rem; background:#fff; color:var(--ink);
}
.field textarea{ resize:vertical; min-height:90px; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--blue); }
.field-row{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.field-row3{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.fieldset{ border:1px solid var(--line); padding:22px; margin-bottom:22px; background:#fff; }
.fieldset legend{ font-family:var(--serif); font-size:1.05rem; padding:0 8px; margin-left:-8px; }
.checkgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.check{ display:flex; align-items:center; gap:8px; font-size:.86rem; border:1px solid var(--line); padding:9px 11px; border-radius:3px; }
.check input{ accent-color:var(--blue); }

.upload-box{
  border:1.5px dashed var(--line-blue); background:var(--blue-dim); text-align:center; padding:34px 20px; border-radius:4px; cursor:pointer;
}
.upload-box strong{ display:block; margin-bottom:4px; }
.thumb-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin-top:14px; }
.thumb{ aspect-ratio:1; background:var(--concrete); border:1px solid var(--line); position:relative; }
.thumb.add{ display:flex; align-items:center; justify-content:center; color:var(--slate); font-size:1.6rem; border-style:dashed; }
.thumb .rm{ position:absolute; top:4px; right:4px; background:#fff; border:1px solid var(--line); width:18px; height:18px; border-radius:50%; font-size:.7rem; line-height:1; }

.wizard{ display:flex; gap:0; margin-bottom:30px; border:1px solid var(--line); background:#fff; }
.wizard .wz{ flex:1; text-align:center; padding:14px 8px; font-size:.82rem; color:var(--slate); border-right:1px solid var(--line); position:relative; }
.wizard .wz:last-child{ border-right:0; }
.wizard .wz.on{ color:var(--ink); font-weight:700; background:var(--concrete); }
.wizard .wz.done{ color:var(--green); }

/* ---------- Public listing / cards ---------- */
.filter-bar{ background:var(--paper); border:1px solid var(--line); padding:16px 18px; display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-bottom:26px; }
.filter-bar select, .filter-bar input{ padding:9px 11px; border:1px solid var(--line); border-radius:3px; font-size:.86rem; background:#fff; }
.tag-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; }
.tag{ font-size:.78rem; padding:6px 13px; border:1px solid var(--line); border-radius:20px; background:#fff; }
.tag.active{ background:var(--ink); color:#fff; border-color:var(--ink); }

.listing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.pcard{ background:#fff; border:1px solid var(--line); display:flex; flex-direction:column; }
.pcard .ph{ height:180px; background:linear-gradient(135deg,var(--blue-dim),var(--concrete)); position:relative; border-bottom:1px solid var(--line); }
.pcard .ph .badge{ position:absolute; top:10px; left:10px; background:var(--amber); color:var(--ink); font-size:.7rem; font-weight:700; padding:4px 9px; }
.pcard .ph .badge.status{ left:auto; right:10px; background:var(--ink); color:#fff; }
.pcard .pb{ padding:16px 18px 18px; display:flex; flex-direction:column; flex:1; }
.pcard h4{ font-size:1.05rem; margin-bottom:2px; }
.pcard .loc{ font-size:.8rem; color:var(--slate); margin-bottom:12px; }
.pcard .meta{ display:flex; gap:14px; font-size:.78rem; color:var(--slate); margin-bottom:14px; }
.pcard .price{ font-family:var(--serif); font-size:1.18rem; margin-bottom:14px; }
.pcard .cta-row{ display:flex; gap:8px; margin-top:auto; }

/* ---------- Detail page ---------- */
.gallery{ display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:1fr 1fr; gap:8px; height:420px; margin-bottom:30px; }
.gallery .g1{ grid-row:1/3; }
.gallery div{ background:linear-gradient(135deg,var(--blue-dim),var(--concrete)); border:1px solid var(--line); position:relative; overflow:hidden; }
.gallery .more{ display:flex; align-items:center; justify-content:center; color:var(--ink); font-weight:700; background:rgba(20,33,61,.06); }

.detail-grid{ display:grid; grid-template-columns:1.6fr .9fr; gap:36px; align-items:start; }
.spec-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; border:1px solid var(--line); background:#fff; }
.spec-grid div{ padding:16px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.spec-grid div:nth-child(4n){ border-right:0; }
.spec-grid .k{ font-size:.75rem; color:var(--slate); display:block; margin-bottom:4px; }
.spec-grid .v{ font-family:var(--serif); font-size:1.05rem; }

.amenity-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.amenity{ border:1px solid var(--line); background:#fff; padding:14px 10px; text-align:center; font-size:.8rem; }
.amenity .ic{ font-size:1.3rem; display:block; margin-bottom:6px; }

.unit-table{ width:100%; border-collapse:collapse; font-size:.88rem; background:#fff; border:1px solid var(--line); }
.unit-table th{ text-align:left; background:var(--concrete); font-size:.76rem; padding:12px 14px; border-bottom:1px solid var(--line); }
.unit-table td{ padding:13px 14px; border-bottom:1px solid var(--line); }

.sticky-card{ position:sticky; top:90px; background:#fff; border:1px solid var(--line); padding:24px; }
.sticky-card .builder{ display:flex; gap:12px; align-items:center; margin-bottom:18px; }
.sticky-card .builder .lg{ width:44px; height:44px; background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--serif); border-radius:4px; }
.sticky-card .builder .name{ font-weight:700; font-size:.92rem; }
.sticky-card .builder .rera{ font-size:.74rem; color:var(--slate); }
.sticky-card .price-big{ font-family:var(--serif); font-size:1.7rem; margin-bottom:2px; }
.sticky-actions{ display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.sticky-actions .row2{ display:flex; gap:10px; }
.sticky-actions .row2 .btn{ flex:1; }

/* ---------- Chat widget ---------- */
.chat-launcher{
  position:fixed; right:26px; bottom:26px; z-index:80; background:var(--ink); color:#fff;
  width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; border:0; box-shadow:0 8px 24px rgba(20,33,61,.28);
}
.chat-panel{
  position:fixed; right:26px; bottom:96px; z-index:80; width:340px; max-height:460px;
  background:#fff; border:1px solid var(--line); box-shadow:0 16px 40px rgba(20,33,61,.2);
  display:none; flex-direction:column; overflow:hidden;
}
.chat-panel.open{ display:flex; }
.chat-head{ background:var(--ink); color:#fff; padding:14px 16px; display:flex; justify-content:space-between; align-items:center; }
.chat-head .t{ font-weight:700; font-size:.92rem; }
.chat-head .s{ font-size:.74rem; color:#9db2cf; }
.chat-head button{ background:none; border:0; color:#fff; font-size:1.1rem; }
.chat-body{ flex:1; padding:16px; overflow-y:auto; background:var(--concrete); display:flex; flex-direction:column; gap:10px; }
.bubble{ max-width:82%; padding:9px 12px; border-radius:10px; font-size:.85rem; }
.bubble.them{ background:#fff; border:1px solid var(--line); align-self:flex-start; border-bottom-left-radius:2px; }
.bubble.me{ background:var(--blue); color:#fff; align-self:flex-end; border-bottom-right-radius:2px; }
.chat-foot{ display:flex; border-top:1px solid var(--line); }
.chat-foot input{ flex:1; border:0; padding:13px; font-size:.85rem; font-family:inherit; }
.chat-foot button{ background:var(--ink); color:#fff; border:0; padding:0 18px; font-weight:600; }
.chat-wa-row{ display:flex; gap:8px; padding:10px 14px; border-top:1px solid var(--line); background:#fff; }

/* ---------- Modal ---------- */
.slot-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:18px; }
.slot{ border:1px solid var(--line); padding:9px 4px; text-align:center; font-size:.8rem; border-radius:3px; }
.slot.sel{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* ---------- Contact-unlock / OTP modal ---------- */
.modal-phase{ display:none; }
.modal-phase.on{ display:block; }
.otp-copy{ font-size:.86rem; color:var(--slate); margin-bottom:18px; }
.otp-row{ display:flex; gap:10px; justify-content:center; margin-bottom:8px; }
.otp-row input{
  width:48px; height:56px; text-align:center; font-family:var(--serif); font-size:1.4rem;
  border:1px solid var(--line); border-radius:4px; background:#fff; color:var(--ink);
}
.otp-row input:focus{ border-color:var(--blue); }
.otp-hint{ text-align:center; font-size:.78rem; color:var(--slate); margin-bottom:20px; }
.otp-hint code{ background:var(--amber-dim); color:#8a5c11; padding:1px 6px; border-radius:2px; font-family:var(--sans); font-weight:700; }
.verify-badge{ display:flex; align-items:center; gap:10px; background:#e4f1e8; color:var(--green); padding:12px 14px; border-radius:4px; font-size:.88rem; font-weight:600; margin-bottom:20px; }
.verify-badge .dot{ width:20px; height:20px; border-radius:50%; background:var(--green); color:#fff; display:flex; align-items:center; justify-content:center; font-size:.7rem; }

.action-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.action-card{
  border:1px solid var(--line); background:#fff; padding:16px 14px; text-align:left; border-radius:4px;
  display:flex; flex-direction:column; gap:6px; transition:border-color .15s ease, background .15s ease;
}
.action-card:hover{ border-color:var(--blue); background:var(--blue-dim); }
.action-card .ic{ font-size:1.25rem; }
.action-card .t{ font-weight:700; font-size:.9rem; color:var(--ink); }
.action-card .d{ font-size:.76rem; color:var(--slate); }

.reveal-number{
  border:1px dashed var(--line-blue); background:var(--blue-dim); padding:18px; text-align:center; border-radius:4px; margin-bottom:16px;
}
.reveal-number .num{ font-family:var(--serif); font-size:1.5rem; color:var(--ink); letter-spacing:.02em; }

.back-link{ font-size:.8rem; color:var(--blue); display:inline-block; margin-bottom:14px; }

/* ---------- Credit balance ---------- */
.credit-chip{
  display:inline-flex; align-items:center; gap:7px; background:var(--amber-dim); color:#8a5c11;
  font-size:.8rem; font-weight:700; padding:6px 12px; border-radius:20px;
}
.credit-chip .n{ font-family:var(--serif); font-size:.92rem; }
.credit-panel{ background:#fff; border:1px solid var(--line); padding:20px 22px; display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; margin-bottom:24px; }
.credit-panel .big{ font-family:var(--serif); font-size:2rem; color:var(--ink); }
.credit-panel .lbl{ font-size:.8rem; color:var(--slate); }
.credit-bar{ height:6px; background:var(--line); border-radius:4px; overflow:hidden; width:220px; margin-top:8px; }
.credit-bar span{ display:block; height:100%; background:var(--amber); }
.pill.unlocked{ background:#e4f1e8; color:var(--green); }
.chan-ic.call{ background:var(--amber); color:var(--ink); }
.chan-ic.cb{ background:#6a3f96; }


/* ---------- Utilities ---------- */
.flex{ display:flex; } .items-center{ align-items:center; } .justify-between{ justify-content:space-between; }
.gap-8{ gap:8px; } .gap-12{ gap:12px; } .mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.center{ text-align:center; }
.badge-inline{ background:var(--amber-dim); color:#8a5c11; font-size:.72rem; font-weight:700; padding:3px 9px; border-radius:2px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid, .detail-grid{ grid-template-columns:1fr; }
  .grid-3, .grid-4, .plans, .listing-grid, .stat-row, .checkgrid, .amenity-grid, .spec-grid{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .foot-grid{ grid-template-columns:repeat(2,1fr); }
  .app-shell{ flex-direction:column; }
  .side-nav{ width:100%; height:auto; position:relative; flex-direction:row; flex-wrap:wrap; align-items:center; }
  .side-links{ display:flex; flex-wrap:wrap; gap:4px; }
  .side-foot{ display:none; }
  .gallery{ grid-template-columns:1fr 1fr; height:auto; }
  .gallery .g1{ grid-column:1/3; grid-row:auto; height:220px; }
  .gallery > div:not(.g1){ height:110px; }
}
@media (max-width: 680px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0; background:#fff; border-bottom:1px solid var(--line);
    flex-direction:column; padding:14px 28px; gap:16px; display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-toggle{ display:block; }
  .nav-actions .btn-outline{ display:none; }
  .grid-3, .grid-4, .plans, .listing-grid, .stat-row, .checkgrid, .amenity-grid, .spec-grid, .field-row, .field-row3, .steps{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr; }
  .content{ padding:20px; }
  .chat-panel{ right:12px; left:12px; width:auto; bottom:88px; }
  .chat-launcher{ right:16px; bottom:16px; }
  section{ padding:48px 0; }
}
