/* Ashworth & Vale Estate Agents — demo theme (navy + brass on ivory) */
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant.woff2") format("woff2-variations"), url("../fonts/cormorant.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-italic.woff2") format("woff2-variations"), url("../fonts/cormorant-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("../fonts/dmsans-400.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url("../fonts/dmsans-500.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url("../fonts/dmsans-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --navy: #13233a;
  --navy-2: #1d3352;
  --navy-deep: #0b1626;
  --brass: #b8925a;
  --brass-2: #cfae7c;
  --brass-ink: #8a6532;
  --ivory: #f7f3ec;
  --stone: #eee7db;
  --card: #ffffff;
  --ink: #1c2433;
  --muted: #5d6676;
  --line: #e4dccd;
  --green: #2f7d4f;
  --red: #b42318;
  --display: "Cormorant", "Times New Roman", Georgia, serif;
  --body: "DM Sans", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
h1, h2, h3, .card-price, .d-price, .hero-stats dd, .val-range, .mort-out strong, .saved-item b, .day b { font-variant-numeric: lining-nums; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 12px; }
.small { font-size: .84rem; color: var(--muted); margin-top: 14px; }
.demo-note { font-size: .82rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 2px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-brass { background: var(--brass); color: var(--navy-deep); }
.btn-brass:hover { background: var(--brass-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 8px 0; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(19, 35, 58, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgba(207, 174, 124, .25); }
.top-inner { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.logo-mark { width: 34px; height: 34px; color: var(--brass-2); flex: none; }
.logo-words { display: grid; line-height: 1; min-width: 0; }
.logo-txt { font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; }
.logo-words small { font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-2); margin-top: 4px; }
.top-nav { display: flex; gap: 4px; margin-left: auto; }
.top-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 2px; position: relative; }
.top-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--brass-2); transform: scaleX(0); transition: transform .25s ease; }
.top-nav a:hover { color: #fff; }
.top-nav a:hover::after { transform: scaleX(1); }
.saved-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; flex: none; }
.saved-btn svg { width: 20px; height: 20px; }
.saved-btn:hover { border-color: var(--brass-2); }
.saved-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--brass); color: var(--navy-deep); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.saved-btn.bump .saved-count { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
@media (max-width: 980px) { .top-nav { display: none; } .saved-btn { margin-left: auto; } }
@media (max-width: 520px) { .top-cta { display: none; } .logo-txt { font-size: 1.3rem; } }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,22,38,.94) 0%, rgba(11,22,38,.78) 42%, rgba(11,22,38,.15) 100%), linear-gradient(0deg, rgba(11,22,38,.85), transparent 45%); }
.hero-inner { padding-block: clamp(64px, 11vw, 140px) 40px; display: grid; gap: 22px; }
.hero .eyebrow { color: var(--brass-2); margin: 0; }
.hero h1 { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.4rem); font-weight: 500; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--brass-2); font-weight: 500; }
.lede { font-size: 1.12rem; color: rgba(255,255,255,.8); max-width: 50ch; }

