/* LawyersInLondon.co.uk — Premium Legal Directory */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0f1a;
    --bg-card: rgba(255,255,255,0.04);
    --border: rgba(201,169,110,0.15);
    --gold: #c9a96e;
    --gold-hover: #dab978;
    --text: #e8e4dd;
    --text-muted: #8a8577;
    --text-body: #b0aa9e;
    --green: #4caf50;
    --star: #f1c40f;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

/* Sale banner */
.sale-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f1525 100%);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-family: system-ui, sans-serif;
    color: var(--text-muted);
}
.sale-banner a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
}
.sale-banner a:hover { text-decoration: underline; }

/* Navigation */
nav {
    background: rgba(10,15,26,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.nav-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    font-family: system-ui, sans-serif;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
    border-color: var(--border);
    background: var(--bg-card);
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

/* Hero (homepage) */
.hero {
    text-align: center;
    padding: 80px 24px;
    max-width: 720px;
    margin: 0 auto;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--gold);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.hero .tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 48px;
}

/* Stats row */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
}
.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
    display: block;
}

/* Borough grid (homepage) */
.borough-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin: 36px 0 48px;
}
.borough-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text);
    display: block;
}
.borough-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201,169,110,0.12);
}
.borough-card h3 {
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.borough-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: system-ui, sans-serif;
}

/* Page header (borough pages) */
.page-header {
    margin-bottom: 36px;
}
.page-header h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--gold);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.page-header .subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}
.breadcrumbs {
    font-family: system-ui, sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.breadcrumbs a { color: var(--gold); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Intro paragraph */
.intro {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 36px;
    line-height: 1.8;
}
.intro p { margin-bottom: 16px; }

/* Firm cards */
.firms-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}
.firm-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    transition: border-color 0.3s ease;
}
.firm-card:hover { border-color: rgba(201,169,110,0.35); }
.firm-info { flex: 1; }
.firm-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.firm-address {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: system-ui, sans-serif;
}
.firm-rating {
    text-align: right;
    flex-shrink: 0;
}
.firm-stars {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--star);
}
.firm-reviews {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: system-ui, sans-serif;
}

/* CTA section */
.cta-section {
    background: rgba(201,169,110,0.08);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 16px;
    padding: 36px 32px;
    text-align: center;
    margin: 48px 0;
}
.cta-title {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 8px;
}
.cta-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.cta-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--bg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: system-ui, sans-serif;
}
.cta-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,169,110,0.3);
}

/* Other boroughs sidebar */
.other-boroughs {
    margin-top: 48px;
}
.other-boroughs h3 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}
.other-boroughs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.other-boroughs-grid a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    display: block;
}
.other-boroughs-grid a:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: var(--bg-card);
}

/* Footer */
footer {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: #555;
    font-family: system-ui, sans-serif;
}
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--gold); }

/* Section titles */
.section-title {
    color: var(--gold);
    font-size: 1.15rem;
    margin: 36px 0 16px;
}

/* Key facts grid */
.key-facts { margin-bottom: 36px; }
.facts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    font-family: system-ui, sans-serif;
    font-size: 0.9rem;
    color: var(--text-body);
}
.fact {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
}
.fact strong { color: var(--text); }

/* Tips section */
.tips-section { margin: 36px 0; }
.tips-section p { color: var(--text-body); }

/* FAQ section */
.faq-section { margin: 48px 0; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
    content: '-';
}
.faq-item p {
    padding: 0 20px 16px;
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0 48px;
}

/* Article content */
.article-content {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.8;
}
.article-content h2 { margin-top: 36px; }
.article-content p { margin-bottom: 16px; }
.article-content ul { margin-bottom: 16px; }
.content-list {
    padding-left: 24px;
    margin-bottom: 20px;
    color: var(--text-body);
}
.content-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.content-list li strong { color: var(--text); }

/* Cost table (blog) */
.cost-table { margin: 20px 0; }
.cost-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    font-family: system-ui, sans-serif;
}
.cost-row strong { color: var(--text); }
.cost-row span { color: var(--gold); font-weight: 600; }

/* Responsive */
@media (max-width: 640px) {
    .stats { grid-template-columns: 1fr; gap: 12px; }
    .firm-card { flex-direction: column; }
    .firm-rating { text-align: left; }
    .hero { padding: 48px 16px; }
    .container { padding: 32px 16px 60px; }
    .cta-section { padding: 24px 20px; }
}
