/* ============================================================
   ERICA MAGTIRA ILGEN REAL ESTATE — SHARED STYLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --navy:   #013364;
  --blue:   #336799;
  --gold:   #E8B84B;
  --gold-deep: #C8962B;
  --white:  #FFFFFF;
  --light-bg: #f7f4ee;   /* warm cream — pairs with gold, reads premium */
  --cream:    #faf7f1;
  --text-dark: #1c2536;
  --text-muted: #5a6478;
  --hairline: #e7e0d4;   /* warm hairline border */

  --font-heading: 'DM Serif Display', serif;
  --font-body:    'Montserrat', sans-serif;

  --max-w: 900px;
  --radius: 8px;
  --navy-gradient: linear-gradient(135deg, #013364 0%, #1a5a9a 100%);
  --shadow-sm: 0 2px 8px rgba(1,33,64,0.05), 0 1px 2px rgba(1,33,64,0.04);
  --shadow-md: 0 10px 30px -8px rgba(1,33,64,0.14), 0 2px 6px rgba(1,33,64,0.05);
  --shadow-lg: 0 24px 60px -14px rgba(1,33,64,0.28), 0 4px 12px rgba(1,33,64,0.08);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: transform 0.22s, box-shadow 0.22s, filter 0.22s;
  line-height: 1;
  text-align: center;
  box-shadow: 0 1px 2px rgba(1,33,64,0.10), 0 6px 16px -6px rgba(1,33,64,0.20);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(1,33,64,0.30);
  filter: brightness(1.05);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(1,33,64,0.15); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: background 0.18s, color 0.18s;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 80px 24px 72px;
  text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(232,184,75,0.15);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__headline {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 18px;
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__cta-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 28px 32px 24px;
  width: 280px;
  text-align: center;
}
.hero__cta-card .cta-icon { font-size: 2rem; margin-bottom: 10px; }
.hero__cta-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.hero__cta-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── VALUE PROPS ──────────────────────────────────────────── */
.value-props {
  background: var(--light-bg);
  padding: 72px 24px;
  text-align: center;
}
.value-props h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 8px;
}
.value-props .sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.prop-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 24px;
  box-shadow: 0 2px 16px rgba(1,51,100,0.07);
  text-align: left;
}
.prop-card .prop-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,184,75,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.prop-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.prop-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  padding: 80px 24px;
  background: var(--white);
}
.about__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: center;
}
.about__photo-wrap {
  position: relative;
}
.about__photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-align: center;
  padding: 20px;
  line-height: 1.5;
}
.about__badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  line-height: 1.4;
  text-align: center;
}
.about__content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.about__content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.97rem;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--light-bg);
  border: 1px solid #dde3ec;
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
}
.testimonials h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--white);
  margin-bottom: 8px;
}
.testimonials .sub {
  color: rgba(255,255,255,0.65);
  margin-bottom: 48px;
  font-size: 0.97rem;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.testi-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: left;
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card blockquote {
  color: rgba(255,255,255,0.88);
  font-size: 0.93rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 18px;
}
.testi-card cite {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
}
.testi-card .testi-detail {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  margin-top: 2px;
}

/* ── FINAL CTA SECTION ────────────────────────────────────── */
.final-cta {
  padding: 80px 24px;
  background: var(--light-bg);
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.final-cta p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
}
.final-cta .hero__ctas { margin-top: 0; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 32px 24px;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  line-height: 1.8;
}
.footer a { color: rgba(255,255,255,0.55); }
.footer a:hover { color: var(--gold); }

/* ── Gold italic text ─────────────────────────────────────── */
.gold-text { color: var(--gold); font-style: italic; }

/* ── Uniform icon wrapper ─────────────────────────────────── */
.service-card__icon,
.why-card__icon,
.hero-card__icon {
  width: 48px;
  height: 48px;
  background: var(--navy-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(1,51,100,0.2);
}
.hero-card__icon { margin-bottom: 0; border-radius: 10px; width: 42px; height: 42px; font-size: 1rem; }
.trust-bar__item i { color: var(--blue); margin-right: 6px; }
.trust-badge i { color: var(--navy); margin-right: 4px; }
.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── NAV ──────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(1,51,100,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1148px;
  margin: 0 auto;
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 54px; width: auto; filter: brightness(0) invert(1); display: block; }
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 26px;
  flex: 1;
  margin-left: 20px;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a {
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s;
}
.nav-links a:hover::after { width: 100%; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.nav-phone {
  color: rgba(255,255,255,0.78);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--gold); }
.nav-cta { padding: 11px 22px; font-size: 0.9rem; white-space: nowrap; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
  padding: 10px 14px;
  margin-right: -14px;
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 8px 0 16px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  color: rgba(255,255,255,0.82);
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-mobile-menu .btn-primary {
  margin: 12px 24px 0;
  text-align: center;
}

/* ── HERO FULL ────────────────────────────────────────────── */
.hero-full {
  position: relative;
  background: linear-gradient(135deg, #011e45 0%, #013364 50%, #1a4a7a 100%);
  padding: 80px 24px 72px;
  overflow: hidden;
}
.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1920&q=80') center / cover no-repeat fixed;
  opacity: 0.45;
}
.hero-full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(1,33,64,0.92) 35%, rgba(1,33,64,0.60) 65%, rgba(1,33,64,0.25) 100%);
}
.hero-full__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
/* ── Blinking dot ─────────────────────────────────────────── */
/* Live "online" indicator: a solid green dot that breathes with a halo,
   plus an expanding ring ping. The dot never fades out — it glows. */
.blink-dot {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: middle;
  /* glow pulse is opacity/shadow only (no movement) — safe under reduced-motion */
  animation: dot-glow 2.2s ease-in-out infinite;
}
.blink-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.7);
  animation: dot-ping 2.2s ease-out infinite;
}
@keyframes dot-glow {
  0%, 100% { box-shadow: 0 0 4px rgba(74,222,128,0.55), 0 0 9px  rgba(74,222,128,0.22); }
  50%      { box-shadow: 0 0 11px rgba(74,222,128,1.00), 0 0 26px rgba(74,222,128,0.70); }
}
@keyframes dot-ping {
  0%        { transform: scale(0.6); opacity: 0.9; }
  70%, 100% { transform: scale(2.3); opacity: 0; }
}

