/* ══════════════════════════════════════════════
   BUILDCALC — Main Stylesheet
   Aesthetic: Editorial Architecture Magazine
   Fonts: Playfair Display + DM Sans
   ══════════════════════════════════════════════ */

:root {
  --ink:       #0f0f0f;
  --ink-soft:  #3a3a3a;
  --ink-muted: #6b6b6b;
  --paper:     #f5f2ed;
  --paper-alt: #ede9e2;
  --accent:    #c84b2f;
  --accent-lt: #f4e4df;
  --gold:      #c8932f;
  --white:     #ffffff;
  --border:    #d8d3cb;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1200px;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.section-label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 600px;
  margin-top: 12px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background .2s, transform .1s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: #a83a22; text-decoration: none; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  transition: all .2s;
}
.btn-secondary:hover { background: var(--ink); color: var(--white); text-decoration: none; }

.btn-large { font-size: 1rem; padding: 16px 40px; }

/* ════════════════════════════
   HEADER
   ════════════════════════════ */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--ff-body);
  font-size: 1.2rem;
}
.logo-icon { font-size: 1rem; }
.logo-text strong { color: var(--accent); }
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.4rem; cursor: pointer;
  color: var(--ink);
}

/* ════════════════════════════
   HERO
   ════════════════════════════ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 0;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 32px 0;
  margin-top: 60px;
  position: relative; z-index: 1;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); }
.stat-div { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* ════════════════════════════
   PAGE HERO (blog index)
   ════════════════════════════ */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0;
}
.page-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero .hero-tag { color: var(--gold); }
.page-hero .hero-sub { color: rgba(255,255,255,.7); }

/* ════════════════════════════
   CALCULATOR SECTION
   ════════════════════════════ */
.calculator-section {
  padding: 100px 0;
  background: var(--white);
}
.calculator-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-group label {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
}
.input-group input,
.input-group select {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s;
}
.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.input-hint { font-size: .8rem; color: var(--ink-muted); }

/* Tier Cards */
.tier-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.tier-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.tier-card input { display: none; }
.tier-card:hover { border-color: var(--accent); background: var(--accent-lt); }
.tier-card.active { border-color: var(--accent); background: var(--accent-lt); }
.tier-name { font-weight: 700; font-size: .9rem; }
.tier-price { font-size: .8rem; color: var(--accent); font-weight: 600; }
.tier-desc { font-size: .75rem; color: var(--ink-muted); }

/* Add-ons */
.addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.addon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background .15s;
}
.addon-item:hover { background: var(--paper); }
.addon-item input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }
.addon-cost { margin-left: auto; font-size: .78rem; color: var(--ink-muted); white-space: nowrap; }

.btn-calculate {
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .1s;
  width: 100%;
}
.btn-calculate:hover { background: var(--accent); transform: translateY(-1px); }

