/* ============================================================
   LEANNE STEWART | leannestewart.co.nz
   Design System: Harcourts Reforma Brand Standards
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colours */
  --navy:        #001F49;
  --cyan:        #00ADEF;
  --cyan-dark:   #0095C5;
  --cyan-darker: #0080AB;

  /* Neutrals */
  --white:       #FFFFFF;
  --black:       #000000;
  --gray-dark:   #555555;
  --gray-mid:    #6C6C6C;
  --gray-light:  #CCCCCC;
  --gray-lighter:#EBEBED;
  --gray-lightest:#E1E1E1;
  --silver:      #B8B8B8;
  --border:      #CACED2;

  /* Surfaces */
  --bg-section:  #F5F7FA;

  /* Semantic */
  --success:     #198754;
  --error:       #DC3545;
  --warning:     #FFC107;

  /* Shadows */
  --shadow-nav:  rgba(0,0,0,0.1) 0px 21px 31px -19px;
  --shadow-card: rgba(0,0,0,0.08) 0px 4px 20px;
  --shadow-hover:rgba(0,0,0,0.15) 0px 8px 30px;

  /* Typography */
  --font: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --container-max: 1440px;
  --gutter: 64px;
  --section-gap: 80px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color 0.2s; }

ul { list-style: none; }

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
  padding: 12px 24px;
}

.btn-primary {
  background: var(--cyan);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--cyan-dark);
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-1px);
  color: var(--white);
}
.btn-primary:active { background: var(--cyan-darker); transform: none; }

.btn-secondary {
  background: #E9F0F9;
  color: var(--navy);
}
.btn-secondary:hover { background: #D4E2F3; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-lg { padding: 16px 32px; font-size: 18px; min-height: 56px; }
.btn-sm { padding: 8px 16px; font-size: 14px; min-height: 38px; }

/* ── Section Headings ── */
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span { font-weight: 700; }

.section-sub {
  font-size: 18px;
  color: var(--gray-dark);
  max-width: 600px;
  line-height: 1.6;
}

/* ── Section Spacing ── */
.section { padding: var(--section-gap) 0; }
.section-alt { background: var(--bg-section); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

/* Glass effect once scrolled */
.nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Logo — calligraphic wordmark */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-wordmark {
  height: 48px;
  width: auto;
  display: block;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.2s;
  position: relative;
}

.nav-links a:hover { color: var(--cyan); }

.nav-links a.active { color: var(--cyan); font-weight: 600; }

/* Nav CTA */
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-lightest);
  padding: 16px var(--gutter);
  gap: 4px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 16px;
  color: var(--navy);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-lightest);
  font-weight: 400;
  transition: color 0.2s;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--cyan); }
.nav-mobile .btn { width: 100%; margin-top: 12px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* nav height */
}

/* Right photo — absolutely fills right portion, zero gap possible */
.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% top;
}

/* Photo overlay for depth where it meets the navy panel */
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,31,73,0.35) 0%, transparent 35%);
  z-index: 1;
  pointer-events: none;
}

/* Left navy content panel — sits on top of photo, clip-path for angled edge */
.hero-content {
  position: relative;
  z-index: 2;
  width: 54%;
  min-height: calc(100vh - 80px);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px var(--gutter);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}

/* Subtle diagonal texture on navy */
.hero-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    );
  pointer-events: none;
}

/* Harcourts logo in hero */
.hero-brokerage {
  display: flex;
  align-items: center;
  margin-bottom: 44px;
}

.hero-harcourts-logo {
  height: 36px;
  width: auto;
  opacity: 0.88;
}

.hero-tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(52px, 5vw, 80px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 8px;
}

.hero-name {
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero-description {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* (hero-photo now defined above, in hero section) */

/* ── Stats Bar ── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-lightest);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
  z-index: 1;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  border-right: 1px solid var(--gray-lightest);
  text-align: center;
  transition: background 0.2s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-section); }

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span { color: var(--cyan); }

.stat-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ============================================================
   MINI ABOUT SECTION
   ============================================================ */
.about-mini { background: var(--white); }

.about-mini-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}

.about-mini-photo {
  border-radius: 4px;
  overflow: hidden;
  height: 520px;
  position: relative;
  box-shadow: var(--shadow-hover);
}

.about-mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Subtle cyan accent bar on left edge */
.about-mini-photo::before {
  content: '';
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: -6px;
  width: 4px;
  background: var(--cyan);
  border-radius: 2px;
}

.about-mini-content .section-title { margin-bottom: 20px; }

.about-mini-body {
  font-size: 17px;
  color: var(--gray-dark);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-mini-body strong {
  color: var(--navy);
  font-weight: 600;
}

.specialty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}

.specialty-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-section);
  border: 1.5px solid var(--gray-lightest);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 4px;
  transition: all 0.2s;
}

