/* ─── Visible breadcrumb navigation ───────────────────────── */

.breadcrumb-nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.75rem 1rem 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.78rem;
    font-weight: 300;
    gap: 0.25rem;
}

.breadcrumb-list li {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-list li:not(:last-child)::after {
    content: "/";
    margin-left: 0.4rem;
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-list li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.breadcrumb-list li a:hover {
    color: var(--primary, #C3A05F);
}

.breadcrumb-list li[aria-current="page"] {
    color: rgba(255, 255, 255, 0.8);
}

/* Location landing page — glass-styled below-fold sections */

.location-last-updated {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    margin-top: -1rem;
    margin-bottom: 1.25rem;
    text-align: center;
    letter-spacing: 0.04em;
    font-style: italic;
}

.location-last-updated time {
    font-style: normal;
}

/* Comparison subline under hero — explains our fee model vs how competitors present prices.
   Kept compact so it doesn't crowd the headline number on the fee page. */
.location-comparison-note {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
    max-width: 540px;
    margin: -0.25rem auto 1rem;
    padding: 0.6rem 1rem;
    text-align: center;
    line-height: 1.5;
    background: rgba(195, 160, 95, 0.12);
    border: 1px solid rgba(195, 160, 95, 0.22);
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.location-subtitle {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.03em;
}

/* ---- Below-fold content ---- */
.below-fold-section {
    padding: 3rem 1.5rem 2rem;
}

.location-content-section {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: left;
    background: #ffffff;
    border: 1px solid rgba(26, 31, 28, 0.06);
    border-radius: 1rem;
    padding: 2.5rem 2.5rem;
    box-shadow: 0 10px 40px rgba(26, 31, 28, 0.08);
}

.location-content-section h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.5rem, 2.4vw, 1.85rem);
    font-weight: 400;
    color: var(--accent-dark, #1A1F1C);
    margin: 0 0 1.1rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: left;
}

.location-content-section p {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text, #2E3530);
    margin-bottom: 1rem;
}

.location-content-section p:last-child {
    margin-bottom: 0;
}

.location-content-section a {
    color: var(--accent-dark, #8A7040);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    font-weight: 400;
}

.location-content-section a:hover {
    color: var(--accent, #C3A05F);
    text-decoration-thickness: 2px;
}

/* ---- Differentiator cards (replaces legacy "How It Works") ---- */
.how-it-works {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.how-it-works h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 1.75rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
}

.step-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(26, 31, 28, 0.06);
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 10px 30px rgba(26, 31, 28, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(26, 31, 28, 0.1);
}

.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(195, 160, 95, 0.12);
    color: var(--accent, #C3A05F);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.step-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
}

.step-number {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: var(--accent, #C3A05F);
    line-height: 1;
}

.step-card h3 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-dark, #1A1F1C);
    margin: 0;
    letter-spacing: -0.005em;
    line-height: 1.3;
}

.step-card p {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text, #2E3530);
    margin: 0;
}

/* ---- Nearby areas ---- */
.nearby-areas-section {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.nearby-areas-section h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.nearby-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.65rem;
}

.nearby-area-link {
    display: block;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-md, 18px);
    color: var(--accent-dark, #1A1F1C);
    text-decoration: none;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.nearby-area-link:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    color: var(--primary-dark, #8A7040);
}

/* ---- CTA section — matches LandingPage.css .cta-section exactly ---- */
/* Styles inherited from LandingPage.css via .cta-section and .cta-button */

/* ---- Footer ---- */
.location-footer {
    background: rgba(26, 31, 28, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: rgba(240, 237, 234, 0.55);
    padding: 1.5rem 1.5rem 1.25rem;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.78rem;
    font-weight: 300;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.location-footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.location-footer p {
    margin: 0;
}

.location-footer-company {
    margin-top: 0.75rem;
    font-size: 0.65rem;
    color: rgba(240, 237, 234, 0.25);
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(240, 237, 234, 0.55);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.78rem;
}

.footer-links a:hover {
    color: var(--primary, #C3A05F);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 340px;
        margin: 0 auto;
    }

    /* Hide horizontal thread on mobile */
    .steps-grid::before,
    .steps-grid::after {
        display: none;
    }

    .nearby-areas-grid {
        grid-template-columns: 1fr;
    }

    .location-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .location-subtitle {
        font-size: 0.9rem;
    }

    .location-content-section,
    .cta-section {
        padding: 2rem 1.5rem;
    }

    .step-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .step-card:hover {
        transform: translateY(-3px);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .steps-grid::after {
        animation: none;
    }

    .step-card {
        transition: none;
    }
}

/* ──────────────────────────────────────────────────────────────
   Town Market Snapshot (Phase 2 SEO content)
   ────────────────────────────────────────────────────────────── */

.town-snapshot {
    max-width: 920px;
    margin: 0 auto 3rem;
    padding: 2.5rem 2.25rem;
    background: var(--glass-card, rgba(255, 255, 255, 0.18));
    backdrop-filter: blur(26px) saturate(1.6);
    -webkit-backdrop-filter: blur(26px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-xl, 28px);
    box-shadow: 0 8px 40px rgba(26, 31, 28, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    color: var(--accent-dark, #1A1F1C);
}

.town-snapshot-loading {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.town-snapshot-loader {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(195, 160, 95, 0.25);
    border-top-color: var(--brand-gold, #C3A05F);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    animation: snapshot-spin 1s linear infinite;
}

@keyframes snapshot-spin {
    to { transform: rotate(360deg); }
}

.town-snapshot-message {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-body, #2E3530);
    margin: 0;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Header: badge + narrative side-by-side */
.snapshot-header {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.sellability-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border-radius: 50%;
    width: 170px;
    height: 170px;
    background: linear-gradient(135deg, rgba(255,255,255,0.45), rgba(255,255,255,0.15));
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 24px rgba(26,31,28,0.08);
    text-align: center;
    justify-self: center;
}

.sellability-badge.score-high {
    background: linear-gradient(135deg, rgba(122,144,136,0.35), rgba(122,144,136,0.12));
    border-color: rgba(122,144,136,0.6);
}
.sellability-badge.score-good {
    background: linear-gradient(135deg, rgba(195,160,95,0.35), rgba(195,160,95,0.12));
    border-color: rgba(195,160,95,0.6);
}
.sellability-badge.score-avg {
    background: linear-gradient(135deg, rgba(160,186,210,0.3), rgba(160,186,210,0.1));
    border-color: rgba(160,186,210,0.55);
}
.sellability-badge.score-low {
    background: linear-gradient(135deg, rgba(138,152,144,0.3), rgba(138,152,144,0.1));
    border-color: rgba(138,152,144,0.5);
}

.sellability-score-num {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1;
    color: var(--accent-dark, #1A1F1C);
}

.sellability-score-of {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.8rem;
    color: var(--text-light, #8A9890);
    margin-top: 0.15rem;
    letter-spacing: 0.05em;
}

.sellability-score-label {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
    color: var(--text-body, #2E3530);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

.sellability-narrative h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--accent-dark, #1A1F1C);
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.01em;
}

.sellability-narrative p {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-body, #2E3530);
    margin: 0 0 0.75rem 0;
}

.sellability-narrative p:last-child { margin-bottom: 0; }

/* Stats grid */
.snapshot-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.snapshot-stat {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    text-align: left;
}

.snapshot-stat-macro {
    background: rgba(160, 186, 210, 0.16);
    border-color: rgba(160, 186, 210, 0.4);
}

.snapshot-stat-label {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.72rem;
    color: var(--text-light, #8A9890);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.snapshot-stat-info {
    display: inline-block;
    margin-left: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-light, #8A9890);
    cursor: help;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.7;
}

.snapshot-stat-info:hover {
    opacity: 1;
    color: var(--accent-dark, #1A1F1C);
}

.snapshot-stat-value {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-dark, #1A1F1C);
    line-height: 1.15;
}

.snapshot-stat-sub {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.78rem;
    color: var(--text-light, #8A9890);
    margin-top: 0.35rem;
}

/* Framing / tips / article */
.snapshot-framing,
.snapshot-tips,
.snapshot-article {
    margin: 1.75rem 0 0;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(26, 31, 28, 0.08);
}

.snapshot-framing h3,
.snapshot-tips h3,
.snapshot-article h3 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent-dark, #1A1F1C);
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.01em;
}

.snapshot-framing p,
.snapshot-article p {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-body, #2E3530);
    margin: 0 0 0.85rem 0;
}

.snapshot-article p:last-child { margin-bottom: 0; }

.snapshot-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.snapshot-tips li {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.96rem;
    line-height: 1.55;
    color: var(--text-body, #2E3530);
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(26, 31, 28, 0.06);
}

.snapshot-tips li:last-child { border-bottom: none; }

.snapshot-tips li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0.6rem;
    color: var(--brand-gold, #C3A05F);
    font-weight: 500;
}

.snapshot-footnote {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.78rem;
    color: var(--text-light, #8A9890);
    text-align: center;
    margin: 1.75rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 31, 28, 0.06);
    font-style: italic;
}

/* ─── FAQ accordion ─────────────────────────────────────────── */

.faq-item {
    border-bottom: 1px solid rgba(26, 31, 28, 0.08);
    padding: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--accent-dark, #1A1F1C);
    padding: 1.1rem 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--brand-gold, #C3A05F);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body, #2E3530);
    margin: 0 0 1.25rem 0;
    padding-right: 2rem;
}

/* Mobile: stack badge above narrative */
@media (max-width: 700px) {
    .town-snapshot {
        padding: 1.75rem 1.25rem;
    }

    .snapshot-header {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    .sellability-badge {
        margin: 0 auto;
    }

    .snapshot-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Per-town FAQ section rendered below the market snapshot and content-section.
   Paired with FAQPage JSON-LD in the head for search engines. */
.town-faqs {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0;
    text-align: left;
}

.town-faqs > h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 1.75rem;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.town-faq-item {
    position: relative;
    margin: 0 0 0.85rem;
    padding: 1.4rem 1.75rem 1.4rem 2.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.8rem;
    box-shadow: 0 8px 28px rgba(26, 31, 28, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.town-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(26, 31, 28, 0.16);
}

.town-faq-item::before {
    content: "Q";
    position: absolute;
    left: 0.85rem;
    top: 1.3rem;
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent, #C3A05F);
    line-height: 1;
    font-style: italic;
}

.town-faq-question {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-dark, #1A1F1C);
    margin: 0 0 0.6rem;
    line-height: 1.35;
    letter-spacing: -0.005em;
}

.town-faq-answer {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.94rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text, #2E3530);
    margin: 0;
}

.town-faq-answer a {
    color: var(--accent-dark, #8A7040);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    font-weight: 400;
}

.town-faq-answer a:hover {
    color: var(--accent, #C3A05F);
    text-decoration-thickness: 2px;
}

/* ─── /estate-agent-fees-in-{town} page ─────────────────────── */

.fee-headline-card {
    max-width: 520px;
    margin: 1.5rem auto 2rem;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(195, 160, 95, 0.35);
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(26, 31, 28, 0.18);
}

.fee-headline-label {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.78rem;
    color: var(--text-light, #8A9890);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.fee-headline-value {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 500;
    color: var(--accent-dark, #1A1F1C);
    line-height: 1;
}

.fee-headline-value .fee-unit {
    font-size: 0.55em;
    color: var(--accent, #C3A05F);
    margin-left: 0.15em;
}

.fee-headline-band {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 1rem;
    color: var(--text-dark, #2E3530);
    margin-top: 0.6rem;
}

.fee-headline-source {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.8rem;
    color: var(--text-light, #8A9890);
    margin-top: 1rem;
    font-style: italic;
}

.fee-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.fee-cta-primary,
.fee-cta-secondary {
    display: inline-block;
    padding: 0.85rem 1.5rem;
    border-radius: 0.6rem;
    text-decoration: none;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.fee-cta-primary {
    background: var(--accent, #C3A05F);
    color: #ffffff;
    border: 1px solid var(--accent, #C3A05F);
}

.fee-cta-primary:hover {
    background: var(--accent-dark, #8A7040);
    border-color: var(--accent-dark, #8A7040);
}

.fee-cta-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-dark, #1A1F1C);
    border: 1px solid rgba(26, 31, 28, 0.15);
}

.fee-cta-secondary:hover {
    background: #ffffff;
    border-color: var(--accent, #C3A05F);
    color: var(--accent-dark, #8A7040);
}

.fee-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.fee-examples-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0.75rem;
    overflow: hidden;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.95rem;
}

.fee-examples-table thead th {
    background: var(--accent-dark, #1A1F1C);
    color: #ffffff;
    padding: 0.85rem 1.1rem;
    text-align: left;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.fee-examples-table tbody td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(26, 31, 28, 0.06);
    color: var(--text-dark, #2E3530);
}

.fee-examples-table tbody tr:last-child td {
    border-bottom: none;
}

.fee-examples-table tbody tr:nth-child(even) {
    background: rgba(195, 160, 95, 0.06);
}

.fee-examples-note {
    font-size: 0.9rem;
    color: var(--text-light, #8A9890);
    font-style: italic;
    margin-top: 1rem;
}

.fee-examples-note a {
    color: var(--accent, #C3A05F);
    text-decoration: underline;
    font-style: normal;
}

.fee-contract-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.fee-contract-list > li {
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(26, 31, 28, 0.08);
    border-left: 3px solid var(--accent, #C3A05F);
    border-radius: 0 0.5rem 0.5rem 0;
    line-height: 1.65;
    color: var(--text-dark, #2E3530);
}

.fee-contract-list > li strong {
    color: var(--accent-dark, #1A1F1C);
    margin-right: 0.25rem;
}

/* ─── Fee position strip (visual anchor on fee pages) ──────── */

.fee-position {
    max-width: 760px;
    margin: 2.5rem auto 3rem;
    padding: 2.5rem 2.5rem 2rem;
    background: #ffffff;
    border: 1px solid rgba(26, 31, 28, 0.06);
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(26, 31, 28, 0.08);
    text-align: left;
}

.fee-position > h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    font-weight: 400;
    color: var(--accent-dark, #1A1F1C);
    margin: 0 0 2rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.fee-position-strip {
    padding: 4.5rem 1.25rem 0;
    margin-bottom: 1.5rem;
}

.fee-position-scale {
    position: relative;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg,
        rgba(124, 160, 136, 0.4) 0%,
        rgba(195, 160, 95, 0.4) 50%,
        rgba(192, 101, 101, 0.4) 100%);
}

.fee-position-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.fee-position-marker-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--accent, #C3A05F);
    box-shadow: 0 2px 8px rgba(195, 160, 95, 0.3);
}

.fee-position-marker-uk .fee-position-marker-dot {
    border-color: var(--text-light, #8A9890);
    width: 14px;
    height: 14px;
    border-width: 2px;
    box-shadow: 0 2px 6px rgba(26, 31, 28, 0.15);
}

.fee-position-marker-label {
    position: absolute;
    bottom: calc(100% + 0.65rem);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--text-light, #8A9890);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.fee-position-marker-label strong {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--accent-dark, #1A1F1C);
    display: block;
    margin-top: 0.15rem;
}

.fee-position-marker-local .fee-position-marker-label strong {
    color: var(--accent-dark, #8A7040);
}

.fee-position-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding: 0 1.25rem;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.75rem;
    color: var(--text-light, #8A9890);
    letter-spacing: 0.04em;
}

.fee-position-note {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-light, #8A9890);
    margin: 0;
    font-style: italic;
}

@media (max-width: 640px) {
    .fee-position {
        padding: 2rem 1.5rem 1.5rem;
    }

    .fee-position-marker-label {
        font-size: 0.68rem;
    }

    .fee-position-marker-label strong {
        font-size: 0.95rem;
    }
}

/* ─── /best-estate-agents-in-{town}-{year} page ─────────────── */

.best-pillars-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    counter-reset: best-pillar;
}

.best-pillars-list > li {
    counter-increment: best-pillar;
    position: relative;
    padding: 1rem 1.25rem 1rem 3.25rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(26, 31, 28, 0.08);
    border-radius: 0.5rem;
    line-height: 1.65;
    color: var(--text-dark, #2E3530);
}

.best-pillars-list > li::before {
    content: counter(best-pillar);
    position: absolute;
    left: 0.85rem;
    top: 0.9rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--accent, #C3A05F);
    color: #ffffff;
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.best-pillars-list > li strong {
    color: var(--accent-dark, #1A1F1C);
    margin-right: 0.25rem;
}

.best-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.best-stat {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(195, 160, 95, 0.2);
    border-radius: 0.75rem;
    text-align: center;
}

.best-stat-value {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.75rem;
    color: var(--accent-dark, #1A1F1C);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.best-stat-label {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.82rem;
    color: var(--text-light, #8A9890);
    letter-spacing: 0.03em;
}

.best-agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.best-agent-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(26, 31, 28, 0.08);
    border-left: 3px solid var(--accent, #C3A05F);
    border-radius: 0 0.6rem 0.6rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.best-agent-name {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.15rem;
    color: var(--accent-dark, #1A1F1C);
    margin: 0;
    line-height: 1.2;
}

.best-agent-area {
    font-size: 0.85rem;
    color: var(--text-light, #8A9890);
    margin: 0;
}

.best-agent-badge {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.25rem 0.6rem;
    background: rgba(195, 160, 95, 0.15);
    color: var(--accent-dark, #8A7040);
    border-radius: 0.3rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    align-self: flex-start;
}

.best-agent-link {
    margin-top: auto;
    padding-top: 0.5rem;
    color: var(--accent, #C3A05F);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.best-agent-link:hover {
    color: var(--accent-dark, #8A7040);
    text-decoration: underline;
}

/* ─── In-page fee calculator (town + fee pages) ─────────────── */

.fee-calc {
    max-width: 800px;
    margin: 2.5rem auto;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(26, 31, 28, 0.96), rgba(46, 53, 48, 0.96));
    color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(26, 31, 28, 0.22);
    text-align: left;
}

.fee-calc > h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    color: #ffffff;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.fee-calc-intro {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 1.75rem;
    line-height: 1.55;
}

.fee-calc-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.fee-calc-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fee-calc-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fee-calc-field-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.fee-calc-field-head label {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.fee-calc-unit {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.85rem;
    color: rgba(195, 160, 95, 0.9);
    font-weight: 500;
}

.fee-calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.fee-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent, #C3A05F);
    border: 3px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fee-calc-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent, #C3A05F);
    border: 3px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fee-calc-number {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.4rem;
    color: #ffffff;
    width: 100%;
    max-width: 150px;
    margin-top: 0.35rem;
}

.fee-calc-number:focus {
    outline: none;
    border-color: var(--accent, #C3A05F);
    background: rgba(255, 255, 255, 0.15);
}

.fee-calc-outputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

.fee-calc-output {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.6rem;
}

.fee-calc-output-keep {
    background: rgba(195, 160, 95, 0.14);
    border-color: rgba(195, 160, 95, 0.35);
}

.fee-calc-output-label {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.3rem;
}

.fee-calc-output-value {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: #ffffff;
    line-height: 1.1;
}

.fee-calc-output-keep .fee-calc-output-value {
    color: var(--accent, #C3A05F);
}

.fee-calc-note {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 1.5rem 0 0;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .fee-calc {
        padding: 1.5rem 1.5rem;
    }

    .fee-calc-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ─── Bigger dominant hero H1 on location pages ────────────── */
/* Override of .title from LandingPage.css — location pages get a more
   dramatic headline so the keyword phrase carries visual authority. */
.main-content > .hero-elements .title {
    font-size: clamp(2rem, 6vw, 4.25rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

/* ─── Dramatic conversion CTA at bottom of town/fee pages ──── */
/* Full-bleed dark band with Playfair headline and gold button.
   Deliberately the most visually dominant moment on the page —
   every scroll path ends here. */
.below-fold-section .cta-section {
    max-width: 900px;
    margin: 3.5rem auto 2rem;
    padding: 3rem 2.5rem 3.25rem;
    background: linear-gradient(135deg, rgba(26, 31, 28, 0.97), rgba(46, 53, 48, 0.97));
    border: 1px solid rgba(195, 160, 95, 0.25);
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(26, 31, 28, 0.28);
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.below-fold-section .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(195, 160, 95, 0.6) 50%,
        transparent);
    pointer-events: none;
}

.below-fold-section .cta-section h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 1rem;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.below-fold-section .cta-section p {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.below-fold-section .cta-section p a {
    color: var(--accent, #C3A05F);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.below-fold-section .cta-section .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent, #C3A05F);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 0.6rem;
    border: 1px solid var(--accent, #C3A05F);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(195, 160, 95, 0.3);
}

.below-fold-section .cta-section .cta-button:hover {
    background: #D8B472;
    border-color: #D8B472;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(195, 160, 95, 0.4);
}

@media (max-width: 640px) {
    .below-fold-section .cta-section {
        padding: 2.25rem 1.5rem;
    }
}
