/* ============================================================
   HEATING SERVICES NORTH WEST - SHARED STYLES
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #111111;
    --dark: #1a1a1a;
    --grey-900: #212121;
    --grey-700: #555555;
    --grey-500: #888888;
    --grey-300: #cccccc;
    --grey-100: #f5f5f5;
    --white: #ffffff;
    --red: #e01e2b;
    --red-dark: #c0191f;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 70px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav a {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--red);
}

.header-nav .btn-nav {
    background: var(--red);
    color: var(--white);
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.header-nav .btn-nav:hover {
    background: var(--red-dark);
    color: var(--white);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   SHARED BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--black);
    color: var(--black);
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
    padding: 90px 30px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--grey-700);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
}

.section-header {
    margin-bottom: 55px;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--red);
    margin-bottom: 25px;
}

.section-header.centered .section-divider {
    margin-left: auto;
    margin-right: auto;
}

.bg-light {
    background: var(--grey-100);
}

.bg-dark {
    background: var(--black);
}

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('media/hero-worker.jpg') center center / cover no-repeat;
    filter: brightness(0.3);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 520px;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
    background: var(--black);
    padding: 70px 30px;
    text-align: center;
}

.page-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
}

/* ============================================================
   CONTENT GRIDS
   ============================================================ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content p {
    color: var(--grey-700);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.text-content .emphasis {
    font-weight: 600;
    color: var(--black);
}

.image-block {
    position: relative;
}

.image-block img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.image-block .accent-bar {
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    background: var(--red);
    z-index: -1;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: #e0e0e0;
}

.service-card {
    background: var(--white);
    padding: 40px 28px;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    background: var(--black);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-card:hover .service-icon {
    color: var(--red);
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 18px;
    display: block;
    transition: color 0.3s ease;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--grey-700);
    font-size: 0.85rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.stat-item {
    border-left: 3px solid var(--red);
    padding-left: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--grey-500);
    font-weight: 500;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* ============================================================
   REASONS / WHY US
   ============================================================ */
.why-us {
    background: var(--black);
    color: var(--white);
}

.why-us .section-title {
    color: var(--white);
}

.why-us .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.why-us .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.reason-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.reason-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    flex-shrink: 0;
    width: 60px;
    letter-spacing: -2px;
}

.reason-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.reason-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ============================================================
   ACCREDITATION STRIP (All pages)
   ============================================================ */
.accreditation-strip {
    background: var(--grey-100);
    padding: 30px;
    border-top: 1px solid #e5e7eb;
}

.accreditation-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.accreditation-strip img {
    height: 45px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(30%);
}

.accreditation-strip img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Full accreditation grid (accreditations page) */
.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.accreditation-item {
    background: var(--white);
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: transform 0.3s ease;
}

.accreditation-item:hover {
    transform: translateY(-3px);
}

.accreditation-item img {
    max-height: 80px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 35px;
    border: 1px solid #eee;
    position: relative;
    background: var(--white);
}

.testimonial-card::before {
    content: "\201C";
    font-size: 4rem;
    color: var(--red);
    font-family: Georgia, serif;
    line-height: 1;
    position: absolute;
    top: 20px;
    left: 30px;
    opacity: 0.5;
}

.testimonial-card blockquote {
    color: var(--grey-700);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
    margin-top: 30px;
    font-style: italic;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--black);
}

.testimonial-card .cite-role {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--grey-500);
    display: block;
    margin-top: 3px;
}

/* ============================================================
   SECTORS
   ============================================================ */
.sector-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.sector-tag {
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.sector-tag:hover {
    border-color: var(--red);
    color: var(--white);
    background: rgba(224, 30, 43, 0.15);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
    max-width: 600px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-status {
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    color: #16a34a;
    display: block;
}

.form-status.error {
    color: var(--red);
    display: block;
}

.honey {
    position: absolute;
    left: -9999px;
}

/* Contact details sidebar */
.contact-details-card {
    background: var(--grey-100);
    padding: 40px;
}

.contact-details-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 25px;
}

.contact-detail {
    margin-bottom: 18px;
    color: var(--grey-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-detail strong {
    color: var(--black);
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.contact-detail a {
    color: var(--red);
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--red-dark);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
    background: var(--black);
    padding: 80px 30px;
    text-align: center;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    margin-bottom: 35px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark);
    padding: 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.footer a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        z-index: 150;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav a {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

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

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

    .section {
        padding: 60px 20px;
    }

    .reasons-grid {
        gap: 30px;
    }

    .accreditation-strip-inner {
        gap: 25px;
    }

    .accreditation-strip img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        text-align: center;
    }

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

    .accreditation-strip-inner {
        gap: 20px;
    }

    .accreditation-strip img {
        height: 30px;
    }
}