.specialty-chip:hover {
  border-color: var(--cyan);
  background: rgba(0,173,239,0.06);
}

.specialty-chip i {
  color: var(--cyan);
  font-size: 14px;
}

/* ============================================================
   PROPERTY CARDS
   ============================================================ */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.property-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.property-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-card-image img {
  transform: scale(1.05);
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--cyan);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 3px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.property-badge.sold {
  background: var(--cyan);
}

.property-headline {
  font-size: 12px;
  color: var(--gray-mid);
  margin: -8px 0 8px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-method {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.property-price {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,31,73,0.85), transparent);
  padding: 32px 20px 16px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
}

.property-card-body {
  padding: 20px 22px;
}

.property-address {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.property-suburb {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 16px;
}

.property-features {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-lightest);
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gray-dark);
}

.property-feature i {
  color: var(--cyan);
  font-size: 14px;
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   SECTION: FOR SALE & SOLD
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0;
  flex-wrap: wrap;
  gap: 16px;
}
.section-header .section-title { margin-bottom: 0; }

/* ============================================================
   BOOK AN APPRAISAL
   ============================================================ */
.appraisal-section {
  background: var(--navy);
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}

/* Decorative background pattern */
.appraisal-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(0,173,239,0.06);
  pointer-events: none;
}

.appraisal-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0,173,239,0.04);
  pointer-events: none;
}

.appraisal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.appraisal-content .section-label { color: var(--cyan); }

.appraisal-content .section-title {
  color: var(--white);
  font-size: 44px;
}

.appraisal-content .section-sub {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  margin-top: 16px;
}

.appraisal-trust {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.appraisal-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.appraisal-trust-icon {
  width: 42px;
  height: 42px;
  background: rgba(0,173,239,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 16px;
  flex-shrink: 0;
}

.appraisal-trust-text {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

.appraisal-trust-text strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  font-size: 15px;
}

/* Appraisal Form */
.appraisal-form {
  background: var(--white);
  border-radius: 4px;
  padding: 44px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.appraisal-form h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.appraisal-form p {
  font-size: 15px;
  color: var(--gray-mid);
  margin-bottom: 28px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group label .req { color: var(--cyan); margin-left: 2px; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--silver);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,173,239,0.12);
}

.form-group textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 90px;
}

/* Address autocomplete container */
#address-wrapper { position: relative; }

.pac-container {
  border-radius: 0 0 4px 4px;
  border: 1.5px solid var(--cyan);
  border-top: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  font-family: var(--font);
}

.pac-item {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
}

.pac-item:hover { background: var(--bg-section); }

.form-submit { width: 100%; margin-top: 8px; }

.form-privacy {
  text-align: center;
  font-size: 12px;
  color: var(--silver);
  margin-top: 12px;
}

.form-privacy a { color: var(--gray-mid); text-decoration: underline; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover { box-shadow: var(--shadow-hover); }

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 80px;
  color: var(--cyan);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #FFB800;
  font-size: 15px;
}

.testimonial-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-lightest);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-detail {
  font-size: 13px;
  color: var(--gray-mid);
  margin-top: 2px;
}

/* RMA Widget & Rating Badge */
.rma-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.rma-rating-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-section);
  padding: 20px 28px;
  border-radius: 4px;
  border-left: 4px solid var(--cyan);
}

.rma-score {
  font-size: 52px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.rma-score-detail {
  display: flex;
  flex-direction: column;
}

.rma-stars {
  color: #FFB800;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.rma-label {
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 400;
}

.rma-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.2s;
}

