/* ================================================
   Ali Annabi | Canadian Home Sale — Shared Styles
   ================================================ */

:root {
  --navy: #1A1A40;       /* midnight indigo */
  --navy-dark: #0F0F2A;  /* deep indigo */
  --navy-light: #2D2D5A; /* lifted indigo */
  --gold: #D4B98C;       /* champagne — primary accent */
  --gold-dark: #B89870;  /* deeper champagne for hover */
  --gold-soft: #FAF4E8;  /* faint champagne tint */
  
  --rose: #C9939C;       /* dusty rose — secondary accent */
  --rose-dark: #B07881;  /* deeper rose for hover */
  --ink: #1A1A1A;
  --ink-soft: #3A3A3A;
  --grey: #6B6B6B;
  --grey-mid: #8B8B8B;
  --grey-light: #E6E9F0;
  --grey-bg: #F5F4EF;
  --paper: #FCFCFA;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(15, 30, 60, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 30, 60, 0.16);
  --shadow-sm: 0 4px 14px rgba(15, 30, 60, 0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1180px;
  --max-w-narrow: 900px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

/* ============ NAV ============ */
.nav {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1.2;
}
.nav-brand img.brand-logo {
  height: 110px;
  width: auto;
  max-width: 260px;
  display: block;
  margin: -8px 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  object-fit: contain;
}
.nav-brand:hover img.brand-logo {
  opacity: 0.92;
  transform: translateY(-1px);
}
@media (max-width: 880px) {
  .nav-brand img.brand-logo { height: 130px; margin: -20px 0; }
}
@media (max-width: 720px) {
  .nav-brand img.brand-logo { height: 68px; max-width: 170px; margin: -4px 0; }
}
.nav-brand:hover img.brand-logo { opacity: 0.92; }
/* Legacy text lockup kept as fallback / SR — hidden visually */
.nav-brand .name, .nav-brand .sub { display: none; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: #DDE3EE;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: #0F0F1F !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.1s;
}
.nav-cta:hover { background: #E5CEA0; color: #0F0F1F !important; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-inner { flex-wrap: wrap; }
  .nav.open .nav-links {
    display: flex;
    width: 100%;
    background: var(--navy-dark);
    padding: 12px 0 20px;
    margin-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav.open .nav-links a, .nav.open .nav-links .nav-cta {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    text-align: left;
  }
  .nav.open .nav-links .nav-cta {
    background: var(--gold);
    color: #0F0F1F;
    text-align: center;
    margin: 12px 24px 0;
    border-radius: 6px;
    border: none;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--gold);
    transition: all 0.25s;
  }
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 90px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.hero h1 .gold { color: var(--gold); }
.hero p.lead {
  font-size: 18px;
  color: #DDE3EE;
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #0F0F1F;
  font-weight: 700;
}
.btn-primary:hover { background: #E5CEA0; color: var(--navy); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: var(--gold); }
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-2px); }

/* Hero image / placeholder card */
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: attr(data-tag);
  position: absolute;
  top: -14px;
  right: 26px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 3px;
  padding: 6px 14px;
  border-radius: 4px;
}
.hero-card h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.hero-card p {
  color: var(--grey);
  font-size: 14px;
  margin-bottom: 18px;
}
.hero-card .features {
  list-style: none;
  margin-bottom: 24px;
}
.hero-card .features li {
  padding: 7px 0 7px 28px;
  position: relative;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.hero-card .features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 800;
}

/* Trust band */
.trust-band {
  background: var(--navy-dark);
  padding: 30px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.trust-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 24px;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #B8C0D0;
  font-size: 13px;
}
.trust-item strong {
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  display: block;
  letter-spacing: 0.5px;
}
.trust-item-feature {
  flex: 2;
  padding: 0 16px;
  border-left: 1px solid rgba(255,255,255,0.12);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.trust-item-feature strong {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .trust-item-feature { border-left: none; border-right: none; padding: 16px 0; }
}

/* Premium trust band — compact, single centered row with awards + brokerage */
.trust-band-premium {
  padding: 10px 24px 8px;
  background: linear-gradient(180deg, var(--navy-dark), var(--navy));
}
.trust-band-premium .trust-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.awards-mini-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}
.award-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 8px;
  min-width: 120px;
}
.award-mini .award-name {
  font-size: 8px;
  letter-spacing: 2px;
  color: rgba(212,185,140,0.8);
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.2;
}
.award-mini img {
  width: 38px;
  height: 38px;
  display: block;
  margin: 1px 0;
  filter: drop-shadow(0 2px 5px rgba(212,185,140,0.24));
}
.award-mini .award-winner {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  letter-spacing: 3.5px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
}
.award-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(212,185,140,0.06) 18%,
    rgba(212,185,140,0.32) 50%,
    rgba(212,185,140,0.06) 82%,
    transparent 100%);
}
.affiliation-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(212,185,140,0.7);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(212,185,140,0.12);
  width: 100%;
  max-width: 720px;
}
.affiliation-row .affiliation-sep {
  color: rgba(212,185,140,0.3);
  margin: 0 2px;
}
/* legacy footer (kept for other pages) */
.trust-band-footer {
  font-size: 10px;
  letter-spacing: 3.5px;
  color: rgba(212,185,140,0.75);
  text-transform: uppercase;
  font-weight: 600;
}
.trust-band-footer .divider {
  color: rgba(212,185,140,0.35);
  margin: 0 12px;
}
@media (max-width: 720px) {
  .trust-band-premium { padding: 8px 12px; }
  .brand-tagline { font-size: 11px; }
  .awards-mini-row { gap: 10px; flex-wrap: nowrap; }
  .award-mini { min-width: 0; padding: 0 3px; }
  .award-mini img { width: 30px; height: 30px; }
  .award-mini .award-name { font-size: 6.5px; letter-spacing: 1.2px; }
  .award-mini .award-winner { font-size: 9px; letter-spacing: 2.4px; }
  .affiliation-row { font-size: 7.5px; letter-spacing: 1.4px; gap: 4px; }
  .affiliation-row .affiliation-sep { margin: 0; }
}

