/* PhuketVillaHub demo
   Visual language taken from the two reference sites the client chose:
   - gojiberry: white canvas, Fustat display with tight tracking, Inter body, DM Mono labels,
     L-shaped corner brackets around frames, "+" hairline dividers, dot-ring section titles,
     orange accent words, black buttons, coral arrow-square CTA, "1/4" feature rows,
     sticky step list, big mono stats, orange-gradient closing panel, large footer titles.
   - adspirer: #F6F8FA soft sections, blue pill labels, blurred blue/peach blooms,
     tabbed product window, bento cards, numbered blue step squares, blue CTA band,
     "Most popular" gradient plan, oversized gradient wordmark.
   Rhythm: 4px base, 1280px column (80px side margins at 1440), 120–160px between sections. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #344054;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #eaecf0;
  --line-2: #d0d5dd;
  --bracket: rgba(10, 10, 10, .55);
  --orange: #d4692a;
  --coral: #f2615a;
  --orange-soft: #fdece4;
  --orange-ink: #e0573a;
  --peach: #ffd9c4;
  --blue: #1067fe;
  --blue-soft: #e7efff;
  --ok: #12a26b;
  --ok-soft: #dcf5ea;
  --warn: #b26a00;
  --warn-soft: #fff3dc;
  --wa: #1fa855;
  --lineapp: #06c755;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 18px 40px -18px rgba(16, 24, 40, .18);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 10px -4px rgba(16, 24, 40, .08);
  --hero-a: #ffb79a;
  --hero-b: #ffe2cf;
  --bloom-blue: rgba(16, 103, 254, .16);
  --bloom-peach: rgba(255, 168, 120, .28);

  --f-display: "Fustat", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "Cascadia Mono", monospace;

  --r-btn: 12px;
  --r-card: 16px;
  --r-panel: 28px;
  --col: 1280px;
  --section: clamp(96px, 11vw, 160px);
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
/* Light only, by client request: the reference sites are light, so no dark variant. */
:root, :root[data-theme="dark"] { color-scheme: light; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--peach); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--col) + var(--gutter-l) + var(--gutter-r)); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding: var(--section) 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: 64px 0; }

/* ---------- type ---------- */
.h1, .h2, .h3, .h4, .display { font-family: var(--f-display); font-weight: 500; color: var(--ink); }
.h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.035em; }
.h4 { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.hl { color: var(--orange); }
.hl-blue { color: var(--blue); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.xs { font-size: 12.5px; line-height: 1.45; }
.mono { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .02em; }
.num { font-variant-numeric: tabular-nums; }
sup.n { font-family: var(--f-mono); font-size: 10px; margin-left: 2px; color: var(--muted); vertical-align: super; }

/* ---------- corner brackets (gojiberry) ---------- */
.br {
  --bk: var(--bracket); --bl: 8px;
  background-image:
    linear-gradient(var(--bk), var(--bk)), linear-gradient(var(--bk), var(--bk)),
    linear-gradient(var(--bk), var(--bk)), linear-gradient(var(--bk), var(--bk)),
    linear-gradient(var(--bk), var(--bk)), linear-gradient(var(--bk), var(--bk)),
    linear-gradient(var(--bk), var(--bk)), linear-gradient(var(--bk), var(--bk));
  background-repeat: no-repeat;
  background-size: var(--bl) 1px, 1px var(--bl), var(--bl) 1px, 1px var(--bl), var(--bl) 1px, 1px var(--bl), var(--bl) 1px, 1px var(--bl);
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
}
.br.sm { --bl: 6px; }

/* "+" hairline divider */
.plus-rule { position: relative; height: 1px; background: var(--line); margin: 0 auto; max-width: calc(var(--col) + 80px); }
.plus-rule::after { content: "+"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); font: 400 15px/1 var(--f-mono); color: var(--ink); background: var(--bg); padding: 0 6px; }

/* section head with dot ring */
.shead { padding: 20px 20px 22px; display: grid; gap: 14px; }
.shead .h2 { display: block; }
.shead .h2 .ring { margin-right: 14px; vertical-align: middle; }
.shead.center { text-align: center; justify-items: center; }

.ring { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-soft); display: inline-grid; place-items: center; transform: translateY(-4px); }
.ring::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ink); box-sizing: border-box; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--blue-soft); color: var(--blue); }
.pill.orange { background: var(--orange-soft); color: var(--orange-ink); }
.pill.gray { background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.badge-br { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; font: 400 13px/1 var(--f-mono); color: var(--ink); }
.badge-br .sq { width: 20px; height: 20px; border-radius: 2px; background: var(--coral); color: #fff; display: grid; place-items: center; }
.badge-br .sq .icon { width: 13px; height: 13px; }
.badge-br .o { color: var(--orange-ink); }
.label-dot { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--f-body); text-transform: uppercase; letter-spacing: .04em; padding: 6px 8px; color: var(--ink); }
.label-dot::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 3px var(--line), inset 0 0 0 6px var(--ink); }