/* Results */
.calc-results {
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 80px;
}
.results-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  flex: 1; gap: 16px; text-align: center;
  color: var(--ink-muted);
}
.placeholder-icon { font-size: 3rem; }
.total-estimate {
  background: var(--ink);
  color: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  text-align: center;
}
.total-label { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.total-amount { display: block; font-family: var(--ff-display); font-size: 2.8rem; font-weight: 900; color: var(--gold); }
.total-range { display: block; font-size: .85rem; opacity: .6; margin-top: 6px; }

/* Cost Breakdown Bars */
.breakdown-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.breakdown-row-header {
  display: flex; justify-content: space-between;
  font-size: .82rem; font-weight: 600;
}
.breakdown-bar-outer {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.breakdown-bar-inner {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width .6s ease;
}
.results-note {
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--accent-lt);
  border-left: 3px solid var(--accent);
  font-size: .82rem;
  color: var(--ink-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.results-learn-link {
  display: block;
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
}

/* ════════════════════════════
   HOW IT WORKS
   ════════════════════════════ */
.how-section {
  padding: 100px 0;
  background: var(--paper-alt);
  border-top: 2px solid var(--border);
}
.how-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 48px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.step { position: relative; }
.step-num {
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p { font-size: .9rem; color: var(--ink-soft); }

/* ════════════════════════════
   FACTORS
   ════════════════════════════ */
.factors-section {
  padding: 100px 0;
  background: var(--white);
}
.factors-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.factor-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .2s, transform .2s;
}
.factor-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.factor-icon { font-size: 2rem; margin-bottom: 16px; }
.factor-card h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.factor-card p { font-size: .9rem; color: var(--ink-soft); }
.factors-cta { margin-top: 48px; }

/* ════════════════════════════
   FAQ
   ════════════════════════════ */
.faq-section {
  padding: 100px 0;
  background: var(--paper);
  border-top: 2px solid var(--border);
}
.faq-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
}
.faq-list { max-width: 800px; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  gap: 16px;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow { font-size: 1.4rem; flex-shrink: 0; transition: transform .2s; font-weight: 300; }
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; }
.faq-a p { color: var(--ink-soft); }

/* ════════════════════════════
   BLOG PREVIEW
   ════════════════════════════ */
.blog-preview-section {
  padding: 100px 0;
  background: var(--paper-alt);
  border-top: 2px solid var(--border);
}
.blog-preview-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-cards { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); }
.blog-card.featured { border-left: 4px solid var(--accent); }
.blog-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.blog-card h3, .blog-card h2 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.blog-card h3 a, .blog-card h2 a { color: var(--ink); }
.blog-card h3 a:hover, .blog-card h2 a:hover { color: var(--accent); text-decoration: none; }
.blog-card p { color: var(--ink-soft); margin-bottom: 16px; }
.blog-card-meta { display: flex; gap: 16px; font-size: .82rem; color: var(--ink-muted); margin-bottom: 16px; }
.blog-card-link { font-size: .9rem; font-weight: 600; color: var(--accent); }
.blog-all-link { margin-top: 32px; }

.blog-cta-box {
  margin-top: 60px;
  background: var(--ink);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.blog-cta-box p { font-size: 1.1rem; font-family: var(--ff-display); font-weight: 700; }

/* ════════════════════════════
   BLOG LISTING
   ════════════════════════════ */
.blog-listing { padding: 80px 0; }
.blog-cards-list .blog-card h2 { font-size: 1.6rem; }

/* ════════════════════════════
   ARTICLE PAGE
   ════════════════════════════ */
.article-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  align-items: start;
}
.article-sidebar { position: sticky; top: 80px; }
.toc-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.toc-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc-list a {
  font-size: .85rem;
  color: var(--ink-soft);
  display: block;
  padding: 6px 8px;
  border-radius: 2px;
  transition: background .15s, color .15s;
}
.toc-list a:hover { background: var(--accent-lt); color: var(--accent); text-decoration: none; }
.toc-cta {
  display: block;
  margin-top: 20px;
  text-align: center;
  background: var(--accent);
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  transition: background .2s;
}
.toc-cta:hover { background: #a83a22; text-decoration: none; }

.breadcrumb { margin-bottom: 32px; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb li { font-size: .82rem; color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--accent); }

.article-header { margin-bottom: 48px; border-bottom: 2px solid var(--border); padding-bottom: 40px; }
.article-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.article-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.article-meta { display: flex; gap: 20px; font-size: .82rem; color: var(--ink-muted); margin-bottom: 20px; }
.article-intro {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 24px;
}
.article-cta-inline {
  background: var(--accent-lt);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  font-size: .9rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.article-cta-inline a { font-weight: 700; }

/* Article body */
.article-main section { margin-bottom: 60px; }
.article-main h2 {
  font-family: var(--ff-display);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-top: 20px;
}
.article-main h3 { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.article-main p { margin-bottom: 16px; color: var(--ink-soft); }
.article-main ul li, .article-main ol li { margin-bottom: 8px; color: var(--ink-soft); }
.article-main strong { color: var(--ink); }

.callout-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.callout-icon { font-size: 1.5rem; flex-shrink: 0; }
.callout-box ul { margin-top: 8px; padding-left: 1.2rem; }
.callout-box li { margin-bottom: 4px; font-size: .9rem; color: var(--ink-soft); }

.comparison-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.comparison-table th {
  background: var(--ink);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.comparison-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); color: var(--ink-soft); }
.comparison-table .row-highlight td { background: var(--accent-lt); }
.comparison-table tr:last-child td { border-bottom: none; }

/* Article cost breakdown bars */
.cost-breakdown-article { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.breakdown-item { display: grid; gap: 4px; }
.breakdown-info { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; }
.breakdown-pct { color: var(--ink-muted); }
.breakdown-bar-wrap { height: 10px; background: var(--border); border-radius: 5px; overflow: hidden; }
.breakdown-bar { height: 100%; background: var(--accent); border-radius: 5px; }
.breakdown-amount { font-size: .8rem; color: var(--ink-muted); }

.region-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 28px 0; }
.region-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.region-name { font-weight: 700; font-size: .9rem; }
.region-mult { font-size: .82rem; color: var(--accent); font-weight: 600; }
.region-note { font-size: .78rem; color: var(--ink-muted); }

.hidden-costs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; }
.hidden-cost-item {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hidden-cost-item h3 { font-family: var(--ff-display); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.hidden-cost-item p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

.tips-list { padding-left: 1.4rem; display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.tips-list li { color: var(--ink-soft); }
.tips-list li a { font-weight: 600; }

.article-cta-section {
  background: var(--ink);
  color: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  margin-top: 40px;
}
.article-cta-section h2 { font-family: var(--ff-display); font-size: 2rem; margin-bottom: 16px; }
.article-cta-section p { color: rgba(255,255,255,.75); margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-note { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 16px; margin-bottom: 0; }

.related-posts { margin-top: 60px; padding-top: 40px; border-top: 2px solid var(--border); }
.related-posts h2 { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }
.related-links { display: flex; flex-direction: column; gap: 12px; }
.related-link {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .2s;
  color: var(--ink);
}
.related-link:hover { box-shadow: var(--shadow); text-decoration: none; }
.related-icon { font-size: 1.8rem; }
.related-link span:last-child { display: flex; flex-direction: column; gap: 2px; }
.related-link strong { font-weight: 700; }
.related-link em { font-size: .82rem; color: var(--ink-muted); font-style: normal; }

/* ════════════════════════════
   FOOTER
   ════════════════════════════ */
.site-footer { background: var(--ink); color: var(--white); padding: 60px 0 0; margin-top: auto; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding-bottom: 48px; }
.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-nav { display: flex; gap: 48px; }
.footer-nav-col { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-col strong { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.footer-nav-col a { font-size: .85rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-nav-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ════════════════════════════
   RESPONSIVE
   ════════════════════════════ */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .factors-grid { grid-template-columns: 1fr 1fr; }
  .article-container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .toc-box { display: none; }
}

@media (max-width: 768px) {
  .calc-wrapper { grid-template-columns: 1fr; }
  .calc-results { position: static; }
  .tier-cards { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-div { width: 40px; height: 1px; }
  .steps-grid { grid-template-columns: 1fr; }
  .factors-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { flex-wrap: wrap; gap: 32px; }
  .region-cards { grid-template-columns: 1fr 1fr; }
  .hidden-costs-grid { grid-template-columns: 1fr; }
  .article-cta-section { padding: 32px 24px; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--ink); padding: 20px 24px; gap: 16px; z-index: 99; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .blog-cta-box { flex-direction: column; text-align: center; }
  .addons-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
  .region-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
}

/* ── Print ── */
@media print {
  .site-header, .site-footer, .article-sidebar { display: none; }
  body { background: white; }
  .article-container { grid-template-columns: 1fr; }
}
