/* ================= GLOBAL ================= */

html, body {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: Segoe, "Segoe UI", Arial, sans-serif;
    color: #333;
    background: #f5f7fa;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= GLOBAL LINKS ================= */

a {
    color: #2563eb;
    text-decoration: underline;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* ================= HEADER ================= */

.site-header {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    z-index: 9999;
}

.site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-sizing: border-box;
}

.site-logo {
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo img {
    width: 190px;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.site-nav {
    margin-left: auto;
    padding-right: 4px;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.site-nav a {
    color: #1f2933;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.site-nav a:hover {
    color: #243b53;
    text-decoration: none;
}

/* ================= BANNER ================= */

#banner {
    position: relative;
    padding: 90px 20px 70px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
}

#banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

#banner > * {
    position: relative;
    z-index: 2;
}

#banner h1 {
    font-size: 42px;
    margin: 0 0 12px 0;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

#banner h2 {
    margin: 0 0 12px 0;
    color: #e5e7eb;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

#banner h3 {
    margin: 0 0 20px 0;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

#banner p {
    max-width: 700px;
    margin: 0 auto 20px auto;
    color: #e5e7eb;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.banner-home {
    background-image: url('/images/Leeds.jpg');
}

.banner-leeds {
    background-image: url('/images/Leeds.jpg');
}

.banner-wakefield {
    background-image: url('/images/Wakefield.jpg');
}

.banner-bradford {
    background-image: url('/images/Bradford.jpg');
}

.banner-huddersfield {
    background-image: url('/images/Huddersfield.jpg');
}

.banner-ewaste {
    background-image: url('/images/electrical.jpg');
}

.banner-subheading {
    color: #ffffff;
    font-size: medium;
}

/* ================= BUTTONS ================= */

.actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
    flex-wrap: wrap;
}

.actions li {
    margin: 0;
    padding: 0;
}

.actions .button,
.button,
.btn-red,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.actions .button {
    width: 200px;
    height: 48px;
}

.actions .button:hover,
.button:hover,
.btn-red:hover,
.btn-danger:hover {
    background: #b71c1c;
    color: #fff;
    text-decoration: none;
}

.btn-danger,
.btn-red {
    padding: 10px 18px;
    border-radius: 4px;
}

/* ================= FORMS ================= */

label {
    color: #484848;
    display: block;
    font-size: 0.95em;
    font-weight: 700;
    margin: 0 0 0.55em 0;
}

