/* ═══════════════════════════════════════════════════════════════
   UK Property Calculator — Shared Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --ink: #0f1117;
  --paper: #f9f7f4;
  --cream: #f2ede6;
  --gold: #c9943a;
  --gold-light: #e8c06a;
  --teal: #1a6b6b;
  --teal-light: #2a9d8f;
  --red: #c0392b;
  --mid: #6b7280;
  --border: #ddd8d0;
  --card: #ffffff;
  --card-bg: #ffffff;
  --shadow: 0 2px 20px rgba(15,17,23,0.08);
  --shadow-lg: 0 8px 48px rgba(15,17,23,0.14);
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── HEADER ── */
header {
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: #fff; font-weight: 400; }
.logo:hover { text-decoration: none; }

nav { display: flex; gap: 6px; align-items: center; }
nav a {
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
nav a:hover { color: var(--gold); background: rgba(201,148,58,0.1); text-decoration: none; }
nav a.cta {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
nav a.cta:hover { background: var(--gold-light); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.8); padding: 8px;
}

/* ── HERO ── */
.hero {
  background: var(--ink);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,148,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,148,58,0.15);
  border: 1px solid rgba(201,148,58,0.3);
  color: var(--gold);
  font-size: 0.78rem; font-weight: 600;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  max-width: 580px; margin: 0 auto 32px;
  font-weight: 300;
}
.hero-highlights {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-top: 4px;
}
.hero-chip {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 0.85rem;
}
.hero-chip svg { color: var(--gold); }

/* ── AD SLOT STYLES ── */
.ad-slot {
  background: var(--cream);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--mid);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 32px 0;
  min-height: 90px;
  display: flex; align-items: center; justify-content: center;
}

/* ── MAIN LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }

/* ── CALCULATOR SECTION ── */
.calc-section { background: var(--paper); padding: 56px 0; }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ── INPUT CARD ── */
.input-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.input-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.input-card .subtitle {
  font-size: 0.88rem; color: var(--mid);
  margin-bottom: 28px;
}

.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.8rem; font-weight: 600;
  color: var(--ink); letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex; align-items: baseline; gap: 6px;
  flex-wrap: wrap;
  min-height: 2.4em;
}
.field label .tip {
  font-size: 0.7rem; font-weight: 400;
  color: var(--mid); text-transform: none;
  letter-spacing: 0;
}

.input-wrap { position: relative; }
.input-prefix, .input-suffix {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 0.9rem; font-weight: 600;
  color: var(--teal); pointer-events: none;
}
.input-prefix { left: 14px; }
.input-suffix { right: 14px; }

.field input, .field select {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field input.has-prefix { padding-left: 28px; }
.field input.has-suffix { padding-right: 34px; }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.1);
  background: #fff;
}

.divider {
  height: 1px; background: var(--border);
  margin: 6px 0;
}
.section-label {
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  margin-top: 4px;
}

.calc-btn {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none; cursor: pointer;
  padding: 16px 32px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 8px;
  transition: all 0.25s;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.calc-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,148,58,0.2), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.calc-btn:hover { background: var(--teal); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(26,107,107,0.3); }
.calc-btn:hover::after { opacity: 1; }
.calc-btn:active { transform: translateY(0); }

.ftb-toggle {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 8px;
  cursor: pointer;
}
.ftb-toggle input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--teal); cursor: pointer; }
.ftb-toggle label {
  font-size: 0.88rem; font-weight: 500; cursor: pointer;
  color: var(--ink);
  text-transform: none; letter-spacing: 0;
}
.ftb-toggle label span { color: var(--gold); font-weight: 700; }

/* ── RESULTS PANEL ── */
.results-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.results-placeholder {
  padding: 60px 32px;
  text-align: center;
}
.results-placeholder .icon {
  font-size: 3rem; margin-bottom: 16px;
  display: block;
}
.results-placeholder h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; margin-bottom: 8px;
}
.results-placeholder p { color: var(--mid); font-size: 0.9rem; }

.results-content { display: none; }
.results-content.visible { display: block; }

.results-header {
  background: var(--ink);
  padding: 24px 28px;
  color: #fff;
}
.results-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; margin-bottom: 4px;
}
.results-header .years-label {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}

.summary-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
.summary-card {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.summary-card:nth-child(1) { border-right: 1px solid var(--border); }
.summary-card .type {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px;
}
.summary-card.buy .type { color: var(--teal); }
.summary-card.rent .type { color: var(--gold); }
.summary-card .amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}
.summary-card .label {
  font-size: 0.78rem; color: var(--mid);
  margin-top: 4px;
}