.search { margin-top: 12px; max-width: 860px; }
.search-tabs { display: inline-flex; }
.search-tabs button { min-height: 44px; padding: 8px 22px; border: 0; background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); font-weight: 700; cursor: pointer; letter-spacing: .03em; }
.search-tabs button[aria-selected="true"] { background: var(--ivory); color: var(--navy); }
.search-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; background: var(--ivory); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.sf { display: grid; gap: 2px; padding: 12px 18px; border-right: 1px solid var(--line); min-width: 0; }
.sf span { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sf select { border: 0; background: transparent; padding: 4px 0; font-weight: 500; font-size: 1rem; cursor: pointer; width: 100%; min-height: 32px; }
.sf select:focus { outline: none; }
.sf:focus-within { background: #fff; }
.search-go { border-radius: 0; min-height: 100%; padding-inline: 28px; }
@media (max-width: 760px) {
  .search-fields { grid-template-columns: 1fr 1fr; }
  .sf:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-right: 0; }
  .sf:nth-child(3) { border-right: 0; }
  .search-go { grid-column: 1 / -1; min-height: 52px; }
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 42px; margin: 22px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); max-width: 860px; }
.hero-stats div { display: grid; }
.hero-stats dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); order: 2; }
.hero-stats dd { margin: 0; font-family: var(--display); font-size: 2rem; font-weight: 600; color: #fff; line-height: 1.1; }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 24px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); color: var(--navy); font-weight: 500; }
.sec-head .eyebrow { margin-bottom: 8px; }

/* Listings */
.homes { padding-block: clamp(56px, 8vw, 100px); }
.mode-tabs { display: inline-flex; border: 1px solid var(--line); background: var(--card); }
.mode-tabs button { min-height: 44px; padding: 8px 18px; border: 0; background: transparent; font-weight: 700; font-size: .9rem; color: var(--muted); cursor: pointer; }
.mode-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 26px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 38px; padding: 6px 14px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; font-size: .88rem; font-weight: 500; cursor: pointer; color: var(--ink); transition: all .15s ease; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-right { display: flex; align-items: center; gap: 14px; }
.count { font-size: .9rem; color: var(--muted); }
.sort select { min-height: 40px; padding: 6px 34px 6px 12px; border: 1px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%235d6676' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; appearance: none; -webkit-appearance: none; cursor: pointer; font-size: .9rem; }

.grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(19,35,58,.45); }
.card-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.card-photo .slide { position: absolute; inset: 0; transition: opacity .35s ease, transform .6s ease; }
.card-photo .slide svg { width: 100%; height: 100%; display: block; }
.card:hover .card-photo .slide.on { transform: scale(1.03); }
.card-photo .slide:not(.on) { opacity: 0; }
.card-arrows { position: absolute; inset: auto 10px 50% 10px; display: flex; justify-content: space-between; transform: translateY(50%); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.card:hover .card-arrows, .card:focus-within .card-arrows { opacity: 1; }
@media (hover: none) { .card-arrows { opacity: 1; } }
.card-arrows button { pointer-events: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.card-arrows svg { width: 16px; height: 16px; }
.photo-n { position: absolute; right: 10px; bottom: 10px; font-size: .74rem; font-weight: 700; background: rgba(11,22,38,.72); color: #fff; padding: 3px 8px; border-radius: 2px; }
.badge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; background: var(--navy); color: #fff; }
.badge.new { background: var(--brass); color: var(--navy-deep); }
.badge.agreed { background: #6b4f2a; }
.badge.sold { background: var(--red); }
.badge.let { background: var(--green); }
.card .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.heart { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.15); transition: transform .2s ease; }
.heart:hover { transform: scale(1.08); }
.heart svg { width: 20px; height: 20px; }
.heart[aria-pressed="true"] { color: var(--red); }
.heart[aria-pressed="true"] path { fill: currentColor; }
.card-body { display: grid; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.card-price { font-family: var(--display); font-size: 1.85rem; font-weight: 600; color: var(--navy); line-height: 1; }
.card-price small { font-family: var(--body); font-size: .82rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.card-addr { font-weight: 700; font-size: 1rem; line-height: 1.35; }
.card-addr span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
.card-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.card-facts span { display: inline-flex; align-items: center; gap: 6px; }
.card-facts svg { width: 17px; height: 17px; color: var(--brass-ink); }
.ber { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 7px 0 5px; font-size: .74rem; font-weight: 700; color: #fff; clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%); }
.ber-A { background: #00843d; } .ber-B { background: #4fa83d; } .ber-C { background: #c4c900; color: #222; } .ber-D { background: #f2b800; color: #222; } .ber-E { background: #ee7d00; } .ber-F { background: #e5461b; } .ber-G { background: #c8102e; }
.card-open { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; cursor: pointer; }
.card-open:focus-visible { outline-offset: -3px; }
.card .card-arrows, .card .heart { z-index: 3; }
.empty { text-align: center; padding: 40px 0; display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.empty-note a { color: var(--navy); }

/* Alerts */
.alerts { background: var(--navy); color: #fff; padding-block: 44px; }
.alerts-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: center; }
.alerts h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 500; margin-bottom: 8px; }
.alerts p { color: rgba(255,255,255,.75); }
.alert-form { display: grid; grid-template-columns: 1fr auto; gap: 0; }
.alert-form input { min-height: 52px; padding: 10px 16px; border: 0; background: #fff; color: var(--ink); border-radius: 0; }
.alert-form input:focus { outline: 2px solid var(--brass); outline-offset: -2px; }
.alert-form .btn { border-radius: 0; }
.form-msg { grid-column: 1 / -1; margin-top: 10px; font-size: .9rem; color: var(--brass-2) !important; min-height: 1.4em; }
@media (max-width: 760px) { .alerts-inner { grid-template-columns: 1fr; } }

/* Valuation */
.valuation { padding-block: clamp(56px, 8vw, 110px); background: var(--stone); }
.val-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.val-copy h2 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); color: var(--navy); font-weight: 500; margin-bottom: 16px; }
.val-copy > p { color: var(--muted); font-size: 1.05rem; }
.val-points { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.val-points li { position: relative; padding-left: 30px; font-weight: 500; }
.val-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 1px; background: var(--brass); }
.val-card { background: var(--card); padding: clamp(22px, 4vw, 36px); border-top: 3px solid var(--brass); box-shadow: 0 30px 60px -40px rgba(19,35,58,.5); }
.val-progress { height: 3px; background: var(--line); margin-bottom: 24px; }
.val-progress span { display: block; height: 100%; width: 25%; background: var(--navy); transition: width .35s ease; }
.val-step { border: 0; margin: 0; padding: 0; min-width: 0; animation: rise .35s ease both; }
.val-step legend { font-family: var(--display); font-size: 1.8rem; font-weight: 600; color: var(--navy); margin-bottom: 18px; padding: 0; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opts-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 480px) { .opts-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt { min-height: 56px; padding: 10px 14px; border: 1px solid var(--line); background: var(--ivory); text-align: left; font-weight: 500; cursor: pointer; transition: all .15s ease; display: flex; align-items: center; gap: 10px; }
.opt:hover { border-color: var(--navy); background: #fff; }
.opt svg { width: 22px; height: 22px; color: var(--brass-ink); flex: none; }
.val-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; min-height: 40px; }
.val-stepno { margin-left: auto; font-size: .82rem; color: var(--muted); }
.val-label { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.val-range { font-family: var(--display); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); font-weight: 600; color: var(--navy); line-height: 1.1; margin: 6px 0; }
.val-basis { color: var(--muted); }
.val-note { font-size: .84rem; color: var(--muted); padding: 12px 14px; background: var(--ivory); border-left: 2px solid var(--brass); margin: 16px 0; }
.val-result { display: grid; gap: 4px; }
.val-done { text-align: center; display: grid; gap: 10px; justify-items: center; }
.val-done h3 { font-size: 2rem; color: var(--navy); }
.val-done p { color: var(--muted); }
.tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--brass-2); }
.tick svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .val-grid { grid-template-columns: 1fr; } }

/* Forms */
.row { display: grid; gap: 6px; margin-bottom: 12px; }
.row.two { grid-template-columns: 1fr 1fr; gap: 12px; }
.row.two > div { display: grid; gap: 6px; }
.row label, .mort-grid label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.row input, .mort-grid input { min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); background: #fff; border-radius: 0; width: 100%; }
.row input:focus, .mort-grid input:focus { outline: none; border-color: var(--navy); }
.row input[aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-size: .88rem; font-weight: 700; margin-bottom: 10px; }
@media (max-width: 420px) { .row.two { grid-template-columns: 1fr; } }

/* Areas */
.areas { padding-block: clamp(56px, 8vw, 100px); }
.commute { display: grid; gap: 8px; }
.commute > span { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.commute-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.area-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } }
.area { position: relative; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; }
.area-art { position: absolute; inset: 0; z-index: -2; transition: transform .8s ease; }
.area-art svg { width: 100%; height: 100%; display: block; }
.area:hover .area-art { transform: scale(1.05); }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,22,38,.97) 0%, rgba(11,22,38,.9) 42%, rgba(11,22,38,.25) 72%, rgba(11,22,38,0)); }
.area-body { padding: 22px; display: grid; gap: 8px; }
.area h3 { font-size: 2rem; font-weight: 500; }
.area p { color: rgba(255,255,255,.82); font-size: .92rem; }
.area-times { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.2); font-size: .86rem; }
.area-times span { display: inline-flex; align-items: center; gap: 6px; }
.area-times svg { width: 16px; height: 16px; color: var(--brass-2); }
.area-times b { font-variant-numeric: tabular-nums; }
.area-link { justify-self: start; margin-top: 4px; background: none; border: 0; padding: 4px 0; color: var(--brass-2); font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* Services */
.services { padding-block: clamp(56px, 8vw, 100px); background: var(--navy-deep); color: #fff; }
.services .sec-head h2 { color: #fff; }
.services .eyebrow { color: var(--brass-2); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.15); }
.svc { padding: 28px 24px 28px 0; display: grid; gap: 12px; align-content: start; }
.svc + .svc { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.15); }
.svc-ico { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--brass); color: var(--brass-2); }
.svc-ico svg { width: 22px; height: 22px; }
.svc h3 { font-size: 1.6rem; font-weight: 500; }
.svc p { color: rgba(255,255,255,.7); font-size: .95rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc:nth-child(3) { padding-left: 0; border-left: 0; } .svc:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.15); } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } .svc, .svc + .svc { padding-left: 0; border-left: 0; } .svc + .svc { border-top: 1px solid rgba(255,255,255,.15); } }