.form-group {
    margin-bottom: 22px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea,
select {
    width: 100%;
    border: 1px solid rgba(144, 144, 144, 0.25);
    border-radius: 6px;
    padding: 0.7em 1em;
    box-sizing: border-box;
    line-height: 1.4;
    min-height: 44px;
    background: #fff;
}

select,
select.form-control {
    height: 44px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

textarea,
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.form-shell p a,
.small-note a,
.soft-panel p a,
.form-text a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
}

.form-shell p a:hover,
.small-note a:hover,
.soft-panel p a:hover,
.form-text a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.form-shell .small,
.form-shell p.small,
.form-shell .small-note,
.soft-panel .small-note,
.soft-panel p.small-note {
    margin-bottom: 22px;
    display: block;
    line-height: 1.5;
}

.form-shell form,
.soft-panel form {
    margin-top: 4px;
}

.form-shell form .btn,
.form-shell form button,
.soft-panel form .btn,
.soft-panel form button {
    margin-top: 6px;
}

/* ================= PANELS & LAYOUT ================= */

.section-wrap {
    padding: 36px 0;
}

.section-wrap h2 {
    margin-bottom: 18px;
}

.container.section-wrap:first-of-type {
    padding-top: 44px;
}

.container.section-wrap:last-of-type {
    padding-bottom: 44px;
}

.soft-panel,
.panel,
.alt-panel {
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
}

.soft-panel,
.panel {
    background: #ffffff;
}

.alt-panel {
    background: #f8fafc;
}

.soft-panel h2:first-child,
.panel h2:first-child,
.alt-panel h2:first-child {
    margin-top: 0;
}

.section-heading-wrap {
    margin-bottom: 22px;
}

.section-heading-wrap p {
    margin-bottom: 0;
    color: #5b6470;
}

.location-intro-panel,
.commercial-callout-panel,
.links-panel,
.steps-panel {
    overflow: hidden;
}

/* ================= LOCATION PAGE ELEMENTS ================= */

.location-highlight-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.location-highlight-box h3 {
    color: #1f2933;
    margin-bottom: 14px;
    font-size: 1.15rem;
}

.feature-tick-list {
    margin: 0;
    padding-left: 18px;
}

.feature-tick-list li {
    margin-bottom: 8px;
}

.form-shell,
.map-shell {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.form-shell .small,
.form-shell p.small,
.form-shell .small-note {
    margin-bottom: 18px;
    display: block;
    line-height: 1.5;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.area-column {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 18px 10px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.area-column ul {
    margin: 0;
    padding-left: 18px;
}

/* ================= LOCATION PAGE VERTICAL SPACING FIXES ================= */

.location-intro-panel {
    margin-bottom: 0;
}

.steps-panel,
.links-panel,
.commercial-callout-panel {
    margin-top: 0;
}

.section-wrap .row {
    row-gap: 24px;
}

.location-intro-panel .row,
.steps-panel .row,
.links-panel .row,
.commercial-callout-panel .row {
    row-gap: 24px;
}

.location-intro-panel + .section-wrap,
.commercial-callout-panel + .section-wrap,
.steps-panel + .section-wrap,
.links-panel + .section-wrap {
    padding-top: 6px;
}

.form-shell,
.map-shell,
.location-highlight-box,
.area-column,
.service-feature-card,
.process-step-card,
.step-card {
    margin-bottom: 0;
}

/* ================= HOMEPAGE LOCATION CARDS ================= */

.location-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 20px;
}

.location-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
    text-decoration: none;
}

.location-card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.location-card-body {
    padding: 16px;
}

.location-card-body h3 {
    margin-top: 0;
    margin-bottom: 6px;
    color: #1f2933;
}

.location-card-body p {
    margin: 0;
    font-size: 0.95rem;
    color: #5b6470;
}

/* ================= E-WASTE WIDE CARD ================= */

.ewaste-wide-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    margin-top: 24px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ewaste-wide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

.ewaste-wide-card-image {
    min-height: 220px;
    background-image: url('/images/electrical.jpg');
    background-size: cover;
    background-position: center;
}

.ewaste-wide-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
}

.ewaste-wide-card-content {
    flex: 1;
}

.ewaste-wide-card-content h3 {
    margin: 0 0 10px 0;
    color: #1f2933;
    font-size: 2rem;
}

.ewaste-wide-card-content p {
    margin: 0;
    font-size: 1rem;
    color: #5b6470;
    line-height: 1.7;
    max-width: 720px;
}

.ewaste-wide-card-action {
    flex-shrink: 0;
}

.ewaste-wide-button {
    white-space: nowrap;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
}

/* ================= SERVICE / COLLECT CARDS ================= */

.collect-grid,
.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2em;
}

.collect-card,
.service-feature-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    border: 1px solid #e5e7eb;
}

.collect-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.collect-card-body {
    padding: 1.1em;
}

.collect-card-highlight {
    background: #243b53;
    color: white;
    display: flex;
    align-items: center;
}

.service-feature-card {
    padding: 22px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.service-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #d32f2f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.service-feature-card h3 {
    color: #1f2933;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.service-feature-card p {
    margin-bottom: 0;
    color: #5b6470;
}

/* ================= LISTS ================= */

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

.info-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.info-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: #2563eb;
    font-size: 1.2rem;
}

.commercial-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 36px;
}

.commercial-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 13px;
    break-inside: avoid;
    color: #334e68;
}

.commercial-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: #2563eb;
    font-size: 1.2rem;
}

/* ================= STEP / PROCESS CARDS ================= */

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.process-step-card,
.step-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5em;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
    height: 100%;
}

.process-step-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
    padding: 28px 22px 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    text-align: left;
}

.step-card h3,
.process-step-card h3 {
    margin-top: 0;
}

.process-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #d32f2f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.process-step-card h3 {
    color: #1f2933;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.process-step-card p {
    margin-bottom: 0;
    color: #5b6470;
}

/* ================= MAP ================= */

