/* =============================================
   WA Stamp Duty Calculator — Main Stylesheet
   ============================================= */

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

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-pale: #FDF6E3;
  --navy: #0D1F3C;
  --navy-mid: #1A3260;
  --navy-light: #2B4A82;
  --slate: #4A5568;
  --mist: #F4F7FB;
  --white: #FFFFFF;
  --green: #1E7D5B;
  --green-light: #E8F5EF;
  --red: #C0392B;
  --red-light: #FDECEA;
  --border: #DEE5EF;
  --shadow-sm: 0 2px 8px rgba(13,31,60,0.07);
  --shadow-md: 0 6px 24px rgba(13,31,60,0.12);
  --shadow-lg: 0 16px 48px rgba(13,31,60,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.25;
}

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

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

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---- HEADER ---- */
.site-header {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}

.logo-text span { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 32px; }

.site-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after { width: 100%; }
.site-nav a.active { color: var(--gold); }
.site-nav a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light); color: var(--navy) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.9rem;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero h1 span { color: var(--gold); }

.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 460px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-feat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

.hero-feat svg { color: var(--gold); flex-shrink: 0; }

/* ---- CALCULATOR CARD ---- */
.calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.calc-header {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-header h2 {
  font-size: 1.15rem;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.calc-updated {
  font-size: 0.75rem;
  color: rgba(13,31,60,0.65);
  background: rgba(255,255,255,0.5);
  padding: 3px 10px;
  border-radius: 100px;
}

.calc-body { padding: 28px; }

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.input-wrap {
  position: relative;
}

.input-wrap .prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
}

.input-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 34px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--mist);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.input-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: var(--white);
}

select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--mist);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  outline: none;
  transition: border-color var(--transition);
}

select:focus { border-color: var(--gold); }

.toggle-group {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}

.toggle-group label {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

.toggle-group input[type="radio"] { display: none; }

.toggle-group input[type="radio"]:checked + label {
  background: var(--navy);
  color: var(--white);
}

.calc-btn {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  margin-top: 8px;
}

.calc-btn:hover {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(13,31,60,0.25);
}

/* ---- RESULTS ---- */
.results-panel {
  display: none;
  padding: 0 28px 28px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 24px;
}

.results-panel.visible { display: block; animation: slideIn 0.35s ease; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-hero {
  background: var(--green-light);
  border: 1.5px solid rgba(30,125,91,0.2);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 20px;
  text-align: center;
}

.result-hero.has-exemption {
  background: linear-gradient(135deg, #E8F5EF, #D4EDDA);
  border-color: rgba(30,125,91,0.3);
}

.result-label { font-size: 0.8rem; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.result-amount { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--navy); font-weight: 700; line-height: 1; }
.result-amount.zero { color: var(--green); }
.result-note { font-size: 0.8rem; color: var(--slate); margin-top: 8px; }

.saving-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 100px;
  margin-top: 10px;
}

.breakdown-table { width: 100%; border-collapse: collapse; }
.breakdown-table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--slate);
  padding: 8px 0;
  border-bottom: 2px solid var(--border);
  text-align: left;
}
.breakdown-table th:last-child { text-align: right; }
.breakdown-table td { padding: 9px 0; font-size: 0.9rem; color: var(--navy); border-bottom: 1px solid var(--border); }
.breakdown-table td:last-child { text-align: right; font-weight: 600; }
.breakdown-table tr.total td { font-weight: 700; font-size: 1rem; color: var(--navy); border-top: 2px solid var(--navy); border-bottom: none; padding-top: 12px; }

.result-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.meta-box { background: var(--mist); border-radius: 8px; padding: 14px; }
.meta-box .m-label { font-size: 0.75rem; font-weight: 600; color: var(--slate); text-transform: uppercase; margin-bottom: 4px; }
.meta-box .m-val { font-size: 1rem; font-weight: 700; color: var(--navy); }

.disclaimer-box {
  background: #FFF8E8;
  border: 1px solid #F0D47A;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: #7A5C00;
  line-height: 1.5;
}

/* ---- SECTION LAYOUT ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--mist); }
.section-sm { padding: 48px 0; }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: 2rem; margin-bottom: 12px; }
.section-head p { color: var(--slate); max-width: 560px; margin: 0 auto; }

/* ---- RATE TABLE ---- */
.rate-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.rate-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.rate-table thead { background: var(--navy); }
.rate-table thead th { color: var(--white); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; padding: 14px 18px; text-align: left; }
.rate-table tbody tr:nth-child(even) { background: var(--mist); }
.rate-table tbody td { padding: 13px 18px; font-size: 0.9rem; color: var(--navy); border-bottom: 1px solid var(--border); }
.rate-table tbody tr:last-child td { border-bottom: none; }
.rate-badge { display: inline-block; background: rgba(201,168,76,0.15); color: var(--navy); font-weight: 700; padding: 2px 10px; border-radius: 100px; font-size: 0.82rem; }