/* Hero eyebrow — script variant */
.hero-eyebrow.script-eyebrow {
  font-family: 'Great Vibes', 'Brush Script MT', cursive;
  font-size: 38px;
  letter-spacing: 0;
  text-transform: none;
  border: none;
  padding: 0;
  background: transparent;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(212,185,140,0.15);
}
@media (max-width: 580px) {
  .hero-eyebrow.script-eyebrow { font-size: 30px; }
}

/* ============ SECTIONS ============ */
section.block {
  padding: 90px 24px;
}
section.block.alt { background: var(--white); }
section.block.dark {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}
section.block.gold-tint { background: linear-gradient(135deg, var(--gold-soft), #F5EFE0); }

.block-inner { max-width: var(--max-w); margin: 0 auto; }
.block-inner.narrow { max-width: var(--max-w-narrow); }

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.dark .section-eyebrow { color: var(--gold); }
.block h2 {
  color: var(--navy);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.dark h2 { color: var(--white); }
.block h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.dark h3 { color: var(--white); }
.block p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.dark p { color: #C9CFDE; }
.section-intro {
  font-size: 18px;
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.section-center { text-align: center; }
.section-center .section-intro { margin-left: auto; margin-right: auto; }

.gold-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 18px 0 24px;
  border-radius: 2px;
}
.section-center .gold-rule { margin-left: auto; margin-right: auto; }

/* ============ CARDS ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card-grid.two-col { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 22px;
}
.card .badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 11px;
  border-radius: 4px;
  margin-bottom: 18px;
  align-self: flex-start;
  text-transform: uppercase;
}
.card h3 {
  color: var(--navy);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}
.card-link {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-top: auto;
}
.card-link:hover { color: var(--navy); }

/* ============ FEATURE LIST ============ */
.feature-list {
  list-style: none;
  margin: 18px 0;
}
.feature-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  border-bottom: 1px solid var(--grey-light);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 18px;
}
.feature-list strong { color: var(--ink); }

/* ============ TWO-COL CONTENT ============ */
.two-col-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.two-col-content .col-img {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  letter-spacing: 2px;
  text-align: center;
  padding: 30px;
  border: 1px dashed rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
}
.col-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Photo placeholder for headshots */
.photo-placeholder {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(255,255,255,0.2);
}

/* Real photo styling — drop-in for ali-casual.jpg / ali-professional.jpg */
.ali-photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
  display: block;
}
.ali-photo-wide {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  display: block;
}
.ali-photo-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--gold);
}
.photo-frame {
  position: relative;
  display: inline-block;
  width: 100%;
}
.photo-frame::before {
  content: "";
  position: absolute;
  top: 18px; left: 18px; right: -18px; bottom: -18px;
  background: linear-gradient(135deg, var(--gold) 0%, transparent 80%);
  border-radius: var(--radius);
  z-index: 0;
}
.photo-frame .ali-photo,
.photo-frame .ali-photo-wide {
  position: relative;
  z-index: 1;
}

/* ============ AWARDS / CREDENTIALS ============ */
.awards-band {
  background: linear-gradient(135deg, var(--gold-soft), #F5EFE0);
  padding: 50px 24px;
  border-top: 1px solid rgba(212,185,140, 0.3);
  border-bottom: 1px solid rgba(212,185,140, 0.3);
}
.awards-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.awards-band .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.award-card {
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.award-card .award-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 24px;
  box-shadow: 0 6px 18px rgba(212,185,140, 0.35);
}
.award-card h4 {
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.award-card .award-sub {
  color: var(--grey);
  font-size: 13px;
  line-height: 1.55;
}
.award-card .ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--navy);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 4px;
}
@media (max-width: 880px) {
  .awards-grid { grid-template-columns: 1fr; }
}

/* Inline award chips for header / nav area */
.award-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}
.award-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,185,140, 0.18);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212,185,140, 0.4);
  text-transform: uppercase;
}
.award-chip::before {
  content: "★";
  font-size: 12px;
  color: var(--gold);
}

/* ============ PROCESS / STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), var(--gold), transparent);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(212,185,140,0.25);
}
.dark .step-num { background: var(--navy); color: var(--gold); }
.step h4 {
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.dark .step h4 { color: var(--white); }
.step p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.dark .step p { color: #B8C0D0; }

/* ============ TESTIMONIALS ============ */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-light);
  padding: 32px 28px;
  position: relative;
}
.testimonial .quote {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial .author-info {
  font-size: 14px;
  line-height: 1.4;
}
.testimonial .author-name { color: var(--navy); font-weight: 700; }
.testimonial .author-loc { color: var(--grey); font-size: 13px; }
.testimonial .stars { color: var(--gold); margin-bottom: 10px; font-size: 14px; }

.placeholder-tile {
  background: var(--gold-soft);
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: var(--gold-dark);
  font-size: 14px;
  text-align: center;
  line-height: 1.7;
}
.placeholder-tile .hint { color: var(--grey); font-size: 12px; margin-top: 10px; font-style: italic; }

/* ============ VALUATION HERO TAGLINE ============ */
.valuation-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  line-height: 1.55;
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.2px;
  margin: 34px 0 8px;
  padding: 0;
  max-width: 560px;
  position: relative;
}

.valuation-tagline::before {
  content: "";
  display: block;
  width: 54px;
  height: 1.5px;
  background: var(--gold);
  margin: 0 0 22px;
}

/* RTL adjustment for Farsi page */
html[dir="rtl"] .valuation-tagline {
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 19px;
}
html[dir="rtl"] .valuation-tagline::before {
  margin-right: 0;
}

/* ============ TESTIMONIAL CARDS ============ */
.testimonial-grid {
  gap: 28px;
  margin-top: 36px;
  text-align: left;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 38px 32px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(26, 26, 64, 0.08);
  border-color: var(--gold);
}

.testimonial-card:hover::before { transform: scaleX(1); }

.testimonial-quote-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 88px;
  line-height: 0.5;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
  user-select: none;
  pointer-events: none;
}

.testimonial-rating {
  color: var(--gold);
  letter-spacing: 5px;
  font-size: 14px;
  margin: 0 0 18px;
}

.testimonial-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--navy);
  margin: 0 0 24px;
  font-style: italic;
  font-weight: 400;
  flex-grow: 1;
}

.testimonial-rule {
  width: 42px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  flex-shrink: 0;
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
}

