/* ---------- Base ---------- */
:root {
    --navy-950: #061433;
    --navy-900: #0b1f4d;
    --navy-800: #13306e;
    --brand: #2563eb;
    --brand-600: #1d4ed8;
    --brand-50: #eff6ff;
    --accent: #f59e0b;
    --green: #059669;
    --green-50: #ecfdf5;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-2: #f1f5f9;
    --bg: #f6f8fb;
    --white: #fff;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
    --shadow-lg: 0 20px 45px rgba(15, 23, 42, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -.02em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.icon { flex-shrink: 0; }

/* ---------- Buttons & form controls ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 20px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--white); color: var(--ink);
    font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1;
    cursor: pointer; white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn--primary { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .28); }
.btn--primary:hover { border-color: var(--brand-600); background: var(--brand-600); }
.btn--whatsapp { border-color: #16a34a; background: #16a34a; color: #fff; }
.btn--whatsapp:hover { border-color: #15803d; background: #15803d; }
.btn--block { width: 100%; }
.btn--ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn--ghost:hover { background: var(--line-2); color: var(--ink); }

.field {
    position: relative; display: flex; align-items: center;
}
.field .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.field input, .field select, .select {
    width: 100%; height: 46px; padding: 0 14px 0 42px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--white); color: var(--ink);
    font-family: inherit; font-size: 14px; font-weight: 500;
    appearance: none; -webkit-appearance: none;
    transition: border-color .15s, box-shadow .15s;
}
.field select, .select {
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    cursor: pointer;
}
.select { height: 40px; padding-left: 14px; font-size: 13px; }
.field input:focus, .field select:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.chip--glass { background: rgba(255, 255, 255, .9); color: var(--ink); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); }
.chip--brand { background: var(--brand-50); color: var(--brand-600); }
.chip--green { background: var(--green-50); color: var(--green); }
.chip--grey { background: var(--line-2); color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- Top contact strip ---------- */
.topstrip { background: var(--navy-950); color: #cbd5e1; font-size: 13px; }
.topstrip__inner { display: flex; align-items: center; justify-content: flex-end; gap: 20px; height: 36px; }
.topstrip__label { margin-right: auto; color: #94a3b8; font-weight: 500; }
.topstrip a { display: inline-flex; align-items: center; gap: 6px; color: #e2e8f0; font-weight: 500; white-space: nowrap; }
.topstrip a:hover { color: #fff; }
.topstrip .icon { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.logo strong { font-weight: 800; }
.logo__mark {
    display: grid; place-items: center; width: 36px; height: 36px;
    border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--navy-800)); color: #fff;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .3);
}
.logo--light { color: #fff; }
.logo img { width: auto; height: 52px; }
.site-footer .logo img { height: 84px; }
.site-nav { align-items: center; }
.site-nav a.site-nav__call { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; background: var(--navy-900); color: #fff; font-weight: 600; }
.site-nav a.site-nav__call:hover { background: var(--navy-800); color: #fff; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 8px 14px; border-radius: 8px; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.site-nav a:hover { background: var(--line-2); color: var(--ink); }
.site-nav a.is-active { background: var(--brand-50); color: var(--brand-600); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 72px 0 110px;
    background:
        radial-gradient(1000px 420px at 85% -10%, rgba(37, 99, 235, .55), transparent 60%),
        radial-gradient(700px 380px at 0% 110%, rgba(245, 158, 11, .18), transparent 60%),
        linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
    color: #fff;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 85%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
    padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
    background: rgba(255, 255, 255, .08); color: #dbeafe; font-size: 13px; font-weight: 500;
}
.hero__eyebrow .icon { color: #86efac; }
.hero h1 { max-width: 760px; color: #fff; font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
.hero h1 span { background: linear-gradient(90deg, #93c5fd, #fcd34d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 620px; margin: 18px 0 0; color: #cbd5e1; font-size: 17px; }

.search-panel {
    display: grid; grid-template-columns: 1.7fr 1fr 1fr auto; gap: 10px;
    margin-top: 36px; padding: 10px;
    border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg);
}
.search-panel .field input, .search-panel .field select { height: 54px; border-color: transparent; background-color: var(--bg); font-size: 15px; }
.search-panel .btn { height: 54px; padding: 0 28px; font-size: 15px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.hero-stats span { color: #94a3b8; font-size: 13px; }

/* ---------- Listing ---------- */
.listing { position: relative; z-index: 2; margin-top: -56px; padding-bottom: 72px; }
.toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-bottom: 24px; padding: 14px 18px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.toolbar__count { font-size: 15px; font-weight: 600; }
.toolbar__count span { color: var(--muted); font-weight: 500; }
.toolbar__filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toolbar__filters .select { width: auto; min-width: 150px; }
.toolbar__label { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; color: var(--muted); font-size: 13px; font-weight: 500; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 20px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-size: 13px; font-weight: 500; }
.active-filters a:hover { background: #dbeafe; }
.active-filters a b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(37, 99, 235, .12); font-size: 12px; }
.active-filters .clear { background: transparent; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 24px; }

/* ---------- Property card ---------- */
.p-card {
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; color: inherit; box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p-card:hover { transform: translateY(-4px); border-color: #c7d2fe; box-shadow: var(--shadow-lg); }
.p-card__media { position: relative; display: grid; place-items: center; height: 176px; overflow: hidden; }
.p-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-card__glyph { color: rgba(255, 255, 255, .92); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18)); transition: transform .3s ease; }
.p-card:hover .p-card__glyph { transform: scale(1.08); }
.p-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.p-card__status {
    position: absolute; right: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 11px; border-radius: 999px;
    font-size: 12px; font-weight: 600;
}
.status--live { background: #059669; color: #fff; box-shadow: 0 4px 12px rgba(5, 150, 105, .35); }
.status--closed { background: rgba(15, 23, 42, .7); color: #e2e8f0; }

.media--house { background: linear-gradient(135deg, #3b82f6, #1e3a8a); }
.media--flat { background: linear-gradient(135deg, #8b5cf6, #4338ca); }
.media--land { background: linear-gradient(135deg, #10b981, #065f46); }
.media--industrial { background: linear-gradient(135deg, #64748b, #1e293b); }
.media--commercial { background: linear-gradient(135deg, #f59e0b, #b45309); }
.media--vehicle { background: linear-gradient(135deg, #06b6d4, #0e7490); }
[class*="media--"]::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .28), transparent 55%), radial-gradient(circle at 100% 100%, rgba(0, 0, 0, .18), transparent 50%);
}

.p-card__body { flex: 1; padding: 18px 18px 14px; }
.p-card__bank { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--brand-600); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.p-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; font-size: 16px; font-weight: 700; line-height: 1.38; }
.p-card__location { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-card__price { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); }
.p-card__price span { color: var(--muted); font-size: 12px; font-weight: 500; }
.p-card__price strong { color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.p-card__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; }
.p-card__meta div { min-width: 0; }
.p-card__meta dt { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.p-card__meta dd { margin: 2px 0 0; overflow: hidden; color: var(--ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.p-card__footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px; border-top: 1px solid var(--line-2);
    color: var(--brand-600); font-size: 13px; font-weight: 600;
}
.p-card__footer .icon { transition: transform .2s; }
.p-card:hover .p-card__footer .icon { transform: translateX(4px); }

/* ---------- Empty & pagination ---------- */
.empty-state { padding: 72px 24px; border: 1px dashed #cbd5e1; border-radius: var(--radius); background: #fff; text-align: center; }
.empty-state__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 18px; background: var(--brand-50); color: var(--brand); }
.empty-state h3 { font-size: 18px; }
.empty-state p { margin: 6px 0 20px; color: var(--muted); }

.pager { display: flex; justify-content: center; margin-top: 40px; }
.pager .pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pager .pagination li > * { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.pager .pagination li > a:hover { border-color: var(--brand); color: var(--brand); }
.pager .pagination li.active > * { border-color: var(--brand); background: var(--brand); color: #fff; }
.pager .pagination li.disabled > * { color: #cbd5e1; }

/* ---------- How it works ---------- */
.how { padding: 80px 0; border-top: 1px solid var(--line); background: #fff; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .chip { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; }
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--bg)); }
.step__num { position: absolute; top: 20px; right: 22px; color: #e2e8f0; font-size: 40px; font-weight: 800; line-height: 1; }
.step__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.step h3 { font-size: 16px; font-weight: 700; }
.step p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Detail page ---------- */
.detail-top { padding: 28px 0 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .current { overflow: hidden; max-width: 420px; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }

.detail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 18px 0 24px; }
.detail-head__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.detail-head h1 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; line-height: 1.2; }
.detail-head__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.detail-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-head__actions { display: flex; gap: 8px; }

.gallery { position: relative; display: grid; place-items: center; height: 460px; margin-bottom: 32px; overflow: hidden; border-radius: 20px; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__glyph { position: relative; color: rgba(255, 255, 255, .95); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .2)); }
.gallery__caption { position: absolute; left: 24px; bottom: 22px; display: flex; gap: 8px; }
.gallery__count { position: absolute; top: 18px; right: 18px; }
.gallery__caption { flex-wrap: wrap; right: 24px; }
.gallery__nav {
    position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink);
    box-shadow: var(--shadow); cursor: pointer; transform: translateY(-50%); transition: background .15s, transform .15s;
}
.gallery__nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gallery__nav--prev { left: 16px; }
.gallery__nav--prev .icon { transform: rotate(180deg); }
.gallery__nav--next { right: 16px; }

/* Mobile sticky action bar (property details) */
.mobile-cta { display: none; }
.gallery__thumbs { display: flex; gap: 10px; margin: -20px 0 32px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: thin; }
.gallery__thumb { flex: 0 0 120px; height: 84px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--line); cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--brand); opacity: 1; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: 64px; }
.panel { margin-bottom: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.panel__title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 18px; font-weight: 700; }
.panel__title .icon { color: var(--brand); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fact { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--bg); }
.fact__icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.fact dt { color: var(--muted); font-size: 12px; font-weight: 500; }
.fact dd { margin: 1px 0 0; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }

.prose { color: var(--ink-2); font-size: 15px; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 11px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 0 0 22px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; top: 3px; left: 4px; width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: #cbd5e1; box-shadow: 0 0 0 2px var(--line); }
.timeline li.is-done::before { background: var(--muted); }
.timeline li.is-next::before { background: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .2); }
.timeline strong { display: block; font-size: 15px; }
.timeline span { color: var(--muted); font-size: 13px; }
.timeline time { color: var(--ink-2); font-size: 14px; font-weight: 600; text-align: right; white-space: nowrap; }

.price-card { position: sticky; top: 92px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.price-card__top { padding: 24px 24px 22px; background: linear-gradient(150deg, var(--navy-950), var(--navy-800)); color: #fff; }
.price-card__label { color: #93c5fd; font-size: 13px; font-weight: 500; }
.price-card__price { margin-top: 4px; color: #fff; font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.price-card__full { margin-top: 4px; color: #94a3b8; font-size: 13px; }
.price-card__body { padding: 20px 24px 24px; }
.price-rows { margin: 0 0 20px; }
.price-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.price-rows dt { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.price-rows dd { margin: 0; font-size: 15px; font-weight: 700; }

.countdown { margin-bottom: 20px; padding: 16px; border-radius: 12px; background: var(--green-50); text-align: center; }
.countdown__label { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 13px; font-weight: 600; }
.countdown__units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.countdown__units div { padding: 8px 0; border-radius: 10px; background: #fff; }
.countdown__units strong { display: block; color: var(--ink); font-size: 22px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown__units span { color: var(--muted); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.countdown--closed { background: var(--line-2); }
.countdown--closed .countdown__label { color: var(--muted); }

.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trust { display: flex; gap: 10px; margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: 13px; line-height: 1.5; }
.trust .icon { color: var(--green); margin-top: 1px; }

.similar { padding: 64px 0 80px; border-top: 1px solid var(--line); background: #fff; }
.similar__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.similar__head h2 { font-size: 26px; font-weight: 800; }
.similar__head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transform: translate(-50%, 20px); opacity: 0; transition: .25s; pointer-events: none; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Shared list ---------- */
.share-hero {
    padding: 56px 0 100px;
    background:
        radial-gradient(900px 380px at 90% -20%, rgba(37, 99, 235, .55), transparent 60%),
        linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
    color: #fff;
}
.share-hero .hero__eyebrow .icon { color: #86efac; }
.share-hero h1 { max-width: 820px; color: #fff; font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.share-hero__note { max-width: 680px; margin: 14px 0 0; color: #cbd5e1; font-size: 16px; white-space: pre-line; }
.share-hero__stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 30px; }
.share-hero__stats div { display: flex; flex-direction: column; }
.share-hero__stats strong { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.share-hero__stats span { color: #94a3b8; font-size: 13px; }
.share-listing { margin-top: -60px; }
.share-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    margin-top: 40px; padding: 26px 28px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
}
.share-cta h3 { font-size: 18px; }
.share-cta p { margin: 4px 0 0; color: var(--muted); }

/* ---------- Enquiry form ---------- */
.enquiry { scroll-margin-top: 90px; border-top: 4px solid var(--brand); }
.enquiry__head p { margin: -6px 0 18px; color: var(--muted); font-size: 14px; }
.enquiry__errors { margin-bottom: 16px; padding: 10px 14px; border-radius: var(--radius-sm); background: #fef2f2; color: #b91c1c; font-size: 14px; font-weight: 500; }
.enquiry__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field > span { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.form-field em { color: #dc2626; font-style: normal; }
.form-field i { color: var(--muted); font-style: normal; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; color: var(--ink); font-family: inherit; font-size: 15px; line-height: 1.4;
    transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.form-field.has-error input, .form-field.has-error textarea { border-color: #f87171; }
.form-field small { color: #dc2626; font-size: 12.5px; }
.phone-input { display: flex; }
.phone-input b { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 600; }
.phone-input input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.enquiry__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.enquiry__submit .btn { padding-left: 28px; padding-right: 28px; }
.enquiry__submit span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.enquiry__submit span .icon { color: var(--green); }
.enquiry__done { padding: 12px 0; text-align: center; }
.enquiry__done-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 50%; background: var(--green-50); color: var(--green); }
.enquiry__done h2 { font-size: 20px; }
.enquiry__done p { max-width: 460px; margin: 8px auto 0; color: var(--muted); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquire-btn { margin: 18px 0 10px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 0; background: var(--navy-950); color: #94a3b8; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.site-footer__subhead { margin-top: 22px; }
.site-footer__grid a.contact-link { display: flex; align-items: center; gap: 10px; color: #e2e8f0; font-weight: 500; }
.contact-link .icon, .contact-address .icon { color: var(--accent); }
.contact-address { display: flex; gap: 10px; font-style: normal; line-height: 1.7; }
.contact-address .icon { margin-top: 4px; }
.site-footer__bottom strong { color: #e2e8f0; font-weight: 600; }
.site-footer p { max-width: 360px; margin: 16px 0 0; line-height: 1.7; }
.site-footer h4 { margin-bottom: 14px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.site-footer__grid a:not(.logo) { display: block; margin-bottom: 10px; color: #94a3b8; }
.site-footer__grid a:not(.logo):hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .detail-layout { grid-template-columns: 1fr; gap: 0; }
    .detail-layout > aside { order: -1; margin-bottom: 24px; }
    .price-card { position: static; }
    .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .search-panel { grid-template-columns: 1fr 1fr; }
    .search-panel .field:first-child { grid-column: 1 / -1; }
    .search-panel .btn { grid-column: 1 / -1; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .detail-head { flex-direction: column; align-items: stretch; gap: 14px; }
    .detail-head__actions { position: absolute; top: 0; right: 0; }
    .detail-head > div:first-child { padding-right: 56px; }
    .detail-head__actions .btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; font-size: 0; gap: 0; }
    .detail-head__actions .btn .icon { width: 18px; height: 18px; }
    .detail-head { position: relative; }
    .hide-sm { display: none !important; }

    .gallery { height: auto; aspect-ratio: 4 / 3; max-height: 70vh; margin-bottom: 14px; }
    .gallery__thumbs { margin: 0 0 24px; }

    .mobile-cta {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(10px); box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
        transition: transform .25s ease;
    }
    .mobile-cta.is-hidden { transform: translateY(110%); }
    .mobile-cta__btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px;
        border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
        font-size: 14px; font-weight: 700;
    }
    .mobile-cta__btn--whatsapp { border-color: #16a34a; background: #16a34a; color: #fff; }
    .mobile-cta__btn--primary { border-color: var(--brand); background: var(--brand); color: #fff; }
    body:has(.mobile-cta) { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
    body:has(.mobile-cta) .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .site-nav a { padding: 8px 10px; font-size: 13px; }
    .site-nav a:first-child { display: none; }
    .hide-xs { display: none !important; }
    .topstrip__inner { justify-content: space-between; }
    .logo img { height: 42px; }
    .hero { padding: 48px 0 96px; }
    .hero-stats { gap: 24px; }
    .search-panel { grid-template-columns: 1fr; }
    .toolbar__filters, .toolbar__filters .select { width: 100%; }
    .steps { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .detail-top { padding-top: 14px; }
    .breadcrumb .current { max-width: 55vw; }
    .detail-head { margin: 12px 0 16px; }
    .detail-head h1 { font-size: 22px; }
    .detail-head__meta { flex-direction: column; gap: 6px; margin-top: 10px; font-size: 14px; }
    .detail-head__meta span { align-items: flex-start; }
    .detail-head__meta .icon { margin-top: 3px; }

    .gallery { margin: 0 -16px 10px; border-radius: 0; }
    .gallery__caption { left: 14px; right: 14px; bottom: 14px; }
    .gallery__count { top: 12px; right: 12px; }
    .gallery__nav { width: 38px; height: 38px; }
    .gallery__nav--prev { left: 10px; }
    .gallery__nav--next { right: 10px; }
    .gallery__thumbs { gap: 8px; margin-bottom: 20px; }
    .gallery__thumb { flex-basis: 84px; height: 62px; }

    .panel { margin-bottom: 16px; padding: 18px 16px; border-radius: 12px; }
    .panel__title { margin-bottom: 14px; font-size: 17px; }
    .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
    .fact { flex-direction: column; gap: 8px; padding: 12px; }
    .fact__icon { width: 32px; height: 32px; }
    .prose { font-size: 15px; line-height: 1.7; }

    .detail-layout { padding-bottom: 32px; }
    .detail-layout > aside { margin-bottom: 16px; }
    .price-card { border-radius: 14px; }
    .price-card__top { padding: 18px 18px 16px; }
    .price-card__price { font-size: 30px; }
    .price-card__body { padding: 16px 18px 18px; }
    .price-rows { margin-bottom: 16px; }
    .price-rows div { padding: 10px 0; }
    .countdown { padding: 12px; }
    .countdown__units strong { font-size: 20px; }
    .enquire-btn { height: 50px; margin-top: 14px; font-size: 15px; }
    .share-row .btn { height: 44px; }

    .form-field input, .form-field select, .form-field textarea, .field input, .field select { font-size: 16px; }
    .enquiry__submit .btn { width: 100%; height: 50px; font-size: 15px; }
    .enquiry__submit span { width: 100%; justify-content: center; }

    .similar { padding: 36px 0 44px; }
    .similar__head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 18px; }
    .similar__head h2 { font-size: 21px; }
    .enquiry__form { grid-template-columns: 1fr; }
    .timeline li { flex-direction: column; gap: 2px; }
    .timeline time { text-align: left; }
}
