/* ===========================================
   NEW LIBERTY HOMES — Main Stylesheet
   Mobile-first, modern real estate design
   =========================================== */

/* -------- Custom Properties -------- */
:root {
  /* Brand colors — 3 only */
  --navy:      #13294B;   /* header, footer, dark sections */
  --red:       #B3141E;   /* buttons, accents, highlights, hover */
  --off-white: #F5F4F1;   /* page bg, cards, forms */
  --white:     #ffffff;

  /* Borders */
  --border:    #e2e0dd;
  --border-dk: #ccc9c5;

  /* Text */
  --text-1: #111111;
  --text-2: #555555;
  --text-3: #888888;

  /* Status colors */
  --green:  #16a34a;
  --error:  #dc2626;
  --amber:  #d97706;

  /* Typography */
  --font-display: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max:  1280px;
  --container-pad:  1.25rem;
  --header-h:       68px;
  --section-py:     5rem;

  /* Border-radius */
  --r-sm:   0.5rem;
  --r-md:   0.875rem;
  --r-lg:   1.25rem;
  --r-xl:   1.75rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.07);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,.09);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.13);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.18);
  --shadow-red: 0 6px 28px rgba(179,20,30,.32);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 260ms ease;
  --t-slow: 420ms ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-1);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img    { max-width: 100%; height: auto; display: block; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
address { font-style: normal; }
fieldset { border: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* -------- Layout helpers -------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-py); position: relative; }

/* -------- Typography helpers -------- */
.text-red { color: var(--red); }


/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.btn--sm  { padding: .5rem 1.25rem; font-size: .82rem; }
.btn--lg  { padding: 1rem 2.125rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* Red (primary CTA) */
.btn--red {
  background: var(--red);
  color: var(--off-white);
  box-shadow: var(--shadow-red);
}
.btn--red:hover  { background: #8e0f17; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(179,20,30,.45); }
.btn--red:active { transform: translateY(0); }

/* White */
.btn--white {
  background: var(--white);
  color: var(--text-1);
  border-color: var(--border);
}
.btn--white:hover  { background: var(--off-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Outline (dark bg) */
.btn--outline {
  background: transparent;
  color: var(--text-1);
  border-color: var(--border-dk);
}
.btn--outline:hover  { background: var(--text-1); color: var(--white); transform: translateY(-2px); }

/* Outline light (for dark backgrounds) */
.btn--outline-light {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(245,244,241,.45);
}
.btn--outline-light:hover { background: rgba(245,244,241,.1); border-color: var(--off-white); transform: translateY(-2px); }

/* Glass (translucent) */
.btn--glass {
  background: rgba(245,244,241,.12);
  color: var(--off-white);
  border-color: rgba(245,244,241,.25);
  backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(245,244,241,.2); transform: translateY(-2px); }

/* Nav outline */
.btn--outline-nav {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(245,244,241,.35);
}
.btn--outline-nav:hover { background: rgba(245,244,241,.1); border-color: var(--off-white); }

/* Disabled state */
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }


/* ===========================================
   SECTION HEADER (shared)
   =========================================== */
.section__header { text-align: center; margin-bottom: var(--space-3xl); }

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem 1rem;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: .875rem;
  background: rgba(179,20,30,.1);
  color: var(--red);
  border: 1px solid rgba(179,20,30,.3);
}

.section__tag--light {
  background: rgba(245,244,241,.12);
  color: rgba(245,244,241,.9);
  border-color: rgba(245,244,241,.25);
}

.section__tag--red-on-dark {
  background: rgba(179,20,30,.15);
  color: var(--red);
  border-color: rgba(179,20,30,.4);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-1);
  margin-bottom: .875rem;
}

.section__title--left  { text-align: left; }
.section__title--light { color: var(--off-white); }

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.72;
}

.section__subtitle--light { color: rgba(245,244,241,.72); }


/* ===========================================
   HEADER / NAVIGATION
   =========================================== */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  transition: background var(--t-base), box-shadow var(--t-base);
}

.header.scrolled {
  background: rgba(19,41,75,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(245,244,241,.05);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.nav__logo, .footer__logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 65px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__logo-img {
  height: 65px;
  width: auto;
  display: block;
}

/* Mobile menu */
.nav__menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset-block: 0;
  right: 0;
  width: min(320px, 85vw);
  background: var(--navy);
  padding: 5.5rem 2rem 2.5rem;
  z-index: 950;
  transform: translateX(110%);
  transition: transform var(--t-slow);
  overflow-y: auto;
}

.nav__menu.open { transform: translateX(0); }

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem .5rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(245,244,241,.8);
  border-bottom: 1px solid rgba(245,244,241,.06);
  transition: color var(--t-fast);
}

