/* ============================================================
   Mark Land Property — Luxury Real Estate, Bahria Town Karachi
   Design System & Global Styles
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette derived from the Markland Properties logo */
  --navy-900: #0e2746;
  --navy-800: #143257;
  --navy-700: #1c3f6b;
  --navy-600: #2a5188;
  --purple-500: #5e3b8e;   /* logo violet (buildings) */
  --teal-500: #5e3b8e;     /* alias kept for legacy use */
  /* Terracotta accent (logo roofs / outer ring) — kept under --gold-* var names */
  --gold-500: #b8472d;
  --gold-400: #cf5635;
  --gold-300: #e08a6f;
  --cream: #f6f3ee;
  --paper: #ffffff;
  --ink: #16202a;
  --muted: #5d6b76;
  --line: #e7e1d8;

  --grad-gold: linear-gradient(135deg, #d05a38 0%, #b8472d 55%, #963823 100%);
  --grad-navy: linear-gradient(160deg, #143257 0%, #0e2746 100%);

  --shadow-sm: 0 4px 14px rgba(10, 31, 46, 0.08);
  --shadow-md: 0 14px 40px rgba(10, 31, 46, 0.14);
  --shadow-lg: 0 30px 70px rgba(10, 31, 46, 0.22);

  --radius: 16px;
  --radius-lg: 26px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--cream);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.loading { overflow: hidden; }
.loader-inner {
  position: relative;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
}
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(184, 71, 45, 0.16);
  border-top-color: var(--gold-500);
  animation: loaderSpin 0.9s linear infinite;
}
.loader-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  animation: loaderPulse 1.6s ease-in-out infinite;
}
.loader-text {
  font-family: var(--font-head);
  font-size: 1.02rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-900);
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .loader-ring, .loader-logo { animation: none; }
}

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; color: var(--navy-900); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

section { position: relative; }

/* Offset anchor jumps so targets clear the sticky header */
[id] { scroll-margin-top: 100px; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.section { padding: clamp(64px, 8vw, 120px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad-gold);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.section-intro {
  color: var(--muted);
  max-width: 620px;
  font-size: 1.05rem;
}

.text-center { text-align: center; }
.text-center .eyebrow::before { display: none; }
.text-center .section-intro { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }

.btn-gold {
  background: var(--grad-gold);
  color: var(--navy-900);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(201, 162, 39, 0.45); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }

.btn-outline {
  border: 1.5px solid var(--navy-700);
  color: var(--navy-800);
}
.btn-outline:hover { background: var(--navy-800); color: #fff; transform: translateY(-3px); }

/* ============================================================
   Header / Navigation
   ============================================================ */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 16px;
}
.topbar a:hover { color: var(--gold-400); }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--gold-400); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { display: grid; place-items: center; }
.topbar-social svg { width: 16px; height: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.96); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { line-height: 1.05; }
.brand-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.22rem;
  color: var(--navy-900);
  letter-spacing: 0.04em;
}
.brand-text small {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 700;
}
.footer-brand .brand-mark { width: 60px; height: 60px; }
.footer-brand .brand-text strong { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--navy-800);
  transition: color 0.25s, background 0.25s;
}
.nav-links > li > a:hover,
.nav-links > li.active > a { color: var(--gold-500); }
.nav-links svg { width: 14px; height: 14px; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  border: 1px solid var(--line);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-700);
  transition: background 0.2s, color 0.2s;
}
.dropdown a:hover { background: var(--cream); color: var(--gold-500); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--gold-400);
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s var(--ease);
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--grad-navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(10, 31, 46, 0.92) 0%, rgba(10, 31, 46, 0.7) 45%, rgba(10, 31, 46, 0.35) 100%),
    url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1600&q=80") center/cover;
  transform: scale(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.18), transparent 55%);
}
.hero .container { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 40px; }
.hero-inner { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(216, 185, 74, 0.25); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--gold-400); font-style: italic; }
.hero p {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  color: var(--gold-400);
}
.hero-stats .stat strong span { font-size: inherit; color: inherit; font-weight: inherit; }
.hero-stats .stat > span { display: block; margin-top: 6px; font-size: 0.98rem; color: rgba(255, 255, 255, 0.78); letter-spacing: 0.04em; }

