/* "Areas We Cover" page */

/* Prevent horizontal scroll from 100vw sections */
html, body {
    overflow-x: hidden;
}

/* Hero Section */
.areas-hero-section {
    height: 60vh;
    min-height: 450px;
}

/* Breadcrumbs */
.areas-breadcrumb-nav {
    margin-top: 2rem;
}

/* Coverage list */
.coverage-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5f1 50%, #f8f9fa 100%);
    padding: 5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 3rem;
}

.coverage-header {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.coverage-header h2 {
    font-size: 2.5rem;
    color: #2D6A4F;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.coverage-header p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* Columns rather than a grid: the groups are very different lengths, and a
   grid would stretch the short ones to match the longest. */
.coverage-grid {
    columns: 3;
    column-gap: 1.5rem;
}

.coverage-group {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 15px;
    padding: 1.75rem;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.coverage-group h3 {
    font-size: 1.2rem;
    color: #2D6A4F;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e8f5f1;
}

.coverage-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.coverage-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.4rem 0;
    color: #1a1a1a;
    font-weight: 500;
}

.coverage-postcode {
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.coverage-note {
    max-width: 760px;
    margin: 3rem auto 0;
    text-align: center;
}

.coverage-note h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.coverage-note p {
    color: #555;
    line-height: 1.7;
}

.coverage-note a {
    color: #2D6A4F;
    font-weight: 700;
}

/* Services Overview Section */
.services-overview-section {
    background: white;
    padding: 5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.services-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #2D6A4F;
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.services-section-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 800;
}

.services-section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2D6A4F 0%, #1e4d38 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
}

.service-card-title {
    font-size: 1.5rem;
    color: #2D6A4F;
    margin-bottom: 1rem;
    font-weight: 800;
}

.service-card-description {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* home.css gives .service-card a fixed 450px height for the homepage cards;
   these are short text links, so let them size to their content. */
a.service-card {
    display: block;
    height: auto;
    color: inherit;
    text-decoration: none;
}

a.service-card:hover,
a.service-card:focus-visible {
    border-color: #2D6A4F;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(45, 106, 79, 0.15);
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 0;
    text-align: center;
    background: transparent;
}

.final-cta-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2D6A4F 0%, #1e4d38 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(45, 106, 79, 0.25);
    color: white;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: white;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: white;
    color: #2D6A4F;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .coverage-grid {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .coverage-section {
        padding: 3rem 0;
    }

    .coverage-grid {
        columns: 1;
    }

    .coverage-header h2 {
        font-size: 1.75rem;
    }

    .coverage-header p {
        font-size: 1rem;
    }

    .cta-content-wrapper {
        padding: 2.5rem 1.5rem;
        margin: 0 1rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-buttons-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