.testimonial-meta {
  font-size: 11px;
  color: var(--gold-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 600;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212,185,140,0.08) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
}
.cta-band-inner {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  color: var(--white);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-band p {
  color: #C9CFDE;
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FAQ ============ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: var(--gold); }
.faq-q {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: "+";
  color: var(--gold-dark);
  font-size: 22px;
  font-weight: 600;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 24px 22px; }

/* ============ FORMS ============ */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form-card h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.form-card .sub {
  color: var(--grey);
  font-size: 14px;
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-grid label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,185,140, 0.18);
}
.form-grid textarea { resize: vertical; min-height: 80px; }
.submit-btn {
  width: 100%;
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.submit-btn:hover { background: var(--navy-dark); }
.submit-btn:active { transform: translateY(1px); }
.fine-print {
  font-size: 11px;
  color: var(--grey);
  margin-top: 12px;
  line-height: 1.5;
}
.success-msg {
  display: none;
  background: #ECF6EC;
  border: 1.5px solid #4F9F4F;
  color: #1F5C1F;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 14px;
}
.success-msg.show { display: block; }

/* ============ YOUTUBE EMBED ============ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 16px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--grey-light);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb::after {
  content: "▶";
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 22px;
  padding-left: 5px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.video-card:hover .video-thumb::after { transform: scale(1.08); }
.video-card .meta {
  padding: 16px 18px 20px;
}
.video-card .title {
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.video-card .info {
  color: var(--grey);
  font-size: 12px;
}

/* ============ FOOTER ============ */
footer.site-footer {
  background: var(--navy-dark);
  color: #9CA5B8;
  padding: 60px 24px 24px;
  font-size: 14px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h5 {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col p, .footer-col li {
  color: #9CA5B8;
  font-size: 14px;
  line-height: 1.7;
  list-style: none;
}
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: #9CA5B8; }
.footer-col a:hover { color: var(--gold); }
.footer-brand .brand-name {
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.footer-brand .brand-name .accent { color: var(--gold); }
.footer-brand .brand-sub {
  color: var(--grey-light);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 13px; line-height: 1.7; color: #B0B9CC; max-width: 320px; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .copy { color: #6E7790; font-size: 12px; line-height: 1.6; max-width: 700px; }
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,185,140,0.10);
  color: var(--gold);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(212,185,140,0.25);
}
.footer-bottom .socials a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212,185,140,0.4);
}
.footer-bottom .socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Contact page social button grid (full chips with icon + label) */
.social-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 420px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(212,185,140,0.0);
}
.social-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
  transition: fill 0.25s ease;
}
.social-btn:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(19,41,75,0.25);
  border-color: var(--gold);
  color: var(--white);
}
.social-btn:hover svg { fill: var(--gold); }
@media (max-width: 540px) {
  .social-buttons-grid { grid-template-columns: 1fr; }
}

/* ============ SOLD LISTINGS ============ */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 8px;
}
.listing-card {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(15, 24, 42, 0.08);
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.listing-photo {
  height: 220px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  letter-spacing: 2px;
  text-align: center;
  padding: 20px;
  background-size: cover;
  background-position: center;
}
.listing-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.0) 50%);
}
.listing-status {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--rose);
  color: var(--navy);
  padding: 5px 11px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}
.listing-status.sold-over {
  background: #2E7D32;
  color: var(--white);
}
.listing-meta {
  padding: 22px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.listing-meta .neighbourhood {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.listing-meta .address {
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.listing-meta .details {
  display: flex;
  gap: 18px;
  color: var(--grey);
  font-size: 13px;
  margin-bottom: 14px;
}
.listing-meta .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--grey-light);
  margin-top: auto;
}
.listing-meta .price-row .label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--grey);
  text-transform: uppercase;
}
.listing-meta .price-row .price {
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
}
.listing-meta .price-row .over {
  color: var(--green-dark, #2E7D32);
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 960px) { .listing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .listing-grid { grid-template-columns: 1fr; } }

/* ============ PREMIUM GUIDES (Resources page) ============ */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.guide-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--grey-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.guide-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,30,60,0.14);
  border-color: var(--gold);
}
.guide-card:hover::before { opacity: 1; }