.hero-eyebrow-pill {
  display: inline-block;
  background: rgba(232,184,75,0.15);
  border: 1px solid rgba(232,184,75,0.35);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-full__left h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-full__sub {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-full__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-full__btns .btn-primary,
.hero-full__btns .btn-outline {
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}
.hero-full__card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 24px;
}
.hero-card__label {
  color: rgba(255,255,255,0.68);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-card__option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.hero-card__option:last-child { margin-bottom: 0; }
.hero-card__icon { font-size: 1.4rem; flex-shrink: 0; }
.hero-card__option strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.hero-card__option span {
  color: rgba(255,255,255,0.78);
  font-size: 0.78rem;
}

/* ── TRUST BAR ────────────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(135deg, rgba(1,51,100,0.03) 0%, rgba(232,184,75,0.06) 100%);
  border-bottom: 1px solid #e4eaf3;
  border-top: 1px solid #e4eaf3;
  padding: 18px 24px;
}
.trust-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 36px;
}
.trust-bar__item {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
}

/* ── ABOUT FULL ───────────────────────────────────────────── */
.about-full {
  position: relative;
  padding: 88px 24px;
  background: var(--white);
  overflow: hidden;
}
.about-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center / cover no-repeat fixed;
  opacity: 0.06;
  z-index: 0;
}
.about-full .container { position: relative; z-index: 1; }
.about-full__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-full__photo-wrap {
  position: relative;
  display: block;
}
.about-full__photo-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(232,184,75,0.2);
}
.about-full__review-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(1,51,100,0.08);
  border-radius: 10px;
  padding: 12px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-full__review-badge .badge-stars { font-size: 1rem; display: block; color: var(--gold-deep); }
.about-full__review-badge .badge-text { font-size: 0.8rem; font-weight: 600; line-height: 1.4; }
.about-full__content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.about-full__content p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 10px;
}
.about-bullets {
  list-style: none;
  margin: 14px 0;
}
.about-bullets li {
  font-size: 0.89rem;
  color: var(--text-dark);
  padding: 5px 0;
  border-bottom: 1px solid #edf0f5;
  font-weight: 500;
}
.about-full__lpt {
  margin-top: 16px;
}
.about-full__lpt img { height: auto; max-height: 40px; max-width: 160px; width: auto; object-fit: contain; opacity: 0.85; }

