/* ═══════════════════════════════════════════════════════
   THE AGGREGATORS — Property Portal
   Light, trust-first, conversion-focused.
   Navy ink · warm white · amber CTAs · Satoshi.
   ═══════════════════════════════════════════════════════ */

@font-face { font-family:'Satoshi'; src:url('../fonts/satoshi-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Satoshi'; src:url('../fonts/satoshi-500.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Satoshi'; src:url('../fonts/satoshi-700.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Satoshi'; src:url('../fonts/satoshi-900.woff2') format('woff2'); font-weight:900; font-display:swap; }

:root {
  --navy: #0e2a47;
  --navy-2: #16395f;
  --ink: #182635;
  --body: #4e5d6d;
  --muted: #7c8896;
  --line: #e5e9ef;
  --bg: #ffffff;
  --cream: #f7f5f0;
  --sky: #eef4fb;
  --accent: #f59e1b;
  --accent-dark: #d97f06;
  --green: #1e9e63;
  --green-bg: #e6f6ee;
  --amber-bg: #fdf3e0;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(14, 42, 71, 0.10);
  --shadow-sm: 0 4px 14px rgba(14, 42, 71, 0.07);
  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Satoshi', 'Helvetica Neue', Arial, sans-serif; color: var(--ink);
  background: var(--bg); line-height: 1.6; font-size: 1rem; -webkit-font-smoothing: antialiased;
  overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--navy); }

section[id] { scroll-margin-top: 84px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); }
h1 { font-weight: 900; font-size: clamp(2.35rem, 4.8vw, 3.9rem); }
h2 { font-weight: 900; font-size: clamp(1.85rem, 3.2vw, 2.75rem); }

mark { color: inherit; white-space: nowrap; padding: 0 0.06em;
  background: linear-gradient(transparent 60%, rgba(245, 158, 27, 0.38) 60%, rgba(245, 158, 27, 0.38) 94%, transparent 94%); }

.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.74rem;
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dark);
  margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow.light { color: var(--accent); }

.section-head { max-width: 46rem; margin-bottom: 2.6rem; }
.section-head p { color: var(--body); margin-top: 1rem; font-size: 1.05rem; }
.section-head.light h2 { color: #fff; }
.section-head.light mark, .book mark { background: none; color: var(--accent); }
.section-head.light p { color: rgba(255,255,255,0.72); }

/* ─────────── buttons ─────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: inherit; font-weight: 700; font-size: 0.95rem; padding: 0.95rem 1.7rem;
  border-radius: 10px; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--navy);
  box-shadow: 0 6px 20px rgba(245, 158, 27, 0.35); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(217, 127, 6, 0.4); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-cta { background: var(--accent); color: var(--navy); padding: 0.7rem 1.35rem;
  font-size: 0.88rem; border-radius: 9px; }
.btn-cta:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--body); border-color: transparent;
  font-size: 0.85rem; padding: 0.6rem 0.9rem; }
.btn-ghost:hover { color: var(--navy); text-decoration: underline; }

/* ─────────── top bar ─────────── */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--navy); color: rgba(255,255,255,0.85); font-size: 0.82rem;
  padding: 0.5rem var(--pad); }
.topbar strong { color: var(--accent); font-weight: 700; }
.topbar-phone { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700;
  color: #fff; white-space: nowrap; }
.topbar-phone svg { width: 15px; height: 15px; color: var(--accent); }
.topbar-phone:hover { color: var(--accent); }
@media (max-width: 640px) { .topbar p { font-size: 0.72rem; } }

/* ─────────── nav ─────────── */
.nav { position: sticky; top: 0; z-index: 900; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; padding: 0.35rem var(--pad);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.nav.is-scrolled { box-shadow: var(--shadow-sm); }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; font-size: 1.3rem;
  color: var(--navy); }
.nav-brand img { width: 120px; height: 120px; object-fit: contain; }
.nav-brand b { font-weight: 900; }
.nav-links { display: flex; gap: 1.9rem; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--body); position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 100%;
  height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s var(--ease); }
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 1.1rem; }
.nav-phone { font-weight: 900; color: var(--navy); font-size: 0.95rem; white-space: nowrap; }
.nav-phone:hover { color: var(--accent-dark); }
.btn-cta, .btn-nav { white-space: nowrap; }
@media (max-width: 1020px) { .nav-links { display: none; } }
@media (max-width: 640px) {
  .nav-phone { display: none; }
  .nav { padding: 0.3rem 1.1rem; }
  .nav-brand { font-size: 1rem; white-space: nowrap; }
  .nav-brand img { width: 92px; height: 92px; }
  .btn-cta { padding: 0.62rem 1.05rem; font-size: 0.8rem; }
}