.rma-link:hover { gap: 12px; }

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.blog-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.blog-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--cyan);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-body {
  padding: 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 13px;
  color: var(--gray-mid);
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
  min-height: calc(1.35em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.blog-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.blog-card-link:hover { gap: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}

.footer-name-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand-tagline {
  font-size: 14px;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-brand-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  transition: all 0.2s;
}

.footer-social-link:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--cyan); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-icon {
  color: var(--cyan);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}

.footer-contact-text {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.footer-contact-text a { color: rgba(255,255,255,0.7); }
.footer-contact-text a:hover { color: var(--cyan); }

.footer-harcourts {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-harcourts img {
  height: 24px;
  width: auto;
  opacity: 1;
  margin-bottom: 0;
  transition: opacity 0.2s;
}

.footer-harcourts img:hover { opacity: 0.85; }

/* Footer Bottom Bar */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--cyan); }

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

/* Tablet: 640px – 1023px */
@media (max-width: 1023px) {
  :root {
    --gutter: 48px;
    --section-gap: 64px;
  }

  .section-title { font-size: 32px; }

  /* Nav */
  .nav-links, .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { min-height: auto; }

  .hero-photo {
    position: relative;
    width: 100%;
    height: 460px;
    order: -1;
  }

  .hero-content {
    width: 100%;
    clip-path: none;
    min-height: auto;
    padding: 56px var(--gutter);
  }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(3, 1fr); }

  /* About mini */
  .about-mini-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-mini-photo { height: 360px; }

  /* Properties */
  .properties-grid { grid-template-columns: repeat(2, 1fr); }

  /* Appraisal */
  .appraisal-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  /* Blog */
  .blog-grid { grid-template-columns: repeat(2, 1fr); }

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

/* Mobile: 320px – 639px */
@media (max-width: 639px) {
  :root {
    --gutter: 20px;
    --section-gap: 48px;
  }

  .section-title { font-size: 28px; }

  /* Nav */
  .nav-inner { height: 68px; }
  .hero { padding-top: 68px; }
  .nav-mobile { padding: 16px var(--gutter); }
  .nav-wordmark { height: 40px; }

  /* Hero */
  .hero-photo { height: 300px; }
  .hero-content { padding: 44px var(--gutter); }
  .hero-headline { font-size: 40px; }
  .hero-name { font-size: 22px; }
  .hero-description { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .stat-number { font-size: 32px; }

  /* About mini */
  .about-mini-photo { height: 280px; }

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

  /* Section header */
  .section-header { flex-direction: column; align-items: flex-start; }

  /* Appraisal form */
  .form-row { grid-template-columns: 1fr; }
  .appraisal-form { padding: 28px 20px; }

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

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .rma-badge-row { flex-direction: column; align-items: center; }

  .btn-lg { width: 100%; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0 !important; }
.gap-16 { gap: 16px; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 900;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: floatPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  color: var(--white);
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  animation: none;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7); }
}

/* Tooltip on hover */
.whatsapp-float::before {
  content: 'Chat on WhatsApp';
  position: absolute;
  right: 68px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-float:hover::before { opacity: 1; }

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0, 31, 73, 0.3);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--cyan);
  box-shadow: 0 6px 20px rgba(0, 173, 239, 0.4);
}

/* ============================================================
   SCROLL-TRIGGERED ANIMATIONS
   ============================================================ */

/* Base state — hidden */
.aos {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.aos-up    { transform: translateY(32px); }
.aos-left  { transform: translateX(-32px); }
.aos-right { transform: translateX(32px); }
.aos-scale { transform: scale(0.94); }

/* Visible state */
.aos.aos-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays for grid children */
.aos-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.aos-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.aos-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.aos-stagger > *:nth-child(4) { transition-delay: 0.35s; }

/* Hero entrance animations */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-brokerage  { animation: heroSlideUp 0.7s ease 0.1s both; }
.hero-tagline    { animation: heroSlideUp 0.7s ease 0.2s both; }
.hero-headline   { animation: heroSlideUp 0.7s ease 0.3s both; }
.hero-name       { animation: heroSlideUp 0.7s ease 0.38s both; }
.hero-divider    { animation: heroSlideUp 0.7s ease 0.44s both; }
.hero-description{ animation: heroSlideUp 0.7s ease 0.5s both; }
.hero-actions    { animation: heroSlideUp 0.7s ease 0.6s both; }
.hero-photo      { animation: heroFadeIn  1s   ease 0.2s both; }

/* Stats bar count-up shimmer */
.stat-item { transition: background 0.2s; }

/* ============================================================
   SHELL PAGE STYLES
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 140px var(--gutter) 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.15;
}

@media (max-width: 600px) {
  .page-hero h1 {
    font-size: 32px;
    line-height: 1.1;
  }
  .page-hero p {
    font-size: 15px;
  }
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
}

.coming-soon {
  padding: var(--section-gap) 0;
  text-align: center;
}

.coming-soon i {
  font-size: 56px;
  color: var(--cyan);
  margin-bottom: 24px;
  display: block;
}

.coming-soon h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.coming-soon p {
  font-size: 17px;
  color: var(--gray-mid);
  max-width: 440px;
  margin: 0 auto 32px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Bio Section — 2-col intro */
.about-bio {
  padding: var(--section-gap) var(--gutter);
  background: var(--white);
}

.about-bio-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: start;
}

