/* ============================================================
   RELOCATE2MINNESOTA.COM — Main Stylesheet
   Demyan Trofimovich | Trofimovich Group | eXp Realty
   ============================================================ */

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

/* === CSS VARIABLES === */
:root {
  --navy: #1B2A4A;
  --navy-mid: #243760;
  --navy-light: #2D4A8A;
  --gold: #C8A96E;
  --gold-dark: #A8884E;
  --gold-light: #E8D5AA;
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --light-gray: #EEF2F7;
  --border: #DDE4EE;
  --text-dark: #1A1A2E;
  --text-mid: #4A5568;
  --text-light: #6B7280;
  --green: #2D7D52;
  --green-bg: #E8F5EE;
  --orange-bg: #FFF3E8;
  --orange: #C05621;
  --shadow-sm: 0 1px 4px rgba(27,42,74,.07);
  --shadow-md: 0 4px 20px rgba(27,42,74,.11);
  --shadow-lg: 0 10px 40px rgba(27,42,74,.16);
  --shadow-xl: 0 20px 60px rgba(27,42,74,.2);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: .25s ease;
  --max: 1200px;
  --nav-h: 78px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; font-size: 16px; line-height: 1.7; color: var(--text-dark); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === UTILITIES === */
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--navy); }
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.8); }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow { font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.gold { color: var(--gold-dark); }
.navy { color: var(--navy); }
.text-center { text-align: center; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.fw-6 { font-weight: 600; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: .93rem; font-weight: 600; cursor: pointer; transition: all .25s ease; border: 2px solid transparent; line-height: 1; white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 18px 38px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: .82rem; }
.btn-full { width: 100%; }

/* === NAVIGATION === */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); height: var(--nav-h); transition: box-shadow var(--transition); }
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-wrap img.logo-img { height: 44px; width: auto; }
.logo-text-wrap .logo-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.logo-text-wrap .logo-tag { font-size: .65rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: .82rem; font-weight: 500; color: var(--text-dark); padding: 7px 11px; border-radius: 6px; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--light-gray); }
.nav-cta { margin-left: 14px; padding: 10px 22px; font-size: .82rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--white); z-index: 999; overflow-y: auto; padding: 16px 24px 40px; flex-direction: column; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1rem; font-weight: 500; color: var(--navy); padding: 14px 16px; border-radius: var(--radius); border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { background: var(--light-gray); }
.mobile-nav .mobile-cta { margin-top: 16px; }

/* === PAGE HERO === */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%); padding: calc(var(--nav-h) + 64px) 0 72px; position: relative; overflow: hidden; }
.page-hero::after { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 70% 50%, rgba(200,169,110,.08) 0%, transparent 70%); pointer-events:none; }
.page-hero .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,.3); }
.page-hero .eyebrow { font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 600px; }
.page-hero p:last-child { margin-bottom: 0; }

/* === HOME HERO === */
.hero { min-height: 92vh; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #2D4A8A 100%); display: flex; align-items: center; padding: calc(var(--nav-h) + 60px) 0 80px; position: relative; overflow: hidden; }
.hero::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 80% 30%, rgba(200,169,110,.08) 0%, transparent 60%), radial-gradient(ellipse at 10% 70%, rgba(200,169,110,.06) 0%, transparent 50%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(200,169,110,.12); border: 1px solid rgba(200,169,110,.28); border-radius: 50px; padding: 7px 18px; font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.82); margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; padding-top: 44px; border-top: 1px solid rgba(255,255,255,.14); }
.hs-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.hs-label { font-size: .75rem; color: rgba(255,255,255,.65); margin-top: 5px; font-weight: 500; }
.hero-photo-wrap { position: relative; }
.hero-photo-wrap img { border-radius: var(--radius-xl); width: 100%; max-width: 460px; object-fit: cover; height: 560px; box-shadow: 0 24px 70px rgba(0,0,0,.35); margin: 0 auto; }
.hero-badge-card { position: absolute; bottom: -18px; left: -18px; background: var(--white); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow-xl); }
.hbc-title { font-weight: 700; font-size: .88rem; color: var(--navy); }
.hbc-sub { font-size: .72rem; color: var(--text-light); margin-top: 3px; }
.hero-award { position: absolute; top: 24px; right: -12px; background: var(--gold); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-md); text-align: center; }
.hero-award .award-line1 { font-size: .65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.hero-award .award-line2 { font-size: 1.1rem; font-weight: 700; color: var(--navy); font-family: 'Playfair Display', serif; }

/* === CARDS === */
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 26px; }

