/* HD Contractor — Tier A (Conservative) shared stylesheet
   Material-inspired, restrained two-tone blue palette pulled from the logo. */

:root {
  --blue:        #016DB2;
  --blue-bright: #0294D5;
  --blue-dark:   #015589;
  --blue-50:     #eef6fb;
  --blue-100:    #d9ebf5;
  --ink:         #2a2d2e;
  --grey:        #555554;
  --grey-light:  #A3A9AA;
  --line:        #e3e6e8;
  --bg:          #ffffff;
  --bg-soft:     #f5f7f8;
  --white:       #ffffff;
  --shadow-sm:   0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.10);
  --shadow-md:   0 4px 6px -1px rgba(16,24,40,.08), 0 2px 4px -1px rgba(16,24,40,.06);
  --shadow-lg:   0 12px 24px -6px rgba(16,24,40,.12), 0 4px 8px -2px rgba(16,24,40,.08);
  --radius:      6px;
  --maxw:        1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 { font-family: 'Roboto Slab', Georgia, serif; line-height: 1.25; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: var(--grey); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--blue { background: var(--blue-50); }
.eyebrow {
  font-family: 'Roboto', sans-serif; font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: .6rem;
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.divider { width: 56px; height: 3px; background: var(--blue-bright); border-radius: 2px; margin-top: 18px; }
.section-head.center .divider { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Roboto', sans-serif; font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid transparent; transition: background .18s, color .18s, box-shadow .18s, border-color .18s;
  letter-spacing: .01em; line-height: 1;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--blue-50); color: var(--blue-dark); }
.btn--lg { padding: 16px 34px; font-size: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.topbar {
  background: var(--blue-dark); color: #dbeaf3; font-size: .82rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: #cfe6f3; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-left span, .topbar-left a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { font-weight: 600; }

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 10px 14px; color: var(--ink); font-weight: 500;
  font-size: .95rem; border-radius: var(--radius); transition: background .15s, color .15s;
}
.nav-links > li > a:hover, .nav-links > li.active > a { background: var(--blue-50); color: var(--blue); }
.nav-links > li > a[aria-current="page"] { color: var(--blue); }

/* Dropdown (services mega menu) */
.has-dropdown > a::after { content: "▾"; font-size: .7rem; margin-left: 5px; color: var(--grey-light); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px; width: 760px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s; z-index: 120;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown h4 {
  font-family: 'Roboto', sans-serif; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.dropdown ul { list-style: none; }
.dropdown ul li a {
  display: block; padding: 5px 6px; font-size: .85rem; color: var(--grey);
  border-radius: 4px; line-height: 1.4;
}
.dropdown ul li a:hover { background: var(--blue-50); color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-weight: 700; color: var(--blue); white-space: nowrap; font-size: .95rem; }
.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--radius);
  width: 44px; height: 44px; cursor: pointer; flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: #fff; z-index: 200; padding: 24px;
  overflow-y: auto; transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mobile-menu-head img { height: 40px; }
.mobile-close { background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--ink); line-height: 1; }
.mobile-menu nav a {
  display: block; padding: 13px 4px; font-size: 1.05rem; color: var(--ink);
  border-bottom: 1px solid var(--line); font-weight: 500;
}
.mobile-menu nav details summary {
  padding: 13px 4px; font-size: 1.05rem; font-weight: 500; cursor: pointer;
  border-bottom: 1px solid var(--line); list-style: none;
}
.mobile-menu nav details summary::-webkit-details-marker { display: none; }
.mobile-menu nav details summary::after { content: "+"; float: right; color: var(--blue); }
.mobile-menu nav details[open] summary::after { content: "–"; }
.mobile-menu nav details .sub a { padding-left: 18px; font-size: .95rem; color: var(--grey); }
.mobile-menu nav details .subcat { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue); padding: 12px 4px 4px; font-weight: 700; }
.mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.mobile-cta .btn { justify-content: center; }

/* Hero */
.hero { position: relative; color: #fff; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(1,85,137,.93) 0%, rgba(1,109,178,.82) 48%, rgba(2,148,213,.55) 100%);
}
.hero-inner { position: relative; padding: 90px 0 96px; max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { color: #e4f1f8; font-size: 1.14rem; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges {
  position: relative; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22);
}
.hero-badges span {
  display: inline-flex; align-items: center; gap: 8px; font-size: .88rem;
  color: #eaf4fa; font-weight: 500;
}
.hero-badges span::before { content: "✓"; color: #9fd4ef; font-weight: 700; }

/* Page banner (interior pages) */
.page-banner { position: relative; color: #fff; }
.page-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-banner-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(1,85,137,.94), rgba(1,109,178,.80));
}
.page-banner-inner { position: relative; padding: 64px 0; }
.page-banner h1 { color: #fff; margin-bottom: 6px; }
.crumbs { font-size: .85rem; color: #cfe6f3; }
.crumbs a { color: #fff; }
.crumbs span { margin: 0 7px; color: #8fbdd6; }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 38px; padding: 22px 24px; }
.trust-strip .tlabel { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--grey-light); font-weight: 700; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 600;
  color: var(--grey); white-space: nowrap;
}
.trust-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-bright); flex-shrink: 0; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue);
  font-weight: 700; margin-bottom: 6px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: .92rem; color: var(--grey); margin-bottom: 14px; }
.card-link {
  margin-top: auto; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 5px;
}
.card-link::after { content: "→"; transition: transform .15s; }
.card:hover .card-link::after { transform: translateX(3px); }

/* Category card (4 big category tiles) */
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px;
  display: flex; align-items: flex-end; color: #fff; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1,61,99,.92) 0%, rgba(1,85,137,.45) 55%, rgba(1,85,137,.1) 100%); }
.cat-card .cat-body { position: relative; padding: 26px; }
.cat-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.cat-card p { color: #dbeef7; font-size: .9rem; margin-bottom: 10px; }
.cat-card .cat-count { font-size: .8rem; font-weight: 600; color: #aed8ed; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card img { transition: transform .4s; }

/* Feature boxes (why choose us) */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  text-align: center; transition: box-shadow .2s, border-color .2s;
}
.feature:hover { box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--blue-50); display: flex; align-items: center; justify-content: center; padding: 14px;
}
.feature-icon img { width: 100%; height: 100%; object-fit: contain; }
.feature h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature p { font-size: .9rem; color: var(--grey); margin-bottom: 0; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.stat-row { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 26px; }
.stat .num { font-family: 'Roboto Slab', serif; font-size: 2.1rem; font-weight: 700; color: var(--blue); line-height: 1; }
.stat .lbl { font-size: .82rem; color: var(--grey); margin-top: 4px; }

/* Testimonials */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; height: 100%;
}
.quote .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }
.quote p { font-size: .95rem; color: var(--grey); font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; }
.quote .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote .who .name { font-weight: 700; font-size: .92rem; font-style: normal; color: var(--ink); }
.quote .who .src { font-size: .78rem; color: var(--grey-light); }