.about-bio-photo {
  position: relative;
}

.about-bio-photo img {
  width: 100%;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-bio-photo-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  background: var(--cyan);
  border-radius: 4px;
  z-index: -1;
}

.about-bio-text .section-label {
  margin-bottom: 12px;
}

.about-bio-text h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-bio-text p {
  font-size: 17px;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-bio-text p:last-of-type {
  margin-bottom: 32px;
}

.about-bio-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats Strip */
.about-stats {
  background: var(--navy);
  padding: 60px var(--gutter);
}

.about-stats-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.about-stat-item {
  padding: 0 16px;
}

.about-stat-item + .about-stat-item {
  border-left: 1px solid rgba(255,255,255,0.15);
}

.about-stat-number {
  font-size: 52px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* Pillars — "The Leanne Difference" */
.about-pillars {
  padding: var(--section-gap) var(--gutter);
  background: var(--bg-section);
}

.about-pillars-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.about-pillars-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.about-pillars-header h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.about-pillars-header p {
  font-size: 17px;
  color: var(--gray-mid);
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-pillar-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.about-pillar-icon {
  width: 52px;
  height: 52px;
  background: #EBF7FD;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-pillar-icon i {
  font-size: 22px;
  color: var(--cyan);
}

.about-pillar-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.about-pillar-card p {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* Photo Gallery */
.about-gallery {
  padding: var(--section-gap) var(--gutter);
  background: var(--white);
}

.about-gallery-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.about-gallery-header {
  margin-bottom: 40px;
}

.about-gallery-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.about-gallery-header p {
  font-size: 16px;
  color: var(--gray-mid);
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-gallery-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Featured tall photo spans 2 rows */
.about-gallery-grid img.gallery-tall {
  aspect-ratio: 3/5;
  grid-row: span 1;
}

/* About CTA */
.about-cta {
  background: var(--navy);
  padding: 80px var(--gutter);
  text-align: center;
}

.about-cta h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.about-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.about-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── About Responsive ── */
@media (max-width: 1024px) {
  .about-bio-inner {
    grid-template-columns: 340px 1fr;
    gap: 48px;
  }
  .about-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .about-stat-item + .about-stat-item {
    border-left: none;
  }
  .about-stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.15);
  }
  .about-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .about-bio-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-bio-photo {
    max-width: 380px;
    margin: 0 auto;
  }
  .about-pillars-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-bio-text h2 { font-size: 32px; }
  .about-stat-number { font-size: 40px; }
  .about-cta h2 { font-size: 28px; }
}

@media (max-width: 600px) {
  .about-bio,
  .about-stats,
  .about-pillars,
  .about-gallery,
  .about-cta {
    padding-left: 24px;
    padding-right: 24px;
  }
  .about-cta-actions .btn { width: 100%; }
  .about-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   THANK-YOU PAGE
   ============================================================ */

.thankyou-hero {
  background: var(--navy);
  padding: 140px var(--gutter) 80px;
  text-align: center;
}

.thankyou-hero-icon {
  width: 80px;
  height: 80px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.thankyou-hero-icon i {
  font-size: 36px;
  color: var(--white);
}

.thankyou-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.thankyou-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto;
}

/* What Happens Next */
.next-steps {
  padding: 72px var(--gutter);
  background: var(--bg-section);
}

.next-steps-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.next-step-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.next-step-number {
  width: 48px;
  height: 48px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 20px;
}

.next-step-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.next-step-card p {
  font-size: 15px;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* ============================================================
   RESOURCE GUIDES (shared by thank-you.html and resources.html)
   ============================================================ */

.resource-guides {
  padding: var(--section-gap) var(--gutter);
  background: var(--white);
}

.resource-guides-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.resource-guides-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.resource-guides-intro h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.resource-guides-intro p {
  font-size: 17px;
  color: var(--gray-mid);
  line-height: 1.6;
}

.resource-group-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  margin-top: 48px;
}

.resource-group-label:first-of-type {
  margin-top: 0;
}

.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 0;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.resource-card-icon {
  width: 44px;
  height: 44px;
  background: #EBF7FD;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-card-icon i {
  font-size: 20px;
  color: var(--cyan);
}

.resource-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.resource-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
}

.resource-card p {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.55;
  flex: 1;
}

.resource-card .btn {
  margin-top: 4px;
  align-self: flex-start;
}

/* Resources CTA Banner */
.resources-cta {
  background: var(--navy);
  padding: 72px var(--gutter);
  text-align: center;
}

.resources-cta h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.resources-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}

.resources-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .next-steps-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .thankyou-hero h1 { font-size: 36px; }

  .resource-guides-intro h2 { font-size: 28px; }
  .resources-cta h2 { font-size: 28px; }
}

@media (max-width: 600px) {
  .thankyou-hero,
  .next-steps,
  .resource-guides,
  .resources-cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .resource-cards {
    grid-template-columns: 1fr;
  }

  .resources-cta-actions .btn { width: 100%; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Contact channel cards */
.contact-channels {
  padding: var(--section-gap) var(--gutter);
  background: var(--bg-section);
}

.contact-channels-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.contact-channel-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.contact-channel-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  color: var(--navy);
}

.contact-channel-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.contact-channel-icon.phone   { background: #EBF7FD; color: var(--cyan); }
.contact-channel-icon.whatsapp{ background: #E7F9F0; color: #25D366; }
.contact-channel-icon.email   { background: #FFF3E0; color: #E65100; }

.contact-channel-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.contact-channel-card p {
  font-size: 15px;
  color: var(--gray-mid);
  margin: 0;
  line-height: 1.5;
}

.contact-channel-card .contact-channel-action {
  font-size: 17px;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 4px;
}

/* Find section — office + map */
.contact-find {
  padding: var(--section-gap) var(--gutter);
  background: var(--white);
}

.contact-find-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-find-details h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-find-details > p {
  font-size: 16px;
  color: var(--gray-mid);
  margin-bottom: 40px;
}

/* Office detail rows */
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-row-icon {
  width: 40px;
  height: 40px;
  background: #EBF7FD;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-row-icon i {
  font-size: 17px;
  color: var(--cyan);
}

.contact-detail-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail-row-text span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
}

.contact-detail-row-text a,
.contact-detail-row-text p {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin: 0;
  line-height: 1.5;
}

.contact-detail-row-text a:hover {
  color: var(--cyan);
}

/* Social links strip */
.contact-socials-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 16px;
}

.contact-socials-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  color: var(--white);
}

.contact-social-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: var(--white);
}

.contact-social-btn.fb        { background: #1877F2; }
.contact-social-btn.ig        { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.contact-social-btn.li        { background: #0A66C2; }
.contact-social-btn.wa        { background: #25D366; }

/* Map */
.contact-map-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  min-height: 420px;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* Appraisal CTA reuses .resources-cta */

/* ── Contact Responsive ── */
@media (max-width: 960px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-find-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-map-wrap {
    min-height: 320px;
  }

  .contact-map-wrap iframe {
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .contact-channels,
  .contact-find {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ============================================================
   LISTINGS PAGE
   ============================================================ */

/* Filter bar */
.listings-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 80px; /* nav height */
}

.listings-filter-bar .filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.listings-filter-bar select {
  font-family: var(--font);
  font-size: 14px;
  color: var(--navy);
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 32px 8px 12px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23001F49' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  min-width: 160px;
}

.listings-filter-bar select:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}

.listings-filter-bar .filter-count {
  margin-left: auto;
  font-size: 14px;
  color: var(--gray-mid);
}

/* Grid section */
.listings-section {
  background: var(--bg-section);
  padding: 48px var(--gutter) 80px;
  min-height: 60vh;
}

.listings-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Property card */
.listing-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.listing-card-photo {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-lighter);
}

.listing-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.listing-card:hover .listing-card-photo img {
  transform: scale(1.04);
}

.listing-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.listing-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  line-height: 1;
}

.listing-badge.for-sale   { background: var(--cyan);  color: var(--white); }
.listing-badge.sold       { background: var(--cyan);  color: var(--white); }
.listing-badge.open-home  { background: var(--navy);  color: var(--white); }
.listing-badge.new-listing { background: #198754;     color: var(--white); }

/* Headline under address on listing cards */
.listing-headline {
  font-size: 12px;
  color: var(--gray-mid);
  margin: -4px 0 8px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sold stamp — round cyan circle over photo (no longer used, kept for reference) */
.sold-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  border: 3px solid rgba(255,255,255,0.55);
  box-shadow: 0 4px 18px rgba(0,0,0,0.28);
  z-index: 5;
  pointer-events: none;
}
.listing-card-photo.is-sold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
  z-index: 4;
}
.property-card-image .sold-stamp {
  width: 82px;
  height: 82px;
  font-size: 13px;
}

/* Card body */
.listing-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.listing-suburb {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}

.listing-address {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.listing-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.listing-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 500;
}

.listing-spec i {
  color: var(--navy);
  font-size: 13px;
  width: 14px;
  text-align: center;
}

.listing-desc {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid var(--gray-lighter);
  padding-top: 14px;
  margin-top: auto;
  gap: 12px;
}

.listing-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.listing-price-note {
  font-size: 11px;
  color: var(--gray-mid);
  margin-top: 3px;
}

.listing-view-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  border-radius: 4px;
  padding: 7px 14px;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}

.listing-view-btn:hover {
  background: var(--cyan);
  color: var(--white);
}

/* Empty state */
.listings-empty {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 0 40px;
  text-align: center;
}

.listings-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 173, 239, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.listings-empty-icon i {
  font-size: 32px;
  color: var(--cyan);
}

.listings-empty h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.listings-empty p {
  font-size: 17px;
  color: var(--gray-mid);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.listings-empty-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Selling CTA strip */
.listings-sell-cta {
  background: var(--navy);
  padding: 64px var(--gutter);
  text-align: center;
  color: var(--white);
}

.listings-sell-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.listings-sell-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 32px;
}

.listings-sell-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1100px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .listings-filter-bar {
    padding: 12px 24px;
    gap: 10px;
  }

  .listings-filter-bar select {
    min-width: 120px;
  }

  .listings-section {
    padding: 32px 24px 64px;
  }

  .listings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .listings-sell-cta {
    padding: 48px 24px;
  }

  .listings-sell-cta h2 { font-size: 24px; }
}

/* ============================================================
   BLOG INDEX
   ============================================================ */
.blog-section {
  background: var(--bg-section);
  padding: 56px var(--gutter) 88px;
}

.blog-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
#home-blog-grid { margin-top: 48px; }

.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.blog-card-photo {
  height: 200px;
  overflow: hidden;
  background: var(--gray-lighter);
  position: relative;
}

.blog-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-photo img {
  transform: scale(1.05);
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--cyan);
  color: var(--white);
}

.blog-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gray-mid);
  margin-bottom: 10px;
}