.map-embed {
    width: 100%;
    min-height: 350px;
    border: 0;
    border-radius: 8px;
    display: block;
}

.map-note {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* ================= LINK ROW ================= */

.location-link-row {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.location-link-row a {
    display: inline-block;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    text-decoration: none;
    color: #1f2933;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.location-link-row a:hover {
    background: #f3f4f6;
    text-decoration: none;
}

/* ================= COMMERCIAL HEROES ================= */

.commercial-hero,
.commercial-ewaste-hero {
    background: linear-gradient(135deg,#1f2933 0%,#243b53 100%);
    color: #fff;
    padding: 70px 0 60px;
}

.commercial-hero h1,
.commercial-hero p,
.commercial-ewaste-hero h1,
.commercial-ewaste-hero p {
    color: #fff;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ================= FOOTER ================= */

.site-footer {
    background: #1f2933;
    color: #f0f4f8;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

.site-footer h3,
.site-footer h4 {
    color: #ffffff;
}

.site-footer a {
    color: #f0f4f8;
    text-decoration: none;
}

.site-footer a:hover {
    color: #9fb3c8;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #3e4c59;
    margin-top: 30px;
    padding-top: 18px;
    text-align: center;
}

.muted {
    color: #52606d;
}

.small-note {
    font-size: .92rem;
    color: #52606d;
    line-height: 1.5;
}

.small-note a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
}

.small-note a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
    .site-header-inner {
        padding: 16px 20px;
    }

    .site-nav ul {
        gap: 18px;
    }
}

@media (max-width: 991px) {
    .service-card-grid,
    .collect-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps-grid {
        grid-template-columns: 1fr;
    }

    .location-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ewaste-wide-card {
        grid-template-columns: 1fr;
    }

    .ewaste-wide-card-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .ewaste-wide-card-image {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 18px;
    }

    .site-nav {
        width: 100%;
        margin-left: 0;
        padding-right: 0;
    }

    .site-nav ul {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 14px 18px;
    }

    #banner {
        padding: 80px 20px 60px;
    }

    #banner h1 {
        font-size: 30px;
    }

    .actions .button {
        width: 220px;
    }

    .section-wrap {
        padding: 30px 0;
    }
}

@media (max-width: 767px) {
    .service-card-grid,
    .collect-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid,
    .location-card-grid {
        grid-template-columns: 1fr;
    }

    .commercial-list {
        columns: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= FINAL HEADER FIXES ================= */
.site-header {
    padding: 0;
}

.site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-sizing: border-box;
}

.site-nav {
    margin-left: auto;
}

.site-nav ul {
    justify-content: flex-end;
    gap: 22px;
}

/* ================= LOCATION PAGE SPACING FIXES ================= */
section.container.soft-panel {
    margin-top: 24px;
    margin-bottom: 0;
}

#banner + section.container.soft-panel {
    margin-top: 36px;
}

section.container.soft-panel + section.container.soft-panel {
    margin-top: 24px;
}

section.container.soft-panel .row {
    row-gap: 24px;
}

section.container.soft-panel .section-heading-wrap {
    margin-bottom: 22px;
}

/* ================= HOMEPAGE WIDE SERVICE CARDS ================= */
.service-wide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.service-wide-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-wide-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-wide-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.service-wide-card-body h3 {
    margin: 0;
    color: #1f2933;
}

.service-wide-card-body p {
    margin: 0;
    color: #5b6470;
    line-height: 1.6;
    flex: 1;
}

.service-wide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 12px 20px;
    border-radius: 8px;
    background: #d32f2f;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.service-wide-button:hover {
    background: #b71c1c;
    color: #fff;
    text-decoration: none;
}

/* ================= LOCATIONS PAGE CARDS ================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.area-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #1f2933;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    text-decoration: none;
}

.area-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.area-card p {
    margin: 0;
    color: #5b6470;
}

@media (max-width: 991px) {
    .service-wide-grid,
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 18px;
    }

    .site-nav {
        width: 100%;
    }

    .site-nav ul {
        justify-content: flex-start;
        gap: 14px 18px;
    }
}

@media (max-width: 767px) {
    .service-wide-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    section.container.soft-panel {
        margin-top: 18px;
    }

    #banner + section.container.soft-panel {
        margin-top: 24px;
    }
}