/* Reviews */
.reviews { padding-block: clamp(56px, 8vw, 100px); text-align: center; }
.rev-stage { max-width: 820px; margin-inline: auto; }
.rev { margin: 0; min-height: 220px; display: grid; align-content: center; gap: 20px; }
.rev blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.25; color: var(--navy); animation: fadeIn .5s ease both; }
.rev figcaption { font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); }
@keyframes fadeIn { from { opacity: 0; } }
.rev-ctrls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.round-btn:hover { border-color: var(--navy); }
.round-btn svg { width: 18px; height: 18px; }
.rev-dots { display: flex; gap: 8px; }
.rev-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color .2s ease, transform .2s ease; }
.rev-dots i.on { background: var(--brass); transform: scale(1.25); }

/* Offices */
.offices { padding-block: clamp(56px, 8vw, 90px); background: var(--stone); }
.off-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px 60px; align-items: start; }
.offices h2 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); color: var(--navy); font-weight: 500; margin-bottom: 12px; }
.off-intro { color: var(--muted); }
.off-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.office { background: var(--card); padding: 24px; display: grid; gap: 6px; border-top: 2px solid var(--brass); }
.office h3 { font-size: 1.7rem; color: var(--navy); }
.office p { color: var(--muted); font-size: .92rem; }
.office-tel { font-weight: 700; color: var(--navy) !important; font-size: 1.05rem !important; margin-top: 6px; }
@media (max-width: 860px) { .off-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .off-cards { grid-template-columns: 1fr; } }