/* Search / quick filter card floating over hero */
.quick-search {
  position: relative;
  z-index: 3;
  margin: -56px auto 0;
  width: min(100% - 40px, var(--container));
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.quick-search .field label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}
.quick-search .field select,
.quick-search .field input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--cream);
  transition: border 0.25s, box-shadow 0.25s;
}
.quick-search .field select:focus,
.quick-search .field input:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(216, 185, 74, 0.18);
}
.quick-search .btn { justify-content: center; height: 49px; }

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  padding: 38px 30px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--grad-navy);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 30px; height: 30px; color: var(--gold-400); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 20px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-800);
}
.service-link svg { width: 16px; height: 16px; transition: transform 0.3s; }
.service-card:hover .service-link { color: var(--gold-500); }
.service-card:hover .service-link svg { transform: translateX(5px); }

/* ============================================================
   Features / "What we do" split
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform 0.8s var(--ease); }
.split-media:hover img { transform: scale(1.06); }
.split-media .badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
}
.badge-float .ring {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-gold);
  flex-shrink: 0;
}
.badge-float .ring svg { width: 24px; height: 24px; color: var(--navy-900); }
.badge-float strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.badge-float span { font-size: 0.82rem; color: var(--muted); }

.feature-list { margin-top: 28px; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .tick {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(201, 162, 39, 0.14);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.feature-list .tick svg { width: 16px; height: 16px; color: var(--gold-500); }
.feature-list h4 { font-size: 1.05rem; margin-bottom: 2px; }
.feature-list p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   Offerings (Buy/Sell/Construct/Rent/Advertise)
   ============================================================ */