/* ---------- buttons ---------- */
.icon { width: 18px; height: 18px; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: var(--r-btn); font-weight: 500; font-size: 15px; white-space: nowrap; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 84%, var(--bg)); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); }
.btn-sea { background: var(--blue); color: #fff; }
.btn-sea:hover { background: #0a58e0; box-shadow: 0 8px 20px -8px rgba(16, 103, 254, .6); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-line { background: var(--lineapp); color: #fff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); font-weight: 500; }
.link:hover { text-decoration-color: var(--ink); }
/* gojiberry CTA: coral arrow square inside a bracketed light block */
.cta-arrow { display: inline-flex; align-items: center; gap: 14px; padding: 5px 18px 5px 5px; background-color: color-mix(in srgb, var(--ink) 6%, var(--bg)); font-weight: 500; font-size: 15.5px; color: var(--ink); white-space: nowrap; transition: background-color .15s ease; }
.cta-arrow:hover { background-color: color-mix(in srgb, var(--ink) 10%, var(--bg)); }
.cta-arrow .sq { width: 40px; height: 40px; border-radius: 3px; background: var(--coral); color: #fff; display: grid; place-items: center; transition: transform .2s ease; }
.cta-arrow:hover .sq { transform: translateX(2px); }
.cta-arrow.sm { padding: 4px 14px 4px 4px; font-size: 14.5px; gap: 12px; }
.cta-arrow.sm .sq { width: 32px; height: 32px; }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 40; transition: background-color .2s ease, box-shadow .2s ease; }
.topbar.scrolled { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 24px; height: 84px; max-width: 1440px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 600 21px/1 var(--f-display); letter-spacing: -.04em; white-space: nowrap; }
.logo-mark { width: 26px; height: 26px; }
.logo b { color: var(--orange); font-weight: 600; }
.nav { display: flex; gap: 30px; margin: 0 auto; }
.nav a { font-size: 14.5px; color: var(--ink-2); transition: color .15s ease; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.login { display: inline-flex; align-items: center; height: 42px; padding: 0 28px; font-size: 14.5px; font-weight: 500; background-color: color-mix(in srgb, var(--ink) 4%, var(--bg)); white-space: nowrap; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; place-items: center; border: 1px solid var(--line-2); background: var(--surface); }
.mobile-nav { display: none; }
@media (max-width: 1080px) {
  .nav, .hide-md { display: none !important; }
  .menu-btn { display: grid; }
  .top-actions { margin-left: auto; }
  .mobile-nav.open { display: grid; gap: 2px; padding: 8px var(--gutter-r) 20px var(--gutter-l); background: var(--bg); border-bottom: 1px solid var(--line); }
  .mobile-nav a { padding: 12px 0; font-size: 18px; font-family: var(--f-display); letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .top-actions .cta-arrow .t { display: none; } .top-actions .cta-arrow { padding: 4px; } .logo { font-size: 19px; } }

/* ---------- hero (gojiberry gradient + adspirer bloom) ---------- */
.hero { position: relative; isolation: isolate; padding: 56px 0 0; text-align: center; }
.hero .h1 { max-width: 16ch; margin: 26px auto 0; }
.hero .lead { max-width: 56ch; margin: 22px auto 0; color: var(--ink-2); }
.ask { max-width: 580px; margin: 36px auto 0; padding: 16px; }
.ask form { display: flex; }
.ask input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-right: 0; border-radius: 10px 0 0 10px; background: var(--surface); font-size: 15px; }
.ask input::placeholder { color: var(--faint); }
.ask input:focus { outline: none; border-color: var(--ink); }
.ask .btn { height: 48px; border-radius: 0 12px 12px 0; }
.hero-proof { display: flex; justify-content: center; gap: 12px 28px; flex-wrap: wrap; margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }
.hero-proof span { display: inline-flex; gap: 6px; align-items: center; }
.hero-proof .icon { width: 15px; height: 15px; color: var(--coral); }
@media (max-width: 560px) {
  .ask { padding: 12px; }
  .ask form { flex-direction: column; gap: 8px; }
  .ask input { border-right: 1px solid var(--line-2); border-radius: 10px; }
  .ask .btn { border-radius: 12px; }
  }

/* trusted-by grid (gojiberry bracket cells) */
.trust { padding: 96px 0 0; text-align: center; }
.trust p { font: 500 17px/1.4 var(--f-display); letter-spacing: -.01em; }
.trust .stars { color: var(--coral); letter-spacing: 2px; margin-right: 8px; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 960px; margin: 32px auto 0; }
.logo-cell { height: 92px; display: grid; place-items: center; padding: 8px; }
.wm { font-family: var(--f-display); font-weight: 600; font-size: 21px; letter-spacing: -.03em; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; opacity: .85; white-space: nowrap; }
.wm.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0; font-style: italic; }
.wm.mono { font-family: var(--f-mono); font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.wm.thin { font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: 15px; }
.wm .glyph { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: #fff; }
.wm .glyph .icon { width: 15px; height: 15px; }
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } .wm { font-size: 17px; } .wm.mono, .wm.thin { font-size: 13.5px; } }

/* ---------- gojiberry 1/4 feature rows ---------- */
.feat-list { display: grid; gap: 24px; margin-top: 72px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 20px; border: 1px solid var(--line); min-height: 520px; }
.feat-text { display: grid; align-content: center; gap: 22px; padding: 20px 0; }
.feat-text .h2 { font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.045em; line-height: 1.02; max-width: 15ch; }
.feat-text p { color: var(--muted); font-size: 18px; max-width: 46ch; }
.feat-vis { position: relative; padding: 28px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background-color: var(--surface); }
.count { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 7px 12px; border-radius: 8px; background: var(--orange-soft); color: var(--orange-ink); font: 500 14px/1 var(--f-body); }
.count .icon { width: 16px; height: 16px; }
.feat-foot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; min-height: 0; gap: 8px; } .feat-vis { min-height: 320px; } .feat-text { padding: 8px 4px 16px; } }