/* ── SERVICES ─────────────────────────────────────────────── */
.services {
  position: relative;
  background: var(--light-bg);
  padding: 88px 24px;
  overflow: hidden;
}
/* Services background image removed — kept as a clean solid (cream) for image/solid rhythm */
.services h2 { color: var(--navy); margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-sub { color: var(--text-muted); max-width: 560px; margin: 0 auto 52px; font-size: 0.97rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid rgba(1,51,100,0.06);
  border-top: 3px solid var(--gold);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
}
.service-card:active {
  box-shadow: var(--shadow-md);
}
.service-card--featured {
  border-top-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.service-card__icon { font-size: 1.8rem; margin-bottom: 8px; }
.service-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.service-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 16px; }
.service-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}
.service-card ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid #f0f3f8;
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.75rem;
}
.btn-outline-navy {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(1,51,100,0.25);
}
.btn-disabled {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: default;
  pointer-events: none;
  text-align: center;
  opacity: 0.85;
}

/* ── WHY ERICA ────────────────────────────────────────────── */
.why-erica {
  position: relative;
  padding: 88px 24px;
  background: var(--white);
  overflow: hidden;
}
.why-erica::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1920&q=80') center / cover no-repeat fixed;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.why-erica.bg-visible::before { opacity: 0.05; }
.why-erica h2 { color: var(--navy); margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: left;
  border: 1px solid rgba(1,51,100,0.06);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) {
  .why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232,184,75,0.3);
  }
}
.why-card__icon { font-size: 1.6rem; margin-bottom: 14px; }
.why-card h4 { color: var(--navy); font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ── TESTIMONIALS MARQUEE ─────────────────────────────────── */
.testimonials-marquee {
  background: var(--navy);
  padding: 88px 0;
  overflow: hidden;
}
.testimonials-marquee h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }

.marquee-wrap { overflow: hidden; }

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: -webkit-max-content;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 80s linear infinite;
}
.marquee-track--slow { animation-duration: 65s; }

.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 22px;
  width: 310px;
  flex-shrink: 0;
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}
.marquee-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(232,184,75,0.3);
}
.marquee-card .stars {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.marquee-card blockquote {
  color: rgba(255,255,255,0.82);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 14px;
}
.marquee-card cite {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
  font-size: 0.82rem;
}

/* ── FEATURED PROPERTIES ─────────────────────────────────── */
.properties {
  position: relative;
  padding: 88px 0 96px;
  background: var(--light-bg);
  overflow: hidden;
}
/* Calm background wash — the photo supports the cards, it doesn't compete with them */
.properties::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/props/namaste-exterior.jpg') center / cover no-repeat fixed;
  opacity: 0.18;
  z-index: 0;
}
/* Soft top wash keeps the navy heading + grey subtext crisp over the photo */
.properties::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(247,244,238,0.92) 0%, rgba(247,244,238,0.55) 30%, rgba(247,244,238,0.35) 100%);
  z-index: 0;
}
.properties > .container { position: relative; z-index: 1; }
/* Navy-tint the subtext so it clears contrast over the photo regardless of the pixels behind it */
.properties .section-sub { color: var(--navy); opacity: 0.82; margin-bottom: 0; }
.properties h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  max-width: 1100px;
}
.property-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
@media (hover: hover) {
  .property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
}
.property-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.property-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
@media (hover: hover) {
  .property-card:hover .property-card__img img {
    transform: scale(1.05);
  }
}
.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 16px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}
.property-badge--sold {
  background: #e74c3c;
  color: var(--white);
}
.property-badge--available {
  background: #27ae60;
  color: var(--white);
}
.property-card__body {
  padding: 20px 22px 24px;
}
.property-card__body h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.property-card__address {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.property-card__stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.property-card__stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.property-card__stats i {
  color: var(--blue);
  font-size: 0.85rem;
}
.property-card__cta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}
.property-card__cta:hover {
  color: var(--gold);
}

/* Featured video card — spans full row */
.property-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  border: 2px solid rgba(232,184,75,0.25);
}
.property-card--featured .property-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
}
.property-card--featured .property-card__body h4 {
  font-size: 1.4rem;
}
.property-card--featured .property-card__stats {
  font-size: 0.9rem;
  gap: 20px;
}