/* List with checkmarks */
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--grey); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue);
  font-weight: 700; background: var(--blue-50); width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .72rem;
}
.check-list.two-col { grid-template-columns: 1fr 1fr; }

/* Process steps */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--blue);
  color: #fff; font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1rem; margin-bottom: 3px; }
.step p { font-size: .9rem; color: var(--grey); margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #d6eaf5; max-width: 560px; margin: 0 auto 26px; }
.cta-band .hero-cta { justify-content: center; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
input, select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue-bright); outline-offset: -1px; border-color: var(--blue); }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .8rem; color: var(--grey-light); margin-top: 12px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--line); }

/* Info cards (contact) */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.info-card p, .info-card a { font-size: .92rem; color: var(--grey); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .85rem; font-weight: 600; color: var(--grey); cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Promo */
.promo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
}
.promo-card .promo-img { background: var(--bg-soft); }
.promo-card .promo-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.promo-card .promo-body { padding: 36px; }
.price-tag { font-family: 'Roboto Slab', serif; font-size: 2.2rem; color: var(--blue); font-weight: 700; }
.price-tag small { font-size: .9rem; color: var(--grey); font-weight: 400; font-family: 'Roboto', sans-serif; }

/* Footer */
.site-footer { background: var(--ink); color: #c7cccd; padding-top: 60px; font-size: .9rem; }
.site-footer h4 {
  color: #fff; font-family: 'Roboto', sans-serif; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { color: #9ea4a5; font-size: .88rem; }
.footer-links { list-style: none; display: grid; gap: 9px; }
.footer-links a { color: #c7cccd; }
.footer-links a:hover { color: #fff; }
.footer-contact p { margin-bottom: 8px; display: flex; gap: 8px; }
.footer-contact a { color: #c7cccd; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid #4a4d4e; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: #c7cccd; font-size: .78rem; font-weight: 700;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-bottom {
  border-top: 1px solid #404344; padding: 20px 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; color: #9ea4a5; font-size: .82rem;
}
.footer-bottom a { color: #9ea4a5; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Accreditation logos block */
.accred-logos { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center; }
.accred-logos img { height: 56px; width: auto; opacity: .9; }

/* Prose */
.prose p { color: var(--grey); }
.prose h3 { margin: 28px 0 10px; }
.prose ul { margin: 0 0 16px 20px; color: var(--grey); }
.prose ul li { margin-bottom: 6px; }

/* Misc */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.tag {
  display: inline-block; background: var(--blue-50); color: var(--blue); font-size: .76rem;
  font-weight: 700; padding: 4px 10px; border-radius: 4px; letter-spacing: .03em;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn--primary { padding: 10px 16px; font-size: .85rem; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .promo-card { grid-template-columns: 1fr; }
  .promo-card .promo-img img { min-height: 240px; }
}
@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .check-list.two-col { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 0 64px; }
  .topbar-left { gap: 14px; font-size: .8rem; }
  .topbar-left span { display: none; }
  .topbar-social { display: none; }
  .nav-cta .btn--primary { padding: 9px 13px; font-size: .8rem; white-space: nowrap; }
  .brand img { height: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .stat-row { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card:hover { transform: none; }
}