/* visuals inside feature rows */
.vis-stack { width: 100%; max-width: 420px; display: grid; gap: 10px; }
.vrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 14.5px; }
.vrow b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vrow.on { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.vrow .bar { flex: 1; height: 6px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; }
.vrow .bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--peach), var(--coral)); }
.vrow .lbl { width: 92px; flex: none; }
.vlabel { font: 400 12px/1 var(--f-mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.chat { width: 100%; max-width: 380px; display: grid; gap: 10px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; box-shadow: var(--shadow-sm); }
.msg.in { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.out { justify-self: end; background: #dcf8c6; color: #10240f; border-bottom-right-radius: 4px; }
.msg.line { justify-self: end; background: #06c755; color: #fff; border-bottom-right-radius: 4px; }
.msg small { display: block; margin-top: 4px; font-size: 11px; opacity: .65; }
.app-head { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; padding-bottom: 6px; }
.app-head .ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.app-head .ico .icon { width: 17px; height: 17px; }

/* ---------- listing cards (bracketed) ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.lcard { display: grid; align-content: start; padding: 10px; border: 1px solid var(--line); background-color: var(--surface); transition: border-color .2s ease, box-shadow .2s ease; }
.lcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.lcard-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lcard:hover .lcard-img img { transform: scale(1.04); }
.lcard-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.lcard-badges .tag { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px); border-color: transparent; }
.lcard-body { display: grid; gap: 10px; padding: 16px 6px 8px; }
.lcard-loc { font: 400 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.lcard-loc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.lcard-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.lcard-title { font: 500 21px/1.15 var(--f-display); letter-spacing: -.03em; }
.lcard-price { text-align: right; flex: none; }
.lcard-price b { font: 500 21px/1.1 var(--f-display); letter-spacing: -.03em; }
.lcard-meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.lcard-inc { display: flex; gap: 6px; flex-wrap: wrap; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(300px, 29vw, 420px); gap: 20px; overflow-x: auto; margin-top: 56px; padding: 4px var(--gutter-r) 24px var(--gutter-l); scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-padding-left: var(--gutter-l); }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1240px) { .rail { padding-left: calc((100vw - var(--col)) / 2); scroll-padding-left: calc((100vw - var(--col)) / 2); } }
.rail-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }

.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.2; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); white-space: nowrap; }
.tag .icon { width: 13px; height: 13px; }
.tag.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.tag.sea { background: var(--blue-soft); border-color: transparent; color: var(--blue); }
.tag.sun { background: var(--orange-soft); border-color: transparent; color: var(--orange-ink); }
.tag.line { font-family: var(--f-mono); font-size: 11.5px; }
.tag.dark { background: var(--ink); color: var(--bg); border-color: transparent; }
.fresh { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 50%, transparent); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.check { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; border: 1.5px solid var(--coral); color: var(--coral); }
.check .icon { width: 12px; height: 12px; stroke-width: 2.4; }
.cross { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--bg-soft); color: var(--muted); }
.cross .icon { width: 13px; height: 13px; }

/* ---------- sticky steps (gojiberry) ---------- */
.steps-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 64px; margin-top: 88px; }
.steps-nav { position: sticky; top: 120px; align-self: start; display: grid; gap: 18px; }
.steps-nav a { font: 400 30px/1.2 var(--f-display); letter-spacing: -.035em; color: var(--faint); padding-bottom: 10px; border-bottom: 1px solid var(--line-2); transition: color .2s ease; }
.steps-nav a:hover, .steps-nav a.on { color: var(--ink); }
.steps-list { border-left: 1.5px dashed var(--line-2); padding-left: 40px; display: grid; gap: 120px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; align-items: center; scroll-margin-top: 120px; }
.step-text { display: grid; gap: 18px; }
.step-text .h2 { font-size: clamp(30px, 3.4vw, 44px); }
.step-text p { font-size: 15.5px; color: var(--muted); max-width: 52ch; }
.step-text .note { padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); max-width: 52ch; }
.glass { width: 220px; height: 220px; justify-self: center; display: grid; place-items: center; }
.glass .cube { width: 148px; height: 148px; border-radius: 34px; transform: rotate(-12deg); display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .15) 45%), linear-gradient(135deg, var(--peach), var(--coral) 60%, #7a2f1e);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .9), inset 0 -18px 30px rgba(122, 47, 30, .35), 0 30px 50px -24px rgba(122, 47, 30, .55); }
.glass .cube .icon { width: 64px; height: 64px; color: #fff; stroke-width: 1.4; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25)); transform: rotate(12deg); }
.glass.blue .cube { background: linear-gradient(150deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .15) 45%), linear-gradient(135deg, #b9d2ff, var(--blue) 60%, #0b2f7a); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .9), inset 0 -18px 30px rgba(11, 47, 122, .35), 0 30px 50px -24px rgba(11, 47, 122, .5); }
.glass.green .cube { background: linear-gradient(150deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .15) 45%), linear-gradient(135deg, #b8f0cf, #19b86a 60%, #0b5a33); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .9), inset 0 -18px 30px rgba(11, 90, 51, .35), 0 30px 50px -24px rgba(11, 90, 51, .5); }
@media (max-width: 900px) {
  .steps-wrap { grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
  .steps-nav { display: none; }
  .steps-list { padding-left: 24px; gap: 72px; }
  .step { grid-template-columns: 1fr; gap: 20px; }
  .glass { width: 140px; height: 140px; justify-self: start; order: -1; } .glass .cube { width: 100px; height: 100px; border-radius: 24px; } .glass .cube .icon { width: 44px; height: 44px; }
}

/* ---------- adspirer bento ---------- */
.bento-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.bento-head .h2 { margin-top: 18px; font-family: var(--f-body); font-weight: 500; letter-spacing: -.035em; }
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; margin-top: 64px; }
.bcard { position: relative; overflow: hidden; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 26px; display: grid; align-content: space-between; gap: 22px; }
.bcard.tall { grid-row: span 2; padding: 0; }
.bcard.wide { grid-column: span 2; }
.bcard .h4 { font-family: var(--f-body); font-weight: 500; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.bcard p { color: var(--muted); font-size: 15.5px; }
.bcard .bloom { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 50% at 0% 0%, var(--bloom-blue), transparent 70%), radial-gradient(60% 55% at 100% 70%, var(--bloom-peach), transparent 70%); }
.bcard > * { position: relative; }
.bcard .phone { margin: 22px auto 0; width: min(330px, 86%); border-radius: 28px 28px 0 0; border: 1px solid var(--line); border-bottom: 0; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow); padding: 12px 16px 26px; display: grid; gap: 10px; }
.phone .notch { width: 46px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 0 auto 4px; }
.bcard .bcopy { padding: 0 26px 26px; display: grid; gap: 10px; }
.flow { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.flow .ico { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.flow .ico .icon { width: 21px; height: 21px; }
.flow .dotline { width: 54px; height: 3px; background-image: radial-gradient(circle, var(--orange) 1.4px, transparent 1.8px); background-size: 9px 3px; }
.flow .me { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.mock { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); padding: 12px; display: grid; gap: 8px; font-size: 13px; }
.mock .row2 { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 9px; background: var(--bg-soft); }
@media (max-width: 960px) {
  .bento-head { grid-template-columns: 1fr; gap: 16px; }
  .bento { grid-template-columns: 1fr; }
  .bcard.tall, .bcard.wide { grid-row: auto; grid-column: auto; }
}

/* ---------- adspirer centered head + quickstart card ---------- */
.chead { text-align: center; display: grid; justify-items: center; gap: 20px; }
.chead .h2 { font-family: var(--f-body); font-weight: 500; letter-spacing: -.035em; }
.chead .lead { max-width: 60ch; }
.quick-tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 48px auto 18px; max-width: 920px; }
.quick-tabs button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: border-color .15s ease, color .15s ease; text-align: left; }
.quick-tabs button:hover { border-color: var(--blue); color: var(--blue); }
.qcard { max-width: 940px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }

/* ---------- AI finder ---------- */
.finder { display: grid; grid-template-rows: auto 1fr auto; background: var(--surface); }
.finder-head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.ai-dot { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--coral), var(--orange)); color: #fff; display: grid; place-items: center; flex: none; }
.ai-dot .icon { width: 18px; height: 18px; }
.finder-body { padding: 22px; display: grid; gap: 14px; align-content: start; overflow-y: auto; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.bubble.ai { background: var(--bg-soft); border-top-left-radius: 4px; }
.bubble.me { justify-self: end; background: var(--ink); color: var(--bg); border-top-right-radius: 4px; }
.bubble.typing { display: flex; gap: 5px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: blink 1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; } .bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; }
.chip.soft { border-style: dashed; color: var(--muted); }
.chip button { font-size: 15px; line-height: 1; color: var(--muted); }
.chip button:hover { color: var(--coral); }
.mini-list { display: grid; gap: 8px; }
.mini-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s ease; }
.mini-card:hover { border-color: var(--ink); }
.mini-card img { width: 64px; height: 50px; object-fit: cover; border-radius: 8px; }
.mini-card .h4 { font-size: 16px; }
.nomatch { padding: 18px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--coral) 25%, transparent); background: color-mix(in srgb, var(--orange-soft) 55%, var(--surface)); display: grid; gap: 12px; }
.nomatch-title { display: flex; gap: 10px; align-items: center; font: 500 22px/1.1 var(--f-display); letter-spacing: -.03em; }
.nomatch-title .cross { background: var(--coral); color: #fff; }
.relax { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s ease, transform .15s ease; }
.relax:hover { border-color: var(--ink); transform: translateX(2px); }
.finder-input { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.finder-input textarea { flex: 1; resize: none; min-height: 46px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); line-height: 1.4; }
.finder-input textarea:focus { outline: none; border-color: var(--ink); }
.finder-input .btn { width: 46px; padding: 0; }

/* ---------- areas (bracket photo tiles) ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.area { display: grid; gap: 14px; align-content: start; padding: 10px 10px 18px; border: 1px solid var(--line); background-color: var(--surface); transition: border-color .2s ease, box-shadow .2s ease; }
.area:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.area img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.area .meta { display: grid; gap: 6px; padding: 0 6px; }
.area strong { font: 500 24px/1.1 var(--f-display); letter-spacing: -.035em; }
.area span { font-size: 14px; color: var(--muted); }
.area .range { font: 400 12.5px/1 var(--f-mono); color: var(--orange-ink); }
@media (max-width: 1000px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .areas { grid-template-columns: 1fr; } .area img { aspect-ratio: 16 / 10; } }

/* ---------- stats (gojiberry) ---------- */
.statement { max-width: 760px; padding: 16px 12px; }
.statement .h2 { font-size: clamp(32px, 3.8vw, 48px); }
.bigstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 110px; }
.bigstat strong { display: block; font: 400 clamp(56px, 7vw, 88px)/1 var(--f-mono); letter-spacing: -.04em; white-space: nowrap; }
.bigstat span { display: block; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font: 400 clamp(22px, 2.2vw, 30px)/1.25 var(--f-display); letter-spacing: -.03em; max-width: 15ch; }
@media (max-width: 760px) { .bigstats { grid-template-columns: 1fr; gap: 48px; margin-top: 64px; } }

/* testimonial-style cards */
.qrail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 64px; }
.qcell { padding: 26px; border: 1px solid var(--line); display: grid; gap: 40px; align-content: space-between; min-height: 320px; background-color: var(--surface); }
.qcell-head { display: flex; gap: 14px; align-items: center; padding: 6px; }
.qcell-head .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-ink); flex: none; }
.qcell-head .av .icon { width: 22px; height: 22px; }
.qcell-head b { display: block; font: 500 24px/1.1 var(--f-display); letter-spacing: -.035em; }
.qcell-head small { font-size: 14px; color: var(--ink-2); }
.qcell p { color: var(--ink-2); font-size: 15px; }
.qcell .ans { color: var(--muted); font-size: 14.5px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 12px; }
@media (max-width: 960px) { .qrail { grid-template-columns: 1fr; } .qcell { min-height: 0; } }

