/* ============================================
   WA Car Stamp Duty Calculator — Stylesheet
   Aesthetic: Bold Australian civic — deep teal,
   warm sand, confident typography
   ============================================ */

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

:root {
  --teal:        #0a4f5e;
  --teal-mid:    #0c6275;
  --teal-light:  #158fa8;
  --gold:        #e8a020;
  --gold-light:  #f5c040;
  --sand:        #faf7f2;
  --sand-dark:   #f0ebe0;
  --white:       #ffffff;
  --ink:         #1a1a2e;
  --ink-muted:   #5a6070;
  --border:      #ddd8ce;
  --green:       #1a7a4a;
  --red:         #c0392b;
  --radius:      10px;
  --shadow:      0 4px 20px rgba(10,79,94,0.10);
  --shadow-lg:   0 10px 48px rgba(10,79,94,0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Literata', Georgia, serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 16px;
}

/* ---- NAV ---- */
nav {
  background: var(--teal);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,0.22);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-badge {
  background: var(--gold);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* ---- HERO ---- */
.hero {
  background: var(--teal);
  padding: 56px 5% 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--sand);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-geo {
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border: 2px solid rgba(232,160,32,0.2);
  border-radius: 50%;
  pointer-events: none;
}

.hero-geo::before {
  content: '';
  position: absolute;
  inset: 40px;
  border: 2px solid rgba(232,160,32,0.12);
  border-radius: 50%;
}

.hero-inner { max-width: 680px; position: relative; z-index: 1; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,160,32,0.18);
  color: var(--gold-light);
  border: 1px solid rgba(232,160,32,0.3);
  padding: 5px 14px;
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 520px;
  font-style: italic;
}

/* ---- LAYOUT ---- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 5%; }

/* ---- CALCULATOR CARD ---- */
.calc-wrapper {
  margin-top: -56px;
  margin-bottom: 72px;
  position: relative;
  z-index: 10;
}

.calc-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(10,79,94,0.08);
}

.calc-header {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.calc-icon {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

.calc-header-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.calc-header-text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-style: italic;
}

.calc-header-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.calc-body {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 680px) { .calc-body { grid-template-columns: 1fr; padding: 20px; } }

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.3px;
}

.label-sub {
  font-family: 'Literata', serif;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--ink-muted);
  font-style: italic;
}

input[type="number"], input[type="text"], select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Literata', serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--sand);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

input:focus, select:focus {
  border-color: var(--teal-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(21,143,168,0.15);
}

.aud-wrap { position: relative; }
.aud-wrap::before {
  content: 'A$';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-light);
  pointer-events: none;
  z-index: 1;
}
.aud-wrap input { padding-left: 38px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  pointer-events: none;
}
.select-wrap select { padding-right: 32px; cursor: pointer; }

.info-box {
  grid-column: 1 / -1;
  background: rgba(10,79,94,0.05);
  border-left: 4px solid var(--teal-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px;
  font-size: 0.83rem;
  color: var(--teal);
  font-style: italic;
}

.info-box strong { font-style: normal; color: var(--teal); }

.calc-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-calc {
  flex: 1;
  padding: 15px 24px;
  background: var(--gold);
  color: var(--teal);
  border: none;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(232,160,32,0.35);
}

.btn-calc:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,160,32,0.45);
}

.btn-calc:active { transform: translateY(0); }

.btn-reset {
  padding: 15px 20px;
  background: transparent;
  color: var(--ink-muted);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-reset:hover { border-color: var(--teal); color: var(--teal); }

/* ---- RESULTS ---- */
.results-section {
  display: none;
  border-top: 1px solid var(--border);
}

.results-section.show { display: block; }

.results-inner { padding: 32px; }

@media (max-width: 680px) { .results-inner { padding: 20px; } }

.results-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
}

.duty-pill {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}

.duty-pill.exempt { background: #d1fae5; color: #065f46; }
.duty-pill.payable { background: #fef3c7; color: #92400e; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.result-box {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--sand);
  border-left: 4px solid var(--border);
}

.result-box.primary { border-left-color: var(--gold); background: rgba(232,160,32,0.07); }
.result-box.total { border-left-color: var(--teal); background: rgba(10,79,94,0.06); }
.result-box.warning { border-left-color: var(--red); background: #fdf2f0; }

.result-box-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.result-box-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.5px;
}

.result-box.primary .result-box-val { color: #92400e; }

.breakdown-panel {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 22px 26px;
  color: rgba(255,255,255,0.9);
}

.breakdown-panel h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
}

.breakdown-row:last-child {
  border-bottom: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 4px;
  padding-top: 13px;
}

.breakdown-row:last-child span:last-child { color: var(--gold-light); font-size: 1.1rem; }

.rate-info {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  line-height: 1.6;
}

.result-disclaimer {
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--sand);
  border-radius: 8px;
  font-size: 0.77rem;
  color: var(--ink-muted);
  line-height: 1.55;
  font-style: italic;
}

