/* =============================================================
   Atlantis Properties — Design System
   Modern luxe / premium estate agency
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand — taken straight from the logo: teal #60a890 + charcoal #484848 */
  --forest-900: #262f2d;  /* deep charcoal — topbar, footer ground */
  --forest-800: #333f3b;  /* charcoal — page heroes + headings (logo wordmark) */
  --forest-700: #3d7a64;  /* primary teal — buttons */
  --forest-600: #4e957d;
  --emerald:    #60a890;
  --sage:       #60a890;  /* the logo teal, exact */
  --sage-soft:  #c3ded3;
  --sage-tint:  #eaf4f0;

  /* Accent — the logo teal, used across the page */
  --brass:      #60a890;  /* decorative rules, underlines, the "place" word */
  --brass-600:  #37705b;  /* accent text — passes AA on light grounds */
  --brass-light:#9fd0bd;  /* accent on dark grounds */

  /* Neutrals — cool greys drawn from the logo wordmark (#484848) */
  --ink:        #3a423f;
  --charcoal:   #484848;  /* the logo charcoal, exact */
  --muted:      #6b7370;
  --muted-soft: #949b98;
  --line:       #e2e4e2;
  --line-soft:  #eceeec;
  --paper:      #fcfcfb;
  --cream:      #f1f3f1;
  --sand:       #e4e7e5;
  --white:      #ffffff;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  /* Only the clamp MINIMUMS are lowered — the vw term and max are unchanged,
     so tablet/desktop sizes stay exactly as they were. Previously the hero was
     stuck at its 2.7rem floor (43px) on a phone, which was far too large. */
  --fs-hero: clamp(2.15rem, 6vw, 5rem);
  --fs-h1:   clamp(1.9rem, 4.5vw, 3.6rem);
  --fs-h2:   clamp(1.55rem, 3.4vw, 2.8rem);
  --fs-h3:   clamp(1.3rem, 2vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.28rem);
  --fs-body: 1.02rem;
  --fs-sm:   0.9rem;
  --fs-xs:   0.78rem;

  /* Spacing / layout */
  --container: 1240px;
  --container-narrow: 920px;
  --radius: 4px;
  --radius-lg: 10px;
  --radius-xl: 22px;
  --shadow-sm: 0 2px 10px rgba(22, 33, 28, 0.06);
  --shadow-md: 0 14px 40px rgba(22, 33, 28, 0.10);
  --shadow-lg: 0 30px 70px rgba(11, 42, 32, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 96px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* overflow-x: clip (not hidden) — `hidden` forces overflow-y to compute to
   `auto`, which turns <html> into a scroll container and makes position:sticky
   jitter. `clip` guards horizontal overflow while leaving the root as the
   normal viewport scroller. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--forest-800);
  font-optical-sizing: auto;
}

::selection { background: var(--sage); color: var(--forest-900); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.bg-cream { background: var(--cream); }
.bg-forest { background: var(--forest-800); color: var(--sage-soft); }
.bg-sand { background: var(--sand); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-600);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brass); display: inline-block; }
.eyebrow--center::before { display: none; }
.eyebrow--light { color: var(--brass-light); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.text-center { margin-inline: auto; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 18px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: var(--fs-lead); }
.bg-forest .section-head h2 { color: var(--white); }
.bg-forest .section-head p { color: var(--sage-soft); }

.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--forest-700); color: var(--white); }
.btn--primary:hover { background: var(--forest-900); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11,42,32,.28); }
/* Dark text on the light logo teal. White on this teal is only 2.80:1, which
   fails WCAG AA; charcoal takes it well past the 4.5:1 threshold and reads as a
   deliberate accent against the dark grounds this button sits on. */
.btn--brass { background: var(--brass); color: var(--forest-900); }
.btn--brass:hover { background: #79bda6; color: var(--forest-900); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(96,168,144,.30); }
.btn--ghost { background: transparent; color: var(--forest-800); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--forest-700); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--forest-800); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-2px); }
.btn--lg { padding: 17px 38px; font-size: 0.98rem; }
.btn--block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.92rem; color: var(--forest-700);
  letter-spacing: 0.01em;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--brass { color: var(--brass-600); }

/* =============================================================
   Header / Navigation
   ============================================================= */