.guide-cover {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 70%, var(--navy-light) 100%);
  padding: 28px 22px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  border-bottom: 2px solid var(--gold);
}
.guide-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212,185,140,0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}
.guide-eyebrow {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}
.guide-cover-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  position: relative;
  max-width: 220px;
  margin: 0 auto;
}
.guide-cover-rule {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
  position: relative;
}
.guide-meta {
  padding: 20px 22px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.guide-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.guide-badge {
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--gold-soft);
  color: var(--gold-dark);
}
.guide-badge.dark {
  background: var(--navy);
  color: var(--gold);
}
.guide-title {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.1px;
}
.guide-tagline {
  color: var(--grey);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.guide-cta {
  color: var(--gold-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.guide-card:hover .guide-cta { gap: 12px; color: var(--navy); }
@media (max-width: 960px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .guides-grid { grid-template-columns: 1fr; }
}

/* ============ AWARDS STRIP (Master Sales / President Gold / Sales Achievement) ============ */
.awards-strip {
  background: linear-gradient(135deg, #0A1A33 0%, #13294B 50%, #1F3A66 100%);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.awards-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,185,140,0.6), transparent);
}
.awards-strip::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,185,140,0.6), transparent);
}
.awards-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.awards-strip .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.awards-strip h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 40px;
  letter-spacing: 1px;
}
.awards-strip h3 .accent {
  font-family: 'Allura', 'Brush Script MT', cursive;
  color: var(--gold);
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
}
.awards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}
.award-pillar {
  padding: 24px 28px;
  border-left: 1px solid rgba(212,185,140,0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.award-pillar:first-child { border-left: none; }
.award-pillar .icon-frame {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.award-pillar .icon-frame img {
  width: 100%;
  height: 100%;
  display: block;
}
.award-pillar .name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #C9CFDE;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.award-pillar .winner {
  font-size: 26px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .awards-row { grid-template-columns: 1fr; }
  .award-pillar { border-left: none; border-top: 1px solid rgba(212,185,140,0.18); padding: 26px 16px; }
  .award-pillar:first-child { border-top: none; }
  .awards-strip h3 { font-size: 18px; }
  .awards-strip h3 .accent { font-size: 26px; }
}
@media (max-width: 720px) {
  .award-pillar .winner { font-size: 22px; }
  .award-pillar .icon-frame { width: 78px; height: 78px; }
}

/* Allura font for any script accent */
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

/* ============ NEWSLETTER ============ */
.newsletter-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 70px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.newsletter-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(212,185,140,0.08) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  pointer-events: none;
}
.newsletter-band-inner {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.newsletter-band .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.newsletter-band h2 {
  color: var(--white);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.newsletter-band p.lead {
  color: #C9CFDE;
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 15px 18px;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
.newsletter-form button {
  padding: 15px 26px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(212,185,140,0.3);
}
.newsletter-form button:hover { background: #E5CEA0; box-shadow: 0 10px 28px rgba(212,185,140,0.45); transform: translateY(-2px); }
.newsletter-fine {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  margin-top: 14px;
}
.newsletter-success {
  display: none;
  background: rgba(46, 125, 50, 0.15);
  border: 1px solid rgba(46, 125, 50, 0.5);
  color: #B8E0BA;
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 14px;
  font-size: 14px;
}
.newsletter-success.show { display: block; }

/* Mini footer newsletter signup */
.footer-newsletter {
  margin-top: 18px;
}
.footer-newsletter form {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.footer-newsletter input[type="email"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  color: var(--white);
  font-size: 13px;
  font-family: inherit;
}
.footer-newsletter input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter button {
  padding: 10px 14px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.footer-newsletter button:hover { background: #E5CEA0; }
@media (max-width: 580px) {
  .newsletter-band h2 { font-size: 26px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input, .newsletter-form button { width: 100%; }
}

/* ============ PREMIUM POLISH ============ */
/* Refined body typography */
body {
  font-feature-settings: "kern", "liga", "calt", "ss01";
  text-rendering: optimizeLegibility;
}
/* Subtle scroll-reveal effect via CSS only - elements fade in */
section.block, .blog-card, .card, .award-card, .testimonial {
  animation: fadeUp 0.6s ease backwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Refined section transitions — soft top edge gradient */
section.block.alt { position: relative; }
section.block.alt::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--grey-light), transparent);
}
/* Premium link underline animation */
.card-link, .read-more, .blog-content a {
  position: relative;
  display: inline-block;
  transition: color 0.2s;
}
.blog-content a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(212,185,140, 0.3);
}
.blog-content a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
/* Elevated hero card hover */
.hero-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* Premium button refinement */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.6s ease;
}
.btn:hover::after { left: 100%; }
.btn-primary { box-shadow: 0 6px 18px rgba(212,185,140,0.30); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(212,185,140,0.45); }
/* Refined photo treatment — subtle gold accent line */
.ali-photo, .ali-photo-wide {
  position: relative;
}
.photo-frame { position: relative; }
.photo-frame::after {
  content: "";
  position: absolute;
  top: -8px; left: -8px;
  width: 60px; height: 60px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}
/* Premium nav with gradient on scroll feeling */
.nav {
  background: linear-gradient(to bottom, var(--navy-dark), var(--navy));
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.nav-brand .name {
  background: linear-gradient(to right, #fff 0%, #fff 60%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
/* Eyebrows and small text refinement */
.hero-eyebrow, .section-eyebrow, .article-category {
  position: relative;
  display: inline-block;
}
/* Service cards — premium top border accent */
.card {
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover::before { transform: scaleX(1); }

/* Trust band — premium border treatment */
.trust-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
}
.trust-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.trust-band::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(212,185,140,0.20);
}
/* Refined cta-band */
.cta-band {
  position: relative;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
/* Refined h2 with gold pinstripe */
.block h2, .article-header h1, .blog-hero h1 {
  text-shadow: 0 1px 2px rgba(19, 41, 75, 0.04);
}



/* ============ PAGE HEADER (non-home pages) ============ */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 70px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
}
.page-header-inner {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-header .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-header h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}
.page-header .lead {
  font-size: 18px;
  color: #DDE3EE;
  max-width: 640px;
  margin: 0 auto;
}

/* ============ PREMIUM DESIGN TOUCHES ============ */
/* Subtle paper texture on light backgrounds */
section.block, footer.site-footer { position: relative; }
section.block.alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(19, 41, 75, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}
/* Refined hero card with gold pinstripe */
.hero h1 {
  font-feature-settings: "ss01", "ss02";
  letter-spacing: -0.8px;
}
/* Gold pinstripe accent (decorative) */
.gold-pinstripe {
  display: inline-block;
  width: 50px; height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-dark));
  margin-right: 14px;
  vertical-align: middle;
}
/* Drop cap for blog posts */
.blog-content > p:first-of-type::first-letter {
  font-size: 56px;
  font-weight: 800;
  color: var(--gold-dark);
  float: left;
  line-height: 1;
  margin: 6px 12px -2px 0;
  font-family: Georgia, "Times New Roman", serif;
}
/* ============ BLOG ============ */
.blog-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 24px 70px;
  position: relative;
  overflow: hidden;
}
.blog-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  pointer-events: none;
}
.blog-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.blog-hero h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.blog-hero p.lead { font-size: 18px; color: #DDE3EE; max-width: 700px; margin: 0 auto; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
/* Blog cards — premium "guide card" treatment to match Resources style */
.blog-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--grey-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 30, 60, 0.14);
  border-color: var(--gold);
}
.blog-card:hover::before { opacity: 1; }

.blog-card .cover {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 70%, var(--navy-light) 100%);
  padding: 36px 22px 30px;
  text-align: center;
  color: #fff;
  position: relative;
  border-bottom: 2px solid var(--gold);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.25;
}
.blog-card .cover::before {
  content: "ARTICLE";
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
html[lang="fa"] .blog-card .cover::before { content: "مقاله"; letter-spacing: 2px; }

/* ============ LANGUAGE TOGGLE (EN | فا) in nav ============ */
.nav-lang {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(212,185,140,0.45);
  border-radius: 999px;
  overflow: hidden;
  margin-right: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.nav-lang a {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #DDE3EE;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.nav-lang a + a { border-left: 1px solid rgba(212,185,140, 0.35); }
.nav-lang a.active {
  background: var(--gold);
  color: var(--navy-dark);
}
.nav-lang a:hover:not(.active) { color: var(--gold); }
.nav-lang .fa {
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

@media (max-width: 880px) {
  .nav-lang {
    margin: 14px 24px 0;
    align-self: flex-start;
  }
  .nav.open .nav-lang { display: inline-flex; }
}
.blog-card .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212,185,140, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}
/* Gold rule beneath the cover title */
.blog-card .cover > * { position: relative; z-index: 1; }

.blog-card .meta {
  padding: 22px 22px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-card .category {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  margin-bottom: 12px;
  align-self: flex-start;
}
.blog-card .title {
  color: var(--navy);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.1px;
}
.blog-card .excerpt {
  color: var(--grey);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.blog-card .read-more {
  color: var(--gold-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.blog-card:hover .read-more { gap: 12px; color: var(--navy); }
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

/* Article page */
.article-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 80px 24px 70px;
  position: relative;
  overflow: hidden;
}
.article-header::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  pointer-events: none;
}
.article-header-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.article-category {
  display: inline-block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.article-header h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -0.4px;
}
.article-meta {
  color: #B8C0D0;
  font-size: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.article-meta strong { color: var(--gold); font-weight: 700; }
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}
.blog-content h2 {
  color: var(--navy);
  font-size: 26px;
  font-weight: 800;
  margin: 36px 0 14px;
  letter-spacing: -0.3px;
}
.blog-content h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 8px;
}
.blog-content p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.blog-content strong { color: var(--ink); font-weight: 700; }
.blog-content ul { margin: 12px 0 18px 0; padding-left: 22px; }
.blog-content li {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 8px;
}
.blog-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin: 22px 0;
  color: var(--navy);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
}
.blog-callout {
  background: var(--gold-soft);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 26px 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.7;
}
.blog-callout strong { color: var(--navy); }
.article-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  margin: 36px 0 8px;
  border: 2px solid var(--gold);
}
.article-cta h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.article-cta p { color: #C9CFDE; font-size: 15px; margin-bottom: 18px; }
.related-posts {
  background: var(--paper);
  border-top: 1px solid var(--grey-light);
  padding: 60px 24px;
}
.related-posts-inner { max-width: var(--max-w-narrow); margin: 0 auto; }
.related-posts h3 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 24px;
  letter-spacing: -0.2px;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.related-card {
  background: var(--white);
  padding: 18px 20px;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}
.related-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.related-card .category {
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.related-card .title { color: var(--navy); font-weight: 700; font-size: 14px; line-height: 1.4; }

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .blog-hero h1 { font-size: 38px; }
  .article-header h1 { font-size: 30px; }
}
@media (max-width: 580px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-content p, .blog-content li { font-size: 16px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid, .two-col-content { grid-template-columns: 1fr; gap: 40px; }
  .card-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 42px; }
  .block h2, .cta-band h2 { font-size: 30px; }
  .page-header h1 { font-size: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 580px) {
  .hero { padding: 60px 20px 70px; }
  .hero h1 { font-size: 32px; }
  .hero-card { padding: 28px 22px; }
  .card-grid, .video-grid, .card-grid.two-col { grid-template-columns: 1fr; }
  section.block { padding: 60px 20px; }
  .block h2 { font-size: 26px; }
  .cta-band { padding: 60px 20px; }
  .cta-band h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-band-inner { gap: 18px; }
  .trust-item strong { font-size: 20px; }
}

/* ================================================
   NAV DROPDOWN MENUS (Sellers + Buyers hover menus)
   ================================================ */
.nav-links li.has-dropdown { position: relative; padding-bottom: 18px; margin-bottom: -18px; }
.nav-links li.has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
/* Invisible bridge — keeps hover alive when crossing the gap to the dropdown */
.nav-links li.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 18px;
  z-index: 999;
}
.nav-links .caret {
  font-size: 9px;
  opacity: 0.7;
  transform: translateY(1px);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-links li.has-dropdown:hover > a .caret,
.nav-links li.has-dropdown:focus-within > a .caret {
  opacity: 1;
  transform: translateY(1px) rotate(180deg);
}
.nav-links .dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 30, 60, 0.08);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(15, 30, 60, 0.22);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 1000;
}
.nav-links .dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #FFFFFF;
  border-top: 1px solid rgba(15, 30, 60, 0.08);
  border-left: 1px solid rgba(15, 30, 60, 0.08);
}
.nav-links li.has-dropdown:hover > .dropdown,
.nav-links li.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}
.nav-links .dropdown li { margin: 0; }
.nav-links .dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: background 0.15s, color 0.15s;
}
.nav-links .dropdown a:hover,
.nav-links .dropdown a.active {
  background: var(--gold-soft);
  color: var(--navy-dark);
}
.nav-links .dropdown a.active { font-weight: 700; }