.verdict-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(26,107,107,0.05), transparent);
}
.verdict-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--mid);
}
.verdict-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px;
  font-weight: 700; font-size: 0.85rem;
}
.verdict-pill.buy { background: rgba(26,107,107,0.12); color: var(--teal); }
.verdict-pill.rent { background: rgba(201,148,58,0.15); color: #a07020; }
.breakeven-text {
  margin-left: auto;
  font-size: 0.82rem; color: var(--mid);
}
.breakeven-text strong { color: var(--ink); }

.chart-wrap { padding: 24px 20px 8px; }
.chart-wrap h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; margin-bottom: 16px;
  color: var(--ink); padding: 0 8px;
}

.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.stat-box {
  padding: 16px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-box:last-child { border-right: none; }
.stat-box .s-label { font-size: 0.7rem; color: var(--mid); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-box .s-value { font-weight: 700; font-size: 1rem; color: var(--ink); margin-top: 2px; }

/* ── CONTENT SECTION ── */
.content-section {
  background: var(--cream);
  padding: 64px 0;
}
.content-grid {
  display: grid; grid-template-columns: 65fr 35fr;
  gap: 48px; align-items: start;
}

.article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 700;
  margin-bottom: 20px; line-height: 1.2;
  color: var(--ink);
}
.article h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  margin: 32px 0 12px;
  color: var(--ink);
}
.article h4 {
  font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gold); margin: 28px 0 8px;
}
.article p { margin-bottom: 16px; color: #374151; line-height: 1.75; }
.article ul, .article ol { padding-left: 20px; margin-bottom: 16px; }
.article li { color: #374151; line-height: 1.75; margin-bottom: 6px; }
.article a { color: var(--teal); text-decoration: underline; }

.callout {
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
}
.callout strong { color: var(--gold); }

.data-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.88rem; margin: 20px 0;
}
.data-table th {
  background: var(--ink); color: #fff;
  padding: 10px 16px; text-align: left;
  font-size: 0.75rem; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.data-table td {
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  color: #374151;
}
.data-table tr:nth-child(even) td { background: rgba(0,0,0,0.02); }

/* ── FAQs ── */
.faq-list { margin-top: 8px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; cursor: pointer;
  font-weight: 600; font-size: 0.95rem;
  color: var(--ink);
  user-select: none;
}
.faq-q svg {
  flex-shrink: 0; color: var(--teal);
  transition: transform 0.3s;
}
.faq-a {
  font-size: 0.9rem; color: #4b5563;
  padding-bottom: 16px; line-height: 1.7;
  display: none;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-item.open .faq-a { display: block; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sidebar-card .sc-head {
  background: var(--ink);
  padding: 14px 18px;
  font-size: 0.8rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sidebar-card .sc-body { padding: 16px 18px; }

.tool-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s;
}
.tool-link:last-child { border-bottom: none; }
.tool-link:hover .tool-title { color: var(--teal); }
.tool-link:hover { text-decoration: none; }
.tool-icon {
  width: 38px; height: 38px;
  background: var(--cream); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.tool-title {
  font-weight: 600; font-size: 0.88rem;
  color: var(--ink); transition: color 0.2s;
}
.tool-sub { font-size: 0.75rem; color: var(--mid); }

.stat-highlight {
  text-align: center; padding: 12px 0;
}
.sh-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--teal);
}
.sh-label { font-size: 0.78rem; color: var(--mid); margin-top: 2px; }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--ink);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(201,148,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.newsletter-section p {
  color: rgba(255,255,255,0.6);
  max-width: 480px; margin: 0 auto 28px;
  font-size: 0.95rem;
}
.newsletter-form {
  display: flex; gap: 10px;
  max-width: 440px; margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
.newsletter-form button {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--ink);
  border: none; border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ── BREADCRUMBS ── */
.breadcrumbs {
  padding: 16px 0 0;
  font-size: 0.8rem;
  color: var(--mid);
}
.breadcrumbs a {
  color: var(--mid);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs span { margin: 0 6px; }

/* ── BLOG CARDS ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.blog-card-img {
  height: 180px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.blog-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,148,58,0.15), rgba(26,107,107,0.15));
}
.blog-card-body { padding: 24px; }
.blog-card-tag {
  display: inline-block;
  background: rgba(26,107,107,0.1);
  color: var(--teal);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
  margin-bottom: 10px;
}
.blog-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px; line-height: 1.3;
}
.blog-card-body p {
  font-size: 0.88rem; color: var(--mid);
  line-height: 1.6; margin-bottom: 12px;
}
.blog-card-meta {
  font-size: 0.75rem; color: var(--mid);
  display: flex; gap: 16px;
}

/* ── BLOG ARTICLE LAYOUT ── */
.blog-header {
  background: var(--ink);
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
}
.blog-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,148,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.blog-header .blog-tag {
  display: inline-block;
  background: rgba(201,148,58,0.15);
  border: 1px solid rgba(201,148,58,0.3);
  color: var(--gold);
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 14px; border-radius: 100px;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.blog-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  color: #fff;
  max-width: 700px; margin: 0 auto 16px;
}
.blog-header .blog-meta {
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}

/* ── SOCIAL SHARE ── */
.share-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.share-bar span {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--mid);
}
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.share-btn:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  text-decoration: none;
}

/* ── COOKIE CONSENT ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink);
  border-top: 2px solid var(--gold);
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
  z-index: 1000;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.cookie-banner.hidden { display: none; }
.cookie-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem; margin: 0;
}
.cookie-banner a { color: var(--gold); }
.cookie-btn {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--ink);
  border: none; border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cookie-btn:hover { background: var(--gold-light); }

/* ── CONTACT FORM ── */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.contact-form .field { margin-bottom: 18px; }
.contact-form textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  resize: vertical;
  min-height: 140px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.1);
  background: #fff;
}
.contact-field { margin-bottom: 18px; }
.contact-field label {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  color: var(--ink); letter-spacing: 0.03em;
  text-transform: uppercase; margin-bottom: 6px;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.1);
  background: #fff;
}
.contact-field textarea {
  resize: vertical; min-height: 120px;
}
.contact-submit {
  width: 100%;
  padding: 16px 32px;
  background: var(--ink);
  color: #fff;
  border: none; border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.contact-submit:hover {
  background: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(26,107,107,0.3);
}

/* ── PAGE HERO (smaller, for subpages) ── */
.page-hero {
  background: var(--ink);
  padding: 48px 24px 40px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,148,58,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; line-height: 1.15;
  color: #fff; margin-bottom: 10px;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p {
  color: rgba(255,255,255,0.6); font-size: 0.95rem;
  max-width: 520px; margin: 0 auto;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  border-top: 3px solid var(--gold);
  padding: 48px 0 32px;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo { font-size: 1.1rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.82rem; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 14px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.5);
  text-decoration: none; font-size: 0.85rem;
  margin-bottom: 8px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 0.78rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.disclaimer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 16px 20px;
  font-size: 0.8rem; line-height: 1.6;
  margin-bottom: 32px;
}

/* ── RESULT BREAKDOWN CARDS ── */
.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.breakdown-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.breakdown-card .bc-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--mid); margin-bottom: 6px;
}
.breakdown-card .bc-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--teal);
}
.breakdown-card .bc-value.gold { color: var(--gold); }
.breakdown-card .bc-note {
  font-size: 0.75rem; color: var(--mid);
  margin-top: 4px;
}

/* ── BAND TABLE ── */
.band-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.88rem; margin: 20px 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.band-table th {
  background: var(--ink); color: #fff;
  padding: 12px 16px; text-align: left;
  font-size: 0.75rem; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.band-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.band-table tr:nth-child(even) td { background: rgba(0,0,0,0.02); }
.band-table .highlight td {
  background: rgba(26,107,107,0.06);
  font-weight: 600;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up.d1 { animation-delay: 0.1s; opacity: 0; }
.fade-up.d2 { animation-delay: 0.2s; opacity: 0; }
.fade-up.d3 { animation-delay: 0.3s; opacity: 0; }

.loading-dots { display: inline-flex; gap: 4px; }
.loading-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; animation: blink 1.2s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%,80%,100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.1); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
  nav a:not(.cta) { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 768px) {
  .content-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .blog-header h1 { font-size: 1.6rem; }
  .blog-header { padding: 40px 16px 36px; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 16px 56px; }
  .page-hero { padding: 36px 16px 32px; }
  .input-card, .results-placeholder { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-card:nth-child(1) { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-row { grid-template-columns: 1fr; }
  .stat-box { border-right: none; }
  .hero-highlights { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .breakdown-grid { grid-template-columns: 1fr; }
}
