/* ============================================
   AGENT UP — Global Styles
   Brand tokens updated to AgentUp Visual Identity Guide v2 (Aug 2026)
   Navy #1B2A4A | Gold #F4C542 | Ivory #F8F4EC (on-navy text/logo only)
   Sand #F2EBD9 kept for section backgrounds against white (by design)
   Fonts: Roboto Slab (headings) + Work Sans (body)
   ============================================ */

/* Fonts loaded via <link> tags in HTML head for performance */

/* ---------- CSS Variables ---------- */
:root {
  --navy: #1B2A4A;
  --navy-dark: #121C31;
  --navy-light: #294070;
  --charcoal: #111113;
  --yellow: #F4C542;
  --yellow-soft: rgba(244, 197, 66, 0.15);
  --yellow-glow: rgba(244, 197, 66, 0.3);
  --sand: #f2ebd9;
  --sand-light: #f7f3e8;
  --sand-dark: #e5dcc8;
  --ivory: #F8F4EC;
  --white: #ffffff;
  --iron: #474746;
  --iron-light: #6b6b6a;
  --gray-100: #f7f7f7;
  --gray-200: #ebebeb;
  --gray-300: #d4d4d4;
  --gray-600: #6b7280;
  --gray-800: #1f1f1e;
  --muted: #94a3b8;
  --success: #16a34a;
  --error: #dc2626;

  --font-heading: 'Roboto Slab', serif;
  --font-body: 'Work Sans', sans-serif;

  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 980px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);

  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--iron);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Screen reader only — visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

.text-muted {
  color: var(--iron-light);
}

.text-navy {
  color: var(--navy);
}

.text-yellow {
  color: var(--yellow);
}

.highlight {
  color: var(--yellow);
  font-weight: 700;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--iron-light);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--sand {
  background: var(--sand-light);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy .lead {
  color: var(--ivory);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  margin-top: 1rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  line-height: 1;
}

.btn--primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 4px 14px var(--yellow-glow);
}

.btn--primary:hover {
  background: #e5b82a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--yellow-glow);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--sand);
  transform: translateY(-2px);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 40px; /* below capacity banner */
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: all var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 100px;
  padding: 0 5rem;
}

.nav__logo {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 0 0 auto;
}

.nav__right {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.nav__links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--iron);
  transition: color var(--transition);
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--navy);
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.nav__cta {
  margin-left: 0.5rem;
}

.nav__mobile-toggle {
  display: none;
  background: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

/* Mobile menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 140px; /* banner (40px) + nav (100px) */
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 999;
}

.nav__mobile-menu.open {
  display: flex;
}

.nav__mobile-menu a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--iron);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.nav__mobile-menu .btn {
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 900px) {
  .capacity-banner {
    display: none;
  }
  .nav {
    top: 0;
    background: var(--navy);
  }
  .nav__links, .nav__cta {
    display: none;
  }
  .nav__mobile-toggle {
    display: block;
  }
  .nav__mobile-toggle span {
    background: var(--ivory);
  }
  .nav__inner {
    height: 80px;
    padding: 0 1.5rem;
    gap: 0.75rem;
  }
  .nav__logo img {
    height: 48px;
  }
  .nav__mobile-menu {
    top: 80px; /* nav only — banner hidden on mobile */
  }
}

/* ---------- Capacity Banner ---------- */
.capacity-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

.capacity-banner strong {
  color: var(--white);
}

/* ---------- No Catch Bar ---------- */
.no-catch-bar {
  background: var(--navy);
  padding: 1.25rem 0;
  text-align: center;
}
.no-catch-bar p {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 120px; /* banner (40px) + nav (80px) */
  overflow: hidden;
}

.hero--home {
  background: transparent;
  justify-content: center;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://www.agentup.com.au/assets/brisbane-city-skyline-night-view-600nw-2599464807.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

@media (min-width: 769px) {
  .hero__bg {
    background-attachment: fixed;
  }
}

/* Dark Overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 74, 0.25);
  z-index: 1;
}

/* Hero Content on dark background */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1.5rem;
}

.hero__badge svg {
  color: var(--yellow);
}

.hero--home h1 {
  color: var(--white);
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.85), 0 0 120px rgba(0,0,0,0.6);
}

.hero--home .highlight {
  color: var(--yellow);
  font-weight: 400;
}