@media (max-width: 880px) {
  .nav-links .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 0 18px;
    min-width: 0;
    transition: none;
  }
  .nav-links .dropdown::before { display: none; }
  .nav-links .dropdown a {
    color: #B8C2D6;
    padding: 10px 24px;
    border-radius: 0;
  }
  .nav-links .dropdown a:hover,
  .nav-links .dropdown a.active { background: transparent; color: var(--gold); }
  .nav-links .caret { display: none; }
}

/* ================================================
   TOOL CARDS GRID (Seller + Buyer landing pages)
   ================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFAF6 100%);
  border: 1px solid rgba(15, 30, 60, 0.08);
  border-radius: 18px;
  padding: 28px 26px 26px;
  box-shadow: 0 6px 22px rgba(15, 30, 60, 0.06);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.tool-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
  opacity: 0.85;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(15, 30, 60, 0.14);
  border-color: rgba(212,185,140, 0.4);
}
.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(15, 30, 60, 0.18);
}
.tool-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  color: var(--navy-dark);
  margin-bottom: 10px;
  letter-spacing: 0.1px;
}
.tool-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 18px;
  flex: 1;
}
.tool-card .tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.tool-card .tool-cta::after {
  content: "→";
  transition: transform 0.2s ease;
}
.tool-card:hover .tool-cta::after { transform: translateX(4px); }
.tool-card .tool-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ================================================
   NOISY NEIGHBOUR HERO + FORM CARD
   ================================================ */
