:root {
  --navy: #102a43;
  --blue: #1769aa;
  --cyan: #1aa6b7;
  --light-blue: #eaf5ff;
  --green: #1f7a4d;
  --orange: #ff9f1c;
  --orange-dark: #e28400;
  --white: #ffffff;
  --text: #263238;
  --muted: #64748b;
  --border: #dbe7f3;
  --shadow: 0 18px 45px rgba(16, 42, 67, 0.15);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.logo-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); background: var(--navy); color: var(--orange); font-size: 0.85rem; }
.site-nav { display: flex; align-items: center; gap: 16px; font-size: 0.9rem; font-weight: 700; line-height: 1.2; }
.site-nav a { display: inline-flex; align-items: center; }
.site-nav a:hover { color: var(--blue); }
.nav-call { background: var(--orange); color: var(--navy); padding: 10px 14px; border-radius: 999px; font-weight: 800; }
.nav-toggle { display: none; border: 0; background: var(--navy); color: var(--white); font-weight: 800; border-radius: var(--radius); padding: 10px 12px; }
.hero, .page-hero { color: var(--white); background: linear-gradient(135deg, rgba(16,42,67,0.96), rgba(23,105,170,0.9)); padding: 82px 0; }
.hero-photo { background: linear-gradient(135deg, rgba(16,42,67,0.9), rgba(23,105,170,0.78)), url('../images/liverpool-gas-engineer.webp') center/cover no-repeat; }
.hero-grid, .page-hero-grid, .quote-section-grid, .content-grid, .intro-grid, .media-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; }
h1, h2, h3 { line-height: 1.15; margin-top: 0; color: inherit; letter-spacing: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 4.35rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); margin-bottom: 16px; }
h3 { font-size: 1.22rem; margin-bottom: 10px; }
.hero-text, .page-hero p { font-size: 1.15rem; max-width: 650px; color: #e8f5ff; }
.hero-actions, .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 22px; border-radius: 999px; font-weight: 800; border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary, .btn-light { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-full { width: 100%; }
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.trust-row span { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22); padding: 8px 12px; border-radius: 999px; font-size: 0.9rem; }
.quote-card, .hero-panel, .sidebar-card, .feature-box, .service-card, .step, .price-card { background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.quote-card h2 { color: var(--navy); }
.quote-card p { color: var(--text); }
.quote-form { display: grid; gap: 14px; }
.quote-form label { display: grid; gap: 6px; color: var(--muted); font-weight: 400; font-size: 0.78rem; line-height: 1.25; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 13px 14px; font: inherit; background: var(--white); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(255,159,28,0.25); border-color: var(--orange); }
.form-message { margin: 0; font-weight: 800; color: var(--blue); }
.section { padding: 76px 0; }
section[id] { scroll-margin-top: 92px; }
.section-light { background: var(--light-blue); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.section-heading h2, .intro-grid h2, .areas h2, .content-grid h2, .quote-section-grid h2, .media-grid h2, .legal-copy h2 { color: var(--navy); }
.cards-grid, .steps-grid, .pricing-grid, .split-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.split-services { grid-template-columns: repeat(2, 1fr); }
.service-card a, .price-card a, .text-link { color: var(--blue); font-weight: 800; }
.service-card-media { padding: 0; overflow: hidden; }
.service-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card-media h3, .service-card-media p, .service-card-media a { margin-left: 24px; margin-right: 24px; }
.service-card-media a { display: inline-block; margin-bottom: 24px; }
.tick-list { padding: 0; margin: 0; list-style: none; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 900; }
.dark-list li::before { color: var(--green); }
.cta-strip { background: var(--orange); color: var(--navy); padding: 46px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { margin: 0; font-weight: 700; }
.trust-band { background: var(--navy); color: var(--white); padding: 42px 0; }
.trust-band-inner { display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-items: center; }
.trust-band h2 { margin-bottom: 8px; }
.trust-band p { margin-bottom: 0; color: #e8f5ff; }
.trust-band img, .trust-card img { background: var(--white); padding: 12px; border-radius: var(--radius); }
.media-grid img, .image-panel img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.image-panel { padding: 0; overflow: hidden; }
.image-panel img { height: 100%; min-height: 330px; box-shadow: none; border-radius: 0; }
.price-card { border: 1px solid var(--border); box-shadow: none; }
.price-card.featured { border: 3px solid var(--orange); box-shadow: var(--shadow); }
.pricing-section { background: #eef7ff; }
.guarantee-check { max-width: 620px; margin: 0 auto 30px; text-align: center; }
.guarantee-check > p:first-child { margin: 0 0 12px; color: var(--navy); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.84rem; }
.guarantee-options { display: inline-flex; gap: 12px; padding: 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 10px 24px rgba(16, 42, 67, 0.08); }
.guarantee-option { min-width: 116px; border: 0; border-radius: 999px; padding: 11px 20px; background: transparent; color: var(--navy); font: inherit; font-weight: 900; cursor: pointer; }
.guarantee-option.is-active { background: var(--blue); color: var(--white); }
.guarantee-option[data-guarantee="no"].is-active { background: #f0643f; }
.guarantee-note { max-width: 560px; margin: 14px auto 0; color: var(--muted); font-size: 0.95rem; }
.pricing-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.cover-plan { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(16, 42, 67, 0.12); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cover-plan.is-recommended { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow); }
.cover-plan-advanced.is-recommended, .cover-plan-premium.is-recommended { border-color: #f0643f; }
.cover-plan-essential { --plan-accent: #23aee4; --plan-soft: #dff5ff; --plan-grid: rgba(35, 174, 228, 0.24); }
.cover-plan-advanced { --plan-accent: #f0643f; --plan-soft: #ffe6df; --plan-grid: rgba(240, 100, 63, 0.2); }
.cover-plan-premium { --plan-accent: #f4b23e; --plan-soft: #fff1cf; --plan-grid: rgba(244, 178, 62, 0.24); }
.plan-ribbon { background: var(--plan-accent); color: var(--white); font-size: 0.76rem; font-weight: 900; text-align: center; text-transform: uppercase; letter-spacing: 0.03em; padding: 9px 10px; }
.cover-plan-premium .plan-ribbon { color: var(--navy); }
.plan-visual { position: relative; height: 124px; background-color: var(--plan-soft); background-image: linear-gradient(var(--plan-grid) 1px, transparent 1px), linear-gradient(90deg, var(--plan-grid) 1px, transparent 1px); background-size: 18px 18px; }
.plan-boiler { position: absolute; left: 50%; top: 18px; width: 74px; height: 82px; transform: translateX(-50%); background: linear-gradient(#ffffff, #eff7fb); border: 2px solid rgba(16, 42, 67, 0.12); border-radius: 6px; box-shadow: 0 8px 16px rgba(16, 42, 67, 0.12); }
.plan-boiler::before { content: ""; position: absolute; left: 22px; right: 22px; top: 14px; height: 4px; border-radius: 999px; background: rgba(16, 42, 67, 0.18); }
.plan-boiler::after { content: ""; position: absolute; left: 30px; bottom: 15px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--plan-accent); }
.plan-tool { position: absolute; left: 42px; bottom: 24px; width: 34px; height: 54px; border-radius: 8px; background: var(--navy); border: 4px solid #2b7bd3; box-shadow: 0 8px 14px rgba(16, 42, 67, 0.18); }
.plan-tool::before { content: ""; position: absolute; left: 8px; right: 8px; top: 9px; height: 12px; border-radius: 3px; background: #a5e86f; }
.plan-tool::after { content: ""; position: absolute; left: 11px; bottom: 8px; width: 8px; height: 8px; border-radius: 50%; background: #e9f2f8; box-shadow: 0 -12px 0 rgba(233, 242, 248, 0.8); }
.plan-controls { position: absolute; right: 42px; bottom: 26px; width: 54px; height: 38px; border: 4px solid rgba(16, 42, 67, 0.22); border-radius: 5px; background: #f7fbff; }
.plan-controls::before { content: ""; position: absolute; left: 12px; right: 12px; top: 8px; height: 11px; background: #79a6d8; border-radius: 2px; }
.plan-controls::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -10px; height: 4px; background: rgba(16, 42, 67, 0.25); border-radius: 999px; }
.plan-radiator { position: absolute; right: 34px; bottom: 20px; width: 70px; height: 42px; border-radius: 6px; background: repeating-linear-gradient(90deg, #ffffff 0 8px, #e5eef5 8px 12px); border: 2px solid rgba(16, 42, 67, 0.12); }
.plan-radiator::before { content: ""; position: absolute; left: -16px; top: 8px; width: 14px; height: 22px; border: 4px solid #9cc2dd; border-right: 0; border-radius: 8px 0 0 8px; }
.plan-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.plan-badge { align-self: flex-start; margin: 0 0 12px; color: var(--plan-accent); font-size: 0.72rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.cover-plan.is-recommended .plan-badge::after { content: " - recommended"; color: var(--navy); }
.plan-body h3 { margin-bottom: 6px; color: var(--plan-accent); font-size: 1.42rem; text-transform: uppercase; }
.plan-subtitle { margin: 0 0 16px; color: var(--plan-accent); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.plan-features { padding: 0; margin: 0 0 20px; list-style: none; }
.plan-features li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 0.94rem; line-height: 1.35; }
.plan-features li::before { content: ""; position: absolute; left: 0; top: 0.48em; width: 8px; height: 8px; border-radius: 50%; background: var(--plan-accent); }
.plan-price { margin: auto 0 0; color: var(--plan-accent); font-size: 2.45rem; line-height: 1; font-weight: 900; }
.plan-price span { font-size: 1.35rem; vertical-align: super; }
.plan-price small { display: block; margin-top: 6px; color: var(--muted); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; }
.plan-price del { display: inline-block; margin-right: 8px; color: #94a3b8; font-size: 0.95rem; font-weight: 800; vertical-align: middle; }
.plan-note { margin: 6px 0 14px; color: var(--muted); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; }
.btn-plan { width: 100%; margin-top: 16px; background: var(--white); color: var(--plan-accent); border: 2px solid currentColor; min-height: 46px; padding: 11px 18px; }
.btn-plan:hover { background: var(--plan-accent); color: var(--white); }
.cover-plan-premium .btn-plan:hover { color: var(--navy); }
.reviews-section { background: #f8fbfd; }
.review-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review-links a { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; text-align: center; font-weight: 800; color: var(--navy); }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-weight: 800; color: var(--navy); }
.faq-list p { margin-bottom: 0; }
.areas { max-width: 900px; }
.sidebar-card { align-self: start; }
.quote-card-light { box-shadow: none; border: 1px solid var(--border); }
.legal-copy { max-width: 860px; }
.legal-copy a { color: var(--blue); font-weight: 800; }
.simple-hero { padding: 66px 0; }
.site-footer { background: var(--navy); color: var(--white); padding: 54px 0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 28px; }
.site-footer a { color: #dcefff; }
.site-footer h3, .site-footer h4 { margin-bottom: 8px; }
.footer-small { color: #dcefff; font-size: 0.92rem; }
.mobile-call { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1001; background: var(--orange); color: var(--navy); text-align: center; padding: 14px; border-radius: 999px; font-weight: 900; box-shadow: var(--shadow); }

@media (max-width: 960px) {
  .site-nav { gap: 10px; font-size: 0.84rem; }
  .nav-call { padding: 9px 10px; }
  .review-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 16px; right: 16px; top: 78px; display: none; flex-direction: column; align-items: stretch; background: var(--white); padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; }
  .hero-grid, .page-hero-grid, .quote-section-grid, .content-grid, .intro-grid, .footer-grid, .media-grid, .trust-band-inner { grid-template-columns: 1fr; }
  .cards-grid, .steps-grid, .split-services, .pricing-grid, .pricing-plans { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero, .page-hero { padding: 58px 0; }
  .section { padding: 58px 0; }
  .mobile-call { display: block; }
  body { padding-bottom: 72px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 24px, 1140px); }
  .logo span:last-child { font-size: 0.95rem; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .btn { width: 100%; }
  .quote-card, .hero-panel, .sidebar-card, .feature-box, .service-card, .step, .price-card { padding: 24px; }
  .service-card-media { padding: 0; }
  .guarantee-options { display: flex; width: 100%; }
  .guarantee-option { flex: 1; min-width: 0; }
  .plan-visual { height: 112px; }
  .plan-body { padding: 22px; }
  .plan-price { font-size: 2.2rem; }
  .review-links { grid-template-columns: 1fr; }
}