.hero--home .lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.95), 0 0 50px rgba(0,0,0,0.85), 0 0 100px rgba(0,0,0,0.6);
}

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

/* Outline white button for hero */
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}



@media (max-width: 900px) {
  .hero {
    min-height: 80vh;
    padding: 6rem 0 4rem;
  }
  .hero__content {
    max-width: 100%;
  }
}

/* ---------- Mobile Polish ---------- */
@media (max-width: 480px) {
  /* Nav */
  .nav__logo img {
    height: 40px;
  }

  .nav__inner {
    height: 66px;
    padding: 0 1.25rem;
    gap: 0.5rem;
  }

  .nav__mobile-menu {
    top: 66px; /* nav only — banner hidden on mobile */
  }

  /* Hero */
  .hero {
    min-height: 85vh;
    padding: 5rem 0 3rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    margin-bottom: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Page hero (inner pages) */
  .page-hero {
    padding: 6.5rem 0 2.5rem;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .page-hero .lead {
    font-size: 0.9rem;
  }

  /* Sections */
  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  /* Buttons */
  .btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }


  /* Cards */
  .card {
    padding: 1.25rem;
  }

  /* Price Check search form — stack on mobile */
  #priceCheckForm {
    flex-direction: column !important;
  }

  #priceCheckForm input {
    width: 100% !important;
    font-size: 1rem !important;
  }

  #priceCheckForm button {
    width: 100% !important;
  }

  /* Sell With Us form — stack grid on mobile */
  .form-row {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 12rem 0 4rem; /* extra top for banner + nav */
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero .lead {
  color: var(--ivory);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--sand);
  padding: 1.25rem 0;
  border-top: 1px solid var(--sand-dark);
  border-bottom: 1px solid var(--sand-dark);
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

.trust-bar__item svg {
  width: 20px;
  height: 20px;
  color: var(--yellow);
  flex-shrink: 0;
}

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

@media (max-width: 768px) {
  .pricing-comparison { display: none; }
  .trust-bar { overflow: hidden; }
  .trust-bar__inner {
    display: block;
    white-space: nowrap;
    width: max-content;
    animation: trustScroll 14s linear infinite;
  }
  .trust-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    white-space: nowrap;
    padding: 0 1.75rem;
    border-right: 1px solid var(--sand-dark);
  }
  .trust-bar__item:last-child { border-right: none; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: var(--yellow-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--iron-light);
  font-size: 0.95rem;
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  align-items: stretch;
  transition: transform 0.5s ease;
}

.carousel__slide {
  min-width: 100%;
  padding: 0 1rem;
}

.carousel__slide .card {
  height: 100%;
}

@media (min-width: 769px) {
  .carousel__slide {
    min-width: 33.333%;
  }
}

.carousel__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel__btn:hover {
  background: var(--navy);
  color: var(--white);
}

.carousel__btn svg {
  width: 20px;
  height: 20px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel__dot.active {
  background: var(--navy);
  width: 28px;
  border-radius: 5px;
}

/* ---------- Process Steps ---------- */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  position: relative;
}


.step__number {
  counter-increment: step;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
}

.step__content h3 {
  margin-bottom: 0.5rem;
}

.step__content p {
  color: var(--iron-light);
}

/* Step connector line */
.steps--connected {
  position: relative;
}
.steps--connected::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--navy);
  opacity: 0.15;
  z-index: 0;
}
.steps--connected .step__number {
  position: relative;
  z-index: 1;
}

/* ---------- Calculator ---------- */
.calculator {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin: 0 auto;
}

.calculator__label {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  display: block;
}

.calculator__value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1rem;
}

.calculator__slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  outline: none;
  margin-bottom: 2rem;
}

.calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--yellow);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.calculator__slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--yellow);
  cursor: pointer;
}

.calculator__results {
  display: grid;
  gap: 1rem;
}

.calculator__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.calculator__row:last-child {
  border-bottom: none;
}

.calculator__row-label {
  font-size: 0.95rem;
  color: var(--iron-light);
}

.calculator__row-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
}

.calculator__savings {
  background: var(--yellow-soft);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  text-align: center;
  margin-top: 1rem;
}

.calculator__savings-label {
  font-size: 0.85rem;
  color: var(--iron-light);
  margin-bottom: 0.25rem;
}

.calculator__savings-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
}