/* Video wrapper */
.property-card__video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.property-card__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.property-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(1,51,100,0.85);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  backdrop-filter: blur(6px);
}
.property-video__play:hover {
  background: var(--navy);
  transform: translate(-50%, -50%) scale(1.1);
}
.property-video__play.playing {
  opacity: 0;
  pointer-events: none;
}
.property-card__video:hover .property-video__play.playing {
  opacity: 1;
  pointer-events: auto;
}
.property-badge--video {
  top: auto !important;
  bottom: 14px;
  left: 14px;
  background: rgba(1,51,100,0.85);
  color: var(--white);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #011e45, #013364);
  padding: 88px 24px;
  text-align: center;
  overflow: hidden;
}
/* CTA banner background image removed — clean solid navy gradient for image/solid rhythm */
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,184,75,0.06), rgba(1,33,64,0));
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 36px; }
.cta-banner__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: stretch; }
.cta-banner__btns .btn-primary,
.cta-banner__btns .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 220px;
  line-height: 1.2;
}

/* ── CONTACT SECTION ──────────────────────────────────────── */
.contact-section {
  position: relative;
  padding: 88px 24px;
  background: var(--light-bg);
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80') center / cover no-repeat fixed;
  opacity: 0.07;
  z-index: 0;
}
.contact-section .container { position: relative; z-index: 1; }
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
}
.contact-detail-item a { color: var(--navy); overflow-wrap: anywhere; }
.contact-detail-item a:hover { color: var(--blue); }
.contact-cta-box {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
}
.contact-cta-box h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 10px; }
.contact-cta-box p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* ── FOOTER FULL ──────────────────────────────────────────── */
.footer-full {
  background: var(--navy);
  padding: 56px 24px 24px;
}
.footer-full__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { color: var(--white); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.5px; margin-bottom: 4px; }
.footer-col a, .footer-col p { color: rgba(255,255,255,0.68); font-size: 0.83rem; line-height: 1.6; }
.footer-col a:hover { color: var(--gold); }
.footer-email { display: inline-block; max-width: 100%; white-space: nowrap; font-size: 0.66rem; letter-spacing: -0.2px; }
.footer-col a[href*="optin"] { white-space: nowrap; }
.footer-sig-logo { height: 48px; width: auto; max-width: 200px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 4px; }
.footer-lpt-logo { height: auto; max-height: 32px; max-width: 140px; width: auto; object-fit: contain; filter: brightness(0) invert(0.6); margin-top: 4px; }
.footer-full__bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
}