.blog-card-meta span { display: flex; align-items: center; gap: 5px; }

.blog-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: calc(1.35em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card p {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}

.blog-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  margin-top: auto;
}

.blog-card-link:hover { gap: 10px; color: var(--cyan-dark); }

/* ============================================================
   BLOG POST (individual article)
   ============================================================ */
.post-hero {
  background: var(--navy);
  padding: 120px var(--gutter) 64px;
  color: var(--white);
  text-align: center;
}

.post-hero .section-label { margin-bottom: 16px; }

.post-hero h1 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 820px;
  margin: 0 auto 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
}

.post-meta span { display: flex; align-items: center; gap: 6px; }

.post-feature-image {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  transform: translateY(-40px);
  margin-bottom: -20px;
}

.post-feature-image picture,
.post-feature-image img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

@media (max-width: 768px) {
  .post-feature-image { padding: 0 16px; transform: translateY(-24px); }
  .post-feature-image picture { height: 220px; }
  .post-feature-image img { height: 220px; border-radius: 8px; }
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px var(--gutter) 80px;
}

.post-body p {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 20px;
}

.post-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin: 44px 0 14px;
  line-height: 1.3;
}

.post-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin: 32px 0 10px;
}

.post-body ul, .post-body ol {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.post-body li {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 6px;
}

.post-body strong { color: var(--navy); font-weight: 600; }

.post-body .post-intro {
  font-size: 19px;
  line-height: 1.7;
  color: var(--gray-dark);
  border-left: 3px solid var(--cyan);
  padding-left: 20px;
  margin-bottom: 32px;
}

.post-body .post-tip {
  background: #EAF7FF;
  border-radius: 6px;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy);
}