.nav__link:hover,
.nav__link.active { color: var(--red); }

.nav__link--vip { color: var(--red) !important; font-weight: 700; }

.nav__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: .5rem .625rem;
  background: rgba(245,244,241,.07);
  border-radius: var(--r-sm);
  color: rgba(245,244,241,.7);
  font-size: 1.1rem;
  transition: all var(--t-fast);
}

.nav__close:hover { background: rgba(245,244,241,.14); color: var(--off-white); }

/* Overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 940;
  backdrop-filter: blur(2px);
}

.nav__overlay.active { display: block; }

/* Actions */
.nav__actions { display: flex; align-items: center; gap: .625rem; }

.btn-label { display: none; }

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  padding: 0;
  flex-shrink: 0;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all var(--t-base);
  transform-origin: left center;
}

.nav__toggle.open span:nth-child(1) { transform: rotate(42deg) scaleX(.95); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: rotate(-42deg) scaleX(.95); }


/* ===========================================
   HERO
   =========================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--off-white);
  overflow: hidden;
}

/* CSS background art */
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #13294B 0%, #13294B 45%, #13294B 100%);
  z-index: 0;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(179,20,30,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179,20,30,.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__glow--1 {
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(179,20,30,.08) 0%, transparent 70%);
  top: -10%; right: -10%;
}

.hero__glow--2 {
  width: 40vw; height: 40vw;
  max-width: 500px; max-height: 500px;
  background: radial-gradient(circle, rgba(179,20,30,.05) 0%, transparent 70%);
  bottom: 5%; left: 0%;
}

/* Optional photo layer */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: .28;
}

.hero__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(19,41,75,.88) 0%, rgba(19,41,75,.60) 50%, rgba(19,41,75,.32) 100%);
}

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: var(--space-4xl);
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem 1rem;
  background: rgba(179,20,30,.14);
  border: 1px solid rgba(179,20,30,.35);
  border-radius: var(--r-full);
  color: var(--red);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(.975rem, 2vw, 1.175rem);
  color: rgba(245,244,241,.74);
  max-width: 580px;
  line-height: 1.78;
  margin-bottom: 2.5rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 3rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,244,241,.1);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(245,244,241,.68);
  font-size: .85rem;
  font-weight: 500;
}

.trust-badge i { color: var(--red); font-size: .95rem; }

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(245,244,241,.15);
  display: none;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(245,244,241,.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
  animation: mousescroll 2s ease infinite;
}

@keyframes mousescroll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: .3; }
}

/* Entrance animations */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .72s cubic-bezier(.22,.68,0,1.2) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}


/* ===========================================
   AVAILABLE HOMES
   =========================================== */
.available-homes { background: var(--off-white); }

/* Filter bar */
.homes__filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-2);
  background: var(--white);
  transition: all var(--t-fast);
}

.filter-btn:hover { border-color: var(--red); color: var(--red); }

.filter-btn--active {
  background: var(--navy);
  color: var(--off-white);
  border-color: var(--navy);
}

/* Grid */
.homes__grid {
  display: grid;
  gap: 1.625rem;
  grid-template-columns: 1fr;
}

/* Home card */
.home-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.home-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.home-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.home-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.home-card:hover .home-card__image img { transform: scale(1.06); }

/* Status badges */
.home-card__badge {
  position: absolute;
  top: .875rem;
  left: .875rem;
  padding: .3rem .875rem;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  z-index: 2;
}

.badge--available   { background: var(--green);  color: var(--white); }
.badge--coming-soon { background: var(--navy); color: var(--off-white); }
.badge--reserve     { background: var(--red); color: var(--off-white); }
.badge--sold        { background: var(--error); color: var(--white); }

/* Hover actions */
.home-card__hover-actions {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  background: rgba(0,0,0,.52);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 3;
}

.home-card:hover .home-card__hover-actions { opacity: 1; }

/* Card body */
.home-card__body { padding: 1.5rem; }

.home-card__location {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .45rem;
}

.home-card__location i { color: var(--red); font-size: .7rem; }

.home-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: .875rem;
}

.home-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.home-card__specs span {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-2);
}

.home-card__specs i { color: var(--red); font-size: .82rem; }