/* ---------- FAQ Accordion ---------- */
.faq__item {
  border-bottom: 1px solid var(--gray-200);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--navy-light);
}

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--navy);
  transition: transform 0.3s ease;
}
.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.open .faq__answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq__answer p {
  color: var(--iron-light);
  line-height: 1.7;
}

.faq__answer p:not(:last-child) {
  margin-bottom: 0.75rem;
}

/* ---------- Comparison Table ---------- */
.comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.comparison__card {
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: center;
}

.comparison__header {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
}

.comparison__header h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.comparison__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.comparison__body {
  padding: 1.5rem;
}

.comparison__row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
}

.comparison__savings {
  background: var(--yellow-soft);
  padding: 1rem;
  margin-top: 0.5rem;
  border-radius: var(--radius-sm);
}

.comparison__savings span {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--success);
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .comparison {
    grid-template-columns: 1fr;
  }
}

/* ---------- Package Cards ---------- */
.package {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  cursor: pointer;
  position: relative;
  height: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.package:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.package--featured {
  border-color: var(--yellow);
}

.package--value {
  border: 2px solid var(--navy);
}

.package__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.package__name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--iron-light);
  margin-bottom: 0.5rem;
}

.package__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.package__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--iron-light);
}

.package__features {
  margin-bottom: 2rem;
}

.package__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.package__feature svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.package__badge--navy {
  background: var(--navy);
  color: var(--white);
}
.package--selected {
  box-shadow: 0 0 0 3px var(--success);
}
.package--selected::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/20px no-repeat;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--iron);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23474746' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--yellow-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

/* ---------- Our Story parallax — disable fixed attachment on mobile (iOS unsupported) ---------- */
@media (max-width: 768px) {
  .story-section {
    background-attachment: scroll, scroll !important;
    background-position: center, center 40%;
  }
}