.post-body .post-tip strong { color: var(--cyan-dark); }

/* Author card */
.post-author {
  border-top: 1px solid var(--gray-lighter);
  border-bottom: 1px solid var(--gray-lighter);
  padding: 28px 0;
  margin: 48px 0 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.post-author-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-lighter);
}

.post-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-author-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 2px;
}

.post-author-title {
  font-size: 13px;
  color: var(--gray-mid);
}

/* Back to blog */
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-mid);
  margin-bottom: 48px;
  transition: color 0.2s;
}

.post-back:hover { color: var(--cyan); }

/* Blog post CTA */
.post-cta {
  background: var(--navy);
  padding: 64px var(--gutter);
  text-align: center;
  color: var(--white);
}

.post-cta h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.post-cta p  { font-size: 17px; color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 28px; }
.post-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Blog responsive */
@media (max-width: 1000px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-section { padding: 40px 24px 64px; }
  .post-hero { padding: 110px 24px 48px; }
  .post-body { padding: 40px 24px 60px; }
  .post-cta { padding: 48px 24px; }
  .post-cta h2 { font-size: 22px; }
  .post-author { flex-direction: column; text-align: center; }
}

/* ============================================================
   LANGUAGE SELECTOR
   ============================================================ */

/* Font faces for non-Latin scripts */
[lang="zh-Hans"] body,
[lang="zh-Hans"] input,
[lang="zh-Hans"] select,
[lang="zh-Hans"] textarea,
[lang="zh-Hans"] button {
  font-family: 'Noto Sans SC', 'Source Sans 3', sans-serif;
}
[lang="pa"] body,
[lang="pa"] input,
[lang="pa"] select,
[lang="pa"] textarea,
[lang="pa"] button {
  font-family: 'Noto Sans Gurmukhi', 'Source Sans 3', sans-serif;
}