.foot { background: var(--navy-deep); color: rgba(255,255,255,.65); padding-block: 26px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); font-size: .88rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot a { color: var(--brass-2); font-weight: 700; }

/* Property detail sheet */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(11,22,38,.6); animation: fadeIn .25s ease both; }
.sheet { position: fixed; z-index: 90; inset: 24px; max-width: 1180px; margin-inline: auto; background: var(--ivory); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); animation: sheetIn .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.close-btn { position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.close-btn svg { width: 20px; height: 20px; }
@media (max-width: 700px) { .sheet { inset: 0; } }

.gallery { position: relative; background: var(--navy-deep); }
.g-main { aspect-ratio: 4 / 3; width: min(100%, calc(min(64vh, 620px) * 4 / 3)); margin-inline: auto; position: relative; overflow: hidden; }
@media (max-width: 700px) { .g-main { width: 100%; } }
.g-main .slide { position: absolute; inset: 0; transition: opacity .4s ease; }
.g-main .slide:not(.on) { opacity: 0; }
.g-main svg { width: 100%; height: 100%; display: block; }
.g-arrow { position: absolute; top: 44%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.g-arrow svg { width: 22px; height: 22px; }
.g-prev { left: 16px; } .g-next { right: 16px; }
.g-count { position: absolute; left: 16px; top: 16px; background: rgba(11,22,38,.72); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 10px; }
.g-thumbs { display: flex; gap: 8px; padding: 10px 16px 14px; overflow-x: auto; scrollbar-width: thin; }
.g-thumbs button { flex: none; width: 92px; height: 62px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .55; transition: opacity .2s ease, border-color .2s ease; position: relative; }
.g-thumbs button[aria-selected="true"] { opacity: 1; border-color: var(--brass); }
.g-thumbs svg { width: 100%; height: 100%; display: block; }
.g-thumbs span { position: absolute; left: 4px; bottom: 3px; font-size: .62rem; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); }

.d-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: clamp(22px, 4vw, 44px); }
@media (max-width: 900px) { .d-grid { grid-template-columns: 1fr; } }
.d-main { display: grid; gap: 10px; align-content: start; min-width: 0; }
.d-main .badge { justify-self: start; }
.d-main h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); color: var(--navy); font-weight: 500; margin-top: 6px; }
.d-area { color: var(--muted); }
.d-price { font-family: var(--display); font-size: 2.4rem; font-weight: 600; color: var(--navy); line-height: 1.1; }
.d-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 6px; }
.d-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--card); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; }
.d-facts svg { width: 18px; height: 18px; color: var(--brass-ink); }
.d-h { font-size: 1.6rem; color: var(--navy); margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 500; }
.d-desc { color: var(--muted); }
.d-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.d-feats li { position: relative; padding-left: 22px; font-size: .95rem; }
.d-feats li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 1px; background: var(--brass); }
@media (max-width: 520px) { .d-feats { grid-template-columns: 1fr; } }
.d-ber { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: .92rem; color: var(--muted); }
.d-ber .ber { height: 28px; min-width: 46px; font-size: .9rem; }
.d-map { height: 240px; border: 1px solid var(--line); overflow: hidden; background: #e8e3d8; }
.d-map svg { width: 100%; height: 100%; display: block; }

.mort { margin-top: 10px; }
.mort-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mort-grid label { display: grid; gap: 6px; }
@media (max-width: 640px) { .mort-grid { grid-template-columns: 1fr 1fr; } }
.mort-out { margin-top: 14px; padding: 18px 20px; background: var(--navy); color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.mort-out p { flex-basis: 100%; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.mort-out strong { font-family: var(--display); font-size: 2.6rem; font-weight: 600; color: var(--brass-2); line-height: 1; font-variant-numeric: tabular-nums; }
.mort-out span { color: rgba(255,255,255,.7); font-size: .9rem; }

.d-side { display: grid; gap: 16px; align-content: start; position: sticky; top: 0; }
.book { background: var(--card); padding: 24px; border-top: 3px solid var(--brass); }
.book h3 { font-size: 1.8rem; color: var(--navy); }
.book-sub { color: var(--muted); font-size: .92rem; margin: 4px 0 14px; }
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.day, .time { border: 1px solid var(--line); background: var(--ivory); cursor: pointer; transition: all .15s ease; }
.day { display: grid; gap: 0; padding: 8px 4px; text-align: center; line-height: 1.2; }
.day small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.time { min-height: 40px; font-size: .88rem; font-weight: 500; }
.time:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.day:hover, .time:not(:disabled):hover { border-color: var(--navy); }
.day[aria-pressed="true"], .time[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.day[aria-pressed="true"] small { color: var(--brass-2); }
.book-done { text-align: center; display: grid; gap: 10px; justify-items: center; padding-top: 8px; }
.book-done p { color: var(--muted); }
.agent { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--card); border: 1px solid var(--line); }
.agent-pic { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--brass-2); display: grid; place-items: center; font-family: var(--display); font-size: 1.4rem; font-weight: 600; flex: none; }
.agent div { display: grid; }
.agent span { font-size: .86rem; color: var(--muted); }
.save-big[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Shortlist drawer */
.drawer { position: fixed; z-index: 95; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--ivory); display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); animation: inRight .3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes inRight { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 2rem; color: var(--navy); font-weight: 500; }
.drawer .close-btn { position: static; box-shadow: none; border: 1px solid var(--line); }
.saved-list { list-style: none; overflow-y: auto; padding: 10px 22px 24px; display: grid; gap: 12px; align-content: start; }
.saved-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); padding: 8px; }
.saved-item .thumb { width: 96px; height: 70px; overflow: hidden; }
.saved-item svg { width: 100%; height: 100%; display: block; }
.saved-item b { display: block; font-family: var(--display); font-size: 1.3rem; color: var(--navy); line-height: 1.1; }
.saved-item span { font-size: .84rem; color: var(--muted); line-height: 1.3; display: block; }
.saved-item .open { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.saved-item .rm { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; color: var(--muted); }
.saved-empty { padding: 24px 22px; color: var(--muted); }

.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--navy-deep); color: #fff; padding: 12px 20px; font-weight: 500; font-size: .95rem; transition: opacity .2s ease, transform .2s ease; white-space: nowrap; border-left: 3px solid var(--brass); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

section[id] { scroll-margin-top: 76px; }