/* ---- CONCESSION CARDS ---- */
.concession-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.c-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.c-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.c-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.c-card p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; }

.threshold-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 12px;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: background var(--transition);
}

.faq-q:hover { background: var(--mist); }

.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--gold);
}

.faq-item.open .faq-q svg { transform: rotate(180deg); }

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

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.7;
}

.faq-item.open .faq-a { max-height: 400px; }

/* ---- BLOG CARDS ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.blog-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.blog-body { padding: 24px; }

.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--gold-pale);
  color: #8A6B00;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; font-family: 'DM Sans', sans-serif; font-weight: 600; color: var(--navy); }
.blog-card p { font-size: 0.85rem; color: var(--slate); margin-bottom: 16px; }

.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--slate); }
.blog-meta span { display: flex; align-items: center; gap: 4px; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin-top: 14px;
  transition: gap var(--transition);
}
.read-more:hover { gap: 10px; }

/* ---- STEPS ---- */
.steps-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }

.step-item {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  counter-increment: step;
}

.step-item::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 24px;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}

.step-item h3 { font-size: 0.95rem; margin-bottom: 8px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.step-item p { font-size: 0.85rem; color: var(--slate); }

/* ---- COMPARISON TABLE ---- */
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.compare-table th { background: var(--navy); color: var(--white); padding: 14px 20px; font-size: 0.82rem; text-align: left; }
.compare-table th:first-child { border-radius: 12px 0 0 0; }
.compare-table th:last-child { border-radius: 0 12px 0 0; }
.compare-table td { padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.compare-table tr:nth-child(even) td { background: var(--mist); }
.compare-table .highlight { background: var(--gold-pale) !important; font-weight: 600; }
.compare-table .zero { color: var(--green); font-weight: 700; }

/* ---- CTA STRIP ---- */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 56px 0;
  text-align: center;
}

.cta-strip h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.72); margin-bottom: 28px; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all var(--transition);
}

.btn-gold:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,76,0.35); }

/* ---- FOOTER ---- */
.site-footer { background: var(--navy); padding: 56px 0 32px; }

.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }

.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-top: 14px; max-width: 280px; line-height: 1.65; }

.footer-col h4 { color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

/* ---- BLOG POST PAGE ---- */
.post-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 60px 0;
}
.post-hero-inner { max-width: 800px; margin: 0 auto; }
.post-hero .post-tag { background: rgba(201,168,76,0.2); border: 1px solid rgba(201,168,76,0.3); color: var(--gold-light); padding: 4px 14px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; margin-bottom: 18px; }
.post-hero h1 { font-size: 2.2rem; color: var(--white); margin-bottom: 16px; }
.post-meta-row { display: flex; align-items: center; gap: 20px; color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.post-meta-row span { display: flex; align-items: center; gap: 6px; }

.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; max-width: 1100px; margin: 0 auto; padding: 56px 24px; }

.post-content h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.post-content h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.post-content p { font-size: 0.97rem; color: var(--slate); margin-bottom: 16px; line-height: 1.75; }
.post-content ul { padding-left: 20px; margin-bottom: 16px; }
.post-content ul li { font-size: 0.95rem; color: var(--slate); margin-bottom: 8px; line-height: 1.6; }
.post-content .placeholder-block { background: var(--mist); border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px; margin: 24px 0; text-align: center; color: var(--slate); font-style: italic; font-size: 0.9rem; }
.post-content .placeholder-block strong { display: block; color: var(--navy); margin-bottom: 6px; font-style: normal; }

.post-cta-box { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); border-radius: var(--radius); padding: 28px; color: var(--white); margin: 32px 0; }
.post-cta-box h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.post-cta-box p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.post-cta-box .btn-gold { font-size: 0.9rem; padding: 11px 22px; }

.sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-widget { background: var(--mist); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; border: 1px solid var(--border); }
.sidebar-widget h4 { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--navy); margin-bottom: 14px; }
.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--navy-mid); }
.sidebar-widget ul li a:hover { color: var(--gold); }

/* ---- BLOG INDEX ---- */
.blog-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 56px 0;
  text-align: center;
}
.blog-hero h1 { font-size: 2.4rem; color: var(--white); margin-bottom: 12px; }
.blog-hero p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 1.85rem; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 1.6rem; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 20px 24px; gap: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
  .site-nav.open { display: flex; }
  .hamburger { display: flex; }
  .result-meta { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-inner { gap: 36px; }
  .steps-list { grid-template-columns: 1fr; }
}