.lang-selector {
  position: relative;
  margin-left: 8px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.lang-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: transparent;
}
.lang-btn .fa-globe { font-size: 12px; opacity: 0.8; }
.lang-btn .lang-arrow {
  font-size: 9px;
  opacity: 0.7;
  transition: transform 0.2s;
}
.lang-btn[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #f4f6f8;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  overflow: hidden;
  min-width: 145px;
  z-index: 200;
  border: 1px solid var(--gray-lighter);
}
.lang-dropdown.open { display: block; }

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.lang-option:hover   { background: rgba(0,0,0,0.05); }
.lang-option.active  { color: var(--cyan); font-weight: 700; }


@media (max-width: 768px) {
  .lang-selector { display: none; }
}

/* ============================================================
   NEWSLETTER BANNER
   ============================================================ */

.newsletter-banner {
  background: var(--navy);
  padding: 80px 0;
}

.newsletter-banner-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.newsletter-banner-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.newsletter-banner h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.newsletter-banner-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin-bottom: 36px;
}

.newsletter-banner-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto 14px;
}

.newsletter-banner-form input[type="email"] {
  flex: 1;
  height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-banner-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.newsletter-banner-form input[type="email"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 173, 239, 0.18);
}

.newsletter-banner-form button {
  height: 50px;
  padding: 0 28px;
  background: var(--cyan);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.newsletter-banner-form button:hover {
  background: var(--cyan-dark);
}

.newsletter-banner-privacy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 4px;
}

.newsletter-banner-success {
  display: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 20px;
}

@media (max-width: 540px) {
  .newsletter-banner {
    padding: 56px 0;
  }

  .newsletter-banner h2 {
    font-size: 28px;
  }

  .newsletter-banner-sub {
    font-size: 15px;
  }

  .newsletter-banner-form {
    flex-direction: column;
  }

  .newsletter-banner-form button {
    width: 100%;
  }
}

/* ── FAQ accordion ───────────────────────────────────────────────────────── */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-lightest);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-lightest);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
  width: 100%;
}

/* Hide native disclosure triangle in all browsers */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 173, 239, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item[open] > .faq-question {
  color: var(--cyan);
}

.faq-item[open] > .faq-question::after {
  transform: rotate(180deg);
  background: rgba(0, 173, 239, 0.18);
}

.faq-answer {
  padding: 0 4px 24px;
}

.faq-answer p {
  color: var(--gray-dark);
  line-height: 1.8;
  margin: 0;
  font-size: 15px;
}

/* ── Honeypot spam protection ────────────────────────────────────────────── */
.hp-field {
  display: none !important;
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