.home-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-card__price { display: flex; flex-direction: column; line-height: 1.2; }

.price-label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-1);
}

/* Bottom CTA */
.homes__footer-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

.homes__footer-cta p {
  color: var(--text-2);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}


/* ===========================================
   BUYING OPTIONS
   =========================================== */
.buying-options { background: var(--white); }

.options__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.option-card {
  padding: 2rem 1.75rem;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.option-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.option-card:hover {
  border-color: rgba(179,20,30,.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.option-card:hover::after { transform: scaleX(1); }

.option-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(179,20,30,.1);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--red);
  transition: background var(--t-base);
}

.option-card:hover .option-card__icon { background: rgba(179,20,30,.18); }

.option-card__title {
  font-family: var(--font-display);
  font-size: 1.175rem;
  font-weight: 700;
  margin-bottom: .625rem;
  color: var(--text-1);
}

.option-card__desc {
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.68;
  margin-bottom: 1.25rem;
}

.option-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--red);
  transition: gap var(--t-fast);
}

.option-card:hover .option-card__link { gap: .65rem; }


/* ===========================================
   WHY NEW LIBERTY HOMES
   =========================================== */
.why-us {
  background: var(--off-white);
}

.why-us__grid {
  display: grid;
  gap: var(--space-4xl);
  align-items: center;
}

/* Visual side */
.why-us__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

.visual-main {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
  max-height: 520px;
}

.visual-main img, .visual-accent img {
  width: 100%; height: 100%; object-fit: cover;
}

.visual-accent {
  display: none;
  position: absolute;
  bottom: -1.75rem;
  right: -1.75rem;
  width: 200px;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

.visual-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.stat-pill {
  flex: 1;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.125rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: .2rem;
}

.stat-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Content side */
.why-us__content .section__tag { display: inline-block; }

.why-us__lead {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.78;
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.175rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
}

.feature-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: rgba(179,20,30,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-check i { font-size: .65rem; color: var(--red); }

.feature-item strong {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-1);
  margin-bottom: .2rem;
}

.feature-item p {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.55;
}


/* ===========================================
   BUILD ON YOUR LAND
   =========================================== */
.build-on-land {
  color: var(--off-white);
  overflow: hidden;
}

.build-on-land__bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: 0;
}

.build-on-land__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(179,20,30,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179,20,30,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.build-on-land > .container { position: relative; z-index: 1; }

.build-on-land .section__subtitle { color: rgba(245,244,241,.68); max-width: 580px; margin-inline: auto; }

/* Process track */
.process__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.process-step {
  position: relative;
  background: rgba(245,244,241,.05);
  border: 1px solid rgba(245,244,241,.1);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all var(--t-base);
}

.process-step:hover {
  background: rgba(245,244,241,.09);
  border-color: rgba(179,20,30,.35);
  transform: translateY(-4px);
}

.process-step__bubble {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.process-step__num {
  position: absolute;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(179,20,30,.1);
  line-height: 1;
  letter-spacing: -.04em;
  top: -1.75rem;
  right: -1.5rem;
  pointer-events: none;
}

.process-step__icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(179,20,30,.12);
  border-radius: 50%;
  border: 1px solid rgba(179,20,30,.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step__icon-wrap i { font-size: 1.4rem; color: var(--red); }

.process-step__connector { display: none; }

.process-step__content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: .625rem;
}

.process-step__content p {
  font-size: .88rem;
  color: rgba(245,244,241,.58);
  line-height: 1.68;
}

.build__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* ===========================================
   VIP HOME ALERTS
   =========================================== */
.vip-alerts { overflow: hidden; }

.vip-alerts__bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: 0;
}

.vip-alerts__glow {
  position: absolute;
  width: 70vw; height: 70vw;
  max-width: 800px; max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179,20,30,.1) 0%, transparent 65%);
  top: -20%; right: -15%;
  filter: blur(60px);
}

.vip-alerts > .container { position: relative; z-index: 1; }

.vip-alerts__grid {
  display: grid;
  gap: 3rem;
}

.vip-alerts__content .section__title { text-align: left; }

.vip-alerts__desc {
  font-size: 1.05rem;
  color: rgba(245,244,241,.7);
  line-height: 1.78;
  margin-bottom: 2.25rem;
}

.vip-perks {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}

.vip-perk {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
}

.vip-perk__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(179,20,30,.14);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-perk__icon i { color: var(--red); font-size: .95rem; }

.vip-perk strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: .2rem;
}

