/* Herts Boilers - Complete Rebuild */
:root {
    --blue: #0a3d7c;
    --blue-dark: #062a55;
    --blue-light: #1565c0;
    --red: #c62828;
    --red-light: #ef5350;
    --gold: #ffc107;
    --text: #1a1a2e;
    --text-light: #555e6d;
    --bg: #ffffff;
    --bg-alt: #f0f4f8;
    --border: #dde3ee;
    --shadow: 0 4px 20px rgba(10,61,124,0.07);
    --shadow-lg: 0 12px 40px rgba(10,61,124,0.12);
    --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Source Sans 3', 'Segoe UI', sans-serif; color: var(--text); line-height: 1.7; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Top Bar */
.top-bar { background: var(--blue-dark); color: rgba(255,255,255,0.85); padding: 8px 0; font-size: 0.82rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: var(--gold); font-weight: 600; }
.top-bar .badges { display: flex; gap: 15px; align-items: center; }

/* Header */
.header { background: #fff; padding: 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-link img { height: 55px; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--blue); line-height: 1.1; }
.logo-text small { display: block; font-size: 0.65rem; color: var(--text-light); font-family: 'Source Sans 3', sans-serif; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .dropdown > .drop-trigger {
    color: var(--text); padding: 10px 14px; font-size: 0.88rem; font-weight: 600;
    font-family: 'Source Sans 3', sans-serif; border-radius: 6px; transition: 0.2s;
    white-space: nowrap; cursor: pointer; display: inline-block; background: none; border: none;
}
.main-nav > a:hover, .dropdown:hover > .drop-trigger { background: var(--bg-alt); color: var(--blue); }
.main-nav .btn-nav { background: var(--red); color: #fff; padding: 10px 20px; border-radius: 6px; font-weight: 700; }
.main-nav .btn-nav:hover { background: var(--red-light); }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; box-shadow: var(--shadow-lg); border-radius: 8px; padding: 8px 0; z-index: 999; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 20px; font-size: 0.88rem; font-weight: 500; color: var(--text); transition: 0.2s; }
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--blue); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { width: 26px; height: 3px; background: var(--blue); border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); padding: 90px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: url('images/header.png') center/cover no-repeat; opacity: 0.15; }
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-label { display: inline-block; background: rgba(255,193,7,0.15); border: 1px solid rgba(255,193,7,0.3); color: var(--gold); padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-bottom: 18px; font-family: 'Source Sans 3', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.hero h1 { color: #fff; font-size: 2.8rem; margin-bottom: 18px; }
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 28px; }
.hero-stats { display: flex; gap: 30px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { display: block; color: var(--gold); font-size: 2rem; font-weight: 800; font-family: 'Source Sans 3', sans-serif; }
.hero-stat .label { color: rgba(255,255,255,0.7); font-size: 0.8rem; font-family: 'Source Sans 3', sans-serif; }
.hero-cta { display: flex; gap: 15px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; transition: all 0.3s; border: 2px solid transparent; cursor: pointer; font-family: 'Source Sans 3', sans-serif; }
.btn-gold { background: var(--gold); color: var(--blue-dark); border-color: var(--gold); }
.btn-gold:hover { background: #ffca28; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,193,7,0.3); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: #fff; color: var(--blue); }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-light); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-light); transform: translateY(-2px); }

/* Sections */
.section { padding: 75px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 2.2rem; margin-bottom: 10px; color: var(--blue-dark); }
.section-subtitle { color: var(--text-light); font-size: 1.02rem; max-width: 650px; margin-bottom: 35px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Page Hero */
.page-hero { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); padding: 60px 0; text-align: center; }
.page-hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 15px; font-family: 'Source Sans 3', sans-serif; }
.breadcrumb a { color: var(--gold); }

/* Service Cards */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; display: block; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 180px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 22px; }
.service-card-body h3 { font-size: 1.1rem; color: var(--blue); margin-bottom: 8px; }
.service-card-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 12px; }
.service-card-body .link { color: var(--red); font-weight: 700; font-size: 0.85rem; font-family: 'Source Sans 3', sans-serif; }

/* USP Grid */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usp-item { display: flex; gap: 14px; padding: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.usp-icon { flex-shrink: 0; width: 48px; height: 48px; background: var(--bg-alt); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--blue); }
.usp-text h4 { font-size: 0.95rem; margin-bottom: 4px; font-family: 'Source Sans 3', sans-serif; font-weight: 700; }
.usp-text p { font-size: 0.85rem; color: var(--text-light); }

/* Content Grid */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.content-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.content-img img { width: 100%; display: block; }
.content-text h2 { margin-bottom: 15px; }
.content-text p { color: var(--text-light); margin-bottom: 14px; }
.content-text ul { list-style: none; margin: 15px 0; }
.content-text ul li { padding: 6px 0 6px 24px; position: relative; color: var(--text-light); font-size: 0.95rem; }
.content-text ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* Brands */
.brands-row { display: flex; gap: 30px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 20px 0; }
.brands-row span { font-weight: 700; font-size: 0.95rem; color: var(--text-light); opacity: 0.7; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; padding: 25px; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.review-stars { color: #f39c12; margin-bottom: 10px; font-size: 1rem; }
.review-card blockquote { color: var(--text-light); font-style: italic; font-size: 0.92rem; margin-bottom: 12px; line-height: 1.6; }
.review-author { font-weight: 700; font-size: 0.82rem; color: var(--blue); font-family: 'Source Sans 3', sans-serif; }

/* Pricing Table */
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.price-table th { background: var(--blue); color: #fff; padding: 12px 16px; text-align: left; font-family: 'Source Sans 3', sans-serif; font-size: 0.9rem; }
.price-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.price-table tr:nth-child(even) { background: var(--bg-alt); }

/* Areas */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.area-item { background: #fff; padding: 18px; text-align: center; border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 600; color: var(--blue); font-family: 'Source Sans 3', sans-serif; transition: 0.3s; }
.area-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.3px; font-family: 'Source Sans 3', sans-serif; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: inherit; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); }
.contact-sidebar { background: var(--blue); color: #fff; padding: 35px; border-radius: var(--radius); }
.contact-sidebar h3 { margin-bottom: 25px; font-size: 1.2rem; }
.contact-item { margin-bottom: 22px; }
.contact-item h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5; margin-bottom: 4px; font-family: 'Source Sans 3', sans-serif; }
.contact-item p { font-size: 1rem; }
.contact-item a { color: #fff; }
.contact-item .phone-big { font-size: 1.5rem; font-weight: 800; font-family: 'Source Sans 3', sans-serif; color: var(--gold); }

/* Map */
.map-section iframe { width: 100%; height: 350px; border: none; display: block; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--red), #d32f2f); padding: 50px 0; text-align: center; color: #fff; }
.cta-banner h2 { font-size: 2rem; margin-bottom: 10px; }
.cta-banner p { font-size: 1.05rem; margin-bottom: 22px; opacity: 0.92; }

/* Content Block (sub-pages) */
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 { color: var(--blue); font-size: 1.6rem; margin: 30px 0 12px; }
.content-block h3 { color: var(--blue-dark); font-size: 1.2rem; margin: 25px 0 10px; }
.content-block p { color: var(--text-light); margin-bottom: 14px; }
.content-block ul { margin: 10px 0 15px 20px; }
.content-block ul li { color: var(--text-light); margin-bottom: 6px; font-size: 0.95rem; }
.content-block img { border-radius: var(--radius); margin: 20px 0; box-shadow: var(--shadow); }
.content-block .highlight-box { background: var(--bg-alt); border-left: 4px solid var(--blue); padding: 20px 25px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; }
.content-block .highlight-box p { margin-bottom: 0; }

/* Footer */
.footer { background: var(--blue-dark); color: rgba(255,255,255,0.65); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 35px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; font-family: 'Source Sans 3', sans-serif; }
.footer-col p, .footer-col a { font-size: 0.85rem; display: block; margin-bottom: 6px; }
.footer-col a:hover { color: var(--gold); }
.footer-brand img { height: 40px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; text-align: center; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 1024px) {
    .services-grid, .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 999; }
    .main-nav.active { display: flex; }
    .dropdown-menu { position: static; box-shadow: none; padding-left: 15px; display: none; }
    .dropdown.active .dropdown-menu { display: block; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 15px; }
    .content-grid, .contact-grid { grid-template-columns: 1fr; }
    .services-grid, .usp-grid, .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid, .areas-grid { grid-template-columns: 1fr; }
    .top-bar-inner { justify-content: center; text-align: center; }
    .page-hero h1 { font-size: 1.8rem; }
}