/* ── OPT-IN PAGE ──────────────────────────────────────────── */
.optin-page {
  min-height: 100vh;
  background: var(--light-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.optin-logo {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.7;
}
.optin-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(1,51,100,0.10);
  padding: 48px 44px;
  width: 100%;
  max-width: 480px;
  text-align: center;
}
.optin-guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(232,184,75,0.15);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.optin-card h1 {
  font-size: 1.65rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.optin-card .optin-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 32px;
}
.form-group {
  margin-bottom: 18px;
  text-align: left;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}
.form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d4dbe8;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text-dark);
  transition: border-color 0.15s;
  background: var(--white);
}
.form-group input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(51,103,153,0.12);
}
.form-group input::placeholder { color: #aab3c4; }

/* intl-tel-input overrides */
.iti { width: 100%; }
.iti__flag-container { border-right: 1.5px solid #d4dbe8; }
.iti--separate-dial-code .iti__selected-flag {
  background: #f8fafc;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 0 10px;
}
.iti--separate-dial-code .iti__selected-flag:hover { background: #eef2f8; }
.iti input { border-radius: var(--radius) !important; }
.form-group input.input-error {
  border-color: #d94f4f;
  box-shadow: 0 0 0 3px rgba(217,79,79,0.12);
}
.field-error {
  color: #d94f4f;
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 500;
}
.field-suggestion {
  font-size: 0.82rem;
  margin-top: 8px;
  background: #fff8e6;
  border: 1px solid #dcab48;
  border-radius: 6px;
  padding: 9px 12px;
  color: #7a5a00;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.fix-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
}
.fix-btn:hover { background: var(--blue); }
.keep-btn {
  background: none;
  border: none;
  color: #7a5a00;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font-body);
  padding: 0;
}
/* ── Guide Toggle (Buy / Sell radio) ──────────────────────── */
.guide-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.guide-toggle__option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 10px;
  border: 2px solid #d4dbe8;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  user-select: none;
}
.guide-toggle__option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.guide-toggle__option:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.guide-toggle__option:hover:not(:has(input:checked)) {
  border-color: var(--blue);
  color: var(--navy);
}

.optin-submit {
  width: 100%;
  margin-top: 8px;
  padding: 17px;
  font-size: 1.05rem;
}
.form-consent {
  margin-top: 4px;
}
.consent-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  color: #5a6478 !important;
  line-height: 1.45;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  cursor: pointer;
}
.consent-label a { color: var(--blue); text-decoration: underline; }
#field-consent.input-error + span { color: #c0392b; }
.trust-line {
  margin-top: 18px;
  font-size: 0.8rem;
  color: #8a97ab;
  text-align: center;
  line-height: 1.5;
}

/* ── THANK YOU PAGE ───────────────────────────────────────── */
.thankyou-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}
.thankyou-check {
  width: 80px;
  height: 80px;
  background: rgba(232,184,75,0.18);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  animation: pop 0.4s ease-out;
}
@keyframes pop {
  0%   { transform: scale(0.5); opacity: 0; }
  80%  { transform: scale(1.08); }
  100% { transform: scale(1);   opacity: 1; }
}
.thankyou-check svg { width: 36px; height: 36px; color: var(--gold); }
.thankyou-page h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--white);
  max-width: 580px;
  margin: 0 auto 18px;
}
.thankyou-page .ty-sub {
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin: 0 auto 14px;
  font-size: 1rem;
}
.ty-msg {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 28px 32px;
  max-width: 520px;
  margin: 32px auto;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  text-align: left;
}
.ty-msg cite {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
  font-size: 0.88rem;
}
.ty-next {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 32px;
  max-width: 480px;
  margin: 0 auto 32px;
}
.ty-next h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.ty-next p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.ty-contact-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.ty-contact-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: var(--radius);
  transition: opacity 0.18s;
}
.ty-contact-links a:hover { opacity: 0.88; }
.ty-contact-links a.outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.ty-contact-links a.outline:hover { border-color: var(--white); }
.ty-download-note {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin-top: 20px;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: block; }

  /* Hero full */
  .hero-full__inner { grid-template-columns: 1fr; }
  .hero-full__card { display: none; }
  .hero-full__btns { flex-direction: column; }
  .hero-full__btns .btn-primary,
  .hero-full__btns .btn-outline { width: 100%; text-align: center; }

  /* Trust bar */
  .trust-bar__inner { flex-direction: column; gap: 8px; text-align: center; }

  /* About full */
  .about-full__inner { grid-template-columns: 1fr; gap: 48px; }
  .about-full__photo-col,
  .about-full__photo-wrap { height: auto; }
  .about-full__photo-img { height: auto; }
  .about-full__review-badge { right: 0; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why Erica */
  .why-grid { grid-template-columns: 1fr 1fr; }

  /* Testimonials */
  .testi-full-grid { grid-template-columns: 1fr; }

  /* Properties */
  .properties-grid { grid-template-columns: 1fr 1fr; }
  .property-card--featured { grid-template-columns: 1fr; }

  /* CTA banner */
  .cta-banner__btns { flex-direction: column; align-items: center; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; }

  /* Footer */
  .footer-full__inner { grid-template-columns: 1fr 1fr; }

  /* Hero CTAs (old) */
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__cta-card { width: 100%; max-width: 340px; }
  .props-grid { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { aspect-ratio: 3/2; }
  .about__badge { right: 0; }
  .testi-grid { grid-template-columns: 1fr; }

  /* Opt-in */
  .optin-card { padding: 36px 24px; }

  /* Thank you contact links */
  .ty-contact-links { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .footer-full__inner { grid-template-columns: 1fr; }
}

/* Disable parallax on mobile — causes glitches on iOS */
@media (max-width: 768px) {
  .hero-full::before,
  .about-full::before,
  .why-erica::before,
  .properties::before,
  .contact-section::before {
    background-attachment: scroll;
  }
}

/* ── HERO background fade-in on load ─────────────────────── */
@keyframes bgReveal {
  from { opacity: 0; }
  to   { opacity: 0.45; }
}
.hero-full::before {
  animation: bgReveal 1.6s ease forwards;
}

/* ── Hero card floating animation ────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.hero-full__card {
  animation: float 5s ease-in-out infinite;
}

/* ── Scroll reveal ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.fade-heading {
  transform: none;
  transition-duration: 0.5s;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Google Reviews floating badge ───────────────────────── */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(1,51,100,0.08);
  border-radius: 100px;
  padding: 8px 18px 8px 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 20px;
}
.google-badge img {
  width: 20px;
  height: 20px;
}
.google-badge .badge-rating {
  color: var(--navy);
  font-weight: 600;
}
.google-badge .badge-stars-sm {
  color: #f4b400;
  letter-spacing: 1px;
}
.google-badge .badge-count {
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Stats counter section ───────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 48px 24px;
}
.stats-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 12px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-bar__inner { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ============================================================
   PROFESSIONAL POLISH LAYER  (appended — wins on source order)
   Goal: more depth, warmth & editorial refinement without
   touching the markup or layout structure.
   ============================================================ */

/* — Headings: tighter, more confident editorial spacing — */
h1, h2, h3, h4 { letter-spacing: -0.015em; }
.hero-full__left h1,
.about-full__content h2,
.cta-banner h2 { letter-spacing: -0.02em; }

/* — Section label: refined eyebrow with a gold lead rule — */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.section-label::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
/* On the dark testimonials header the lead rule stays gold (good contrast) */

/* — Bigger, airier section sub copy — */
.section-sub { font-size: 1.02rem; line-height: 1.7; }

/* ── Section rhythm: alternate warm tones instead of one flat gray ── */
.services { background: var(--cream); }
.properties {
  background:
    radial-gradient(1100px 420px at 50% -10%, rgba(232,184,75,0.07), transparent 70%),
    var(--light-bg);
}
.contact-section { background: var(--cream); }

/* Hairline separators between stacked light sections for definition */
.about-full { border-top: 1px solid var(--hairline); }
.services    { border-top: 1px solid var(--hairline); }

/* ── Cards: crisper edges, layered depth, gold hover accent ── */
.service-card,
.why-card,
.property-card,
.contact-cta-box {
  border: 1px solid var(--hairline);
}
.why-card {
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
@media (hover: hover) {
  .why-card:hover::before { transform: scaleX(1); }
}

/* Service icon tiles — give the bare FA glyphs a branded chip */
.service-card__icon,
.why-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--navy-gradient);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 18px -6px rgba(1,33,64,0.45);
  margin-bottom: 20px;
}
@media (hover: hover) {
  .service-card:hover .service-card__icon,
  .why-card:hover .why-card__icon { transform: translateY(-2px); }
}
.service-card__icon, .why-card__icon { transition: transform 0.25s ease; }

/* Featured service card lifts off the row */
.service-card--featured {
  position: relative;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.service-card--featured::after {
  content: 'Most Popular';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(1,33,64,0.25);
  white-space: nowrap;
}
.service-card__icon i { line-height: 1; }

/* ── Navy sections: add subtle light bloom so they're not flat blocks ── */
.stats-bar,
.testimonials-marquee,
.cta-banner {
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 50% 0%, rgba(232,184,75,0.12), transparent 70%);
  pointer-events: none;
}
.stats-bar__inner { position: relative; z-index: 1; }

/* Stats: gold hairline frame + dividers = looks intentional, not bare */
.stats-bar {
  border-top: 1px solid rgba(232,184,75,0.2);
  border-bottom: 1px solid rgba(232,184,75,0.2);
}
.stats-bar__inner .stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 480px) {
  .stats-bar__inner .stat-item + .stat-item { border-left: none; }
}
.stat-number {
  text-shadow: 0 2px 18px rgba(232,184,75,0.25);
}