/* ---------- adspirer blue band ---------- */
.blueband { border-radius: 24px; padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; color: #fff;
  background: radial-gradient(70% 90% at 0% 0%, #4c8dff 0%, transparent 60%), linear-gradient(135deg, #1a6dff, #0b4fd6 70%, #0a3fae); }
.blueband .h2 { color: #fff; font-family: var(--f-body); font-weight: 500; letter-spacing: -.03em; font-size: clamp(32px, 3.6vw, 46px); }
.blueband p { color: rgba(255, 255, 255, .86); font-size: 17px; margin-top: 12px; max-width: 46ch; }
.blueband .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.blueband .ghost-w { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; transition: background-color .15s ease; }
.blueband .ghost-w:hover { background: rgba(255, 255, 255, .2); }
.blueband .white { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; background: #fff; color: #0b4fd6; font-weight: 600; }
.bb-box { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); padding: 22px; display: grid; gap: 12px; }
.bb-box .k { font: 600 11.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.bb-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bb-box li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.bb-box .icon { width: 18px; height: 18px; margin-top: 3px; }
@media (max-width: 900px) { .blueband { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: 52px 1fr 28px; gap: 12px; align-items: center; padding: 26px 4px; cursor: pointer; font: 500 clamp(19px, 1.8vw, 23px)/1.25 var(--f-display); letter-spacing: -.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font: 400 13px/1 var(--f-mono); color: var(--orange-ink); }
.faq summary::after { content: "+"; font: 300 26px/1 var(--f-body); color: var(--muted); text-align: center; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 26px 68px; color: var(--muted); max-width: 72ch; }
@media (max-width: 600px) { .faq summary { grid-template-columns: 36px 1fr 24px; } .faq details p { padding: 0 8px 22px 52px; } }

/* ---------- gojiberry closing panel ---------- */
.endpanel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-panel); padding: clamp(56px, 8vw, 110px) 20px; text-align: center;
  background: radial-gradient(55% 75% at 0% 0%, var(--hero-a), transparent 70%), radial-gradient(55% 75% at 100% 100%, var(--hero-a), transparent 70%), radial-gradient(45% 60% at 72% 0%, var(--hero-b), transparent 70%), var(--bg); }
.endpanel .inner { max-width: 860px; margin: 0 auto; padding: 36px 20px; }
.endpanel .h2 { font-size: clamp(38px, 5vw, 64px); }
.endpanel .lead { margin-top: 16px; color: var(--ink-2); }
.endpanel .ask { margin-top: 30px; padding: 0; }
.endpanel .fine { margin-top: 16px; font-size: 15px; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { padding: 24px 0 0; overflow: hidden; position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font: 400 clamp(26px, 2.6vw, 36px)/1.1 var(--f-display); letter-spacing: -.035em; color: var(--ink-2); margin-bottom: 26px; }
.foot-grid a { display: block; padding: 6px 0; color: var(--muted); font-size: 15.5px; cursor: pointer; transition: color .15s ease; }
.foot-grid a:hover { color: var(--ink); }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand .logo { font-size: 26px; }
.foot-brand .logo .logo-mark { width: 30px; height: 30px; }
.wordmark { margin-top: 96px; font: 500 clamp(40px, 11.2vw, 168px)/.95 var(--f-display); letter-spacing: -.06em; text-align: center; white-space: nowrap; user-select: none;
  background: linear-gradient(90deg, var(--blue) 0%, #8a6fc9 38%, var(--orange) 72%, var(--coral) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- inner page heads ---------- */
.page-head { position: relative; isolation: isolate; padding: 56px 0 72px; }
.page-head .h1 { max-width: 17ch; margin-top: 22px; }
.page-head .lead { max-width: 60ch; margin-top: 20px; color: var(--ink-2); }

/* ---------- search page ---------- */
.filters { position: sticky; top: 84px; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters .wrap { display: flex; gap: 8px; align-items: flex-end; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.fsel { display: grid; gap: 5px; }
.fsel label { font: 400 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-left: 2px; }
.fsel select, .fsel input { height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 14px; min-width: 110px; }
.fsel select:focus, .fsel input:focus { outline: none; border-color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.toggle[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.toggle .icon { width: 16px; height: 16px; }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.crumbs { display: flex; gap: 8px; align-items: center; font: 400 12.5px/1 var(--f-mono); color: var(--muted); letter-spacing: .03em; }
.crumbs a { display: inline-flex; gap: 6px; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { width: 14px; height: 14px; }
.empty { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 72px 24px; border: 1px solid var(--line); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; }
.notice > .icon { margin-top: 2px; }
.notice.ok { background: var(--ok-soft); border-color: transparent; color: color-mix(in srgb, var(--ok) 70%, var(--ink)); }
.notice.fb { background: var(--blue-soft); border-color: transparent; }
@media (max-width: 760px) {
  .filters .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filters .wrap::-webkit-scrollbar { display: none; }
  .fsel select, .fsel input { min-width: 96px; }
}

/* ---------- listing page ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(320px, 50vw, 640px); padding: 10px; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.gallery img:first-child { grid-row: span 2; }
.gallery.one { grid-template-columns: 1fr; } .gallery.one img { grid-row: auto; }
.lp { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 56px; margin-top: 48px; align-items: start; }
.lp-main { display: grid; }
.lp-block { display: grid; gap: 18px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.lp-block:first-child { padding-top: 0; }
.lp-block .h2 { font-size: clamp(36px, 4vw, 52px); }
.lp-block .h3 { font-size: clamp(24px, 2.2vw, 30px); }
.facts { display: flex; flex-wrap: wrap; border: 1px solid var(--line); }
.fact { padding: 14px 18px; font-size: 14px; color: var(--muted); border-right: 1px solid var(--line); flex: 1 1 auto; }
.fact:last-child { border-right: 0; }
.fact b { display: block; font: 400 22px/1.1 var(--f-mono); color: var(--ink); letter-spacing: -.02em; margin-bottom: 2px; }
.tablebox { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font: 400 11.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; background: var(--bg-soft); }
.table td { padding: 14px 16px; border-top: 1px solid var(--line); }
.table td .icon { vertical-align: -3px; margin-right: 6px; }
.table .r { text-align: right; }
.table tr.on td { background: var(--orange-soft); }
.table tr.on td:first-child { box-shadow: inset 3px 0 0 var(--orange); font-weight: 600; }
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inc-col { display: grid; gap: 14px; align-content: start; padding: 22px; border: 1px solid var(--line); }
.inc-col h4 { font: 400 11.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.inc-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.amen > span { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.side { position: sticky; top: 108px; display: grid; gap: 14px; }
.panel { padding: 24px; border: 1px solid var(--line); background-color: var(--surface); box-shadow: var(--shadow); display: grid; gap: 16px; }
.panel-price { font: 500 42px/1 var(--f-display); letter-spacing: -.045em; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px; gap: 4px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.seg button { height: 36px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg button:disabled { opacity: .35; cursor: not-allowed; }
.sum { display: grid; gap: 10px; font-size: 14.5px; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; }
.sum .tot { padding-top: 12px; border-top: 1px dashed var(--line-2); font-weight: 600; }
.who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--orange-soft); color: var(--orange-ink); font: 600 14px/1 var(--f-body); }
@media (max-width: 980px) {
  .lp { grid-template-columns: 1fr; gap: 24px; }
  .side { position: static; }
  .inc-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .gallery img { aspect-ratio: 4 / 3; } .gallery img:first-child { grid-row: auto; } .gallery img:nth-child(n+2) { display: none; }
}

/* ---------- inquiry card (agent side) ---------- */
.inq { padding: 22px; border: 1px solid var(--line); background-color: var(--surface); display: grid; gap: 16px; text-align: left; }
.inq-top { display: flex; gap: 12px; align-items: center; }
.kv { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kv > div { padding: 10px 12px; border-right: 1px solid var(--line); }
.kv > div:last-child { border-right: 0; }
.kv small { display: block; font: 400 10.5px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kv b { font-size: 14.5px; font-weight: 600; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr 1fr; } .kv > div:nth-child(2) { border-right: 0; } .kv > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- owners: adspirer numbered steps ---------- */
.nsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.nstep { display: grid; gap: 14px; align-content: start; }
.nstep-vis { height: 300px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--blue-soft) 75%, var(--surface)), color-mix(in srgb, var(--blue-soft) 35%, var(--surface))); display: grid; place-items: center; padding: 24px; margin-bottom: 10px; }
.nstep .num-sq { width: 28px; height: 28px; border-radius: 7px; background: var(--blue); color: #fff; display: grid; place-items: center; font: 600 14px/1 var(--f-body); }
.nstep .h4 { font-family: var(--f-body); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.nstep p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .nsteps { grid-template-columns: 1fr; } .nstep-vis { height: 240px; } }

/* ---------- plans (gojiberry brackets + adspirer popular) ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.plan { padding: 22px; border: 1px solid var(--line); background-color: var(--surface); display: grid; gap: 18px; align-content: start; }
.plan.featured { border-color: transparent; border-radius: 16px; background: linear-gradient(160deg, #ffd2b8 0%, #f7c9b5 38%, #b9c9f5 100%); color: #0a0a0a; box-shadow: var(--shadow); }
.plan.featured .muted, .plan.featured li, .plan.featured .plan-price small { color: #344054; }
.plan.featured .check { border-color: #0a0a0a; color: #0a0a0a; }
.plan.featured .label-dot { color: #0a0a0a; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; }
.plan-price { font: 500 46px/1 var(--f-display); letter-spacing: -.045em; }
.plan-price small { font: 400 14px/1 var(--f-body); letter-spacing: 0; margin-left: 4px; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan .rule { height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.plan .inc { font: 500 19px/1.2 var(--f-display); letter-spacing: -.02em; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* ---------- dashboard ---------- */
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 80px; max-width: 1440px; }
.dnav { position: sticky; top: 104px; align-self: start; display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); }
.dnav button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-align: left; white-space: nowrap; }
.dnav button:hover { background: var(--bg-soft); }
.dnav button[aria-current="true"] { background: var(--ink); color: var(--bg); }
.dnav .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 12px; font-weight: 600; }
.dmain { display: grid; gap: 22px; align-content: start; }
.dmain .h2 { font-size: clamp(30px, 3vw, 42px); }
.held-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px; border-radius: 18px; background: radial-gradient(60% 120% at 0% 0%, var(--hero-a), transparent 70%), var(--orange-soft); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 18px; border: 1px solid var(--line); background-color: var(--surface); display: grid; gap: 8px; align-content: start; }
.kpi small { font: 400 11px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kpi strong { font: 400 34px/1 var(--f-mono); letter-spacing: -.04em; }
.kpi .delta { font-size: 12.5px; color: var(--ok); font-weight: 500; }
.quota { height: 6px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; }
.quota i { display: block; height: 100%; background: var(--coral); }
.spark { width: 100%; height: 36px; }
.spark .a { fill: color-mix(in srgb, var(--blue) 12%, transparent); }
.spark .l { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark circle { fill: var(--blue); }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft); flex-wrap: wrap; }
.row, .irow { display: grid; gap: 14px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.row { grid-template-columns: 72px minmax(0, 1fr) auto; }
.card-h + .row, .card-h + .irow { border-top: 0; }
.row img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.irow { grid-template-columns: minmax(0, 1fr) auto; }
.irow.locked { background: repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in srgb, var(--orange-soft) 50%, transparent) 8px 16px); }
.blur { filter: blur(5px); user-select: none; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14px; }
@media (max-width: 980px) {
  .dash { grid-template-columns: 1fr; gap: 20px; }
  .dnav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .dnav > div, .dnav > a { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .row { grid-template-columns: 56px minmax(0, 1fr); } .row > div:last-child { grid-column: 1 / -1; justify-content: flex-start !important; } .irow { grid-template-columns: 1fr; } .irow > div:last-child { justify-content: flex-start !important; } }

/* ---------- modal / forms ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(10, 10, 10, .42); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal-card { width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; border-radius: 20px; background: var(--surface); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.modal-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.modal-head .h3 { font-size: 28px; }
.xbtn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 20px; line-height: 1; flex: none; }
.modal-body { padding: 22px 24px 24px; display: grid; gap: 16px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > span { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 15px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .frow { grid-template-columns: 1fr; } }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.pills input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pills input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.progress i { height: 4px; border-radius: 4px; background: var(--line); }
.progress i.on { background: var(--coral); }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.err { color: var(--coral); font-size: 14px; font-weight: 500; }
.waprev { white-space: pre-wrap; padding: 14px 16px; border-radius: 14px; background: #dcf8c6; color: #10240f; font-size: 14px; line-height: 1.5; }

/* ---------- misc ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 120; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); font-size: 14.5px; animation: up .25s ease; }
.toast .icon { color: var(--ok); }
.demo-pill { position: fixed; right: 16px; bottom: 16px; z-index: 50; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 400 12px/1 var(--f-mono); opacity: .85; pointer-events: none; }
.fade-in { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 760px) {
  .hero { padding-top: 32px; }
  .feat { padding: 12px; }
  .feat-vis { padding: 18px; }
  .rail { grid-auto-columns: minmax(270px, 84vw); }
  .shead { padding: 16px 12px; }
}
.bento.two { grid-template-columns: 1fr 1fr; }
.kpis.three { grid-template-columns: repeat(3, 1fr); }
.kpis.three .kpi { background: var(--surface); }
.kpis.three .kpi strong { font-size: 26px; }
@media (max-width: 960px) { .bento.two { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .kpis.three { grid-template-columns: 1fr; } }
.plan > p { min-height: 44px; }

/* ---------- Phuket hero: Andaman dusk horizon, sea-teal actions ----------
   Own direction for the top of the page (client asked not to look borrowed):
   warm sky, Phang Nga karst islands, long-tail boat, sun on the water. */
:root { --sea: #0b7a75; --sea-deep: #075f5b; --sea-soft: #e2f2f0; --sand-line: rgba(150, 90, 60, .16); }
.hero { margin-top: -84px; padding: calc(84px + 56px) 0 0; background: linear-gradient(180deg, #ffffff 0%, #fff6f0 45%, #ffe9dd 100%); overflow: hidden; }
.hero .h1 { margin-top: 24px; }
.horizon { position: relative; height: clamp(200px, 25vw, 360px); margin-top: 8px; }
.horizon svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-stage { position: relative; z-index: 2; margin-top: calc(-1 * clamp(120px, 15vw, 210px)); }

.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--sand-line); font-size: 13.5px; color: var(--ink-2); backdrop-filter: blur(6px); }
.hero-pill .k { padding: 4px 10px; border-radius: 999px; background: var(--sea); color: #fff; font-weight: 600; font-size: 12px; letter-spacing: .02em; }

.search-shell { position: relative; display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 36px auto 0; padding: 8px 8px 8px 18px; border-radius: 20px; background: #fff; border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 24px 48px -24px rgba(150, 70, 40, .35); transition: box-shadow .2s ease; }
.search-shell:focus-within { box-shadow: 0 0 0 4px rgba(11, 122, 117, .14), 0 24px 48px -24px rgba(150, 70, 40, .35); }
.search-shell > .icon { color: var(--sea); }
.search-shell input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font-size: 16px; }
.search-shell input:focus { outline: none; }
.search-shell input::placeholder { color: var(--faint); }
.btn-tide { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 6px 0 18px; border-radius: 14px; background: var(--sea); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .15s ease; }
.btn-tide:hover { background: var(--sea-deep); }
.btn-tide .arr { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); transition: transform .2s ease; }
.btn-tide:hover .arr { transform: translateX(2px); }
.btn-tide .arr .icon { width: 17px; height: 17px; }
.quick { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick button { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--sand-line); font-size: 13.5px; color: var(--ink-2); transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.quick button:hover { background: #fff; border-color: var(--sea); color: var(--sea); }
@media (max-width: 560px) {
  .search-shell { flex-wrap: wrap; padding: 8px; }
  .search-shell > .icon { margin-left: 10px; }
  .btn-tide { width: 100%; justify-content: space-between; }
}

/* header and arrow buttons: pill with a sea-teal arrow on the right */
.login { height: 42px; padding: 0 14px; background: none; border-radius: 999px; color: var(--ink-2); transition: color .15s ease, background-color .15s ease; }
.login:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.cta-arrow { flex-direction: row-reverse; gap: 12px; padding: 5px 5px 5px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; }
.cta-arrow:hover { background: #262626; }
.cta-arrow .sq { width: 36px; height: 36px; border-radius: 50%; background: var(--sea); }
.cta-arrow.sm { padding: 4px 4px 4px 16px; gap: 10px; }
.cta-arrow.sm .sq { width: 30px; height: 30px; }
.cta-arrow .sq .icon { width: 16px; height: 16px; }
@media (max-width: 560px) { .top-actions .cta-arrow { padding: 4px; } }


/* closing panel and inner page heads share the dusk sky */
.endpanel { background: linear-gradient(180deg, #fff8f3 0%, #ffeee4 60%, #ffe3d4 100%); padding-bottom: clamp(140px, 18vw, 240px); }
.endpanel .horizon.end { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(140px, 18vw, 240px); margin: 0; z-index: -1; }
.endpanel .search-shell { margin-top: 30px; }
.page-head { margin-top: -84px; padding: calc(84px + 56px) 0 72px; background: linear-gradient(180deg, #ffffff 0%, #fff6f0 60%, #ffffff 100%); }
@media (max-width: 760px) {
  .horizon { height: 180px; margin-top: 24px; }
  .horizon svg { width: 1000px; left: 50%; transform: translateX(-78%); }
  .hero-stage { margin-top: -70px; }
  .endpanel .horizon.end { height: 130px; }
}