.offer-section { background: var(--grad-navy); color: #fff; }
.offer-section .section-title,
.offer-section .eyebrow { color: #fff; }
.offer-section .eyebrow { color: var(--gold-400); }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 50px;
}
.offer-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: background 0.4s, transform 0.4s var(--ease), border-color 0.4s;
}
.offer-card:hover { background: rgba(201, 162, 39, 0.12); transform: translateY(-8px); border-color: rgba(201, 162, 39, 0.4); }
.offer-card .num { font-family: var(--font-head); font-size: 1rem; color: var(--gold-400); letter-spacing: 0.1em; }
.offer-card h3 { color: #fff; font-size: 1.3rem; margin: 14px 0 10px; }
.offer-card p { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }

/* ============================================================
   Core Values
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .v-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(31, 122, 140, 0.1);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.value-card .v-icon svg { width: 26px; height: 26px; color: var(--teal-500); }
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   Properties / Listings cards
   ============================================================ */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 50px;
}
.listing-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.listing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.listing-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.listing-card:hover .listing-media img { transform: scale(1.08); }
.listing-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--grad-gold);
  color: var(--navy-900);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 50px;
}
.listing-price {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(10, 31, 46, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}
.listing-body { padding: 22px 24px 26px; }
.listing-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.listing-loc { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.listing-loc svg { width: 15px; height: 15px; color: var(--gold-500); }
.listing-meta {
  display: flex; gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--navy-700);
  font-size: 0.85rem;
  font-weight: 600;
}
.listing-meta span { display: inline-flex; align-items: center; gap: 7px; }
.listing-meta svg { width: 16px; height: 16px; color: var(--muted); }

/* ============================================================
   Stats band
   ============================================================ */
.stats-band {
  background:
    linear-gradient(rgba(10, 31, 46, 0.92), rgba(10, 31, 46, 0.92)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80") center/cover fixed;
  color: #fff;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}
.stats-row .stat strong {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 1.05;
  color: var(--gold-400);
  display: block;
}
.stats-row .stat strong span { font-size: inherit; color: inherit; font-weight: inherit; }
.stats-row .stat > span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.04em; }

/* ============================================================
   About
   ============================================================ */
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-media img,
.about-media video { aspect-ratio: 5/4; object-fit: cover; width: 100%; display: block; background: #0a1f2e; }
.about-exp {
  position: absolute;
  bottom: -1px; right: -1px;
  background: var(--grad-gold);
  color: var(--navy-900);
  padding: 24px 30px;
  border-top-left-radius: 24px;
  text-align: center;
}
.about-exp strong { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.about-exp span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; }

/* ============================================================
   Blog
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 50px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.blog-media { aspect-ratio: 16/10; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.blog-card:hover .blog-media img { transform: scale(1.07); }
.blog-body { padding: 24px 26px 28px; }
.blog-date {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; color: var(--gold-500); font-weight: 700;
  letter-spacing: 0.04em; margin-bottom: 12px;
}
.blog-date svg { width: 15px; height: 15px; }
.blog-body h3 { font-size: 1.22rem; margin-bottom: 12px; }
.blog-body h3 a { transition: color 0.25s; }
.blog-card:hover .blog-body h3 a { color: var(--gold-500); }
.blog-body p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   Video section
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 50px;
}
.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(10, 31, 46, 0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 50px;
}
.video-badge svg { width: 13px; height: 13px; color: var(--gold-400); }
.video-body { padding: 24px 26px 28px; }
.video-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.video-body p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   Testimonials
   ============================================================ */
.testi-section { background: var(--paper); }
.testi-viewport { overflow: hidden; margin-top: 50px; }
.testi-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.testi-card {
  min-width: 100%;
  padding: 0 6px;
}
.testi-inner {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px);
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.testi-quote { font-size: 4rem; font-family: var(--font-head); color: var(--gold-400); line-height: 0.6; }
.testi-inner p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--navy-800); font-style: italic; margin: 18px 0 26px; }
.testi-stars { color: var(--gold-400); margin-bottom: 18px; letter-spacing: 3px; }
.testi-author strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.testi-author span { color: var(--muted); font-size: 0.88rem; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testi-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
  transition: background 0.3s, width 0.3s;
}
.testi-dots button.active { background: var(--grad-gold); width: 30px; border-radius: 50px; }

/* ============================================================
   CTA + Contact form
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 70px);
  align-items: center;
}
.contact-info .eyebrow { margin-bottom: 16px; }
.contact-points { margin-top: 30px; display: grid; gap: 22px; }
.contact-points li { display: flex; gap: 16px; align-items: center; }
.contact-points .c-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-navy);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-points .c-icon svg { width: 22px; height: 22px; color: var(--gold-400); }
.contact-points strong { display: block; font-size: 1.02rem; }
.contact-points span { color: var(--muted); font-size: 0.92rem; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--navy-700); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 0.92rem;
  background: var(--cream);
  transition: border 0.25s, box-shadow 0.25s;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(216, 185, 74, 0.18);
}
.form-note { font-size: 0.85rem; padding: 12px 16px; border-radius: 10px; margin-top: 14px; display: none; }
.form-note.show { display: block; }
.form-note.success { background: rgba(31, 122, 140, 0.12); color: var(--teal-500); }
.form-note.error { background: rgba(199, 60, 45, 0.1); color: #c73c2d; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ============================================================
   Partners
   ============================================================ */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 50px;
  justify-content: center;
  align-items: center;
  margin-top: 44px;
}
.partner-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.7;
  letter-spacing: 0.02em;
  transition: opacity 0.3s, color 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.partner-logo svg { width: 22px; height: 22px; color: var(--gold-500); }