/* ─────────── hero ─────────── */
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4vw, 4.5rem); align-items: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--pad) clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.hero-badge { display: inline-block; background: var(--amber-bg); color: var(--accent-dark);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45rem 0.9rem; border-radius: 100px; margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--accent-dark); position: relative; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: -0.04em;
  height: 0.09em; background: var(--accent); border-radius: 3px; }
.hero-sub { margin-top: 1.4rem; color: var(--body); font-size: 1.12rem; max-width: 34rem; }
.hero-sub strong { color: var(--ink); }
.hero-cta { display: flex; gap: 0.9rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-ticks { list-style: none; display: flex; gap: 1.6rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero-ticks li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem;
  font-weight: 500; color: var(--body); }
.hero-ticks li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%231e9e63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-visual { position: relative; min-height: 340px; }
.hero-photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.15; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; display: flex; align-items: center; gap: 0.5rem;
  background: #fff; border-radius: 100px; padding: 0.6rem 1.05rem; font-size: 0.82rem;
  font-weight: 500; color: var(--body); box-shadow: var(--shadow); }
.hero-chip strong { color: var(--navy); font-weight: 900; }
.chip-top { top: 1.1rem; right: -0.9rem; animation: floaty 5s ease-in-out infinite; }
.chip-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 0 rgba(30,158,99,0.5); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 70% { box-shadow: 0 0 0 9px rgba(30,158,99,0); } 100% { box-shadow: 0 0 0 0 rgba(30,158,99,0); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-minicard { position: absolute; left: -1.2rem; bottom: -1.4rem; display: flex; gap: 0.8rem;
  align-items: center; background: #fff; border-radius: 14px; padding: 0.7rem;
  box-shadow: var(--shadow); max-width: 300px; transition: transform 0.3s var(--ease);
  animation: floaty 6s ease-in-out 0.8s infinite; }
.hero-minicard:hover { transform: translateY(-4px) scale(1.02); }
.hero-minicard img { width: 86px; height: 66px; object-fit: cover; border-radius: 9px; flex: none; }
.mini-body { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.mini-body strong { color: var(--navy); font-weight: 900; font-size: 1rem; }
.mini-body span { color: var(--body); font-size: 0.78rem; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.mini-body em { color: var(--accent-dark); font-style: normal; font-size: 0.76rem; font-weight: 700;
  margin-top: 0.15rem; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 0.5rem; }
  .hero-minicard { left: 0.8rem; bottom: -1.2rem; }
  .chip-top { right: 0.8rem; }
}

/* ─────────── stat bar ─────────── */
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: clamp(1.8rem, 3.5vw, 2.8rem) var(--pad); background: var(--navy); }
.stat { text-align: center; color: #fff; }
.stat strong { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 900;
  font-variant-numeric: tabular-nums; }
.stat em { font-style: normal; color: var(--accent); font-weight: 900;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.stat span { display: block; margin-top: 0.2rem; font-size: 0.76rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.62); }
@media (max-width: 720px) { .statbar { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; } }

/* ─────────── scroll reveals ─────────── */
.reveal { opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip-top, .hero-minicard { animation: none; }
  html { scroll-behavior: auto; }
}
