﻿:root {
    --gap: 18px;
    --areas-bg: #f7f9fc;
    --areas-surface: #ffffff;
    --areas-surface-soft: #fbfcfe;
    --areas-text: #142033;
    --areas-muted: #667385;
    --areas-line: #e5eaf1;
    --areas-accent: #0f766e;
    --areas-accent-dark: #0b5f59;
    --areas-accent-soft: rgba(15, 118, 110, 0.10);
    --areas-shadow-sm: 0 8px 18px rgba(15, 23, 42, 0.05);
    --areas-shadow-md: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body {
    margin: 0;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px;
}

.hero {
    padding: 10px 0 12px;
}

.subtle {
    opacity: .88;
}

.muted {
    color: rgba(0,0,0,.75);
}

.btnrow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.18);
    text-decoration: none;
    font-weight: 600;
}

.card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.grey-container {
    padding-top: 0;
    padding-bottom: 10px;
    background: #f5f5f5;
}

h2 {
    font-size: 20px;
}

/* =========================================================
   MODERN AREAS / LOCATIONS SECTION
   Replaces old .loc-section / .hr styling
========================================================= */

.areas-card {
    background: radial-gradient(circle at top left, rgba(15,118,110,0.05), transparent 28%), linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid #e9eef5;
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--areas-shadow-md);
}

.areas-header {
    margin-bottom: 24px;
}

.areas-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--areas-accent-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.areas-title {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--areas-text);
}

.areas-intro {
    margin: 0;
    max-width: 760px;
    color: var(--areas-muted);
    font-size: 16px;
    line-height: 1.6;
}

.county-section {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid var(--areas-line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--areas-shadow-sm);
}

    .county-section + .county-section {
        margin-top: 18px;
    }

.county-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ebf0f5;
}

    .county-head h3 {
        margin: 0;
        font-size: 22px;
        line-height: 1.2;
        font-weight: 800;
        letter-spacing: -0.02em;
        color: var(--areas-text);
    }

    .county-head span {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        padding: 8px 12px;
        border-radius: 999px;
        background: var(--areas-accent-soft);
        color: var(--areas-accent-dark);
        font-size: 13px;
        font-weight: 700;
    }

.loc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.loc-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 16px 18px;
    border: 1px solid #dfe6ee;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    color: #1a2433;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

    .loc-card::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 4px;
        background: linear-gradient(180deg, #14b8a6 0%, #0f766e 100%);
        opacity: 0;
        transition: opacity 0.22s ease;
    }

    .loc-card::after {
        content: "→";
        margin-left: auto;
        padding-left: 12px;
        font-size: 18px;
        font-weight: 800;
        color: #98a4b3;
        transition: transform 0.22s ease, color 0.22s ease;
    }

    .loc-card:hover {
        transform: translateY(-3px);
        border-color: rgba(15, 118, 110, 0.24);
        color: var(--areas-accent-dark);
        background: #ffffff;
        box-shadow: 0 16px 30px rgba(15, 118, 110, 0.12);
    }

        .loc-card:hover::before {
            opacity: 1;
        }

        .loc-card:hover::after {
            transform: translateX(4px);
            color: var(--areas-accent);
        }

    .loc-card:focus-visible {
        outline: none;
        border-color: var(--areas-accent);
        box-shadow: 0 0 0 4px var(--areas-accent-soft), 0 16px 30px rgba(15, 118, 110, 0.12);
    }

/* old divider no longer needed */
.hr,
.loc-section {
    all: unset;
}

/* =========================================================
   EXISTING COMPARE TABLE STYLES KEPT
========================================================= */

.compare-wrap {
    background: #fff;
    padding: 20px 0 30px;
    font-family: Roboto, sans-serif;
}

/* Mobile hint */
.compare-hint {
    display: none;
    font-size: 13px;
    color: #4c4c4c;
    background: #f6f7f6;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 0 0 10px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .compare-hint strong {
        font-weight: 800;
    }

    .compare-hint .arrow {
        font-weight: 900;
    }

/* Scroll container with edge fades */
.compare-scroll {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-gutter: stable both-edges;
}

    .compare-scroll::before,
    .compare-scroll::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 26px;
        pointer-events: none;
        z-index: 3;
    }

    .compare-scroll::after,
    .compare-scroll::before {
        display: none;
    }

    .compare-scroll::-webkit-scrollbar {
        height: 10px;
    }

    .compare-scroll::-webkit-scrollbar-track {
        background: #f2f2f2;
        border-radius: 999px;
    }

    .compare-scroll::-webkit-scrollbar-thumb {
        background: #cfcfcf;
        border-radius: 999px;
    }

.compare-table {
    border-collapse: separate;
    border-spacing: 12px 12px;
    min-width: 760px;
}

    .compare-table th,
    .compare-table td {
        background: #fff;
        border: 1px solid #e9e9e9;
        border-radius: 14px;
        padding: 14px;
        vertical-align: middle;
        box-shadow: 0 6px 18px rgba(0,0,0,.06);
    }

    .compare-table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: linear-gradient(180deg, #384935 0%, #2e3c2b 100%);
        color: #fff;
        border: none;
        box-shadow: 0 10px 22px rgba(0,0,0,.10);
        padding-top: 12px;
    }

.compare-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 800;
    font-size: 16px;
    margin: 0;
    line-height: 1.2;
}

.compare-sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: #97de3d;
    font-weight: 500;
}

.compare-img {
    display: block;
    margin: 0 auto;
    max-height: 140px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

.compare-price {
    font-size: 22px;
    font-weight: 900;
    margin: 0;
}

.compare-vat {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.compare-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8a8a8a;
    margin-bottom: 6px;
}

.compare-value {
    font-size: 14px;
    font-weight: 800;
    color: #222;
    margin: 0;
}

.compare-btn {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    background: #7fce0d;
    color: #0b1a00;
    transition: transform .05s ease, filter .15s ease;
}

    .compare-btn:hover {
        filter: brightness(.95);
    }

    .compare-btn:active {
        transform: translateY(1px);
    }

/* Most Popular highlight */
.is-popular {
    border: 2px solid #97de3d !important;
    box-shadow: 0 10px 26px rgba(151,222,61,.25) !important;
    position: relative;
}

.popular-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0b1a00;
    background: #97de3d;
    border-radius: 999px;
    padding: 6px 10px;
    margin-bottom: 10px;
}

.popular-header-pad {
    padding-top: 10px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
    .areas-card {
        padding: 18px;
        border-radius: 22px;
    }

    .areas-title {
        font-size: 28px;
    }

    .areas-intro {
        font-size: 15px;
    }

    .county-section {
        padding: 16px;
        border-radius: 18px;
    }

    .county-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

        .county-head h3 {
            font-size: 20px;
        }

    .loc-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .loc-card {
        min-height: 62px;
        padding: 15px 16px;
        border-radius: 16px;
    }
}

@media (max-width: 640px) {
    .wrap {
        padding: 24px 14px 40px;
    }

    .card {
        padding: 18px;
        border-radius: 16px;
    }
}

@media (max-width: 576px) {
    .compare-hint {
        display: flex;
    }
}