/* ---------- Our Story copy ---------- */
.story-section__body {
  font-family: var(--font-body);
  margin-bottom: 1.35rem;
  color: rgba(255,255,255,0.96);
  line-height: 1.9;
  font-size: 1.08rem;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.story-section__body--last {
  margin-bottom: 0;
}

.story-section__standout {
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  color: var(--yellow);
  font-size: 1.4rem;
  text-align: center;
  margin: 2.25rem 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.story-section__closing {
  text-align: center;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.story-section__tagline {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.1rem;
}

.story-section__punch {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--white);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.story-section__punch em {
  display: block;
  font-style: italic;
  color: var(--yellow);
  margin-top: 0.35rem;
}

@media (max-width: 480px) {
  .story-section__body {
    font-size: 1rem;
  }
  .story-section__standout {
    font-size: 1.2rem;
  }
  .story-section__punch {
    font-size: 1.2rem;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 2.5rem 0 1.25rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.footer__brand {
  display: flex;
  align-items: flex-start;
}

.footer__brand p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 300px;
}

.footer__logo img {
  height: 64px;
  width: auto;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer__links a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.35rem 0;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--yellow);
}

.footer__contact a,
.footer__contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.35rem 0;
  margin-bottom: 0.1rem;
}

.footer__contact a:hover {
  color: var(--yellow);
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer__legal a {
  margin-left: 1.5rem;
  color: var(--muted);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--yellow);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  /* Footer — centred, 2-col nav/resources, full-width contact */
  .footer { padding: 2rem 0 1rem; }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.5rem;
    text-align: center;
  }
  .footer__brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer__brand p { max-width: 100%; text-align: center; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__contact a,
  .footer__contact p { justify-content: center; }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
  .footer__legal { display: flex; gap: 1.25rem; }
  .footer__legal a { margin-left: 0; }

  /* Property checker search bar — stack on mobile */
  .pc-search-wrap {
    flex-direction: column !important;
    border-radius: var(--radius-lg) !important;
    padding: 0.75rem !important;
    gap: 0.5rem;
    align-items: stretch;
  }
  .pc-search-wrap svg { display: none; }
  .pc-search-wrap input {
    padding: 0.85rem 1rem !important;
    font-size: 1rem !important;
    border-radius: var(--radius-md) !important;
    background: var(--gray-100) !important;
  }
  .pc-search-wrap button {
    border-radius: var(--radius-md) !important;
    width: 100%;
    padding: 0.85rem 1rem !important;
  }
}

/* ---------- Quote / Testimonial ---------- */
.quote-block {
  border-left: 4px solid var(--yellow);
  padding: 2rem 2.5rem;
  background: var(--sand-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.quote-block p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.quote-block cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--iron-light);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--ivory);
  max-width: 550px;
  margin: 0 auto 2rem;
}

.cta-banner .btn {
  margin: 0 0.5rem;
}

/* ---------- Timeline / Month Selector ---------- */
.month-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.month-option {
  padding: 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}

.month-option:hover {
  border-color: var(--navy);
}

.month-option.selected {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.month-option.limited {
  border-color: var(--yellow);
}

.month-option.full {
  opacity: 0.5;
  cursor: not-allowed;
}

.month-option__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.month-option__availability {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

@media (max-width: 600px) {
  .month-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger > *.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > *:nth-child(1) { transition-delay: 0.1s; }
.stagger > *:nth-child(2) { transition-delay: 0.2s; }
.stagger > *:nth-child(3) { transition-delay: 0.3s; }
.stagger > *:nth-child(4) { transition-delay: 0.4s; }

/* ---------- Mobile CTA Bar ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: var(--white);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 999;
}
.mobile-cta-bar .btn {
  width: 100%;
  text-align: center;
}
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: block;
  }
}

/* ---------- Reviews Section ---------- */
.reviews__platform {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--iron-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.reviews__carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.reviews__track {
  display: flex;
  transition: transform 0.5s ease;
}

.reviews__slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

@media (min-width: 769px) {
  .reviews__slide {
    min-width: 33.333%;
  }
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-card__stars {
  color: var(--yellow);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.review-card__headline {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

.review-card__body {
  font-size: 0.9rem;
  color: var(--iron-light);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.review-card__author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.7;
}

.reviews__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.reviews__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reviews__btn:hover {
  background: var(--navy);
  color: var(--white);
}

.reviews__btn svg {
  width: 16px;
  height: 16px;
  color: var(--navy);
  transition: color 0.2s ease;
}

.reviews__btn:hover svg {
  color: var(--white);
}

.reviews__dots {
  display: flex;
  gap: 0.4rem;
}

.reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}

.reviews__dot.active {
  background: var(--navy);
}

/* ---------- Seller Story ---------- */
.seller-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
}

.seller-story__image {
  position: relative;
  min-height: 420px;
}

.seller-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seller-story__sold-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
}

.seller-story__inner {
  background: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.seller-story__badge {
  display: inline-block;
  background: var(--yellow-soft);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.seller-story__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

.seller-story__meta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--iron-light);
  margin: 0;
}

.seller-story__quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--iron);
  border: none;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.seller-story__attribution {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 768px) {
  .seller-story {
    grid-template-columns: 1fr;
  }
  .seller-story__image {
    min-height: 260px;
  }
  .seller-story__inner {
    padding: 2rem 1.5rem;
  }
}

/* Founder Quote */
.founder-quote {
  background: var(--sand);
  display: flex;
  align-items: stretch;
}

.founder-quote__image {
  flex: 0 0 38%;
  max-width: 460px;
}

.founder-quote__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-quote__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2.5rem;
}

.founder-quote__inner {
  max-width: 620px;
  text-align: center;
}

@media (max-width: 768px) {
  .founder-quote {
    flex-direction: column;
  }
  .founder-quote__image {
    flex: none;
    max-width: 100%;
    width: 100%;
    height: 300px;
  }
  .founder-quote__content {
    padding: 3rem 1.5rem;
  }
}

/* Listing Split (Current Listings page) */
.listing-split {
  background: var(--white);
  display: flex;
  align-items: stretch;
}

.listing-split__image {
  flex: 0 0 42%;
  max-width: 560px;
  background: var(--white);
  border-right: 1px solid rgba(27,42,74,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.listing-split__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.listing-split__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2.5rem;
}

.listing-split__inner {
  max-width: 460px;
}

.listing-split__inner h2 {
  margin-bottom: 1.25rem;
}

.listing-split__inner p {
  line-height: 1.85;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .listing-split {
    flex-direction: column;
  }
  .listing-split__image {
    flex: none;
    max-width: 100%;
    width: 100%;
    height: 280px;
    border-right: none;
    border-bottom: 1px solid rgba(27,42,74,0.08);
  }
  .listing-split__content {
    padding: 3rem 1.5rem;
    text-align: center;
  }
}