/* ── Trust bar: cleaner, with gold check icons ── */
.trust-bar {
  background: var(--cream);
}
.trust-bar__item i { color: var(--gold-deep); }

/* ── Buttons: flat gold, quiet navy lift (no amber glow) ── */
.btn-primary {
  letter-spacing: 0.3px;
  box-shadow: 0 1px 2px rgba(1,33,64,0.10), 0 6px 16px -6px rgba(1,33,64,0.20);
}

/* ── About photo: warmer frame ── */
.about-full__photo-img {
  border: 4px solid var(--white);
  box-shadow: 0 30px 60px -20px rgba(1,33,64,0.35);
}

/* ── Contact CTA box: make it feel like a premium panel ── */
.contact-cta-box {
  background: linear-gradient(180deg, var(--white) 0%, #fbf9f4 100%);
  box-shadow: var(--shadow-lg);
}

/* ── Property cards: refined caption row ── */
.property-card__body h4 { letter-spacing: -0.01em; }
.property-card__cta {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  width: 100%;
}

/* ── Footer: warmer divider, brand presence ── */
.footer-full { background: linear-gradient(180deg, #012a54 0%, #011e3f 100%); }

/* ── Smooth, consistent focus ring for accessibility/polish ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Accessibility & contrast hardening (audit fixes) ─────── */
/* Respect reduced-motion for purely DECORATIVE motion (blink dot, hero float).
   The testimonials marquee intentionally keeps scrolling even under reduce-motion:
   the track is overflow:hidden, so scrolling is the only way to reveal all 18 reviews,
   and hovering pauses it (a stop mechanism per WCAG 2.2.2). */
@media (prefers-reduced-motion: reduce) {
  /* The 9px live-status dot keeps glowing AND pinging — the motion is a few pixels,
     and disabling the ping froze the ring mid-frame (a static halo), which looked broken.
     Only the large hero-card float is suppressed here. */
  .hero-full__card { animation: none !important; }
}
/* Gold reads fine on dark sections, but fails contrast on light backgrounds — use a darker ink there */
.about-full__content .gold-text { color: #B8860B; }
/* Slightly darker opt-in reassurance line for AA contrast on white */
.trust-line { color: #6a7488; }
/* Skip-to-content link — visible only when focused (keyboard a11y) */
.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  padding: 10px 18px; border-radius: 0 0 8px 8px; z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 3px solid var(--navy); }

/* ============================================================
   DESIGN PASS — one content rail, calmer mobile, swipeable reviews
   ============================================================ */

/* ── One 1100px content rail everywhere ──────────────────────
   Base .container is var(--max-w)=900px, which squeezed About/Services/
   Why/Contact/Footer while hero, stats and the property grid ran ~1100px.
   1148px − 48px padding = 1100px of content, matching the hero. */
.about-full .container,
.services .container,
.why-erica .container,
.contact-section .container,
.footer-full .container,
.properties .container { max-width: 1148px; }

/* Sticky nav grew to 78px — keep anchor links from hiding under it */
html { scroll-padding-top: 84px; }

/* Testimonials disclaimer sits tight under its subtitle, not stranded */
.testimonials-marquee .section-sub { margin-bottom: 0; }

/* ── Property grid: no orphan hole ───────────────────────────
   5 cards in a 3-col grid left an empty third slot. A 6-col track lets
   row 1 hold 3 cards (span 2) and row 2 center 2 cards (span 3). */
@media (min-width: 769px) {
  .properties-grid { grid-template-columns: repeat(6, 1fr); }
  .properties-grid > .property-card { grid-column: span 2; }
  .properties-grid > .property-card:nth-child(4),
  .properties-grid > .property-card:nth-child(5) { grid-column: span 3; }
  .properties-grid > .property-card--featured { grid-column: 1 / -1; }
}

/* ── Reviews: auto-scroll on desktop, swipeable on phones ────
   Hover-to-pause doesn't exist on touch, so on phones we stop the
   animation and turn the track into a native snap-scrolling row.
   The duplicated aria-hidden cards exist only to loop the animation. */
@media (max-width: 768px) {
  .marquee-track {
    animation: none;
    width: auto;
    padding: 0 24px;
  }
  .marquee-card[aria-hidden="true"] { display: none; }
  .marquee-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .marquee-wrap::-webkit-scrollbar { display: none; }
  .marquee-card { scroll-snap-align: center; }
}

/* ── Calmer phone spacing + eyebrows that fit one line ───────── */
@media (max-width: 480px) {
  .about-full,
  .services,
  .why-erica,
  .contact-section,
  .cta-banner { padding-top: 64px; padding-bottom: 64px; }
  .properties { padding: 64px 0 72px; }
  .testimonials-marquee { padding: 64px 0; }
  .stats-bar { padding: 40px 24px; }

  .section-label { font-size: 0.68rem; letter-spacing: 1.2px; }
  .section-label::before { display: none; }
  .contact-detail-item { font-size: 0.88rem; }
}

/* Nav sizing: the bigger logo + larger links need ~1150px. Tighten first,
   then fall back to the hamburger well before anything can overflow. */
@media (max-width: 1150px) {
  .nav-links { gap: 20px; margin-left: 20px; }
  .nav-links a { font-size: 0.9rem; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}
@media (max-width: 940px) {
  .nav-phone { display: none; }
}