/* === SUBURB CARDS === */
.suburb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.suburb-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; }
.suburb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sc-top { padding: 20px 22px 16px; }
.sc-region { display: inline-flex; padding: 4px 11px; border-radius: 50px; font-size: .72rem; font-weight: 700; margin-bottom: 10px; }
.r-east { background: #E3F0FF; color: #1565C0; }
.r-south { background: #E8F5E9; color: #2E7D32; }
.r-southwest { background: #F3E5F5; color: #6A1B9A; }
.r-west { background: #FFF3E0; color: #BF360C; }
.r-northwest { background: #EDE7F6; color: #4527A0; }
.r-north { background: #FCE4EC; color: #880E4F; }
.r-closein { background: #E0F2F1; color: #00695C; }
.sc-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.sc-tagline { font-size: .82rem; color: var(--text-light); margin-bottom: 14px; }
.sc-price { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.sc-price-label { font-size: .72rem; color: var(--text-light); margin-bottom: 4px; font-weight: 500; }
.sc-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 14px 22px; background: var(--off-white); border-top: 1px solid var(--border); }
.scs-item { text-align: center; }
.scs-val { font-weight: 700; font-size: .88rem; color: var(--navy); }
.scs-lab { font-size: .68rem; color: var(--text-light); margin-top: 2px; }
.sc-footer { padding: 12px 22px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.sc-school { font-size: .8rem; color: var(--text-mid); }
.sc-rating { display: flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--navy); }
.stars { color: var(--gold); font-size: .8rem; }

/* === FILTER BAR === */
.filter-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 32px; box-shadow: var(--shadow-sm); }
.filter-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.fg { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }
.fg label { font-size: .72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--text-light); }
.fg select, .fg input { padding: 9px 14px; border: 1.5px solid var(--border); border-radius: 7px; font-size: .9rem; color: var(--text-dark); background: var(--white); outline: none; font-family: 'Inter', sans-serif; }
.fg select:focus, .fg input:focus { border-color: var(--navy-light); }
.fg-search { flex: 1; min-width: 200px; }
.filter-results { font-size: .85rem; color: var(--text-light); margin-bottom: 20px; }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-light); font-size: 1rem; grid-column: 1/-1; }

/* === SUBURB MODAL === */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 2000; overflow-y: auto; padding: 40px 24px; align-items: flex-start; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: var(--radius-lg); max-width: 760px; width: 100%; position: relative; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: translateY(0); } }
.modal-head { padding: 30px 34px; background: var(--navy); border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: relative; }
.modal-head h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 6px; }
.modal-head .mh-region { font-size: .8rem; color: rgba(255,255,255,.7); }
.modal-close { position: absolute; top: 20px; right: 22px; background: rgba(255,255,255,.15); border: none; color: var(--white); width: 34px; height: 34px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.modal-close:hover { background: rgba(255,255,255,.3); }
.modal-body { padding: 32px 34px; }
.modal-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.ms { text-align: center; background: var(--off-white); border-radius: var(--radius); padding: 16px 10px; }
.ms-num { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.ms-lab { font-size: .68rem; color: var(--text-light); margin-top: 4px; }
.modal-desc { margin-bottom: 24px; font-size: .95rem; }
.modal-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.pros-box, .cons-box { border-radius: var(--radius); padding: 18px; }
.pros-box { background: var(--green-bg); }
.cons-box { background: var(--orange-bg); }
.pros-box h4 { color: var(--green); font-size: .85rem; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.cons-box h4 { color: var(--orange); font-size: .85rem; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.pros-box li, .cons-box li { font-size: .87rem; display: flex; gap: 8px; padding: 4px 0; color: var(--text-mid); }
.pros-box li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.cons-box li::before { content: '→'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.modal-best-for { background: #EEF2F8; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.modal-best-for .label { font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--navy-light); margin-bottom: 8px; }
.best-for-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bft { background: var(--white); border: 1px solid var(--border); border-radius: 50px; padding: 4px 14px; font-size: .8rem; font-weight: 500; color: var(--navy); }
.modal-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }

/* === SCHOOL CARDS === */
.school-card { padding: 28px; }
.school-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.school-badge { width: 68px; height: 68px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.sb-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; line-height: 1; }
.sb-denom { font-size: .6rem; opacity: .7; margin-top: 1px; }
.school-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.school-isd { font-size: .78rem; font-weight: 600; color: var(--gold-dark); margin-bottom: 4px; }
.school-towns { font-size: .8rem; color: var(--text-light); }
.school-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.ss-item { text-align: center; }
.ss-val { font-weight: 700; font-size: 1rem; color: var(--navy); }
.ss-lab { font-size: .68rem; color: var(--text-light); margin-top: 3px; }
.honest-box { background: #FFF8EE; border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; }
.honest-box .hb-label { font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.honest-box p { font-size: .87rem; margin: 0; }
.school-rating-bar { margin-top: 14px; }
.srb-label { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.srb-track { height: 8px; background: var(--light-gray); border-radius: 50px; }
.srb-fill { height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--navy), var(--navy-light)); }

/* === COST OF LIVING === */
.col-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.col-hs { background: rgba(255,255,255,.1); border-radius: var(--radius); padding: 20px; border: 1px solid rgba(255,255,255,.15); }
.col-hs .ch-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--gold); }
.col-hs .ch-lab { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 6px; }
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.compare-table thead th { background: var(--navy); color: var(--white); padding: 14px 18px; text-align: center; font-family: 'Inter', sans-serif; font-weight: 600; font-size: .83rem; white-space: nowrap; }
.compare-table thead th:first-child { text-align: left; }
.compare-table thead th.mn-th { background: var(--gold-dark); color: var(--navy); }
.compare-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); text-align: center; color: var(--text-mid); }
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text-dark); }
.compare-table tr:hover td { background: var(--off-white); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .mn-td { background: rgba(200,169,110,.08); font-weight: 700; color: var(--navy); }
.savings-pill { display: inline-flex; align-items: center; gap: 5px; background: var(--green-bg); color: var(--green); padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 700; }
.col-category { padding: 28px; }
.col-cat-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.col-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--light-gray); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.col-bar-item { margin-bottom: 16px; }
.col-bar-label { display: flex; justify-content: space-between; font-size: .83rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.col-bar-sub { font-size: .72rem; color: var(--text-light); font-weight: 400; }
.col-track { height: 9px; background: var(--light-gray); border-radius: 50px; }
.col-fill { height: 100%; border-radius: 50px; background: #CBD5E0; }
.col-fill.mn { background: var(--gold); }

/* === RESOURCES / BLOG === */
.article-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ac-img { width: 100%; height: 190px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.ac-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.ac-cat { display: inline-flex; padding: 3px 10px; border-radius: 50px; font-size: .72rem; font-weight: 700; background: var(--light-gray); color: var(--navy-light); margin-bottom: 10px; }
.ac-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 8px; }
.article-card:hover .ac-title { color: var(--gold-dark); }
.ac-excerpt { font-size: .87rem; color: var(--text-mid); flex: 1; line-height: 1.65; }
.ac-meta { display: flex; align-items: center; gap: 12px; font-size: .75rem; color: var(--text-light); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.ac-read { display: flex; align-items: center; gap: 5px; font-size: .83rem; font-weight: 600; color: var(--navy-light); margin-top: 14px; }
.article-card:hover .ac-read { color: var(--gold-dark); }

/* Full article page */
.article-full { max-width: 760px; margin: 0 auto; }
.article-full h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.article-full h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.article-full p { font-size: 1rem; line-height: 1.8; color: var(--text-mid); margin-bottom: 18px; }
.article-full ul, .article-full ol { padding-left: 24px; margin-bottom: 18px; }
.article-full ul { list-style: disc; }
.article-full ol { list-style: decimal; }
.article-full li { font-size: .97rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 8px; }
.article-full .callout { background: var(--off-white); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 24px 0; }
.article-full .callout p { margin: 0; font-style: italic; }

/* === BIO PAGE === */
.bio-photo { border-radius: var(--radius-xl); width: 100%; max-width: 440px; object-fit: cover; box-shadow: var(--shadow-xl); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-box { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat-box .sbn { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-box .sbl { font-size: .8rem; color: rgba(255,255,255,.75); margin-top: 8px; }
.credential-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.cred-icon { width: 46px; height: 46px; background: var(--light-gray); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.cred-title { font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: 3px; }
.cred-desc { font-size: .85rem; color: var(--text-mid); }

/* === CONTACT PAGE === */
.contact-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 40px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: .84rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: .93rem; font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--white); transition: border-color var(--transition); outline: none; }
.form-control:focus { border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(45,74,138,.1); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-info-card { background: var(--navy); border-radius: var(--radius-lg); padding: 36px; color: var(--white); }
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.ci-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.ci-icon { width: 42px; height: 42px; background: rgba(255,255,255,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-label { font-size: .75rem; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.ci-value { font-size: .93rem; color: rgba(255,255,255,.9); font-weight: 500; }
.ci-value a { color: rgba(255,255,255,.9); }
.ci-value a:hover { color: var(--gold); }
.calendly-wrap { background: var(--white); border-radius: var(--radius); overflow: hidden; margin-top: 28px; min-height: 600px; }

/* === TESTIMONIALS === */
.testimonial-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 28px; }
.tc-stars { color: var(--gold); font-size: 1rem; margin-bottom: 14px; }
.tc-text { font-size: .93rem; color: var(--text-mid); font-style: italic; line-height: 1.75; margin-bottom: 20px; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--light-gray); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; color: var(--navy); flex-shrink: 0; }
.tc-name { font-weight: 700; font-size: .88rem; color: var(--navy); }
.tc-from { font-size: .78rem; color: var(--text-light); }

/* === CTA SECTION === */
.cta-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 80px 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 560px; margin: 0 auto 32px; }
.cta-section .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === INFO BOXES === */
.info-box { border-radius: var(--radius); padding: 18px 22px; margin: 16px 0; }
.info-box.gold { background: #FFF8EE; border-left: 4px solid var(--gold); }
.info-box.navy { background: #EEF2F8; border-left: 4px solid var(--navy); }
.info-box.green { background: var(--green-bg); border-left: 4px solid var(--green); }
.info-box .ib-title { font-weight: 700; font-size: .85rem; margin-bottom: 6px; color: var(--text-dark); }
.info-box p { margin: 0; font-size: .9rem; }

/* === FEATURE ICONS === */
.feature-card { padding: 30px 26px; }
.fc-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--light-gray); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.fc-title { font-size: 1.05rem; margin-bottom: 8px; }
.fc-desc { font-size: .9rem; color: var(--text-mid); }

/* === FOOTER === */
.footer { background: var(--navy); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 52px; }
.footer-brand .fb-logo { height: 38px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.7; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.7); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; }
.footer-contact-row a { font-size: .85rem; color: rgba(255,255,255,.7); }
.footer-contact-row a:hover { color: var(--gold); }
.footer-contact-row span { font-size: .85rem; color: rgba(255,255,255,.65); }
.footer-contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { font-size: .78rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom a:hover { color: var(--gold); }
.footer-fair-housing { border-top: 1px solid rgba(255,255,255,.06); padding-top: 14px; margin-top: 10px; text-align: center; font-size: .7rem; color: rgba(255,255,255,.28); line-height: 1.65; width: 100%; }
.footer-fair-housing strong { color: rgba(255,255,255,.42); }
/* Google Reviews placeholder */
.google-reviews-embed { width: 100%; }
.reviews-placeholder { display: flex; justify-content: center; padding: 2rem 0; }
.reviews-placeholder-inner { background: var(--off-white); border: 2px dashed var(--gold); border-radius: 16px; padding: 3rem 2.5rem; max-width: 640px; width: 100%; text-align: center; }
.google-logo { height: 32px; margin-bottom: 1rem; opacity: .85; }
.reviews-stars { font-size: 2rem; color: #fbbc04; margin-bottom: .4rem; letter-spacing: 2px; }
.reviews-score { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.reviews-desc { color: var(--text-mid); margin-bottom: 1.5rem; font-size: .92rem; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.footer-logo-sub { font-size: .6rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.footer-logo-wrap { margin-bottom: 18px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .2s, border-color .2s, transform .2s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; fill: rgba(255,255,255,.75); transition: fill .2s; }
.footer-social a:hover svg { fill: var(--navy); }

/* === MISC === */
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; padding: 5px 14px; border-radius: 50px; font-size: .78rem; font-weight: 600; background: var(--light-gray); color: var(--text-mid); }
.icon-check-list { display: flex; flex-direction: column; gap: 10px; }
.icl-item { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--text-mid); }
.icl-item .icl-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.numbered-list { counter-reset: step; display: flex; flex-direction: column; gap: 16px; }
.nl-item { display: flex; gap: 16px; align-items: flex-start; }
.nl-num { counter-increment: step; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.nl-content h4 { font-size: 1rem; margin-bottom: 4px; }
.nl-content p { font-size: .88rem; margin: 0; }
.sticky-cta { position: fixed; bottom: 24px; right: 24px; z-index: 900; }
.highlight-gold { background: rgba(200,169,110,.15); border-radius: 4px; padding: 2px 6px; color: var(--gold-dark); font-weight: 600; }
.two-col-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col-content.reverse { }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.badge-item { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 18px; display: flex; align-items: center; gap: 10px; }
.badge-item .bi-icon { font-size: 1.3rem; }
.badge-item .bi-text { font-size: .83rem; font-weight: 600; color: var(--navy); }

/* === DROPDOWN NAV === */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle { background: none; border: none; font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 500; color: var(--text-dark); padding: 7px 11px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; gap: 4px; transition: background var(--transition), color var(--transition); }
.nav-dropdown-toggle:hover, .nav-dropdown.open .nav-dropdown-toggle { color: var(--navy); background: var(--light-gray); }
.nav-dd-arrow { font-size: .68rem; transition: transform .2s; display: inline-block; line-height: 1; }
.nav-dropdown.open .nav-dd-arrow { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 210px; padding: 6px; z-index: 200; opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; }
.nav-dropdown.open .nav-dd-menu { opacity: 1; visibility: visible; }
.nav-dd-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 6px; font-size: .83rem; font-weight: 500; color: var(--text-dark); }
.nav-dd-menu a:hover { background: var(--light-gray); color: var(--navy); }
.mobile-nav-heading { font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); padding: 16px 16px 4px; border-bottom: none; }

/* === FAQ ACCORDION === */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { font-weight: 700; font-size: .97rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; gap: 16px; user-select: none; }
.faq-q:hover { color: var(--navy-light); }
.faq-toggle { font-size: 1.5rem; font-weight: 300; color: var(--gold-dark); flex-shrink: 0; transition: transform .25s; line-height: 1; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a { font-size: .93rem; color: var(--text-mid); padding-bottom: 20px; display: none; line-height: 1.75; }
.faq-a.open { display: block; }

/* === PROCESS TIMELINE === */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process-steps::before { content:''; position:absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%); z-index: 0; pointer-events:none; }
.ps-item { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.ps-num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; flex-shrink: 0; box-shadow: 0 4px 16px rgba(27,42,74,.25); }
.ps-week { font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.ps-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.ps-desc { font-size: .82rem; color: var(--text-light); line-height: 1.6; }

/* === STATE COMPARISON PAGES === */
.compare-hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.chs-item { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 20px; text-align: center; }
.chs-label { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.chs-mn { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.chs-vs { font-size: .72rem; color: rgba(255,255,255,.4); margin: 3px 0; }
.chs-state { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: rgba(255,255,255,.75); text-decoration: line-through; }
.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th { background: var(--navy); color: var(--white); font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 14px 20px; text-align: left; }
.compare-table th:not(:first-child) { text-align: center; }
.compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: .93rem; color: var(--text-dark); }
.compare-table td:not(:first-child) { text-align: center; font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--off-white); }
.td-win { color: var(--green); }
.td-neutral { color: var(--text-mid); font-weight: 500 !important; }
.td-cat { font-weight: 500; color: var(--text-dark); }
.suburb-rec { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.suburb-rec-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.src-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.src-why { font-size: .82rem; color: var(--text-mid); }

/* === CHECKLIST PAGE === */
.checklist-section { margin-bottom: 36px; }
.checklist-section h3 { font-size: 1.2rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.checklist-item { display: flex; align-items: flex-start; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.checklist-item:last-child { border-bottom: none; }
.cl-box { width: 20px; height: 20px; border: 2px solid var(--navy); border-radius: 4px; flex-shrink: 0; margin-top: 2px; }
.cl-text { font-size: .93rem; color: var(--text-dark); line-height: 1.5; }
.cl-sub { font-size: .8rem; color: var(--text-light); margin-top: 2px; }
@media print { .header, .mobile-nav, .cta-section, footer, .btn, .no-print { display: none !important; } body { padding: 0; } .section { padding: 20px 0; } }

/* === RESPONSIVE === */
@media (max-width:1100px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-grid { gap: 48px; }
  .suburb-grid { grid-template-columns: repeat(2,1fr); }
  .col-hero-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:768px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { display: none; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .grid-2, .grid-3, .suburb-grid { grid-template-columns: 1fr; }
  .two-col-content { grid-template-columns: 1fr; }
  .modal-stats { grid-template-columns: repeat(2,1fr); }
  .modal-pros-cons { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .filter-row { flex-direction: column; }
  .fg { min-width: unset; width: 100%; }
  .school-stats-row { grid-template-columns: repeat(2,1fr); }
  .modal-body { padding: 22px; }
  .contact-card { padding: 24px; }
  .section { padding: 60px 0; }
  .compare-table { font-size: .78rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .compare-hero-stats { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .suburb-rec { grid-template-columns: 1fr; }
}
@media (max-width:480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .modal-stats { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-section .cta-btns { flex-direction: column; align-items: center; }
  .col-hero-stats { grid-template-columns: 1fr 1fr; }
  .school-stats-row { grid-template-columns: 1fr 1fr; }
}
