/* ==========================================================================
   Scott Champion + Co — site styles
   Palette from the original site: ink #1D1E20, navy #0F171F, teal #1E8492, slate #3A5068
   ========================================================================== */
:root {
  --ink: #1d1e20;
  --navy: #0f171f;
  --navy-2: #16222d;
  --slate: #3a5068;
  --teal: #1e8492;
  --teal-600: #186f7b;
  --teal-100: #e3f2f4;
  --taupe: #8a8178;
  --bg: #ffffff;
  --tint: #f5f7f8;
  --line: #e4e8ec;
  --muted: #5f6b77;
  --sold: #b4423a;
  --pending: #c58a1c;
  --rent: #3a5068;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 31, .22);
  --shadow-lg: 0 30px 60px -25px rgba(15, 23, 31, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-h: 78px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2, .h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.h3, h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container.narrow, .narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0 auto 40px; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.accent-text { color: var(--teal); font-style: normal; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .cta-tile .eyebrow { color: #7fd0da; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 500; font-size: .95rem; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(30,132,146,.7); }
.btn-accent:hover { background: var(--teal-600); box-shadow: 0 16px 30px -12px rgba(30,132,146,.8); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--slate); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--navy); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 500; font-size: .92rem; }
.link-arrow .ic { transition: transform .3s var(--ease); }
a:hover .link-arrow .ic, .link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Page loader ---------- */
.page-loader { position: fixed; inset: 0; z-index: 200; background: var(--navy); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.page-loader .logo-house { width: 74px; color: var(--teal); }
.page-loader .logo-house path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1s var(--ease) forwards; }
.page-loader .logo-house path + path { animation-delay: .25s; }
body.loaded .page-loader { opacity: 0; visibility: hidden; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background .4s, box-shadow .4s, height .4s var(--ease), transform .45s var(--ease); color: #fff; }
.site-header.scrolled, body.solid-header .site-header { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); color: var(--navy); box-shadow: 0 6px 24px -14px rgba(15,23,31,.3); }
.site-header.scrolled { height: 66px; }
.site-header.hide { transform: translateY(-100%); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .logo-house { width: 42px; color: var(--taupe); transition: transform .5s var(--ease); }
.site-header:not(.scrolled) .brand .logo-house { color: #cfc7bd; }
body.solid-header .site-header .brand .logo-house { color: var(--taupe); }
.brand:hover .logo-house { transform: translateY(-3px); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-text strong { font-weight: 600; font-size: 1.08rem; letter-spacing: .04em; text-transform: uppercase; }
.brand-text small { font-size: .7rem; letter-spacing: .38em; text-transform: uppercase; opacity: .8; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a:not(.btn) { position: relative; padding: 8px 10px; font-size: .88rem; font-weight: 500; opacity: .9; transition: opacity .3s, color .3s; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--teal); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav a.active { color: var(--teal); }
.site-header:not(.scrolled) .main-nav a.active { color: #7fd0da; }
body.solid-header .site-header .main-nav a.active { color: var(--teal); }
.nav-cta { margin-left: 10px; padding: 10px 20px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 2; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 0; background: var(--navy); color: #fff; flex-direction: column; justify-content: center; gap: 4px; padding: 80px 24px 40px; clip-path: circle(0 at calc(100% - 42px) 38px); transition: clip-path .7s var(--ease); }
  body.nav-open .main-nav { clip-path: circle(150% at calc(100% - 42px) 38px); }
  body.nav-open .site-header { color: #fff; }
  /* backdrop-filter / transform on the header would trap the fixed menu inside the header box */
  body.nav-open .site-header, body.nav-open .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; background: transparent; box-shadow: none; }
  body.nav-open .brand .logo-house { color: #cfc7bd !important; }
  body.nav-open .nav-toggle { color: #fff; }
  .main-nav a:not(.btn) { font-family: var(--font-head); font-size: 1.6rem; padding: 6px 12px; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease); transition-delay: calc(var(--i) * 45ms + .15s); }
  .main-nav .nav-cta { margin: 18px 0 0; opacity: 0; transition: opacity .5s .6s; }
  body.nav-open .main-nav a { opacity: 1 !important; transform: none; }
  .main-nav a.active, .site-header:not(.scrolled) .main-nav a.active { color: #7fd0da; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Entry animations ---------- */
.anim-in { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d, 0ms) + 250ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.anim-pop { animation: pop .6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.95); } }
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.is-visible { opacity: 1 !important; transform: none !important; }
.no-js .reveal, .no-js .reveal-left, .no-js .reveal-right { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal, .reveal-left, .reveal-right, .anim-in { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: -6% 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 16s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,23,31,.88) 0%, rgba(15,23,31,.6) 45%, rgba(15,23,31,.25) 100%), linear-gradient(0deg, rgba(15,23,31,.7), transparent 40%); }
.hero-inner { position: relative; padding: calc(var(--header-h) + 50px) 0 110px; }
.hero-title { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 600; line-height: 1.08; margin-bottom: 18px; max-width: 720px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: .35s; }
.hero-title .line:nth-child(2) > span { animation-delay: .5s; }
@keyframes lineUp { to { transform: none; } }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 560px; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.search-panel { margin-top: 46px; max-width: 900px; background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px; }
.search-tabs { display: flex; gap: 4px; padding: 4px 6px 10px; }
.search-tabs label { cursor: pointer; }
.search-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.search-tabs span { display: block; padding: 7px 18px; border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--muted); transition: all .3s var(--ease); }
.search-tabs input:checked + span { background: var(--navy); color: #fff; }
.search-tabs input:focus-visible + span { outline: 2px solid var(--teal); }
.search-fields { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 8px; align-items: stretch; }
.sf { display: flex; flex-direction: column; padding: 8px 16px; border-radius: 12px; background: var(--tint); transition: background .3s; }
.sf:hover { background: var(--teal-100); }
.sf span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.sf select { border: 0; background: transparent; padding: 2px 0; font-weight: 500; cursor: pointer; outline: none; }
.search-btn { border-radius: 12px; padding-inline: 30px; }
@media (max-width: 760px) {
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .sf:first-child, .search-btn { grid-column: 1 / -1; }
  .search-btn { padding-block: 14px; }
  .search-panel { margin-top: 32px; }
  .hero-inner { padding-bottom: 90px; }
  .scroll-cue { display: none; }
}
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; color: #fff; padding: calc(var(--header-h) + 80px) 0 90px; overflow: hidden; background: var(--navy); }
.page-hero-bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; transform: scale(1.1); animation: heroZoom 10s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,23,31,.9), rgba(15,23,31,.55)); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero p { max-width: 640px; font-size: 1.1rem; color: rgba(255,255,255,.85); }
.post-hero { padding-bottom: 70px; }
.post-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs .ic { width: 14px; }
.crumbs-dark { color: var(--muted); }
.crumbs-dark a:hover { color: var(--teal); }

/* ---------- Sections & grids ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.pt-0 { padding-top: 0; }
.pt-sm { padding-top: 34px; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats-band { background: var(--navy); color: #fff; position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: #7fd0da; line-height: 1.1; }
.stat span { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat { border-bottom: 1px solid rgba(255,255,255,.08); } }

/* ---------- Property cards ---------- */
.prop-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 0 var(--line), var(--shadow); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease); }
.prop-card:hover { transform: translateY(-8px) !important; box-shadow: var(--shadow-lg); }
.prop-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.prop-card:hover .prop-media img { transform: scale(1.08); }
.prop-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,23,31,.65), transparent 55%); opacity: 0; transition: opacity .5s var(--ease); }
.prop-card:hover .prop-media::after { opacity: 1; }
.prop-view { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: #fff; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; opacity: 0; transform: translateY(14px); transition: all .5s var(--ease); }
.prop-card:hover .prop-view { opacity: 1; transform: none; }
.is-sold .prop-media img { filter: grayscale(.45); }
.badge { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 6px 13px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--teal); box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.badge-sale { background: var(--teal); }
.badge-rent { background: var(--slate); }
.badge-sold { background: var(--sold); }
.badge-pending { background: var(--pending); }
.badge-hidden { background: #777; }
.badge-soft { background: var(--teal-100); color: var(--teal-600); box-shadow: none; }
.badge-inline { position: static; display: inline-block; margin-right: 6px; margin-bottom: 14px; }
.photo-count { position: absolute; top: 16px; right: 16px; z-index: 1; display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: .78rem; color: #fff; background: rgba(15,23,31,.55); backdrop-filter: blur(6px); }
.prop-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.prop-price { font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; color: var(--teal); line-height: 1.2; }
.prop-body h3 { font-size: 1.15rem; margin: 6px 0 4px; }
.prop-body h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.prop-card:hover h3 a { background-size: 100% 1.5px; }
.prop-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.prop-meta { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; font-size: .92rem; }
.prop-meta li { display: flex; align-items: center; gap: 7px; }
.prop-meta .ic { color: var(--teal); width: 19px; height: 19px; }
.prop-meta span { font-weight: 400; color: var(--muted); }
.img-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #b6c0c9; background: var(--tint); }
.img-placeholder svg { width: 48px; height: 48px; }

/* ---------- Services ---------- */
.service { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, opacity .9s var(--ease); }
.service::before { content: ""; position: absolute; inset: auto 0 0 0; height: 0; background: var(--navy); transition: height .6s var(--ease); z-index: 0; }
.service > * { position: relative; z-index: 1; transition: color .4s; }
a.service:hover::before { height: 100%; }
a.service:hover h3, a.service:hover p { color: #fff; }
a.service:hover .link-arrow { color: #7fd0da; }
.service:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lg); border-color: transparent; }
.service-ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--teal-100); color: var(--teal); margin-bottom: 22px; transition: transform .6s var(--ease), background .4s, color .4s; }
.service-ic svg { width: 28px; height: 28px; }
.service:hover .service-ic { transform: rotate(-8deg) scale(1.08); background: var(--teal); color: #fff; }
.service p { color: var(--muted); font-size: .95rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-media { position: relative; padding: 0 0 60px 0; }
.split-media > img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-media .split-media-2 { position: absolute; width: 46%; aspect-ratio: 1; right: -24px; bottom: 0; border: 8px solid #fff; border-radius: var(--radius-lg); }
.split-badge { position: absolute; left: -16px; bottom: 90px; display: flex; gap: 12px; align-items: center; background: var(--teal); color: #fff; padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow-lg); font-family: var(--font-head); line-height: 1.2; animation: float 5s ease-in-out infinite; }
.split-badge .logo-house { width: 40px; }
@keyframes float { 50% { transform: translateY(-10px); } }
.split-text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.checks .ic { color: #fff; background: var(--teal); border-radius: 50%; padding: 4px; width: 22px; height: 22px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-media .split-media-2 { right: 0; } .split-badge { left: 8px; } }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Agents ---------- */
.agent-rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
@media (max-width: 1100px) { .agent-rail { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .agent-rail { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.agent-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--navy-2); }
.agent-photo, .agent-photo img { width: 100%; height: 100%; }
.agent-photo img { object-fit: cover; object-position: top; transition: transform 1s var(--ease), filter .6s; filter: grayscale(.25); }
.agent-card:hover .agent-photo img { transform: scale(1.08); filter: none; }
.agent-info { position: absolute; inset: auto 0 0; padding: 50px 16px 16px; background: linear-gradient(0deg, rgba(15,23,31,.95), transparent); color: #fff; transform: translateY(8px); transition: transform .5s var(--ease); }
.agent-card:hover .agent-info { transform: none; }
.agent-info h3 { color: #fff; font-size: 1.05rem; margin: 0; }
.agent-info span { font-size: .8rem; color: #7fd0da; }
.avatar-fallback { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-head); font-size: 2.6rem; color: #fff; background: linear-gradient(135deg, var(--slate), var(--teal)); }
.avatar-fallback.sm { width: 56px; height: 56px; border-radius: 50%; font-size: 1.1rem; }
.agents-grid { gap: 34px; }
.agent-tile-photo { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); }
.agent-tile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.agent-tile:hover .agent-tile-photo img { transform: scale(1.06); }
.agent-tile-hover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 24px; color: #fff; background: linear-gradient(0deg, rgba(15,23,31,.92), rgba(15,23,31,.2) 70%, transparent); opacity: 0; transition: opacity .5s var(--ease); font-size: .9rem; }
.agent-tile-hover > * { transform: translateY(16px); transition: transform .5s var(--ease); }
.agent-tile-hover > *:nth-child(2) { transition-delay: .05s; } .agent-tile-hover > *:nth-child(3) { transition-delay: .1s; }
.agent-tile:hover .agent-tile-hover { opacity: 1; }
.agent-tile:hover .agent-tile-hover > * { transform: none; }
.agent-tile-hover span { display: flex; gap: 8px; align-items: center; word-break: break-all; }
.agent-tile-hover .link-arrow { color: #7fd0da; }
.agent-tile-body { padding: 18px 4px 0; }
.agent-tile-body h3 { margin: 0; }
.agent-tile-body span { color: var(--teal); font-size: .9rem; }
.agent-profile { padding-top: calc(var(--header-h) + 40px); }
.agent-profile-grid { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: start; }
.agent-profile-photo { position: sticky; top: 100px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.agent-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.agent-contacts { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 30px; }
@media (max-width: 900px) { .agent-profile-grid { grid-template-columns: 1fr; } .agent-profile-photo { position: relative; top: 0; max-width: 380px; } }

/* ---------- Blog cards ---------- */
.blog-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease); }
.blog-card:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lg); }
.blog-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--tint); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.blog-card:hover .blog-media img { transform: scale(1.07); }
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--teal-600); font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
.blog-media .chip { position: absolute; top: 14px; left: 14px; }
.blog-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 1.12rem; line-height: 1.35; }
.blog-body h3 a { transition: color .3s; }
.blog-card:hover h3 a { color: var(--teal); }
.blog-body p { color: var(--muted); font-size: .93rem; }
.blog-body .link-arrow { margin-top: auto; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.blog-meta span + span::before { content: "•"; margin-right: 14px; opacity: .5; }
.blog-meta.light { color: rgba(255,255,255,.8); font-size: .92rem; }
.blog-feature { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--navy); color: rgba(255,255,255,.8); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 34px; transition: box-shadow .5s, transform .5s var(--ease), opacity .9s var(--ease); }
.blog-feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px) !important; }
.blog-feature-media { overflow: hidden; min-height: 320px; }
.blog-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.blog-feature:hover img { transform: scale(1.05); }
.blog-feature-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.blog-feature-body h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-top: 16px; }
.blog-feature .chip { align-self: flex-start; }
.blog-feature .blog-meta { color: rgba(255,255,255,.65); margin: 10px 0 0; }
@media (max-width: 820px) { .blog-feature { grid-template-columns: 1fr; } .blog-feature-media { min-height: 220px; } }

/* ---------- CTA tiles ---------- */
.cta-tile { position: relative; display: flex; align-items: flex-end; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; background-size: cover; background-position: center; padding: 36px; isolation: isolate; }
.cta-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15,23,31,.92), rgba(15,23,31,.25)); transition: background .6s; }
.cta-tile::after { content: ""; position: absolute; inset: 0; z-index: -2; background: inherit; transition: transform 1.2s var(--ease); }
.cta-tile:hover::after { transform: scale(1.06); }
.cta-tile h3 { color: #fff; font-size: 2rem; }
.cta-tile p { color: rgba(255,255,255,.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: 70px; font-size: .94rem; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 40px 44px; border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--teal), var(--slate)); color: #fff; margin-bottom: 64px; }
.footer-cta h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.footer-cta p { margin: 0; color: rgba(255,255,255,.85); }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta .btn-accent { background: var(--navy); box-shadow: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: 40px; padding-bottom: 50px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid ul a { position: relative; transition: color .3s, padding .3s var(--ease); }
.footer-grid ul a:hover { color: #7fd0da; padding-left: 6px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { color: #7fd0da; margin-top: 4px; }
.brand-light { color: #fff; margin-bottom: 16px; }
.brand-light .logo-house { color: #cfc7bd; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: all .4s var(--ease); }
.socials a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-3px) rotate(-6deg); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .85rem; }
.to-top { display: inline-flex; gap: 8px; align-items: center; }
.to-top:hover { color: #7fd0da; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-cta { padding: 30px 24px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Filters ---------- */
.filter-bar { position: relative; z-index: 3; margin-top: -46px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 16px; display: grid; gap: 14px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { cursor: pointer; padding: 9px 18px; border-radius: 999px; font-weight: 500; font-size: .92rem; color: var(--muted); transition: all .3s var(--ease); display: inline-flex; gap: 8px; align-items: center; }
.tab input { position: absolute; opacity: 0; pointer-events: none; }
.tab:hover { background: var(--tint); color: var(--navy); }
.tab.active { background: var(--navy); color: #fff; }
.tab .count { font-size: .75rem; padding: 1px 8px; border-radius: 999px; background: rgba(127,127,127,.15); }
.tab.active .count { background: rgba(255,255,255,.18); }
.filters { display: grid; grid-template-columns: 2fr repeat(5, 1fr) auto; gap: 10px; }
.filters select, .field-search { height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--tint); padding: 0 12px; outline: none; transition: border-color .3s, box-shadow .3s, background .3s; min-width: 0; }
.filters select:focus, .field-search:focus-within { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(30,132,146,.12); }
.field-search { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.field-search input { border: 0; background: transparent; outline: none; flex: 1; min-width: 0; height: 100%; color: var(--ink); }
@media (max-width: 1100px) { .filters { grid-template-columns: 1fr 1fr 1fr; } .filters .field-search { grid-column: 1 / -1; } }
@media (max-width: 560px) { .filters { grid-template-columns: 1fr 1fr; } }
.results-head { display: flex; justify-content: space-between; align-items: center; margin: 30px 0 22px; color: var(--muted); }
.results-head p { margin: 0; }
.blog-filter { grid-template-columns: 1fr minmax(220px, 320px); align-items: center; margin-bottom: 40px; }
@media (max-width: 760px) { .blog-filter { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; transition: all .3s var(--ease); }
.chip-link:hover { border-color: var(--teal); color: var(--teal); }
.chip-link.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.empty { text-align: center; padding: 70px 20px; border: 2px dashed var(--line); border-radius: var(--radius-lg); }
.empty svg { width: 54px; height: 54px; color: var(--teal); margin-bottom: 10px; }
.empty p { color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 500; transition: all .3s var(--ease); }
.pager span { border: 0; }
.pager a:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.pager a.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Property detail ---------- */
.prop-top { padding: calc(var(--header-h) + 34px) 0 22px; }
.prop-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.prop-title-row h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 6px; }
.prop-title-row .prop-loc { margin: 0; font-size: 1rem; }
.prop-title-price { text-align: right; }
.prop-title-price strong { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--teal); line-height: 1.1; }
.prop-title-price small { color: var(--muted); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; position: relative; }
.g-item { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; border-radius: 12px; background: var(--tint); position: relative; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.g-item:hover img { transform: scale(1.06); filter: brightness(.88); }
.g-0 { grid-row: 1 / 3; border-radius: 18px 12px 12px 18px; }
.g-2 { border-top-right-radius: 18px; } .g-4 { border-bottom-right-radius: 18px; }
.g-more { position: absolute; right: 18px; bottom: 18px; display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; background: #fff; border: 0; border-radius: 999px; box-shadow: var(--shadow); font-weight: 500; cursor: pointer; transition: transform .3s var(--ease); }
.g-more:hover { transform: translateY(-2px); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 120px; } .g-0 { grid-column: 1 / -1; grid-row: auto; border-radius: 14px; } .g-3, .g-4 { display: none; } .g-1, .g-2 { border-radius: 12px; } }
.prop-layout { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.prop-main > * { margin-bottom: 44px; }
@media (max-width: 1000px) { .prop-layout { grid-template-columns: 1fr; } }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .4s var(--ease); }
.facts li:hover { border-color: var(--teal); transform: translateY(-3px); }
.facts svg { width: 30px; height: 30px; color: var(--teal); flex: none; }
.facts strong { display: block; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.1; }
.facts span { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.prose { font-size: 1.04rem; line-height: 1.8; color: #333a42; }
.prose h2 { font-size: 1.7rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose ol li[data-list="bullet"] { list-style-type: disc; }
.prose .ql-ui { display: none; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; }
.prose iframe.ql-video { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 14px 22px; border-left: 4px solid var(--teal); background: var(--tint); border-radius: 0 12px 12px 0; }
.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.feature-list li { display: flex; gap: 10px; align-items: center; }
.feature-list .ic { color: var(--teal); }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 0; }
.details div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 640px) { .details, .feature-list { grid-template-columns: 1fr; } }
.map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/8; background: var(--tint); }
.map.tall { aspect-ratio: auto; min-height: 460px; }
.map iframe, .ratio iframe { width: 100%; height: 100%; border: 0; display: block; }
.map iframe { min-height: inherit; }
.map-load { width: 100%; height: 100%; min-height: inherit; border: 0; background: var(--tint); color: inherit; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; padding: 1.5rem; text-align: center; }
.map-load .ic { width: 28px; height: 28px; }
.map-load small { opacity: .7; max-width: 32ch; }
.ratio { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; }
.mini-calc { background: var(--tint); border-radius: var(--radius-lg); padding: 28px; }
.mini-calc-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; align-items: end; }
.mini-calc label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--muted); }
.mini-calc input { height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; outline: none; }
.mini-calc input:focus { border-color: var(--teal); }
.mini-calc-out span { font-size: .85rem; color: var(--muted); }
.mini-calc-out strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--teal); line-height: 1.2; }
@media (max-width: 640px) { .mini-calc-grid { grid-template-columns: 1fr 1fr; } .mini-calc-out { grid-column: 1 / -1; } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.side-card.sticky { position: sticky; top: 90px; }
.side-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.agent-mini { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.agent-mini img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; transition: transform .4s var(--ease); }
.agent-mini:hover img { transform: scale(1.08); }
.agent-mini small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.agent-mini strong { display: block; }
.agent-mini span { font-size: .88rem; color: var(--teal); }
.share { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.share span { font-size: .85rem; color: var(--muted); margin-right: 4px; }
.share a, .share button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--navy); transition: all .35s var(--ease); }
.share a:hover, .share button:hover { background: var(--teal); color: #fff; border-color: var(--teal); transform: translateY(-2px); }
.share svg { width: 17px; height: 17px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row-2, .row-3 { grid-template-columns: 1fr; } }
.fl { position: relative; display: block; }
.fl input, .fl select, .fl textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 22px 14px 8px; outline: none; transition: border-color .3s, box-shadow .3s; min-height: 56px; appearance: none; -webkit-appearance: none; }
.fl select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235f6b77' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; cursor: pointer; }
.fl textarea { resize: vertical; padding-top: 26px; }
.fl > span { position: absolute; left: 15px; top: 17px; color: var(--muted); font-size: .95rem; pointer-events: none; transition: all .25s var(--ease); }
.fl input:focus, .fl select:focus, .fl textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(30,132,146,.12); }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span, .fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span,
.fl select:focus + span, .fl select:valid + span, .fl input[type=date] + span, .fl.static > span, .fl select:has(option:checked:not([value=""])) + span { top: 7px; font-size: .72rem; color: var(--teal); letter-spacing: .03em; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); border-radius: 12px; padding: 4px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 9px; border-radius: 9px; font-weight: 500; font-size: .9rem; transition: all .3s var(--ease); color: var(--muted); }
.seg input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: .93rem; }
.alert-ok { background: #e5f5ec; color: #1d6b40; }
.alert-ok .ic { flex: none; margin-top: 2px; }
.alert-err { background: #fdecea; color: #a12d22; }
.form.sending button[type=submit] { pointer-events: none; opacity: .7; }
.form-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 920px) { .form-layout { grid-template-columns: 1fr; } }
.form-intro p { color: var(--muted); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 20px; }
.steps { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 18px; padding: 18px; border-radius: var(--radius); transition: background .4s, transform .5s var(--ease), opacity .9s var(--ease); }
.steps li:hover { background: var(--tint); transform: translateX(6px) !important; }
.steps li > span { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--teal); width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--teal); transition: all .4s; }
.steps li:hover > span { background: var(--teal); color: #fff; }
.steps h4 { margin: 4px 0 2px; }
.steps p { margin: 0; font-size: .93rem; }
.calc-promo { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--radius); background: var(--navy); color: #fff; transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease); }
.calc-promo:hover { transform: translateY(-3px) !important; box-shadow: var(--shadow-lg); }
.calc-promo > svg:first-child { width: 36px; height: 36px; color: #7fd0da; }
.calc-promo div { flex: 1; display: flex; flex-direction: column; }
.calc-promo span { font-size: .88rem; opacity: .75; }
.mini-features { margin-top: 30px; gap: 18px; }
.mini-feature { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s, opacity .9s var(--ease); }
.mini-feature:hover { transform: translateY(-4px) !important; border-color: var(--teal); }
.mini-feature svg { width: 30px; height: 30px; color: var(--teal); margin-bottom: 10px; }
.mini-feature p { font-size: .9rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-cards { margin-bottom: 50px; margin-top: -120px; position: relative; z-index: 2; }
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease), opacity .9s var(--ease); }
.contact-card:hover { transform: translateY(-6px) !important; }
.contact-card svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--teal-100); color: var(--teal); margin-bottom: 14px; transition: transform .5s var(--ease); }
.contact-card:hover svg { transform: rotate(-10deg) scale(1.1); }
.contact-card p { margin: 0; color: var(--muted); font-size: .92rem; word-break: break-word; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.quick-links { display: flex; gap: 10px; margin-top: 18px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .contact-cards { margin-top: -80px; } }
.page-hero:has(+ .section .contact-cards) { padding-bottom: 170px; }
.faq { display: grid; gap: 12px; }
.faq details, .amort { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s, border-color .4s, opacity .9s var(--ease), transform .9s var(--ease); }
.faq details[open], .amort[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary, .amort summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker, .amort summary::-webkit-details-marker { display: none; }
.faq details > div { padding: 0 24px 6px; color: var(--muted); animation: rise .5s var(--ease); }
.plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--teal-100); transition: transform .4s var(--ease), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--teal); border-radius: 2px; transition: transform .4s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus { transform: rotate(180deg); background: var(--teal); }
details[open] .plus::before, details[open] .plus::after { background: #fff; }
details[open] .plus::after { transform: rotate(0); }

/* ---------- Mortgage calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: start; margin-bottom: 30px; }
@media (max-width: 920px) { .calc { grid-template-columns: 1fr; } }
.calc-inputs { display: grid; gap: 18px; }
.range-field { display: grid; gap: 10px; }
.range-field > span { display: flex; justify-content: space-between; font-weight: 500; }
.range-field output { color: var(--teal); font-family: var(--font-head); font-weight: 600; }
.range-field input[type=number] { height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; outline: none; width: 100%; }
.range-field input[type=number]:focus { border-color: var(--teal); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--teal) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); cursor: grab; box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: transform .2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); cursor: grab; }
.calc-result { background: var(--navy); color: rgba(255,255,255,.8); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); position: sticky; top: 90px; }
.donut-wrap { display: grid; place-items: center; margin-bottom: 26px; }
.donut { width: 240px; height: 240px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--teal) 0 100%); transition: background .6s; }
.donut-hole { width: 168px; height: 168px; border-radius: 50%; background: var(--navy); display: grid; place-content: center; text-align: center; }
.donut-hole small { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.donut-hole strong { font-family: var(--font-head); font-size: 2.1rem; color: #fff; line-height: 1.1; }
.legend { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.legend b { margin-left: auto; color: #fff; font-weight: 600; }
.calc-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 18px; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.1); }
.calc-summary dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }
.calc-summary dd { margin: 0; color: #fff; font-weight: 600; font-size: 1.1rem; }
.calc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.calc-result .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.calc-result .btn-outline:hover { background: #fff; color: var(--navy); }
.table-wrap { overflow-x: auto; padding: 0 24px 20px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }

/* ---------- Blog post ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--teal); z-index: 150; transition: width .1s linear; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.post-body { max-width: 760px; }
.post-body > p:first-of-type::first-letter { float: left; font-family: var(--font-head); font-size: 3.6em; line-height: .85; padding: 6px 10px 0 0; color: var(--teal); font-weight: 600; }
@media (max-width: 1000px) { .post-layout { grid-template-columns: 1fr; } .post-side .sticky { position: static; } }
.side-posts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.side-posts a { display: flex; gap: 12px; align-items: center; font-size: .9rem; font-weight: 500; line-height: 1.35; }
.side-posts a:hover { color: var(--teal); }
.side-posts img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; transition: transform .5s var(--ease); }
.side-posts a:hover img { transform: scale(1.06); }
.side-posts small { display: block; color: var(--muted); font-weight: 400; margin-top: 4px; }
.side-cta { background: var(--navy); color: rgba(255,255,255,.8); border-radius: var(--radius); padding: 20px; }
.side-cta h4 { color: #fff; margin-bottom: 4px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; }
.post-nav a { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .4s var(--ease), opacity .9s var(--ease); }
.post-nav a:hover { border-color: var(--teal); transform: translateY(-3px) !important; }
.post-nav a.right { text-align: right; }
.post-nav small { color: var(--teal); display: block; margin-bottom: 6px; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.vm { gap: 30px; }
.vm-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--navy-2); border: 1px solid rgba(255,255,255,.06); transition: transform .5s var(--ease), border-color .4s, opacity .9s var(--ease); }
.vm-card:hover { border-color: var(--teal); transform: translateY(-6px) !important; }
.vm-num { font-family: var(--font-head); font-size: 3rem; font-weight: 600; color: transparent; -webkit-text-stroke: 1.5px #7fd0da; display: block; margin-bottom: 10px; }
.agent-rail.light .agent-card { background: #dde3e8; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,12,16,.95); display: grid; place-items: center; animation: fadeIn .35s var(--ease); }
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 8px; animation: pop .45s var(--ease); }
.lightbox figcaption { color: rgba(255,255,255,.7); margin-top: 12px; font-size: .9rem; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.lightbox button:hover { background: var(--teal); transform: scale(1.08); }
.lightbox button svg { width: 24px; height: 24px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }

/* ---------- 404 ---------- */
.notfound { padding-top: calc(var(--header-h) + 80px); min-height: 70vh; }
.nf-code { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; line-height: 1; background: linear-gradient(120deg, var(--teal), var(--slate)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 250; transform: translate(-50%, 30px); opacity: 0; background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow-lg); transition: all .45s var(--ease); font-size: .92rem; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Small-screen hardening ---------- */
html, body { overflow-x: clip; }
.prop-layout { grid-template-columns: minmax(0, 1fr) 380px; }
@media (max-width: 1000px) { .prop-layout { grid-template-columns: minmax(0, 1fr); } }
.facts li { min-width: 0; }
.facts strong { overflow-wrap: anywhere; }
.agent-profile-grid > * { min-width: 0; }
.agent-contacts .btn { white-space: normal; overflow-wrap: anywhere; text-align: left; }
@media (max-width: 420px) { .facts li { padding: 14px 12px; gap: 8px; } .facts svg { width: 24px; height: 24px; } }
.form-note { margin: .2rem 0 .8rem; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom span a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* US date field (MM/DD/YYYY text box + calendar button; see js/datefield.js) */
.datefield { position: relative; display: block; }
.datefield .df-btn { position: absolute; right: 4px; bottom: 9px; width: 34px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--muted, #5f6b77); cursor: pointer; transition: background .2s, color .2s; }
.datefield .df-btn:hover, .datefield .df-btn:focus-visible { background: rgba(30,132,146,.1); color: var(--teal, #1E8492); outline: none; }
.datefield .df-native { position: absolute; right: 4px; bottom: 9px; width: 34px; height: 36px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.datefield input[type=text] { padding-right: 40px; }
.fl.datefield > span { top: 7px; font-size: .72rem; color: var(--teal); letter-spacing: .03em; }
.datefield input[type=text]::placeholder { color: #8a949e; opacity: 1; }