.noisy-hero {
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(212,185,140,0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.noisy-hero h1 .gold { color: var(--gold); font-style: italic; font-family: "Playfair Display", Georgia, serif; }
.noisy-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 30, 60, 0.08);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 30, 60, 0.10);
  margin-top: -90px;
  position: relative;
  overflow: hidden;
}
.noisy-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
}
.noisy-card-inner { padding: 44px 44px 40px; }
@media (max-width: 720px) {
  .noisy-card { margin-top: -60px; border-radius: 16px; }
  .noisy-card-inner { padding: 30px 22px 28px; }
}

.noisy-form { margin-top: 24px; }
.form-row { margin-bottom: 16px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row .required { color: var(--gold-dark); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(15, 30, 60, 0.16);
  border-radius: 10px;
  background: #FCFCFA;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus, .form-row select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,185,140, 0.18);
}
.checkbox-row {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  text-transform: none !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: var(--ink-soft) !important;
}
.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.checkbox-row span { line-height: 1.5; }
.btn-full { width: 100%; text-align: center; padding: 16px 22px; font-size: 15px; }
.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--grey);
  text-align: center;
}

/* ================================================
   CALCULATOR SHELL (Mortgage / LTT / Affordability)
   ================================================ */
.calc-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}
@media (max-width: 880px) { .calc-shell { grid-template-columns: 1fr; } }

.calc-inputs {
  background: #FFFFFF;
  border: 1px solid rgba(15, 30, 60, 0.08);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(15, 30, 60, 0.06);
  padding: 32px 30px;
}
.calc-field { margin-top: 20px; }
.calc-field:first-of-type { margin-top: 20px; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.calc-field label.checkbox-row { display: flex !important; justify-content: flex-start; }
.calc-unit { font-size: 11px; font-weight: 500; color: var(--grey); text-transform: none; letter-spacing: 0; }
.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.calc-input-wrap .prefix,
.calc-input-wrap .suffix {
  position: absolute;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-dark);
  pointer-events: none;
}
.calc-input-wrap .prefix { left: 16px; }
.calc-input-wrap .suffix { right: 16px; }
.calc-input-wrap input {
  width: 100%;
  padding: 14px 16px 14px 32px;
  border: 1.5px solid rgba(15, 30, 60, 0.16);
  border-radius: 10px;
  background: #FCFCFA;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-dark);
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.calc-input-wrap input:has(+ .suffix),
.calc-input-wrap input + .suffix ~ input {
  padding-right: 36px;
}
.calc-input-wrap input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,185,140, 0.18);
}
.calc-field > select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(15, 30, 60, 0.16);
  border-radius: 10px;
  background: #FCFCFA;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-dark);
  font-family: inherit;
}
.calc-field > select:focus { outline: none; border-color: var(--gold); }
.calc-field input[type="range"] {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--gold);
}

.calc-output {
  position: sticky;
  top: 110px;
}
.calc-output-inner {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 32px 30px;
  box-shadow: 0 18px 50px rgba(15, 30, 60, 0.28);
  position: relative;
  overflow: hidden;
}
.calc-output-inner::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; height: 200%;
  background: radial-gradient(closest-side, rgba(212,185,140,0.16), transparent);
  pointer-events: none;
}
.calc-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  position: relative;
}
.calc-headline {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  color: #FFFFFF;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 22px;
  position: relative;
}
.calc-headline .calc-prefix { font-size: 28px; color: var(--gold); }
.calc-headline .calc-period { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.6); margin-left: 6px; }
@media (max-width: 540px) { .calc-headline { font-size: 40px; } .calc-headline .calc-prefix { font-size: 22px; } }

