/* The Abbas Team of Compass: one page, three designs (html[data-design] = estate | modern | classic).
   The markup is shared; each design sets its own type, layout and surfaces. Colors come from
   --primary, --accent and --cream, which the preview's design switcher can change. */
:root {
  --ink: #17181c;
  --muted: #5b5d63;
  --line: #e4ded3;
  --surface: #ffffff;
  --dark: var(--primary);
  --on-dark: #f3eee6;
  --on-dark-muted: #bdb8ae;
  /* Accent tuned for text: darker on light backgrounds, lighter on dark ones (keeps AA contrast). */
  --accent-ink: color-mix(in srgb, var(--accent) 72%, #000);
  --accent-light: color-mix(in srgb, var(--accent) 60%, #fff);
  --head: "Cormorant Garamond", Georgia, serif;
  --body: "Jost", system-ui, -apple-system, sans-serif;
  --radius: 0px;
  --btn-radius: 0px;
  --head-weight: 500;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

h1, h2, h3 { font-family: var(--head); font-weight: var(--head-weight); line-height: 1.08; margin: 0 0 14px; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; }
.eyebrow { font: 600 .74rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 14px; }
.lead { font-size: 1.12rem; max-width: 56ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em; padding: 14px 26px;
  border-radius: var(--btn-radius); border: 1.5px solid var(--primary); background: var(--primary); color: #fff;
  font: 600 .86rem var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-small { padding: 10px 16px; font-size: .78rem; }
.link-arrow { font-weight: 600; font-size: .92rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.link-arrow::after { content: " →"; }

/* Preview bar */
.preview-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 20px; background: #0d0e11; color: #e9e6df; font-size: .84rem; }
.preview-bar p { margin: 0; }
.preview-bar a { color: inherit; }
.preview-bar .code { opacity: .7; margin-left: 6px; white-space: nowrap; }
.preview-close { background: none; border: 0; color: #e9e6df; font-size: 1.3rem; cursor: pointer; line-height: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; flex: none; }
.brand { flex-direction: row; align-items: center; gap: 14px; }
.brand-logo { height: 54px; width: auto; flex: none; }
.brand b { font: var(--head-weight) 1.35rem var(--head); padding-left: 14px; border-left: 1px solid var(--line); }
.brand small { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .86rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.call { flex: none; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: currentColor; }
.menu nav { position: absolute; right: 0; top: 52px; min-width: 200px; display: grid; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); }
.menu nav a { padding: 13px 18px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; display: grid; gap: 48px; align-items: center; }
.hero-team { margin: 0; position: relative; }
.hero-team img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-team figcaption { display: flex; flex-direction: column; padding: 14px 0 0; font-size: .9rem; }
.hero-team figcaption b { font: var(--head-weight) 1.25rem var(--head); }

/* Finder (search + home value) */
.finder { margin-top: 30px; background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); max-width: 620px; }
.finder-tabs { display: flex; border-bottom: 1px solid var(--line); }
.finder-tabs button { flex: 1; padding: 15px 10px; background: none; border: 0; border-bottom: 2px solid transparent; font: 600 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.finder-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.finder-pane { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px; align-items: end; }
.finder-pane[hidden] { display: none; }
.finder-pane select, .finder-pane input { flex: 1; min-width: 0; font: 400 1rem var(--body); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--btn-radius); background: #fff; color: var(--ink); }
#find-buy select { flex: 1 1 220px; }
.finder-pane label { display: grid; gap: 4px; flex: 1 1 90px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.finder-pane label:first-child { flex: 1.4 1 110px; }
.finder-pane .btn { flex: 0 0 auto; padding-block: 13px; }
.finder-note { flex-basis: 100%; margin: 0; font-size: .82rem; color: var(--muted); }
.value-result { flex-basis: 100%; }
.value-result:empty { display: none; }
.value-result dl { margin: 6px 0 0; display: grid; gap: 10px; }
.value-result dl div { padding: 12px 14px; background: color-mix(in srgb, var(--accent) 9%, #fff); border-left: 3px solid var(--accent); }
.value-result dt { font-size: .82rem; color: var(--muted); }
.value-result dd { margin: 2px 0 0; font: var(--head-weight) 1.9rem/1.1 var(--head); color: var(--ink); }
.value-result small { color: var(--muted); font-size: .8rem; }
.value-result p { margin: 8px 0 0; font-size: .9rem; }
.value-note { font-size: .8rem !important; color: var(--muted); }
.value-note a { color: var(--accent-ink); font-weight: 600; }

/* Facts */
.facts-band { border-bottom: 1px solid var(--line); background: var(--surface); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; }
.facts div { padding: 24px 20px; border-left: 1px solid var(--line); text-align: center; }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 6px 0 0; font: var(--head-weight) 1.45rem/1.2 var(--head); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark .eyebrow { color: var(--accent-light); }
.section-dark .muted, .section-dark .home-town, .section-dark .home-specs { color: var(--on-dark-muted); }
.section-dark .link-arrow, .section-dark a { color: var(--on-dark); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { margin: 0; }

/* Home cards */
.homes { display: grid; gap: 24px; margin-bottom: 18px; }
.homes-2 { grid-template-columns: repeat(2, 1fr); }
.homes-3 { grid-template-columns: repeat(3, 1fr); }
.home { display: flex; flex-direction: column; }
.home-photo { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.home-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.home:hover .home-photo img { transform: scale(1.04); }
.home-status { position: absolute; left: 14px; top: 14px; padding: 5px 12px; background: rgba(13, 14, 17, .82); color: #fff; font: 600 .7rem var(--body); letter-spacing: .14em; text-transform: uppercase; border-radius: var(--btn-radius); }
.home-body { padding: 16px 2px 0; }
.home-price { margin: 0; font: var(--head-weight) 1.8rem/1.1 var(--head); }
.home-address { margin: 6px 0 0; font: 600 1rem var(--body); letter-spacing: 0; }
.home-address a { text-decoration: none; }
.home-town { margin: 0; color: var(--muted); font-size: .92rem; }
.home-specs { margin: 8px 0 0; display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .86rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.about blockquote { margin: 0 0 22px; font: italic var(--head-weight) 1.7rem/1.3 var(--head); color: var(--accent-ink); }
.about-copy p { margin: 0 0 14px; }
.about-copy .btn { margin-top: 12px; }

/* Services */
.services { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services li { background: var(--surface); padding: 32px 28px; }
.services p { margin: 0; color: var(--muted); }
/* No empty cell when the count doesn't fill the last row. */
.services li:last-child:nth-child(3n+2) { grid-column: span 2; }
.services li:last-child:nth-child(3n+1) { grid-column: span 3; }
.num { display: block; font: var(--head-weight) 1.5rem var(--head); color: var(--accent-ink); margin-bottom: 12px; }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.area { border-top: 2px solid var(--accent); padding-top: 18px; }
.area h3 { font-size: 1.35rem; }
.area ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.area a { text-decoration: none; border-bottom: 1px solid var(--line); }
.area a:hover { border-color: var(--accent); }

/* Reviews: a scroll-snap row */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 48px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin: 32px 0 12px; }
/* A thin, quiet scrollbar that suits light and dark sections. */
.reviews { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, currentColor 35%, transparent) transparent; }
.reviews::-webkit-scrollbar { height: 6px; }
.reviews::-webkit-scrollbar-track { background: transparent; }
.reviews::-webkit-scrollbar-thumb { background: color-mix(in srgb, currentColor 35%, transparent); border-radius: 3px; }
.reviews figure { margin: 0; scroll-snap-align: start; padding: 28px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--accent-light); letter-spacing: 3px; }
.reviews blockquote { margin: 0; font: var(--head-weight) 1.3rem/1.4 var(--head); flex: 1; }
.reviews figcaption { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }

/* Tools */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.tool { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.tool-wide { grid-column: 1 / -1; }
.tool h3 { margin-bottom: 6px; }
.tool .mail-form { display: grid; gap: 12px; margin-top: 16px; }
.tool label, .calc-inputs label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; }
.tool input, .tool select { font: 400 1rem var(--body); padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--btn-radius); background: #fff; color: var(--ink); width: 100%; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; margin-top: 18px; align-items: start; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--btn-radius); background: #fff; padding-inline: 12px; gap: 6px; }
.field:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.field span { color: var(--muted); font-weight: 500; font-size: .9rem; white-space: nowrap; }
.tool .field input { border: 0; background: transparent; padding: 11px 0; outline: none; }
.calc-result { background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 26px; }
.calc-result .small { color: var(--on-dark-muted); margin: 0; }
.calc-result b { color: #fff; }
.calc-total { font: var(--head-weight) 3rem/1.1 var(--head); margin: 4px 0 16px; }
.calc-breakdown { margin: 0 0 16px; display: grid; gap: 8px; }
.calc-breakdown div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; }
.calc-breakdown div[hidden] { display: none; }
.calc-breakdown dt { color: var(--on-dark-muted); }
.calc-breakdown dd { margin: 0; font-weight: 600; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list, .links { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list span { width: 70px; color: var(--muted); font-size: .9rem; padding-top: 2px; }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 1px solid var(--line); border-radius: var(--btn-radius); text-decoration: none; background: var(--surface); }
.links a:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.links svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.text-link { padding: 0 16px; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.icon-link { width: 44px; }
.google-reviews {
  display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 18px; max-width: 420px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.google-reviews:hover { border-color: var(--accent); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .35); }
.google-reviews .g-logo { width: 32px; height: 32px; flex: none; }
.google-reviews > span:not(.g-arrow) { display: flex; flex-direction: column; flex: 1; }
.google-reviews b { font-weight: 600; font-size: .98rem; }
.google-reviews small { color: var(--muted); font-size: .86rem; }
.g-stars { color: #f4b400; letter-spacing: 1px; }
.g-arrow { color: var(--muted); font-size: 1.1rem; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { font: 400 1rem var(--body); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--btn-radius); background: var(--cream); color: var(--ink); }
/* Multi-line boxes keep card corners: a pill shape only suits one-line fields. */
.contact-form textarea { border-radius: var(--radius); resize: vertical; }
.form-note { margin: 0; min-height: 1.3em; font-size: .9rem; color: var(--muted); }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Footer */
.footer { background: var(--dark); color: var(--on-dark); padding: 44px 0 48px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 24px; }
.footer-brand img { height: 92px; width: auto; flex: none; }
.footer-name { display: flex; flex-direction: column; }
.footer-name b { font: var(--head-weight) 1.5rem var(--head); }
.footer-name span { color: var(--on-dark-muted); font-size: .9rem; }
.footer-contact { display: flex; gap: 22px; flex-wrap: wrap; margin: 0; }
.footer-contact a { text-decoration: none; color: var(--on-dark); font-weight: 500; }
.fine-print { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; line-height: 1.55; }
.footer .fine-print { border-top-color: rgba(255, 255, 255, .14); color: var(--on-dark-muted); }
.footer-bottom { display: flex; align-items: flex-end; gap: 16px 32px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-bottom .fine-print { margin: 0; padding: 0; border: 0; flex: 1; }
.footer-marks { display: flex; align-items: center; gap: 18px; flex: none; }
.footer-marks img { height: 46px; width: auto; opacity: .9; }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; align-items: flex-start; } .footer-marks img { height: 40px; } }

/* ---------- Design 1: Estate (dark, full-bleed photo, champagne serif) ---------- */
[data-design="estate"] .hero { min-height: min(88vh, 860px); display: grid; align-items: center; color: #fff; }
[data-design="estate"] .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 11, 14, .55) 0%, rgba(10, 11, 14, .45) 40%, rgba(10, 11, 14, .82) 100%); }
[data-design="estate"] .hero-inner { z-index: 2; padding: 90px 0 80px; grid-template-columns: 1fr; justify-items: center; text-align: center; }
[data-design="estate"] .hero-copy { display: flex; flex-direction: column; align-items: center; }
[data-design="estate"] .hero .eyebrow { color: var(--accent-light); }
[data-design="estate"] .hero h1 { max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
[data-design="estate"] .hero .lead { color: rgba(255, 255, 255, .88); }
[data-design="estate"] .hero-team { display: none; }
[data-design="estate"] .finder { width: 100%; text-align: left; }
[data-design="estate"] .btn { background: var(--accent-ink); border-color: var(--accent-ink); }
[data-design="estate"] .btn:hover { background: var(--primary); border-color: var(--primary); }
[data-design="estate"] .section-dark .btn, [data-design="estate"] .footer .btn { background: transparent; border-color: var(--accent-light); color: var(--accent-light); }
[data-design="estate"] .about-photo { position: relative; }
[data-design="estate"] .about-photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); z-index: -1; }
[data-design="estate"] #about { position: relative; z-index: 0; }

/* ---------- Design 2: Modern (white, split hero, bold sans) ---------- */
[data-design="modern"] {
  --head: "Manrope", system-ui, sans-serif; --body: "Manrope", system-ui, sans-serif; --head-weight: 800;
  --line: #e6e6e6; --muted: #5e5e5e; --radius: 0px; --btn-radius: 0px;
}
[data-design="modern"] h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.02; }
[data-design="modern"] h2 { letter-spacing: -0.03em; }
[data-design="modern"] .brand b { font-size: 1.15rem; letter-spacing: -0.01em; }
[data-design="modern"] .hero { background: var(--cream); border-bottom: 1px solid var(--line); }
[data-design="modern"] .hero-bg { display: none; }
[data-design="modern"] .hero-inner { grid-template-columns: 1.15fr 1fr; padding: 72px 0; }
[data-design="modern"] .hero-team img { aspect-ratio: 5 / 4; }
[data-design="modern"] .hero-team figcaption { position: absolute; left: 0; bottom: 0; padding: 14px 18px; background: var(--primary); color: #fff; }
[data-design="modern"] .hero-team figcaption b { font-size: 1rem; }
[data-design="modern"] .finder { box-shadow: none; border: 1.5px solid var(--primary); }
[data-design="modern"] .eyebrow { letter-spacing: .14em; }
[data-design="modern"] .section-dark { background: #f2f2f0; color: var(--ink); }
[data-design="modern"] .section-dark .eyebrow { color: var(--accent-ink); }
[data-design="modern"] .section-dark .muted, [data-design="modern"] .section-dark .home-town, [data-design="modern"] .section-dark .home-specs { color: var(--muted); }
[data-design="modern"] .section-dark a, [data-design="modern"] .section-dark .link-arrow { color: var(--ink); }
[data-design="modern"] .reviews figure { border-color: var(--line); background: #fff; }
[data-design="modern"] .reviews figcaption { color: var(--muted); }
[data-design="modern"] .stars { color: var(--accent-ink); }
[data-design="modern"] .reviews blockquote { font: 500 1.08rem/1.55 var(--body); }
[data-design="modern"] .home-price { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
[data-design="modern"] .about blockquote { font: 700 1.5rem/1.3 var(--head); letter-spacing: -0.02em; font-style: normal; }
[data-design="modern"] .about { grid-template-columns: 1.15fr 1fr; }
[data-design="modern"] .about-photo { order: 2; }
[data-design="modern"] .about-photo img { aspect-ratio: 5 / 4; filter: grayscale(100%); }
[data-design="modern"] .facts dd { font-size: 1.15rem; }
[data-design="modern"] .value-result dd, [data-design="modern"] .calc-total { font-weight: 800; letter-spacing: -0.02em; }

/* ---------- Design 3: Classic (ivory and navy, framed photos, rounded) ---------- */
[data-design="classic"] {
  --head: "Playfair Display", Georgia, serif; --body: "Source Sans 3", system-ui, sans-serif; --head-weight: 400;
  --radius: 14px; --btn-radius: 999px; --line: #e4dccd; --surface: #fffdf9;
}
[data-design="classic"] .btn { letter-spacing: .04em; text-transform: none; font-size: .95rem; }
[data-design="classic"] .nav a { text-transform: none; letter-spacing: 0; font-size: .95rem; }
[data-design="classic"] .hero { padding: 0 0 64px; }
[data-design="classic"] .hero-bg { position: relative; height: 56vh; min-height: 360px; max-height: 560px; }
[data-design="classic"] .hero-inner { grid-template-columns: 1.35fr 1fr; margin-top: -150px; align-items: end; }
[data-design="classic"] .hero-copy { background: var(--surface); padding: 40px 40px 34px; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(27, 43, 68, .45); }
[data-design="classic"] .finder { box-shadow: none; border: 1px solid var(--line); }
[data-design="classic"] .hero-team { align-self: end; }
[data-design="classic"] .hero-team img { border-radius: 999px 999px 18px 18px; border: 8px solid var(--surface); box-shadow: 0 30px 60px -30px rgba(27, 43, 68, .5); }
[data-design="classic"] .hero-team figcaption { text-align: center; }
[data-design="classic"] .eyebrow { letter-spacing: .16em; }
[data-design="classic"] .home { background: var(--surface); border-radius: var(--radius); box-shadow: 0 18px 40px -26px rgba(27, 43, 68, .45); overflow: hidden; }
[data-design="classic"] .home-photo { border-radius: 0; }
[data-design="classic"] .home-body { padding: 18px 20px 22px; }
[data-design="classic"] .section-dark .home { background: rgba(255, 255, 255, .06); box-shadow: none; }
[data-design="classic"] .about-photo img { border-radius: 999px 999px 18px 18px; }
[data-design="classic"] .services { gap: 18px; background: none; border: 0; }
[data-design="classic"] .services li { border-radius: var(--radius); border: 1px solid var(--line); }
[data-design="classic"] .facts dd { font-size: 1.3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu { display: block; }
  .call { margin-left: auto; }
  .homes-3 { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .services li:last-child:nth-child(n) { grid-column: auto; }
  .services li:last-child:nth-child(odd) { grid-column: span 2; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  [data-design="modern"] .hero-inner, [data-design="classic"] .hero-inner { grid-template-columns: 1fr; }
  [data-design="modern"] .hero-team, [data-design="classic"] .hero-team { max-width: 420px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { border-left: 0; border-top: 1px solid var(--line); padding: 16px 10px; }
  .facts div:nth-child(-n+2) { border-top: 0; }
  .facts div:nth-child(even) { border-left: 1px solid var(--line); }
  .services li:last-child:nth-child(odd) { grid-column: auto; }
  .homes-2, .homes-3, .services, .tool-grid, .calc, .calc-inputs, .about, .contact { grid-template-columns: 1fr; }
  .about, .contact { gap: 36px; }
  .areas { grid-template-columns: 1fr 1fr; gap: 20px; }
  .reviews { grid-auto-columns: 85%; }
  .tool, .contact-form { padding: 22px; }
  .hide-sm, .brand small { display: none; }
  /* Phones: the logo alone (it already says The Abbas Team); the hero names Haider and Shari. */
  .brand b { display: none; }
  .brand-logo { height: 50px; }
  .footer-brand img { height: 72px; }
  .header-inner { gap: 10px; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .call { margin-left: 0; }
  [data-design="estate"] .hero-inner { padding: 56px 0 48px; }
  [data-design="modern"] .hero-inner { padding: 40px 0; gap: 32px; }
  [data-design="modern"] .about { grid-template-columns: 1fr; }
  [data-design="modern"] .about-photo { order: 0; max-width: 420px; }
  [data-design="classic"] .hero-bg { height: 34vh; min-height: 220px; }
  [data-design="classic"] .hero-inner { margin-top: -60px; }
  [data-design="classic"] .hero-copy { padding: 26px 20px; }
  [data-design="estate"] .about-photo::after { inset: 10px -10px -10px 10px; }
}
@media (max-width: 420px) {
  .areas { grid-template-columns: 1fr; }
  .finder-pane .btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