/* ---- RATE TABLE ---- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--teal-light);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-sub { color: var(--ink-muted); font-size: 0.97rem; max-width: 580px; font-style: italic; }

.section-head { margin-bottom: 40px; }

.rate-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }

.rate-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rate-card.gold { border-top-color: var(--gold); }
.rate-card.green { border-top-color: var(--green); }

.rate-card-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.rate-card-value {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -1px;
}

.rate-card-desc {
  margin-top: 8px;
  font-size: 0.83rem;
  color: var(--ink-muted);
  line-height: 1.55;
  font-style: italic;
}

/* ---- TABLE ---- */
.table-wrap { overflow-x: auto; margin-top: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }

table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 500px; }

thead th {
  background: var(--teal);
  color: var(--white);
  padding: 13px 18px;
  text-align: left;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

tbody tr:nth-child(even) { background: var(--sand); }
tbody tr:hover { background: rgba(10,79,94,0.04); }
tbody tr:last-child td { border-bottom: none; }

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

.step-card { position: relative; padding: 28px 22px 22px; }

.step-num {
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.step-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}

.step-card p { font-size: 0.87rem; color: var(--ink-muted); line-height: 1.65; font-style: italic; }

/* ---- FAQ ---- */
.faq-stack { display: flex; flex-direction: column; gap: 10px; }

details.faq {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
}

details.faq summary {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--teal);
  list-style: none;
  transition: background 0.2s;
}

details.faq summary:hover { background: var(--sand); }
details.faq summary::marker, details.faq summary::-webkit-details-marker { display: none; }

.faq-chevron { color: var(--gold); transition: transform 0.3s; font-size: 1rem; }
details[open] .faq-chevron { transform: rotate(180deg); }

details.faq .faq-body {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.75;
  font-style: italic;
}

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}

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

.blog-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
}

.blog-thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(10,79,94,0.3));
}

.blog-card-body { padding: 22px; }

.blog-tag {
  display: inline-block;
  background: rgba(10,79,94,0.08);
  color: var(--teal);
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  font-style: italic;
}

.blog-card-meta {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  color: var(--ink-muted);
  display: flex;
  gap: 14px;
  font-weight: 500;
}

/* ---- FOOTER ---- */
footer {
  background: var(--teal);
  color: rgba(255,255,255,0.7);
  padding: 52px 5% 24px;
}

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

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

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.65;
  max-width: 280px;
  font-style: italic;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

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

.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- BLOG STYLES ---- */
.blog-hero {
  background: var(--teal);
  padding: 56px 5% 72px;
  text-align: center;
}

.blog-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.blog-hero p { color: rgba(255,255,255,0.7); font-style: italic; }

/* Post layout */
.post-hero {
  background: var(--teal);
  padding: 56px 5% 80px;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(232,160,32,0.12) 0%, transparent 70%);
  bottom: -150px; right: -80px;
}

.post-breadcrumb {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.post-breadcrumb a { color: var(--gold); text-decoration: none; }

.post-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  max-width: 780px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.post-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 5%;
}

@media (max-width: 820px) { .post-layout { grid-template-columns: 1fr; } }

.post-content {
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--ink);
}

.post-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  margin: 38px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  letter-spacing: -0.3px;
}

.post-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin: 26px 0 10px;
}

.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 18px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--teal); font-weight: 600; }

.callout {
  background: rgba(232,160,32,0.1);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 0.91rem;
}

.callout strong { color: var(--teal); }

.callout.info {
  background: rgba(10,79,94,0.06);
  border-left-color: var(--teal);
}

.placeholder-box {
  background: var(--sand);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  margin: 28px 0;
  color: var(--ink-muted);
  font-style: italic;
}

.placeholder-box strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-style: normal;
  color: var(--teal);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

/* Sidebar */
.post-sidebar { position: sticky; top: 80px; height: fit-content; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.sidebar-widget h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.sidebar-cta {
  background: var(--teal);
  text-align: center;
  padding: 26px 22px;
}

.sidebar-cta h4 { color: var(--gold-light); border-bottom-color: rgba(255,255,255,0.12); }
.sidebar-cta p { font-size: 0.84rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; font-style: italic; }
.sidebar-cta .btn-calc { width: 100%; font-size: 0.9rem; box-shadow: none; }

.toc { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.toc a {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 4px 0;
  display: block;
  transition: color 0.2s;
  font-weight: 500;
}

.toc a:hover { color: var(--teal); }

.rate-mini { font-size: 0.83rem; }
.rate-mini-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-muted);
}

.rate-mini-row:last-child { border-bottom: none; }
.rate-mini-row strong { color: var(--teal); font-family: 'Syne', sans-serif; }

.post-footer-cta {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin-top: 48px;
}

.post-footer-cta h3 {
  font-family: 'Syne', sans-serif;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.post-footer-cta p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 20px; font-style: italic; }

/* blog section header */
.blog-sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.view-all-link {
  font-family: 'Syne', sans-serif;
  color: var(--teal);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

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

.fade-up   { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }

@media (max-width: 520px) {
  nav { padding: 0 4%; }
  .hero { padding: 40px 4% 100px; }
  .container { padding: 0 4%; }
  .calc-header { grid-template-columns: auto 1fr; }
  .calc-header-badge { display: none; }
  .section { padding: 48px 0; }
}