.partner-logo:hover { opacity: 1; color: var(--navy-800); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); }
.site-footer > .container { padding-top: 40px; }
.footer-cta {
  background: var(--grad-gold);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  transform: translateY(60px);
  box-shadow: var(--shadow-lg);
}
.footer-cta h2 { color: var(--navy-900); font-size: clamp(1.6rem, 3.5vw, 2.4rem); max-width: 620px; }
.footer-cta p { color: rgba(10, 31, 46, 0.78); margin-top: 8px; }
.footer-cta .btn { background: var(--navy-900); color: #fff; }
.footer-cta .btn:hover { background: var(--navy-800); transform: translateY(-3px); }

.footer-main { padding: 130px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-about { margin-top: 20px; font-size: 0.93rem; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  display: grid; place-items: center;
  transition: background 0.3s, transform 0.3s;
}
.footer-social a:hover { background: var(--grad-gold); transform: translateY(-3px); }
.footer-social a:hover svg { color: var(--navy-900); }
.footer-social svg { width: 18px; height: 18px; color: var(--gold-400); transition: color 0.3s; }

.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.93rem; transition: color 0.25s, padding 0.25s; }
.footer-col a:hover { color: var(--gold-400); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; font-size: 0.93rem; margin-bottom: 16px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--gold-400); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero {
  background:
    linear-gradient(120deg, rgba(10, 31, 46, 0.95), rgba(10, 31, 46, 0.7)),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.page-hero .crumbs { display: inline-flex; gap: 8px; align-items: center; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.page-hero .crumbs a:hover { color: var(--gold-400); }
.page-hero .crumbs .sep { color: var(--gold-400); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(10, 31, 46, 0.75));
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item .cap {
  position: absolute; bottom: 16px; left: 18px; right: 18px;
  color: #fff; z-index: 2;
  transform: translateY(10px); opacity: 0;
  transition: all 0.4s var(--ease);
}
.gallery-item .cap strong { font-family: var(--font-head); font-size: 1.1rem; }
.gallery-item .cap span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.8); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover .cap { transform: translateY(0); opacity: 1; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 50px auto 0; display: grid; gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px;
  font-weight: 700; font-size: 1.02rem; color: var(--navy-900);
  text-align: left;
}
.faq-q .icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(201, 162, 39, 0.14);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.faq-q .icon svg { width: 16px; height: 16px; color: var(--gold-500); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 50px;
}
.team-card { text-align: center; }
.team-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-card h3 { font-size: 1.2rem; }
.team-card span { display: block; color: var(--gold-500); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.04em; }
.team-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 12px; padding: 7px 16px;
  border: 1px solid var(--line); border-radius: 50px;
  color: var(--ink); font-size: 0.85rem; font-weight: 600;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.team-phone svg { width: 14px; height: 14px; color: var(--gold-500); transition: color 0.3s var(--ease); }
.team-phone:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.team-phone:hover svg { color: var(--gold-400); }

/* ============================================================
   Research / Legal Land Status
   ============================================================ */
.land-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.land-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(207, 86, 53, 0.22), transparent 55%);
  pointer-events: none;
}
.land-hero .land-figure { position: relative; z-index: 1; }
.land-hero .land-figure .acres {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 1;
  color: var(--gold-400);
}
.land-hero .land-figure .acres-label {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.land-hero .land-copy { position: relative; z-index: 1; }
.land-hero .land-copy p { color: rgba(255, 255, 255, 0.82); }
.land-hero .land-copy p + p { margin-top: 14px; }
.verified-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 7px 15px; border-radius: 50px; margin-bottom: 18px;
}
.verified-pill svg { width: 16px; height: 16px; color: var(--gold-300); }