.calc-rows { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; position: relative; }
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}
.calc-row:last-child { border-bottom: none; }
.calc-row-label { color: rgba(255,255,255,0.7); }
.calc-row-value { color: #FFFFFF; font-weight: 700; font-family: "Playfair Display", Georgia, serif; font-size: 15.5px; }
.calc-row-total { padding-top: 14px; margin-top: 6px; border-top: 1.5px solid rgba(212,185,140,0.5); }
.calc-row-total .calc-row-label { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; font-size: 12px; }
.calc-row-total .calc-row-value { color: var(--gold); font-size: 18px; }
.calc-rebate { color: #84E0A0 !important; }
.calc-note {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  position: relative;
}

/* ================================================
   SELLER / BUYER HUB INTRO BLOCK
   ================================================ */
.hub-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 8px;
  text-align: center;
}

/* ===========================================================
   ============ COMPREHENSIVE RESPONSIVE LAYER ===============
   Targets: tiny phones / phones / tablets / laptops / 4K
   =========================================================== */

/* Graceful placeholder for missing listing photos.
   We DO NOT touch the background here — the inline background-image must win.
   Instead we put the placeholder (gradient + 🏠 + label) into a ::before layer
   that sits behind the photo. When the image loads, JS sets data-photo-loaded="true"
   on the cell and the placeholder fades out. When the file is missing, the
   placeholder stays visible. */
.listing-photo {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.listing-photo > .placeholder-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.25s ease;
}
.listing-photo > .placeholder-layer::before {
  content: "🏠";
  font-size: 56px;
  opacity: 0.35;
}
.listing-photo > .placeholder-layer::after {
  content: "Photo coming soon";
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}
/* Keep the badge floating in the top-left corner of the photo, above the
   placeholder layer and any overlay gradients. */
.listing-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
/* When data-photo-loaded="true" is set by JS, hide the placeholder so the
   real photo shows through. */
.listing-photo[data-photo-loaded="true"] > .placeholder-layer {
  opacity: 0;
  visibility: hidden;
}

/* Universal safety: stop any element from overflowing horizontally */
html, body { overflow-x: hidden; max-width: 100vw; }
img, video, iframe, svg { max-width: 100%; height: auto; }
table { max-width: 100%; }
pre, code { white-space: pre-wrap; word-wrap: break-word; }

/* ============ LARGE DESKTOP (1440px+) — keep container readable ============ */
@media (min-width: 1440px) {
  .nav-inner, .block-inner, .hero-inner, .page-header-inner,
  .footer-grid, .cta-band-inner, .newsletter-band-inner,
  .trust-band-inner { max-width: 1240px; }
  .hero h1 { font-size: 56px; }
  .block h2 { font-size: 38px; }
}

/* ============ STANDARD LAPTOP / SMALL DESKTOP (1100–1440px) — default works ============ */
/* nothing extra needed; existing CSS handles this */

/* ============ SMALL LAPTOP / LARGE TABLET (960–1100px) ============ */
@media (max-width: 1100px) {
  .nav-inner, .block-inner, .hero-inner, .page-header-inner { padding-left: 28px; padding-right: 28px; }
  .hero h1 { font-size: 40px; line-height: 1.15; }
  .block h2 { font-size: 30px; }
  .card-grid { gap: 18px; }
  .tools-grid { gap: 18px; }
}

/* ============ TABLET / iPAD PORTRAIT (720–960px) ============ */
@media (max-width: 960px) {
  /* Hero: collapse two-column to single column */
  .hero-grid, .two-col-content { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 60px 24px 50px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 16px; }
  .photo-frame { max-width: 480px; margin: 0 auto; }
  .ali-photo-wide, .ali-photo { width: 100%; max-width: 460px; margin: 0 auto; display: block; }

  /* Card grids: 2 columns instead of 3 */
  .card-grid, .video-grid, .tools-grid, .guides-grid, .blog-grid, .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section padding */
  section.block, .cta-band, .newsletter-band { padding: 60px 24px; }
  .block h2 { font-size: 28px; }
  .section-intro { font-size: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 28px; }

  /* Calculator: stack inputs and output panel */
  .calc-shell { grid-template-columns: 1fr; gap: 22px; }
  .calc-output { position: static; }

  /* Page header */
  .page-header h1 { font-size: 34px; }
  .page-header .lead { font-size: 16px; }
}

/* ============ MOBILE / LARGE PHONE (540–720px) ============ */
@media (max-width: 720px) {
  /* Nav stays in hamburger mode (already set elsewhere) */
  .nav-inner { padding: 10px 18px; }

  /* Card grids: single column */
  .card-grid, .video-grid, .tools-grid, .guides-grid, .blog-grid, .listing-grid,
  .steps {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Hero spacing & sizing */
  .hero { padding: 40px 20px 40px; }
  .hero h1 { font-size: 30px; letter-spacing: -0.4px; }
  .hero .lead { font-size: 15px; line-height: 1.55; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; text-align: center; }

  /* Page header */
  .page-header { padding: 50px 20px 40px; }
  .page-header h1 { font-size: 28px; line-height: 1.2; }
  .page-header .lead { font-size: 15px; }
  .page-header .eyebrow { font-size: 11px; }

  /* Block / section padding */
  section.block, .cta-band, .newsletter-band, .block.alt, .block.gold-tint {
    padding: 44px 20px;
  }
  .block-inner, .block-inner.narrow { padding: 0; }
  .block h2 { font-size: 24px; line-height: 1.25; }
  .section-intro { font-size: 15px; }
  .gold-rule { margin: 12px 0 18px; }

  /* Cards */
  .card { padding: 22px 20px; }
  .card h3 { font-size: 18px; }
  .card p { font-size: 14.5px; line-height: 1.6; }
  .tool-card { padding: 22px 20px 22px; }
  .tool-card h3 { font-size: 19px; }
  .tool-icon { width: 48px; height: 48px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 50px 20px 30px; }
  .footer-col h5 { margin-bottom: 12px; font-size: 14px; }
  .footer-bottom { padding: 20px; flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom .copy { font-size: 11px; }
  .footer-bottom .socials { justify-content: center; }

  /* CTA band */
  .cta-band h2 { font-size: 24px; }
  .cta-band p { font-size: 15px; }
  .btn-group { flex-direction: column; gap: 10px; width: 100%; }
  .btn-group .btn { width: 100%; text-align: center; }

  /* Calculator on phone */
  .calc-inputs, .calc-output-inner { padding: 22px 20px; }
  .calc-headline { font-size: 36px; }
  .calc-headline .calc-prefix { font-size: 20px; }
  .calc-field { margin-top: 16px; }
  .calc-input-wrap input { font-size: 16px; padding: 12px 14px 12px 28px; }

  /* Forms */
  .form-row.two-col { grid-template-columns: 1fr !important; gap: 14px; }
  .form-row input, .form-row select, .form-row textarea { font-size: 16px; padding: 12px 14px; }
  /* Stop iOS zoom on focus: input font-size >= 16px is the trick */

  /* Trust band awards */
  .trust-band-inner { padding: 20px 16px; }
  .awards-mini-row { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .award-mini img { width: 32px; height: 32px; }
  .award-mini span { font-size: 10px; }
  .trust-band-footer { font-size: 12px; margin-top: 10px; }

  /* Lead magnet PDF tile — straighten on mobile */
  .gold-tint .two-col-content > div:first-child > div { transform: rotate(-1deg) !important; padding: 36px 22px !important; }
  .gold-tint .two-col-content > div:first-child > div > div:nth-child(2) { font-size: 22px !important; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input { width: 100%; }
  .newsletter-form button { width: 100%; }
  .newsletter-band h2 { font-size: 24px; }
  .newsletter-band p.lead { font-size: 14.5px; }

  /* Noisy / form cards */
  .noisy-card-inner { padding: 28px 20px 26px; }
  .noisy-card h2 { font-size: 22px; }

  /* Blog cards */
  .blog-card .cover { min-height: 130px; padding: 26px 18px 22px; font-size: 19px; }
  .blog-card .meta { padding: 18px 18px 20px; }
  .blog-card .title { font-size: 15.5px; }

  /* Page-specific quick fixes */
  .blog-hero h1 { font-size: 30px; }
  .blog-hero p.lead { font-size: 15px; }
}

/* ============ SMALL PHONE (380–540px) ============ */
@media (max-width: 540px) {
  /* Hero */
  .hero h1 { font-size: 26px; }
  .hero .lead { font-size: 14px; }
  .page-header h1 { font-size: 24px; }
  .page-header .lead { font-size: 14px; }

  /* Block padding tighter */
  section.block, .cta-band, .newsletter-band { padding: 36px 16px; }
  .nav-inner { padding: 8px 14px; }

  .block h2 { font-size: 22px; }
  .cta-band h2 { font-size: 22px; }

  /* Buttons */
  .btn { font-size: 13.5px; padding: 12px 18px; }
  .btn-primary, .btn-dark, .btn-secondary { width: 100%; text-align: center; }

  /* Calculator headline shrinks more */
  .calc-headline { font-size: 32px; }
  .calc-headline .calc-prefix { font-size: 18px; }
  .calc-row-value { font-size: 14px; }

  /* Card grid stays single column */
  .card { padding: 20px 16px; }
  .card h3 { font-size: 17px; }

  /* Footer text sizes */
  .footer-grid { padding: 40px 16px 26px; }
  .footer-col p { font-size: 13.5px; }

  /* Trust band */
  .award-mini { flex-basis: 30%; }
  .award-mini img { width: 28px; height: 28px; }
}

/* ============ TINY PHONE / iPhone SE (< 380px) ============ */
@media (max-width: 380px) {
  body { font-size: 14px; }
  .hero h1 { font-size: 22px; }
  .page-header h1 { font-size: 22px; }
  .block h2 { font-size: 20px; }
  .cta-band h2 { font-size: 20px; }
  .nav-brand img.brand-logo { height: 56px; }
  .calc-headline { font-size: 28px; }
  .calc-headline .calc-prefix { font-size: 16px; }
  section.block, .cta-band, .newsletter-band { padding: 32px 14px; }
  .nav-inner { padding: 8px 12px; }
}

/* ============ RTL (Farsi) safety: keep layout intact on all screens ============ */
html[dir="rtl"] .hero-btns,
html[dir="rtl"] .btn-group { flex-direction: row; }
@media (max-width: 720px) {
  html[dir="rtl"] .hero-btns,
  html[dir="rtl"] .btn-group { flex-direction: column; }
}
html[dir="rtl"] .footer-bottom { direction: rtl; }
html[dir="rtl"] .calc-row { direction: rtl; }
html[dir="rtl"] .blog-card .read-more::after { content: "←"; }
html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] select { text-align: right; }
html[dir="rtl"] .calc-input-wrap .prefix { left: auto; right: 16px; }
html[dir="rtl"] .calc-input-wrap .suffix { right: auto; left: 16px; }
html[dir="rtl"] .calc-input-wrap input { padding: 14px 32px 14px 16px; }

/* ============ TOUCH DEVICE: improve tap targets ============ */
@media (hover: none) and (pointer: coarse) {
  .btn, .card-link, .nav-links a, .nav-cta, .tool-cta {
    min-height: 44px; /* Apple/Google accessibility minimum */
    line-height: 1.3;
  }
  /* Disable hover-only dropdowns on touch — use tap-to-open */
  .nav-links li.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
}

/* ============ PRINT: clean print rendering ============ */
@media print {
  .nav, .site-footer, .cta-band, .newsletter-band, .nav-toggle, .nav-lang-wrap { display: none !important; }
  body, .block { color: black; background: white; }
  a { color: black; text-decoration: underline; }
}

/* ============ REDUCED MOTION: respect user preferences ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* ===========================================================
   ============ AT-A-GLANCE QUICK FACTS CARD =================
   Replaces the couch photo on homepage About Ali section.
   =========================================================== */
.quick-facts {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: 14px;
  padding: 30px 28px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15,15,42,0.15);
  border: 1px solid rgba(212,185,140,0.18);
}
.quick-facts::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top left, rgba(212,185,140,0.20), transparent 60%);
  pointer-events: none;
}
.quick-facts .qf-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.quick-facts .qf-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
}
.quick-facts .qf-row:last-of-type { border-bottom: none; }
.quick-facts .qf-num {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.quick-facts .qf-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.quick-facts .qf-label span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  margin-top: 3px;
  letter-spacing: 0.2px;
}
.quick-facts .qf-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(212,185,140,0.20);
  text-align: center;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(212,185,140,0.85);
  font-weight: 600;
  position: relative;
  z-index: 1;
}
/* RTL (Farsi) adjustments — keep the numbers on the right edge */
html[dir="rtl"] .quick-facts .qf-row { flex-direction: row-reverse; }
html[dir="rtl"] .quick-facts .qf-label { text-align: right; }

