
:root{
  --navy:#061f35;
  --navy2:#0b2d49;
  --gold:#dda02c;
  --cream:#f6f1e9;
  --ink:#10243a;
  --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.5}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.wrap{width:min(1400px,calc(100% - 48px));margin:auto}
.topbar{position:sticky;top:0;z-index:50;background:var(--navy);color:#fff;box-shadow:0 2px 14px rgba(0,0,0,.2)}
.nav{min-height:82px;display:flex;align-items:center;gap:30px}
.logo{display:flex;align-items:center;gap:10px;min-width:320px}
.logo .roof{font-size:42px;color:var(--gold);line-height:1}
.logo strong{display:block;font-size:26px;letter-spacing:2px}
.logo small{display:block;color:var(--gold);letter-spacing:5px;font-size:12px;margin-top:2px}
.menu{display:flex;justify-content:center;gap:34px;flex:1}
.menu a{font-size:14px;font-weight:700;letter-spacing:.6px;text-transform:uppercase}
.menu a:hover{color:var(--gold)}
.phone{font-weight:800;font-size:18px;white-space:nowrap}
.menu-btn{display:none;background:none;border:0;color:white;font-size:28px}

.hero{position:relative;background:
linear-gradient(90deg,rgba(5,23,39,.4),rgba(5,23,39,.88)),
url('assets/local-nova-scotia.jpg') center/cover no-repeat;color:white;overflow:hidden}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.18))}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:360px 1fr 240px;gap:42px;align-items:end;min-height:520px}
.portrait-shell{align-self:end;height:500px;overflow:hidden}
.portrait-shell img{height:100%;width:100%;object-fit:cover;object-position:center 26%;filter:drop-shadow(0 15px 20px rgba(0,0,0,.3))}
.hero-copy{align-self:center;padding:60px 0}
.kicker,.eyebrow{font-size:13px;font-weight:800;letter-spacing:2px;color:var(--gold)}
.hero h1{font-size:46px;line-height:1.05;margin:12px 0 18px;font-weight:900}
.hero h1 span{color:var(--gold)}
.lead{font-size:18px;max-width:650px;color:#f3f5f6}
.trust{display:flex;gap:38px;margin:28px 0}
.trust>div{display:flex;align-items:center;gap:11px;font-weight:700}
.trust b{font-size:28px;color:var(--gold)}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:15px 22px;border-radius:6px;font-weight:900;letter-spacing:.5px}
.gold{background:var(--navy2);color:white;border:2px solid var(--gold)}
.gold:hover{background:var(--gold);color:var(--navy)}
.outline{border:2px solid var(--gold);color:white}
.outline:hover{background:var(--gold);color:var(--navy)}
.service-badge{align-self:center}
.cert{width:150px;height:150px;border-radius:50%;background:var(--gold);border:8px solid #e4be69;display:grid;place-items:center;text-align:center;color:#0a2034;font-weight:900;line-height:1.1;margin:0 auto 22px;box-shadow:0 4px 16px rgba(0,0,0,.35)}
.cert span{font-size:19px}
.area-note{background:rgba(6,31,53,.92);padding:18px;border-radius:10px;display:flex;gap:12px}
.area-note b{font-size:28px;color:var(--gold)}
.area-note p{margin:0}

.section{padding:28px 0 36px}
.inspect{background:var(--cream)}
.section-title{text-align:center;margin-bottom:18px}
.section-title p{margin:0;font-size:24px;font-weight:900;letter-spacing:1.2px;color:var(--navy)}
.section-title span{display:block;width:44px;height:3px;background:var(--gold);margin:8px auto}
.inspection-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:22px}
.inspection-card img{height:145px;width:100%;object-fit:cover;border-radius:4px}
.inspection-card h3{font-size:15px;margin:12px 0 6px}
.inspection-card p{font-size:13px;margin:0;color:#26384a}

.expect{background:#f7f2eb}
.steps{display:grid;grid-template-columns:repeat(4,1fr)}
.steps article{text-align:center;padding:10px 34px;border-right:1px solid #d3c6b7}
.steps article:last-child{border-right:0}
.step-icon{font-size:38px;color:var(--gold);margin-bottom:7px}
.steps b{display:block;margin-bottom:5px}
.steps p{font-size:13px;margin:0}

.about{padding:75px 0;background:white}
.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}
.about h2,.local h2,.contact h2{font-size:38px;line-height:1.15;margin:8px 0 18px;color:var(--navy)}
.about p{font-size:17px;color:#435363}
.about-photo img{height:430px;width:100%;object-fit:cover;object-position:center 26%;border-radius:8px}

.local{display:grid;grid-template-columns:1.1fr .9fr;background:var(--navy);color:white}
.local-photo img{width:100%;height:100%;min-height:360px;object-fit:cover}
.local-copy{padding:55px 70px}
.local-copy h2{color:#fff}
.local-copy p{font-size:17px;color:#e1e8ed}
.local-tag{font-weight:800;color:#fff!important}

.contact{background:var(--navy);color:#fff;padding:32px 0;border-top:1px solid rgba(255,255,255,.12)}
.contact-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.contact h2{color:#fff;margin:5px 0}
.contact p{margin:0;color:#d9e0e5}
.contact-actions{display:flex;gap:12px}

footer{background:#041523;color:#cfd7de;padding:30px 0}
.footer{display:flex;align-items:center;justify-content:space-between;gap:30px}
.footer-logo{min-width:auto}
.footer-logo .roof{font-size:30px}
.footer-logo strong{font-size:17px}
.footer-logo small{font-size:9px;letter-spacing:3px}
.footer a{color:white;font-weight:800}

@media(max-width:1100px){
  .logo{min-width:auto}
  .logo strong{font-size:20px}
  .menu{gap:18px}
  .hero-grid{grid-template-columns:300px 1fr}
  .service-badge{display:none}
  .inspection-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
  .wrap{width:min(100% - 30px,1400px)}
  .nav{min-height:70px}
  .menu-btn{display:block;margin-left:auto}
  .phone{display:none}
  .menu{display:none;position:absolute;left:0;right:0;top:70px;background:var(--navy);padding:20px 24px;flex-direction:column;gap:18px}
  .menu-open .menu{display:flex}
  .logo strong{font-size:17px}
  .logo small{letter-spacing:3px}
  .hero-grid{grid-template-columns:1fr;gap:0;min-height:auto}
  .portrait-shell{height:360px;order:2;width:min(360px,100%);margin:auto}
  .hero-copy{padding:55px 0 5px;order:1;text-align:center}
  .hero h1{font-size:38px}
  .lead{margin-left:auto;margin-right:auto}
  .trust{justify-content:center;flex-wrap:wrap}
  .inspection-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr);gap:25px}
  .steps article{border-right:0}
  .about-grid,.local{grid-template-columns:1fr}
  .about-photo img{height:360px}
  .local-copy{padding:40px 28px}
  .contact-inner,.footer{flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){
  .logo .roof{font-size:30px}
  .logo strong{font-size:14px;letter-spacing:1px}
  .logo small{font-size:8px;letter-spacing:2px}
  .hero h1{font-size:31px}
  .trust{gap:18px;font-size:13px}
  .inspection-grid{grid-template-columns:1fr}
  .inspection-card img{height:210px}
  .steps{grid-template-columns:1fr}
  .about h2,.local h2,.contact h2{font-size:30px}
  .contact-actions{width:100%;flex-direction:column}
}

/* Self-contained certification badge; no external image dependency. */
.cert-clean{
  width:160px;
  height:160px;
  border-radius:50%;
  background:#dda02c;
  border:7px solid rgba(255,255,255,.22);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:8px;
  color:#061f35;
  text-align:center;
  box-shadow:0 8px 22px rgba(0,0,0,.28);
  margin:0 auto 22px;
  padding:18px;
}
.cert-clean .cert-top{
  font-size:19px;
  font-weight:900;
  letter-spacing:.2px;
}
.cert-clean .cert-divider{
  width:72%;
  height:2px;
  background:#061f35;
  opacity:.75;
}
.cert-clean .cert-bottom{
  font-size:15px;
  font-weight:900;
  letter-spacing:2px;
}

/* Header phone + email */
.header-contact{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:3px;
  white-space:nowrap;
}
.header-contact .phone{
  font-weight:800;
  font-size:18px;
}
.email-link{
  color:#fff;
  font-weight:600;
  font-size:13px;
}
.email-link:hover{color:var(--gold)}

/* Actual uploaded InterNACHI logo */
.cert-logo-wrap{
  width:190px;
  margin:0 auto 22px;
}
.cert-logo{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}

/* Footer contact */
.footer-contact{
  display:flex;
  flex-direction:column;
  gap:3px;
  text-align:right;
}
.footer-contact a{
  color:white;
  font-weight:700;
}

@media(max-width:1100px){
  .header-contact{display:none}
}
@media(max-width:820px){
  .cert-logo-wrap{width:160px}
  .footer-contact{text-align:left}
}