.vip-perk p {
  font-size: .78rem;
  color: rgba(245,244,241,.5);
  line-height: 1.5;
}

/* Form card */
.form-card {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-xl);
}

.form-card__header { margin-bottom: 1.75rem; }

.form-card__header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.form-card__header p { font-size: .875rem; color: var(--text-3); }

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .45rem;
}

.form-label span { color: var(--error); }

.form-input {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: .95rem;
  color: var(--text-1);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179,20,30,.13);
}

.form-input::placeholder { color: var(--text-3); }

.form-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}

.field-error {
  display: block;
  font-size: .78rem;
  color: var(--error);
  margin-top: .3rem;
}

/* Checkboxes */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
  margin-top: .5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  font-size: .875rem;
  color: var(--text-2);
  font-weight: 500;
  user-select: none;
}

.checkbox-item input { display: none; }

.checkbox-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-dk);
  border-radius: 4px;
  background: var(--white);
  transition: all var(--t-fast);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-item input:checked + .checkbox-box {
  background: var(--red);
  border-color: var(--red);
}

.checkbox-item input:checked + .checkbox-box::after {
  content: '';
  position: absolute;
  inset: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' fill-rule='evenodd' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.form-fine-print {
  font-size: .72rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.55;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 2rem 0;
}

.form-success[hidden] { display: none; }

.success-icon { font-size: 3.5rem; color: var(--green); margin-bottom: 1rem; }

.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.form-success p { color: var(--text-2); font-size: .95rem; }


/* ===========================================
   COMMUNITY & SOCIAL
   =========================================== */
.community { background: var(--off-white); }

.community__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.story-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }

.story-card__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.story-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.story-card:hover .story-card__media img { transform: scale(1.04); }

.story-card__play-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .35rem .875rem;
  background: rgba(0,0,0,.72);
  color: var(--red);
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.story-card__body { padding: 1.75rem; }

.story-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-1);
  margin-bottom: .875rem;
  font-style: italic;
}

.story-text {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.68;
  margin-bottom: 1.25rem;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--red);
  transition: gap var(--t-fast);
}

.story-card:hover .story-link { gap: .6rem; }

/* Social grid */
.social__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.social-tile {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--t-base);
}

.social-tile:hover { transform: scale(1.025); }

.social-tile__img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.social-tile__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.social-tile:hover .social-tile__img img { transform: scale(1.06); }

.social-tile__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
}

.social-tile__play i { font-size: 1.75rem; color: var(--white); opacity: .9; }

.social-tile p {
  padding: .5rem .625rem;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.4;
}

/* Social CTA */
.social__cta-bar {
  text-align: center;
}

.social__cta-bar p {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}

.social__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  transition: all var(--t-base);
}

.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.social-btn--fb { background: #1877f2; }
.social-btn--ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn--yt { background: #ff0000; }
.social-btn--tt { background: #010101; border: 1px solid #444; }


/* ===========================================
   FINAL CTA
   =========================================== */
.final-cta { overflow: hidden; text-align: center; }

.final-cta__bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: 0;
}

.final-cta__glow {
  position: absolute;
  width: 80vw; height: 80vw;
  max-width: 700px; max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179,20,30,.14) 0%, transparent 60%);
  top: -30%; left: 50%;
  transform: translateX(-50%);
  filter: blur(50px);
}

.final-cta > .container { position: relative; z-index: 1; }

.final-cta__inner { max-width: 680px; margin-inline: auto; }

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: var(--off-white);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.final-cta__subtitle {
  font-size: 1.05rem;
  color: rgba(245,244,241,.68);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem 2rem;
  justify-content: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(245,244,241,.1);
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(245,244,241,.72);
  font-size: .88rem;
  font-weight: 500;
  transition: color var(--t-fast);
}

.contact-chip:hover { color: var(--red); }

.contact-chip i { color: var(--red); font-size: .85rem; }


/* ===========================================
   FOOTER
   =========================================== */
.footer { background: var(--navy); }

.footer__main {
  padding-block: var(--space-4xl) var(--space-3xl);
  border-bottom: 1px solid rgba(245,244,241,.06);
}

.footer__grid {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
}

.footer__brand p {
  font-size: .875rem;
  color: rgba(245,244,241,.48);
  line-height: 1.72;
  margin-top: 1rem;
  max-width: 290px;
}

.footer__social {
  display: flex;
  gap: .625rem;
  margin-top: 1.5rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  background: rgba(245,244,241,.06);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,244,241,.55);
  font-size: .82rem;
  transition: all var(--t-fast);
}