/* Tablet & mobile: stack into single column smoothly */
@media (max-width: 880px) {
  .quick-facts { margin-top: 30px; padding: 26px 22px; }
  .quick-facts .qf-num { width: 60px; font-size: 24px; }
  .quick-facts .qf-label { font-size: 14px; }
}

/* ===========================================================
   ============ BRAND PHOTO CARD ==============================
   Used on homepage (replaces quick-facts) and About page
   (replaces service-area card). Keeps the same outer
   dimensions but shows a single hero-style image instead.
   =========================================================== */
.brand-photo-card {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15,15,42,0.15);
  display: block;
  /* Vertically center this card inside its two-col-content grid cell
     so the photo aligns with the middle of the longer text block on
     its left, instead of pinning to the top. */
  align-self: center;
}
.brand-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
/* Match the same column behaviour as the old quick-facts on mobile */
@media (max-width: 880px) {
  .brand-photo-card { margin-top: 30px; }
}

/* ===========================================================
   ============ SELLERS PAGE — 4 STEP BLOCKS ==================
   Large alternating photo + content rows. Photo on one side,
   detailed text on the other. Mobile stacks photo on top.
   =========================================================== */
.step-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.step-block + .step-block {
  border-top: 1px solid var(--grey-light);
}
.step-block.reverse .step-img-wrap { order: 2; }
.step-block.reverse .step-text     { order: 1; }
.step-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15,15,42,0.18);
  background: var(--navy);
}
.step-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.step-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.step-text h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 8px;
}
.step-text .step-sub {
  font-style: italic;
  color: var(--gold-dark);
  font-size: 17px;
  margin-bottom: 18px;
}
.step-text > p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.step-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}
.step-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

/* Mobile: stack photo above text, single column */
@media (max-width: 880px) {
  .step-block {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px;
  }
  .step-block.reverse .step-img-wrap { order: 1; }
  .step-block.reverse .step-text     { order: 2; }
  .step-img { min-height: 260px; max-height: 360px; }
  .step-text h3 { font-size: 26px; }
}

/* RTL adjustments for Farsi */
html[dir="rtl"] .step-list li { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .step-list li::before { left: auto; right: 0; content: "←"; }
