/* ════════════════════════════════════════
   HERO-B: Promise-led borough hero
   Used by all 33 borough landing pages
════════════════════════════════════════ */

/* Badge pill */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 8px;
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 28px;
    font-size: 12px;
    color: var(--text-dim);
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terracotta);
    box-shadow: 0 0 8px rgba(198, 121, 102, 0.4);
    flex-shrink: 0;
}
.badge strong {
    color: var(--text-mid);
    font-weight: 600;
}

/* Centred hero */
.borough-hero-b {
    padding: clamp(140px, 18vw, 220px) 0 60px;
    position: relative;
    text-align: center;
    overflow: hidden;
}
.borough-hero-b::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(198, 121, 102, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.hero-center {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.borough-hero-b .hero-sub {
    margin-left: auto;
    margin-right: auto;
}
.borough-hero-b .hero-ctas {
    justify-content: center;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 20px;
}
.hero-headline em {
    font-style: italic;
    color: var(--terracotta);
}

/* Proof line */
.proof-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}
.proof-bar {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--terracotta), transparent);
    flex-shrink: 0;
}
.proof-text {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.proof-text strong {
    color: var(--text-dim);
    font-weight: 500;
}

/* Ghost CTA */
.cta-ghost {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s;
    padding: 14px 8px;
}
.cta-ghost:hover {
    color: var(--text);
}

/* Borough comparison panel */
.comparison {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 56px auto 0;
}
.comparison-label {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 14px;
    font-style: italic;
    font-family: var(--font-serif);
}
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    position: relative;
}
.comparison-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
    opacity: 0.25;
}
.comparison-card {
    padding: 24px 28px;
}
.comparison-card:first-child {
    border-right: none;
}
.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 1px;
    background: rgba(255,255,255,0.08);
}
.comparison-vs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    background: var(--bg-raised);
    padding: 5px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.06);
    z-index: 1;
    white-space: nowrap;
}
.comparison-borough {
    font-size: 13px;
    font-weight: 500;
    color: var(--terracotta);
    margin-bottom: 3px;
}
.comparison-postcode {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.comparison-stat {
    margin-bottom: 14px;
}
.comparison-stat:last-child {
    margin-bottom: 0;
}
.comparison-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.comparison-stat-value {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-variant-numeric: tabular-nums;
}
.comparison-stat-value.high-risk { color: #E07A6A; }
.comparison-stat-value.low-risk { color: var(--tier-robust); }
.comparison-stat-value.neutral { color: var(--text); }
.comparison-stat-detail {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.comparison-insight {
    text-align: center;
    padding: 14px 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
    grid-column: 1 / -1;
    font-size: 13px;
    color: var(--text-dim);
}
.comparison-insight strong {
    color: var(--terracotta);
    font-weight: 600;
}

/* ════════════════════════════════════════
   HERO-A: Pain-led, asymmetric two-column
════════════════════════════════════════ */
.borough-hero-a {
    padding: clamp(140px, 18vw, 220px) 0 var(--section-pad);
    position: relative;
    overflow: hidden;
}
.borough-hero-a::before {
    content: '';
    position: absolute;
    top: -10%; right: -5%;
    width: 50%; height: 70%;
    background: radial-gradient(ellipse at center, rgba(198, 121, 102, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero-layout-a {
    display: grid;
    grid-template-columns: 55% 40%;
    gap: 5%;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (max-width: 767px) {
    .hero-layout-a { grid-template-columns: 1fr; gap: 40px; }
    .borough-hero-a { padding: 120px 0 60px; }
}

/* Data panel (A right column) */
.data-panel {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.data-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
    opacity: 0.3;
}
.data-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.data-panel-title {
    font-size: 11px; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.1em;
}
.data-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.data-row:last-of-type { border-bottom: none; }
.data-label { font-size: 13px; color: var(--text-dim); }
.data-value { font-size: 14px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.data-value.risk-high { color: #E07A6A; }
.data-summary {
    margin-top: 16px; padding: 14px;
    background: rgba(198, 121, 102, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(198, 121, 102, 0.08);
}
.data-summary-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px; }
.data-summary-value { font-family: var(--font-serif); font-size: 1.5rem; color: var(--terracotta); }
.data-summary-note { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ════════════════════════════════════════
   HERO-C: Specificity-led, editorial split
════════════════════════════════════════ */
.borough-hero-c {
    padding: clamp(140px, 18vw, 220px) 0 var(--section-pad);
    position: relative;
    overflow: hidden;
}
.borough-hero-c::before {
    content: '';
    position: absolute;
    top: 10%; left: -5%;
    width: 50%; height: 70%;
    background: radial-gradient(ellipse at center, rgba(224, 122, 106, 0.06) 0%, transparent 55%);
    pointer-events: none;
}
.borough-hero-c::after {
    content: '';
    position: absolute;
    top: 20%; right: -10%;
    width: 40%; height: 50%;
    background: radial-gradient(ellipse at center, rgba(198, 121, 102, 0.08) 0%, transparent 55%);
    pointer-events: none;
}
.hero-layout-c {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.stat-label {
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--text-muted); margin-bottom: 12px;
}
.stat-giant {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 12vw, 9rem);
    line-height: 0.85; letter-spacing: -0.04em;
    font-weight: 400; color: #E07A6A;
    margin-bottom: 16px; font-variant-numeric: tabular-nums;
    position: relative;
}
.stat-giant::after {
    content: attr(data-text);
    position: absolute; inset: 0;
    color: transparent;
    text-shadow: 0 0 80px rgba(224, 122, 106, 0.12);
    z-index: -1;
    font-family: inherit; font-size: inherit; line-height: inherit;
}
.stat-context {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    font-style: italic; color: var(--text);
    line-height: 1.2; margin-bottom: 16px;
}
.stat-subtext {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.65; max-width: 360px;
}
.stat-subtext strong { color: #E07A6A; font-weight: 600; }

.hero-headline-c {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 400; line-height: 1.2;
    letter-spacing: -0.01em; color: var(--text);
    margin-bottom: 18px;
}
.hero-headline-c em { font-style: italic; color: var(--terracotta); }

@media (max-width: 899px) {
    .hero-layout-c { grid-template-columns: 1fr; gap: 40px; }
    .hero-stat-side { text-align: center; }
    .stat-subtext { margin: 0 auto; text-align: center; }
    .hero-copy-side { text-align: center; }
    .hero-copy-side .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-copy-side .hero-ctas { justify-content: center; }
}
@media (max-width: 767px) {
    .borough-hero-c { padding: 120px 0 60px; }
    .stat-giant { font-size: clamp(4rem, 18vw, 6rem); }
    .hero-headline-c { font-size: clamp(22px, 5vw, 28px); }
}

/* ════════════════════════════════════════
   Two-product cards
════════════════════════════════════════ */
.products {
    padding: var(--section-pad) 0;
    background: var(--bg-raised);
}
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
.product-card {
    background: var(--bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 40px 32px;
    position: relative;
}
.product-card.featured {
    border-color: var(--terracotta);
}
.product-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 12px;
}
.product-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
}
.product-card-price {
    font-family: var(--font-serif);
    font-size: 36px;
    color: var(--text);
    margin-bottom: 8px;
}
.product-card-context {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.product-card ul {
    list-style: none;
    margin-bottom: 32px;
}
.product-card li {
    font-size: 14px;
    color: var(--text-mid);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.product-card li:last-child {
    border-bottom: none;
}
.product-card .btn {
    width: 100%;
    text-align: center;
}
.product-card-badge {
    position: absolute;
    top: -12px;
    left: 32px;
    background: var(--terracotta);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
}

/* Fade animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease-out forwards;
}
.fade-up-d1 { animation-delay: 0.15s; }
.fade-up-d2 { animation-delay: 0.3s; }
.fade-up-d3 { animation-delay: 0.45s; }
.fade-up-d4 { animation-delay: 0.6s; }
.fade-up-d5 { animation-delay: 0.85s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 767px) {
    .borough-hero-b {
        padding: 120px 0 48px;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .comparison-card:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .comparison-divider {
        display: none;
    }
}