.precinct-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 50px; }
.precinct-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.precinct-card .pc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.precinct-card .pc-icon {
  width: 42px; height: 42px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.precinct-card .pc-icon svg { width: 22px; height: 22px; }
.precinct-card h3 { font-size: 1.2rem; }
.precinct-card .pc-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center;
  font-size: 0.9rem; font-weight: 600;
  padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--line);
}
.precinct-card.included .pc-icon { background: rgba(46, 125, 50, 0.12); color: #2e7d32; }
.precinct-card.included .chip { background: rgba(46, 125, 50, 0.08); border-color: rgba(46, 125, 50, 0.25); color: #1f6b27; }
.precinct-card.excluded .pc-icon { background: rgba(184, 71, 45, 0.12); color: var(--gold-500); }
.precinct-card.excluded .chip { background: rgba(184, 71, 45, 0.07); border-color: rgba(184, 71, 45, 0.25); color: var(--gold-500); }

.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 50px; }
.map-figure {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.map-figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.map-figure .map-frame {
  position: relative;
  display: block;
  background: #0e2746;
  overflow: hidden;
}
.map-figure .map-frame img {
  width: 100%; height: 100%;
  max-height: 560px;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.map-figure:hover .map-frame img { transform: scale(1.03); }
.map-figure .map-zoom {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(14, 39, 70, 0.78);
  color: #fff; border-radius: 10px;
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.map-figure .map-frame:hover .map-zoom { opacity: 1; }
.map-figure .map-zoom svg { width: 18px; height: 18px; }
.map-figure figcaption { padding: 22px 24px; }
.map-figure figcaption strong { display: block; font-family: var(--font-head); font-size: 1.12rem; color: var(--ink); margin-bottom: 6px; }
.map-figure figcaption span { display: block; color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */

/* --- Large tablets / small laptops --- */
@media (max-width: 1100px) {
  .quick-search { grid-template-columns: repeat(2, 1fr); }
  .quick-search .btn { grid-column: span 2; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split[style*="rtl"] { direction: ltr !important; }
  .split-media { max-width: 560px; margin-inline: auto; }
  .contact-wrap { grid-template-columns: 1fr; }
  .nav-links > li > a { padding: 10px 10px; font-size: 0.9rem; }
  .nav { gap: 14px; }
  .land-hero { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .land-hero .land-figure .acres-label { margin-inline: auto; }
  .verified-pill { margin-inline: auto; }
  .precinct-cols { grid-template-columns: 1fr; }
  .precinct-card .pc-head { justify-content: flex-start; }
  .map-grid { grid-template-columns: 1fr; }
}

/* --- Collapse navigation into off-canvas menu --- */
@media (max-width: 920px) {
  .topbar { display: none; }
  .nav { padding: 14px 0; gap: 12px; }

  /* Solid header on mobile: a backdrop-filter/blur ancestor would otherwise
     become the containing block for the position:fixed off-canvas menu
     (iOS Safari/Android), trapping it inside the header and breaking it.
     Removing the filter also fixes the washed-out, too-light header.
     The raised z-index lifts the header's stacking context (which contains
     the off-canvas menu) ABOVE the backdrop (z-index 104) — otherwise the
     dimmed backdrop overlays the menu and swallows taps on the links. */
  .site-header,
  .site-header.scrolled {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: 110;
  }

  .nav-toggle { display: grid; place-items: center; position: relative; z-index: 120; }
  .brand, .nav-cta { position: relative; z-index: 120; }

  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 96px 20px 32px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateX(110%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    z-index: 105;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    display: flex;
    width: 100%;
    padding: 15px 14px;
    border-radius: 12px;
    font-size: 1.02rem;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }
  .nav-links > li:last-child > a { border-bottom: none; }
  .nav-links > li > a:hover,
  .nav-links > li.active > a { background: var(--cream); }
  .nav-links svg { width: 16px; height: 16px; }
  .has-dropdown > a svg { transition: transform 0.3s var(--ease); }
  .has-dropdown.expanded > a svg { transform: rotate(180deg); }
  .has-dropdown .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; min-width: 0;
    padding: 4px 0 8px 10px;
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s var(--ease);
    display: block;
  }
  .has-dropdown.expanded .dropdown { max-height: 240px; }
  .dropdown a { padding: 11px 12px; }

  .nav-cta .btn:not(.nav-call) { display: none; }

  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(14, 39, 70, 0.55);
    opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 104;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}

/* --- Phones --- */
@media (max-width: 600px) {
  .container { width: min(100% - 32px, var(--container)); }
  .quick-search {
    grid-template-columns: 1fr;
    margin-top: 24px;
    padding: 20px;
    gap: 14px;
    border-radius: var(--radius);
  }
  .quick-search .btn { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta { text-align: center; justify-content: center; padding: 30px 22px; }
  .footer-cta .btn { margin-inline: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .hero { min-height: auto; padding: 20px 0 36px; }
  .hero .container { padding-top: 16px; padding-bottom: 32px; }
  .hero-stats { gap: 22px 30px; margin-top: 40px; }
  .stats-band { background-attachment: scroll; }
  .stats-row { gap: 26px; }
  .gallery-grid { grid-auto-rows: 180px; }

  /* Compact, icon-only call button so the hamburger never gets clipped */
  .nav-call {
    font-size: 0;
    gap: 0;
    padding: 0;
    width: 46px;
    height: 46px;
    justify-content: center;
    border-radius: 12px;
  }
  .nav-call svg { width: 20px; height: 20px; }
  .brand-mark { width: 46px; height: 46px; }
  .footer-brand .brand-mark { width: 52px; height: 52px; }
  .brand-text strong { font-size: 1.08rem; }
  .brand-text small { font-size: 0.58rem; letter-spacing: 0.2em; }
}

/* --- Very small phones --- */
@media (max-width: 360px) {
  .brand-text small { display: none; }
  .testi-inner { padding: 28px 20px; }
}

/* Avoid fixed-attachment jank on touch devices */
@media (hover: none) {
  .stats-band { background-attachment: scroll; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
