/*
Theme Name: AirCon Doctor
Theme URI: https://aircondoctor.co.uk
Author: AirCon Doctor
Description: Custom theme for AirCon Doctor — Air Conditioning Installation, Repair and Servicing
Version: 1.0
License: Private
Text Domain: aircon-doctor
*/

/* ============================================================
   BRAND COLOURS
   Primary blue:    #0a3d7a
   Accent cyan:     #00b4d8
   Orange CTA:      #ff6b00
   Dark text:       #2c3e50
   Light bg:        #f0f4f8
   ============================================================ */

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: #2c3e50;
    margin: 0;
    padding: 0;
}

h1 { font-size: 2.8em; font-weight: 700; line-height: 1.2; }
h2 { font-size: 2em; font-weight: 700; }
h3 { font-size: 1.4em; font-weight: 600; margin-bottom: 12px; }
h4 { font-size: 1.1em; font-weight: 600; }
p  { font-size: 16px; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: #0a3d7a; text-decoration: none; }
a:hover { color: #00b4d8; }
section { padding: 70px 0; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
.col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 15px; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }

@media (max-width: 768px) {
    .col-md-6, .col-md-4, .col-md-8 { flex: 0 0 100%; max-width: 100%; }
    h1 { font-size: 2em; }
}

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 80px;
}
.header-inner {
    max-width: 1170px; margin: 0 auto; padding: 0 20px;
    height: 80px; display: flex; align-items: center; justify-content: space-between;
}
.site-logo img { max-width: 180px; height: auto; }
.site-logo span {
    font-size: 1.5em; font-weight: 800; color: #0a3d7a;
    display: flex; align-items: center; gap: 8px;
}
.site-logo span em { color: #00b4d8; font-style: normal; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { color: #2c3e50; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 4px; }
.site-nav a:hover { color: #0a3d7a; background: #f0f4f8; }
.site-nav .nav-cta { background: #ff6b00; color: #fff !important; padding: 10px 20px; border-radius: 4px; }
.site-nav .nav-cta:hover { background: #e05a00; color: #fff !important; }

.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: #0a3d7a; }

@media (max-width: 992px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; top: 80px; left: 0; right: 0;
        background: #fff; flex-direction: column; align-items: stretch;
        padding: 10px 0; border-bottom: 2px solid #0a3d7a; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 14px 20px; border-bottom: 1px solid #f0f4f8; }
}

/* ── HERO ───────────────────────────────────────────────── */
.site-hero {
    background: linear-gradient(135deg, #0a3d7a 0%, #1565c0 50%, #0097b2 100%);
    padding: 130px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}
.site-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(0,180,216,0.1);
    border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; max-width: 650px; }
.hero-inner h1 { color: #fff; margin: 0 0 16px; }
.hero-inner .hero-sub { color: rgba(255,255,255,0.9); font-size: 1.2em; margin: 0 0 20px; }
.hero-trust { color: rgba(255,255,255,0.8); font-size: 0.9em; margin: 0 0 30px; line-height: 1.8; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
    background: #ff6b00; color: #fff; padding: 15px 28px;
    border-radius: 5px; font-weight: 700; font-size: 1em;
    display: inline-block; border: none; cursor: pointer; transition: background 0.2s;
}
.btn-primary:hover { background: #e05a00; color: #fff; }
.btn-secondary {
    background: rgba(255,255,255,0.15); color: #fff; padding: 15px 28px;
    border-radius: 5px; font-weight: 600; font-size: 1em;
    display: inline-block; border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* ── USP BAR ────────────────────────────────────────────── */
.usp-bar {
    background: #0a3d7a; padding: 0;
}
.usp-bar-inner {
    display: flex; flex-wrap: wrap; justify-content: center;
}
.usp-item {
    flex: 1; min-width: 160px; padding: 18px 20px;
    text-align: center; border-right: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.usp-item:last-child { border-right: none; }
.usp-item .usp-icon { font-size: 1.6em; display: block; margin-bottom: 4px; }
.usp-item .usp-text { font-size: 0.82em; font-weight: 600; opacity: 0.9; }

/* ── SECTIONS ───────────────────────────────────────────── */
.section-light { background: #f0f4f8; }
.section-white { background: #fff; }
.section-dark { background: #0a3d7a; color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.85); }

.section-title { text-align: center; max-width: 700px; margin: 0 auto 45px; }
.section-title h2 { color: #0a3d7a; margin-bottom: 12px; }
.section-title p { font-size: 1.1em; color: #555; }

/* ── SERVICE CARDS ──────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; margin-top: 20px;
}
.service-card {
    background: #fff; border-radius: 10px; padding: 28px 24px;
    border: 1px solid #e2e8ef; transition: all 0.2s;
    border-top: 4px solid #00b4d8;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.service-card .service-icon { font-size: 2.2em; margin-bottom: 14px; display: block; }
.service-card h3 { color: #0a3d7a; font-size: 1.1em; margin-bottom: 10px; }
.service-card p { font-size: 0.9em; color: #666; margin-bottom: 16px; }
.service-card a { color: #ff6b00; font-weight: 600; font-size: 0.9em; }

/* ── BRANDS ─────────────────────────────────────────────── */
.brands-bar {
    background: #f0f4f8; padding: 30px 0; border-top: 1px solid #e2e8ef;
}
.brands-inner {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; gap: 16px 40px;
}
.brand-badge {
    font-size: 1em; font-weight: 800; color: #0a3d7a;
    padding: 8px 16px; background: #fff; border: 1px solid #e2e8ef;
    border-radius: 6px; letter-spacing: 0.02em;
}

/* ── ACCREDITATIONS ─────────────────────────────────────── */
.accred-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0; }
.accred-badge {
    background: #fff; border: 2px solid #00b4d8; border-radius: 8px;
    padding: 10px 18px; font-size: 0.9em; font-weight: 700; color: #0a3d7a;
}

/* ── HOW IT WORKS ───────────────────────────────────────── */
.steps-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px; margin-top: 30px;
}
.step-item { text-align: center; padding: 20px; }
.step-num {
    width: 56px; height: 56px; background: #0a3d7a; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.4em; font-weight: 800; margin: 0 auto 16px;
}
.step-item h3 { font-size: 1em; color: #0a3d7a; margin-bottom: 8px; }
.step-item p { font-size: 0.9em; color: #666; }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px; margin-top: 30px;
}
.testimonial-card {
    background: #fff; border-radius: 10px; padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.testimonial-stars { color: #ffb800; font-size: 1.1em; margin-bottom: 10px; }
.testimonial-card p { font-size: 0.95em; color: #444; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.testimonial-author { font-weight: 700; color: #0a3d7a; font-size: 0.9em; }

/* ── CONTACT FORM ───────────────────────────────────────── */
.contact-form-wrap {
    background: #fff; border-radius: 12px; padding: 35px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.contact-form-wrap h3 { color: #0a3d7a; text-align: center; margin-bottom: 24px; }
.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.form-group { flex: 1; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid #d0d9e4; border-radius: 6px;
    font-size: 15px; font-family: inherit; color: #2c3e50;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #00b4d8; outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group label { display: block; font-size: 0.85em; font-weight: 600; color: #555; margin-bottom: 5px; }
.form-submit {
    background: #ff6b00; color: #fff; border: none;
    padding: 14px 30px; font-size: 1em; font-weight: 700;
    border-radius: 5px; cursor: pointer; width: 100%; margin-top: 10px;
    transition: background 0.2s;
}
.form-submit:hover { background: #e05a00; }
@media (max-width: 600px) { .form-row { flex-direction: column; } }

/* ── CTA SECTION ────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #0a3d7a 0%, #00b4d8 100%);
    padding: 70px 0; text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.1em; margin-bottom: 28px; }

/* ── EMERGENCY BANNER ───────────────────────────────────── */
.emergency-bar {
    background: #c0392b; padding: 14px 0; text-align: center;
}
.emergency-bar p {
    color: #fff; margin: 0; font-size: 0.95em; font-weight: 600;
}
.emergency-bar a { color: #ffe; text-decoration: underline; }

/* ── ACCORDION / FAQ ────────────────────────────────────── */
.accordion {
    background: #0a3d7a; color: #fff; cursor: pointer;
    padding: 16px 18px; width: 100%; border: none;
    text-align: left; font-size: 15px; font-weight: 600;
    margin: 6px 0 0; border-radius: 5px; transition: background 0.2s;
}
.accordion:hover, .accordion.active { background: #1565c0; }
.panel {
    display: none; padding: 16px 18px;
    background: #f0f4f8; border: 1px solid #d0d9e4;
    border-radius: 0 0 5px 5px; margin-bottom: 4px;
    font-size: 15px; line-height: 1.7; color: #444;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: #0d1b2a; color: #aaa; padding: 50px 0 20px; }
.site-footer h5 { color: #fff; font-size: 15px; margin-bottom: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 7px; }
.site-footer ul li a { color: #888; font-size: 14px; }
.site-footer ul li a:hover { color: #00b4d8; }
.site-footer p { font-size: 14px; color: #888; }
.footer-divider { border-top: 1px solid #1e2d3d; margin: 30px 0 20px; padding-top: 20px; }
.footer-copy { font-size: 13px; color: #666; }

/* ── FLOATING CTA (MOBILE) ──────────────────────────────── */
.floating-cta {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 999; background: #fff; border-top: 1px solid #e2e8ef;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}
.floating-cta a {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 12px 8px; font-size: 12px;
    font-weight: 700; color: #2c3e50; gap: 3px;
}
.floating-cta a:first-child { background: #ff6b00; color: #fff; }
@media (max-width: 768px) {
    .floating-cta { display: flex; }
    body { padding-bottom: 65px; }
}

/* ── CONTENT AREA ───────────────────────────────────────── */
.entry-content {
    max-width: 860px; margin: 0 auto; padding: 60px 20px; line-height: 1.8;
}
.entry-content h1 { font-size: 2em; color: #0a3d7a; margin-bottom: 20px; }
.entry-content h2 { font-size: 1.6em; color: #0a3d7a; margin: 35px 0 15px; }
.entry-content h3 { font-size: 1.2em; color: #2c3e50; margin: 25px 0 10px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul, .entry-content ol { padding-left: 25px; margin-bottom: 18px; }
.entry-content li { margin-bottom: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.entry-content table th { background: #0a3d7a; color: #fff; padding: 12px 16px; text-align: left; }
.entry-content table td { padding: 11px 16px; border-bottom: 1px solid #e2e8ef; }
.entry-content table tr:nth-child(even) td { background: #f0f4f8; }

/* ── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #0a3d7a 0%, #1565c0 100%);
    padding: 80px 0 50px; margin-top: 80px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: 2.2em; font-weight: 700; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1em; max-width: 600px; margin: 0 auto; }

/* ── UTILITIES ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-blue { color: #0a3d7a; }
.text-cyan { color: #00b4d8; }
.text-orange { color: #ff6b00; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.bg-light { background: #f0f4f8; }
.img-fluid { max-width: 100%; height: auto; }

/* ── PRICE TABLE ────────────────────────────────────────── */
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.price-table th { background: #0a3d7a; color: #fff; padding: 12px 16px; text-align: left; }
.price-table td { padding: 11px 16px; border-bottom: 1px solid #e2e8ef; }
.price-table tr:nth-child(even) td { background: #f0f4f8; }

/* ── NEARBY TOWNS ───────────────────────────────────────── */
.nearby-towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.nearby-towns a {
    background: #fff; border: 1px solid #0a3d7a; color: #0a3d7a;
    padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
}
.nearby-towns a:hover { background: #0a3d7a; color: #fff; }

/* ── OTHER SERVICES BLOCK ───────────────────────────────── */
.other-services { background: #f0f4f8; padding: 40px 0; border-top: 1px solid #e2e8ef; }
.other-services h2 { text-align: center; color: #0a3d7a; margin-bottom: 20px; font-size: 1.3em; }
.services-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto; }
.services-links a {
    background: #fff; border: 1px solid #0a3d7a; color: #0a3d7a;
    padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 500;
}
.services-links a:hover { background: #0a3d7a; color: #fff; }