.topbar {
  background: var(--forest-900);
  color: var(--sage-soft);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.topbar a { color: var(--sage-soft); transition: color .25s; }
.topbar a:hover { color: var(--white); }
.topbar__meta { display: flex; align-items: center; gap: 26px; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__meta svg { width: 14px; height: 14px; color: var(--sage); }
.topbar__social { display: flex; align-items: center; gap: 16px; }
.topbar__social svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 246, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), background-color .4s var(--ease), border-color .4s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line-soft); background: rgba(251,250,246,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__logo { height: 48px; width: auto; display: block; }
.footer__brand .brand__logo { height: 46px; }
.mobile-nav__top .brand__logo { height: 42px; }
.brand__mark { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.06em; color: var(--forest-800); font-weight: 500; }
.brand__sub { font-size: 0.6rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--brass-600); margin-top: 5px; padding-left: 2px; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 15px; font-size: 0.9rem; font-weight: 500;
  color: var(--charcoal); border-radius: 999px; transition: color .25s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__link:hover, .nav__link.is-active { color: var(--forest-700); }
.nav__link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1.5px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link .chev { width: 13px; height: 13px; transition: transform .3s; }

/* Dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 250px; background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__item:hover .chev { transform: rotate(180deg); }
.nav__dropdown a {
  display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 7px;
  transition: background .2s;
}
.nav__dropdown a:hover { background: var(--sage-tint); }
.nav__dropdown strong { font-weight: 600; font-size: 0.92rem; color: var(--forest-800); }
.nav__dropdown span { font-size: 0.78rem; color: var(--muted); }

.nav__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav__phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.nav__phone small { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-soft); }
.nav__phone strong { font-family: var(--font-display); font-size: 1.18rem; color: var(--forest-800); font-weight: 500; }

.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; background: var(--forest-700); color: #fff; }
.nav__toggle svg { width: 22px; height: 22px; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: var(--forest-900); color: #fff;
  padding: 28px clamp(20px,6vw,44px); transform: translateX(100%); transition: transform .45s var(--ease);
  overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.mobile-nav__top .brand__name, .mobile-nav__top .brand__sub { color: #fff; }
.mobile-nav__close { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.mobile-nav__close svg { width: 22px; height: 22px; }
.mobile-nav a { display: block; padding: 15px 0; font-family: var(--font-display); font-size: 1.6rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.09); }
.mobile-nav__sub a { font-family: var(--font-body); font-size: 1rem; padding: 11px 0 11px 18px; color: var(--sage-soft); border: none; }
.mobile-nav__foot { margin-top: auto; padding-top: 30px; }
/* `.mobile-nav a` (0,1,1) outranks `.btn--brass` (0,1,0), so the menu's generic
   white link colour and display font leak into the CTA button. Restate them
   here at (0,2,0) so the button keeps its own styling and contrast. */
.mobile-nav__foot .btn { width: 100%; margin-top: 14px; font-family: var(--font-body); font-size: 0.95rem; border-bottom: none; }
.mobile-nav__foot .btn--brass { color: var(--forest-900); }
.mobile-nav__foot .phone { font-family: var(--font-display); font-size: 1.5rem; color: var(--sage); }
body.no-scroll { overflow: hidden; }

/* =============================================================
   Hero (home)
   ============================================================= */
.hero { position: relative; padding-top: clamp(60px, 9vw, 110px); padding-bottom: clamp(60px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -18%; right: -12%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(96,168,144,.28), transparent 62%); z-index: 0;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: var(--fs-hero); }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero__lead { margin-top: 26px; max-width: 30em; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__trust { margin-top: 40px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero__trust .stat b { font-family: var(--font-display); font-size: 2rem; color: var(--forest-800); font-weight: 500; display: block; }
.hero__trust .stat span { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }

.hero__visual { position: relative; }
.hero__img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--sage-soft); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -28px; bottom: 42px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 18px 22px; display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.hero__badge .ring { width: 46px; height: 46px; border-radius: 50%; background: var(--sage-tint); color: var(--forest-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero__badge .ring svg { width: 22px; height: 22px; }
.hero__badge b { font-family: var(--font-display); font-size: 1.05rem; color: var(--forest-800); display: block; }
.hero__badge span { font-size: 0.76rem; color: var(--muted); }

/* Search bar */
.searchbar {
  position: relative; z-index: 2; margin-top: -34px;
}
.searchbar__card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md); padding: 12px; display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto; gap: 8px; align-items: stretch;
}
.searchbar__field { display: flex; flex-direction: column; gap: 3px; padding: 12px 18px; border-radius: var(--radius-lg); transition: background .2s; }
.searchbar__field:hover { background: var(--cream); }
.searchbar__field + .searchbar__field { border-left: 1px solid var(--line-soft); }
.searchbar__field label { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-soft); font-weight: 600; }
.searchbar__field select, .searchbar__field input { border: none; background: none; outline: none; font-size: 0.98rem; font-weight: 500; color: var(--ink); width: 100%; padding: 2px 0; }
.searchbar__btn { border-radius: var(--radius-lg); }

/* =============================================================
   Property cards
   ============================================================= */
/* min() guard so the 320px track can never exceed a narrow phone's width */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 30px; }
.prop-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.prop-card__media { position: relative; aspect-ratio: 3/2.1; overflow: hidden; background: var(--sage-soft); }
.prop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prop-card:hover .prop-card__media img { transform: scale(1.06); }
.prop-tag {
  position: absolute; top: 14px; left: 14px; padding: 6px 13px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; backdrop-filter: blur(4px);
}
.prop-tag--sale { background: rgba(61,122,100,.95); }
.prop-tag--let { background: rgba(72,72,72,.92); }
.prop-fav { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; color: var(--forest-700); transition: background .25s, color .25s; }
.prop-fav:hover { background: var(--forest-700); color: #fff; }
.prop-fav svg { width: 18px; height: 18px; }
.prop-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prop-card__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest-800); font-weight: 500; }
.prop-card__price small { font-size: 0.8rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.prop-card__title { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; margin-top: 8px; color: var(--ink); }
.prop-card__addr { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.86rem; margin-top: 6px; }
.prop-card__addr svg { width: 15px; height: 15px; color: var(--sage); flex-shrink: 0; }
.prop-card__specs { display: flex; gap: 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.prop-card__specs .spec { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--charcoal); }
.prop-card__specs svg { width: 17px; height: 17px; color: var(--sage); }

/* Filter tabs */
.filter-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--cream); border: 1px solid var(--line-soft); border-radius: 999px; }
.filter-tabs button { padding: 10px 24px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: var(--muted); transition: all .3s var(--ease); }
.filter-tabs button.active { background: var(--forest-700); color: #fff; box-shadow: var(--shadow-sm); }

/* =============================================================
   Services
   ============================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  position: relative; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 40px 34px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.svc-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card__icon { width: 62px; height: 62px; border-radius: 16px; background: var(--sage-tint); color: var(--forest-700); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.svc-card__icon svg { width: 30px; height: 30px; }
.svc-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.svc-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 22px; }
/* Photo-topped service card variant (uses real brand photography) */
.svc-card--media { padding: 0; }
.svc-card--media .svc-card__media { aspect-ratio: 3/2; overflow: hidden; background: var(--sage-soft); }
.svc-card--media .svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card--media:hover .svc-card__media img { transform: scale(1.05); }
.svc-card--media .svc-card__body { padding: 0 34px 36px; }
.svc-card--media .svc-card__icon { width: 56px; height: 56px; margin-top: -32px; margin-bottom: 18px; position: relative; z-index: 1; border: 3px solid var(--white); }
.svc-card--media .svc-card__icon svg { width: 26px; height: 26px; }

/* Feature / split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 76px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; background: var(--sage-soft); position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { font-size: var(--fs-h2); margin: 18px 0 20px; }
.split__body p { color: var(--muted); font-size: var(--fs-body); margin-bottom: 16px; }

.check-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.check-list li { display: flex; align-items: flex-start; gap: 13px; font-size: 0.98rem; color: var(--charcoal); }
.check-list .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--sage-tint); color: var(--forest-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.check-list .tick svg { width: 14px; height: 14px; }

/* =============================================================
   Stats band
   ============================================================= */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-block { text-align: center; padding: 10px; }
.stat-block b { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; color: var(--white); line-height: 1; display: block; }
.bg-forest .stat-block b { color: var(--white); }
.stat-block span { display: block; margin-top: 12px; font-size: 0.88rem; letter-spacing: 0.05em; color: var(--sage-soft); }
.stat-block .plus { color: var(--brass-light); }

/* =============================================================
   Process steps
   ============================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 26px; }
.step__num { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--brass-600); width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--brass); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.92rem; }
.bg-forest .step h3 { color: #fff; }
.bg-forest .step p { color: var(--sage-soft); }
.bg-forest .step__num { color: var(--brass-light); border-color: var(--brass); }

/* =============================================================
   Testimonials
   ============================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 18px;
}
.testi__stars { display: flex; gap: 3px; color: var(--brass); }
.testi__stars svg { width: 18px; height: 18px; }
.testi__quote { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.5; color: var(--forest-800); font-style: italic; flex: 1; }
.testi__who { display: flex; align-items: center; gap: 13px; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sage); color: var(--forest-900); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.testi__who b { display: block; font-size: 0.94rem; color: var(--ink); }
.testi__who span { font-size: 0.8rem; color: var(--muted); }

/* =============================================================
   CTA band
   ============================================================= */
.cta-band { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--forest-800); color: #fff; padding: clamp(48px, 7vw, 84px); }
.cta-band::before { content: ""; position: absolute; top: -30%; right: -6%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(96,168,144,.25), transparent 65%); }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); }
.cta-band p { color: var(--sage-soft); margin-top: 16px; font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; }