.footer__social a:hover { background: rgba(179,20,30,.16); color: var(--red); }

.footer__nav h4,
.footer__contact-block h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(245,244,241,.35);
  margin-bottom: 1rem;
}

.footer__nav ul { display: flex; flex-direction: column; gap: .45rem; }

.footer__nav a {
  font-size: .875rem;
  color: rgba(245,244,241,.58);
  transition: color var(--t-fast);
}

.footer__nav a:hover { color: var(--red); }

.footer__contact-row {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  color: rgba(245,244,241,.6);
  margin-bottom: .75rem;
}

.footer__contact-row i { color: var(--red); width: 16px; flex-shrink: 0; font-size: .82rem; }

.footer__contact-row a { transition: color var(--t-fast); }
.footer__contact-row a:hover { color: var(--red); }

/* EHO block */
.eho-block {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(245,244,241,.04);
  border-radius: var(--r-md);
  border: 1px solid rgba(245,244,241,.06);
  margin-top: 1.5rem;
}

.eho-symbol { flex-shrink: 0; }

.eho-block strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(245,244,241,.72);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .3rem;
}

.eho-block p {
  font-size: .68rem;
  color: rgba(245,244,241,.35);
  line-height: 1.55;
}

/* Footer bottom */
.footer__bottom {
  padding-block: 1.5rem;
}

.footer__copy {
  font-size: .82rem;
  color: rgba(245,244,241,.4);
  margin-bottom: .625rem;
}

.footer__disclaimer {
  font-size: .68rem;
  color: rgba(245,244,241,.25);
  line-height: 1.62;
}


/* ===========================================
   SCROLL ANIMATIONS
   =========================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* ===========================================
   BREAKPOINTS
   =========================================== */

/* — Tablet 600px+ — */
@media (min-width: 600px) {
  :root { --container-pad: 1.75rem; }

  .homes__grid        { grid-template-columns: repeat(2, 1fr); }
  .options__grid      { grid-template-columns: repeat(2, 1fr); }
  .community__grid    { grid-template-columns: 1fr 1fr; align-items: start; }
  .social__grid       { grid-template-columns: repeat(2, 1fr); }
  .footer__grid       { grid-template-columns: repeat(2, 1fr); }

  .btn-label          { display: inline; }
  .trust-divider      { display: block; }
}

/* — Laptop 900px+ — */
@media (min-width: 900px) {
  :root { --container-pad: 2rem; }

  /* Nav becomes horizontal */
  .nav__menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    padding: 0;
    transform: none !important;
    box-shadow: none;
    width: auto;
    flex: 1;
    justify-content: center;
    overflow-y: visible;
  }

  .nav__list       { flex-direction: row; gap: 0; }
  .nav__link       { padding: .45rem .7rem; font-size: .84rem; border-bottom: none; color: rgba(245,244,241,.78); }
  .nav__close      { display: none; }
  .nav__toggle     { display: none; }
  .nav__overlay    { display: none !important; }
  body.nav-open    { overflow: auto; }

  /* Sections */
  .homes__grid     { grid-template-columns: repeat(3, 1fr); }
  .options__grid   { grid-template-columns: repeat(4, 1fr); }
  .why-us__grid    { grid-template-columns: 1fr 1fr; gap: var(--space-3xl); }
  .visual-accent   { display: block; }

  .process__track {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
  }

  .process-step {
    background: none;
    border: none;
    padding: 1rem;
    text-align: center;
  }

  .process-step:hover {
    background: rgba(245,244,241,.05);
    border: 1px solid rgba(245,244,241,.1);
  }

  .process-step__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    color: rgba(179,20,30,.35);
    font-size: .9rem;
  }

  .process-step__connector::before {
    content: '—';
    font-size: 1.5rem;
    letter-spacing: .1em;
    color: rgba(179,20,30,.3);
  }

  .vip-alerts__grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .vip-alerts__content .section__title { font-size: 2.5rem; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.75fr; }
  .footer__brand p { display: block; }
}

/* — Desktop 1200px+ — */
@media (min-width: 1200px) {
  :root { --section-py: 6.5rem; }

  .social__grid { grid-template-columns: repeat(4, 1fr); }
  .why-us__grid { gap: var(--space-4xl); }
  .visual-main  { max-height: 620px; }
}

/* — Reduced motion — */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
  .animate-up { animation: none; opacity: 1; transform: none; }
}