/* =============================================================
   Page hero (interior pages)
   ============================================================= */
.page-hero { position: relative; background: var(--forest-800); color: #fff; padding-top: clamp(60px, 8vw, 96px); padding-bottom: clamp(60px, 8vw, 96px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% -10%, rgba(96,168,144,.22), transparent 55%); }
.page-hero__inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1 { color: #fff; font-size: var(--fs-h1); margin-top: 18px; }
.page-hero p { color: var(--sage-soft); margin-top: 20px; font-size: var(--fs-lead); max-width: 40em; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; color: var(--sage); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* =============================================================
   Forms
   ============================================================= */
.form-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: clamp(28px, 4vw, 46px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--charcoal); letter-spacing: 0.01em; }
.field label .req { color: var(--brass-600); }
.field input, .field select, .field textarea {
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
  font-size: 0.96rem; transition: border-color .25s, box-shadow .25s, background .25s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-600); box-shadow: 0 0 0 4px var(--sage-tint); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-soft); }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.form-error { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-lg); background: #fbecec; border: 1px solid #e6b8b8; color: #8a2f2f; font-size: 0.9rem; line-height: 1.5; }
.form-error a { color: #8a2f2f; font-weight: 600; text-decoration: underline; }
/* Spam honeypot — hidden from people and assistive tech; bots fill it and get filtered */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 30px 20px; }
.form-success.show { display: block; }
.form-success .ok { width: 66px; height: 66px; border-radius: 50%; background: var(--sage-tint); color: var(--forest-700); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success .ok svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* Contact info list */
.contact-list { display: grid; gap: 26px; }
.contact-item { display: flex; gap: 18px; }
.contact-item__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sage-tint); color: var(--forest-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-soft); margin-bottom: 6px; }
.contact-item p, .contact-item a { font-size: 1.06rem; color: var(--ink); }
.contact-item a:hover { color: var(--forest-700); }
.map-embed { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }

/* =============================================================
   Guides / cards
   ============================================================= */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.guide-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.guide-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--sage-soft); }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__body { padding: 30px; }
.guide-card__body h3 { font-size: 1.6rem; margin-bottom: 12px; }
.guide-card__body p { color: var(--muted); margin-bottom: 20px; }

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-family: var(--font-display); font-size: 1.24rem; color: var(--forest-800); }
.acc-trigger .ico { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; transition: transform .3s, background .3s, color .3s, border-color .3s; }
.acc-trigger .ico svg { width: 16px; height: 16px; }
.acc-item.open .acc-trigger .ico { transform: rotate(45deg); background: var(--forest-700); color: #fff; border-color: var(--forest-700); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-panel__inner { padding: 0 4px 26px; color: var(--muted); font-size: 0.98rem; max-width: 60em; }

/* Values / feature small grid */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mini-card { padding: 30px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--white); }
.mini-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sage-tint); color: var(--forest-700); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.mini-card__icon svg { width: 26px; height: 26px; }
.mini-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.mini-card p { color: var(--muted); font-size: 0.94rem; }

/* Job listings */
.job-list { display: grid; gap: 16px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); flex-wrap: wrap; }
.job:hover { border-color: var(--sage); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.job__info h3 { font-size: 1.35rem; margin-bottom: 8px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.86rem; color: var(--muted); }
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job__meta svg { width: 15px; height: 15px; color: var(--sage); }
.pill { display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; background: var(--sage-tint); color: var(--forest-700); }

/* =============================================================
   Footer
   ============================================================= */
.site-footer { background: var(--forest-900); color: var(--sage-soft); padding-top: clamp(60px, 8vw, 96px); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: 20px; color: var(--sage-soft); font-size: 0.94rem; max-width: 30em; }
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .3s, transform .3s; }
.footer__social a:hover { background: var(--brass); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer__col ul { display: grid; gap: 13px; }
.footer__col a { font-size: 0.92rem; color: var(--sage-soft); transition: color .25s, padding-left .25s; }
.footer__col a:hover { color: #fff; padding-left: 5px; }
.footer__contact li { display: flex; gap: 12px; font-size: 0.92rem; margin-bottom: 16px; }
.footer__contact svg { width: 17px; height: 17px; color: var(--sage); flex-shrink: 0; margin-top: 3px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; font-size: 0.82rem; color: var(--muted-soft); flex-wrap: wrap; }
.footer__bottom a { color: var(--muted-soft); }
.footer__bottom a:hover { color: var(--sage-soft); }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* =============================================================
   Reveal animation
   ============================================================= */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1080px) {
  :root { --header-h: 82px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-inline: auto; }
  .searchbar__card { grid-template-columns: 1fr 1fr; }
  .searchbar__field:nth-child(3) { border-left: none; }
  .searchbar__btn { grid-column: 1 / -1; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__menu, .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .svc-grid, .testi-grid, .mini-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 560px; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .topbar__meta span.hide-sm { display: none; }
}
@media (max-width: 620px) {
  :root { --header-h: 68px; }

  /* --- Header ---
     The logo + CTA + burger needed ~384px of a ~364px content box, so the bar
     was overflowing on phones. The CTA is dropped here because the mobile menu
     already carries "Book a Free Valuation" as a full-width button. */
  .topbar { display: none; }
  .nav__actions .btn { display: none; }
  .brand__logo { width: 130px; }

  /* --- Hero --- */
  .hero { padding-top: 30px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }          /* full-width, easier to tap */
  .hero__img { aspect-ratio: 4/4.2; }
  /* Static rather than overlapping the image bottom, which collided with the
     search bar's negative margin on short screens. */
  .hero__badge { position: static; max-width: none; margin-top: 14px; }
  /* Even 3-up grid — as a flex row these wrapped 2-then-1, which read as a
     mistake rather than a layout. */
  .hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; margin-top: 28px; }
  .hero__trust .stat b { font-size: 1.45rem; }
  .hero__trust .stat span { font-size: 0.72rem; line-height: 1.35; }
  .searchbar { margin-top: 22px; }

  /* --- Content grids --- */
  .searchbar__card { grid-template-columns: 1fr; }
  .searchbar__field + .searchbar__field { border-left: none; border-top: 1px solid var(--line-soft); }
  .form-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .prop-grid { grid-template-columns: 1fr; gap: 22px; }
  .prop-card__specs { gap: 12px; }
  .prop-card__specs .spec { font-size: 0.8rem; }
  .job { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }

  /* Filter tabs scroll horizontally instead of overflowing the screen */
  .filter-tabs { display: flex; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* min-height 44px meets the recommended touch-target size */
  .filter-tabs button { flex: 1 0 auto; padding: 11px 16px; font-size: 0.84rem; min-height: 44px; }

  .prop-tag { font-size: 0.72rem; }

  /* 16px minimum stops iOS Safari zooming the page in on field focus */
  .field input, .field select, .field textarea { font-size: 16px; }

  .btn { padding: 14px 24px; }
  .section-head { margin-bottom: 30px; }
  .cta-band { padding: 40px 24px; }

  /* Tighten the mobile menu so the phone number and the "Book a Free Valuation"
     CTA sit above the fold — the header CTA is hidden at this width, so this is
     now the primary conversion path. Rows stay >=44px for touch. */
  .mobile-nav a { font-size: 1.3rem; padding: 12px 0; }
  .mobile-nav__sub a { font-size: 0.98rem; padding: 14px 0 14px 18px; }
  .mobile-nav__top { margin-bottom: 22px; }
  .mobile-nav__foot { padding-top: 22px; }
}
