/* =========================================================
   Best Service in Town — magazine-styled directory
   Preview stylesheet
   ========================================================= */

:root{
  --red:#E8242E;
  --red-dark:#C81A23;
  --ink:#1A1A1A;
  --body:#333;
  --muted:#8A8A8A;
  --line:#ECECEC;
  --soft:#F6F6F7;
  --white:#fff;
  --radius:14px;
  --radius-sm:8px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --shadow-sm:0 4px 14px rgba(0,0,0,.06);
  --maxw:1160px;
  --font:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--body);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:var(--font);color:var(--ink);line-height:1.2;margin:0 0 .5em}
h1{font-size:clamp(2rem,4vw,3rem);font-weight:700;letter-spacing:-.02em}
h2{font-size:clamp(1.5rem,2.6vw,2.1rem);font-weight:700;letter-spacing:-.01em}
h3{font-size:1.25rem;font-weight:600}
p{margin:0 0 1rem}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--maxw);margin:0 auto;padding:0 22px}
.section{padding:70px 0}
.section--soft{background:var(--soft)}
.eyebrow{
  display:inline-block;color:var(--red);font-weight:600;
  text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;margin-bottom:.6rem;
}
.center{text-align:center}
.lead{font-size:1.08rem;color:var(--muted);max-width:620px}
.center .lead{margin-left:auto;margin-right:auto}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  font-weight:600;font-size:.95rem;padding:.8rem 1.4rem;border-radius:999px;
  border:2px solid transparent;cursor:pointer;transition:.18s ease;white-space:nowrap;
}
.btn--primary{background:var(--red);color:#fff}
.btn--primary:hover{background:var(--red-dark)}
.btn--ghost{background:#fff;color:var(--ink);border-color:var(--line)}
.btn--ghost:hover{border-color:var(--red);color:var(--red)}
.btn--white{background:#fff;color:var(--red)}
.btn--white:hover{background:#ffeaea}
.btn--lg{padding:1rem 1.8rem;font-size:1.02rem}

/* ---------- Logo ---------- */
.logo{display:inline-flex;align-items:center;gap:.6rem}
.logo img{height:46px;width:auto;display:block}
.footer-logo{display:inline-block;margin-bottom:1rem}
.footer-logo img{height:52px}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);
  backdrop-filter:saturate(140%) blur(6px);border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;gap:1.5rem;height:74px}
.nav{display:flex;align-items:center;gap:1.4rem;margin-left:auto}
.nav a{font-weight:500;font-size:.95rem;color:var(--ink);transition:.15s}
.nav a:hover,.nav a.active{color:var(--red)}
.header-phone{font-weight:700;color:var(--ink)}
.header-phone span{color:var(--red)}
.hamburger{display:none;background:none;border:0;cursor:pointer;flex-direction:column;gap:5px;padding:8px;margin-left:auto}
.hamburger span{width:24px;height:2px;background:var(--ink);display:block;border-radius:2px}

/* ---------- Hero ---------- */
.hero{position:relative;color:#fff;overflow:hidden}
.hero-bg{
  position:absolute;inset:0;z-index:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.5)),
    linear-gradient(120deg,#5b6b7a,#8095a6 55%,#c2cdd6);
}
.hero-bg svg{position:absolute;bottom:0;left:0;width:100%;height:auto;opacity:.5}
.hero-banner{
  position:relative;z-index:2;background:var(--red);
}
.hero-banner .container{padding-top:26px;padding-bottom:26px}
.hero-banner h1{color:#fff;text-transform:uppercase;font-weight:800;letter-spacing:-.01em;margin:0;max-width:760px}
.hero-body{position:relative;z-index:2;padding:60px 0 90px}
.hero-body p{font-size:1.15rem;max-width:560px;color:#f3f3f3}
.issue-badge{
  display:inline-flex;flex-direction:column;align-items:flex-start;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);
  border-radius:var(--radius-sm);padding:.55rem .9rem;margin-bottom:1.4rem;backdrop-filter:blur(4px);
}
.issue-badge b{font-size:1.3rem;line-height:1;color:#fff}
.issue-badge span{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:#ffd7d9}

/* search */
.searchbar{
  display:flex;gap:.5rem;background:#fff;padding:.5rem;border-radius:999px;
  box-shadow:var(--shadow);max-width:540px;margin-top:1.6rem;
}
.searchbar input{
  flex:1;border:0;outline:0;padding:.7rem 1rem;font-size:1rem;font-family:var(--font);
  border-radius:999px;color:var(--ink);background:transparent;
}

/* ---------- Trust strip ---------- */
.trust{background:var(--ink);color:#fff}
.trust .container{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.12)}
.trust-item{background:var(--ink);padding:26px 22px;text-align:center}
.trust-item b{display:block;font-size:1.7rem;color:#fff;font-weight:800;line-height:1}
.trust-item .red{color:var(--red)}
.trust-item span{font-size:.84rem;color:#bdbdbd;display:block;margin-top:.4rem}

/* ---------- Category grid ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cat-card{
  display:flex;align-items:center;gap:.85rem;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:18px;transition:.18s;
}
.cat-card:hover{border-color:var(--red);box-shadow:var(--shadow-sm);transform:translateY(-2px)}
.cat-ico{width:44px;height:44px;border-radius:10px;background:#fde9ea;display:grid;place-items:center;flex:none;color:var(--red)}
.cat-ico svg{width:24px;height:24px}
.cat-card b{display:block;color:var(--ink);font-weight:600;font-size:.98rem}
.cat-card small{color:var(--muted)}
.cat-card--soon{cursor:default;opacity:.7}
.cat-card--soon:hover{border-color:var(--line);box-shadow:none;transform:none}
.cat-card--soon .cat-ico{background:var(--soft);filter:grayscale(.2)}
.cat-card--soon small{color:var(--red);font-weight:600}

/* ---------- Featured company cards ---------- */
.co-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.co-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:.18s;
}
.co-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.co-card-top{padding:22px 22px 0;display:flex;align-items:center;justify-content:space-between}
.co-cat{font-size:.74rem;text-transform:uppercase;letter-spacing:.1em;color:var(--red);font-weight:600}
.co-rating{font-weight:700;color:var(--ink);font-size:.9rem;display:flex;align-items:center;gap:.25rem}
.co-rating .star{color:#f5a623}
.co-card-body{padding:6px 22px 22px}
.co-card-body h3{margin:.4rem 0 .2rem}
.co-card-body .yrs{color:var(--muted);font-size:.9rem;margin:0 0 1rem}
.co-card .btn{width:100%;justify-content:center}

/* ---------- Steps ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.step{background:#fff;border-radius:var(--radius);padding:28px;border:1px solid var(--line)}
.step .num{
  width:44px;height:44px;border-radius:12px;background:var(--red);color:#fff;
  font-weight:800;display:grid;place-items:center;margin-bottom:1rem;font-size:1.1rem;
}

/* ---------- Problem → solution list ---------- */
.problems{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.problem{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:16px 20px;transition:.15s;
}
.problem:hover{border-color:var(--red)}
.problem b{color:var(--ink);font-weight:500}
.problem .tag{color:var(--red);font-weight:600;font-size:.9rem;white-space:nowrap}

/* ---------- CTA band ---------- */
.cta-band{background:var(--red);color:#fff;border-radius:var(--radius);padding:48px;display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.cta-band h2{color:#fff;margin:0}
.cta-band p{color:#ffe3e4;margin:.4rem 0 0;max-width:520px}
.cta-actions{display:flex;gap:.8rem;flex-wrap:wrap}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:#cfcfcf;padding:56px 0 26px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px}
.site-footer h4{color:#fff;font-size:.95rem;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.08em}
.site-footer a{color:#cfcfcf;display:block;padding:.25rem 0;font-size:.92rem}
.site-footer a:hover{color:#fff}
.site-footer .logo-text b{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:20px;font-size:.82rem;color:#9a9a9a;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}

/* =========================================================
   COMPANY PROFILE PAGE
   ========================================================= */
.breadcrumb{padding:18px 0;font-size:.86rem;color:var(--muted)}
.breadcrumb a:hover{color:var(--red)}
.breadcrumb span{margin:0 .4rem}

.profile-hero{padding:10px 0 34px;border-bottom:1px solid var(--line)}
.profile-hero-top{display:flex;gap:40px;align-items:center;flex-wrap:wrap}
.profile-hero-main{flex:1;min-width:260px}
.profile-hero-logo{flex:none;width:360px;max-width:100%;display:flex;justify-content:center}
.aside-logo{display:flex;justify-content:center;margin-bottom:20px}
.aside-logo .co-logo--img{width:100%;max-width:100%}
.profile-hero-cta{margin-top:24px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.profile-hero-cta .hero-actions{margin-top:0}

/* owner card (profile sidebar) */
.owner-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:26px 24px;margin-bottom:20px;text-align:center}
.owner-photo{width:96px;height:96px;border-radius:50%;object-fit:cover;display:block;margin:0 auto 14px;border:3px solid #fff;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.owner-quote{position:relative;font-style:italic;color:#444;font-size:.98rem;line-height:1.6;margin:0 0 16px;padding-top:18px}
.owner-quote::before{content:"\201C";position:absolute;top:-6px;left:50%;transform:translateX(-50%);color:var(--red);font-size:2.6rem;line-height:1;font-weight:800}
.owner-name{font-weight:700;color:var(--ink);font-size:1.05rem}
.owner-role{color:var(--red);font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;margin-top:.15rem}
.co-logo{
  width:96px;height:96px;border-radius:16px;border:1px solid var(--line);
  display:grid;place-items:center;flex:none;background:#fff;font-weight:800;color:var(--red);font-size:1.6rem;
}
.co-logo--img{width:auto;min-width:120px;max-width:300px;height:140px;padding:14px 22px}
.co-logo--img img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.profile-hero h1{margin:0 0 .3rem;font-size:clamp(1.8rem,3.2vw,2.5rem)}
.co-meta{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;color:var(--muted);margin-bottom:1rem}
.co-meta .pill{background:#fde9ea;color:var(--red);font-weight:600;font-size:.8rem;padding:.25rem .7rem;border-radius:999px}
.co-meta .rate{color:var(--ink);font-weight:700}
.co-meta .star{color:#f5a623}
.featured-badge{
  display:inline-flex;align-items:center;gap:.5rem;background:var(--ink);color:#fff;
  font-weight:600;font-size:.82rem;padding:.5rem .9rem;border-radius:999px;
}
.featured-badge svg{width:16px;height:16px;color:var(--red)}
.hero-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1rem}

/* layout: content + sticky info table */
.profile-layout{display:grid;grid-template-columns:1fr 360px;gap:40px;align-items:stretch;padding:46px 0}
.profile-main > section{margin-bottom:40px}
.profile-main h2{font-size:1.5rem;margin-bottom:1rem}

/* the red General Information table — signature magazine component */
.info-card{position:sticky;top:96px;background:var(--red);color:#fff;border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.info-card h3{color:#fff;font-size:1.3rem;margin-bottom:1rem}
.info-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 0;border-bottom:1px solid rgba(255,255,255,.28)}
.info-row:last-of-type{border-bottom:0}
.info-row span{color:#ffdcdd;font-size:.92rem}
.info-row b{font-weight:700;font-size:1.02rem}
.info-card .btn{width:100%;justify-content:center;margin-top:1.2rem}

/* chips for services / out of scope */
.chip-list{display:flex;flex-wrap:wrap;gap:.55rem;list-style:none;padding:0;margin:0}
.chip-list li{background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:.5rem 1rem;font-size:.92rem;color:var(--ink)}
.chip-list.scope li{background:#fff}
.chip-list.scope li::before{content:"✕";color:var(--red);font-weight:700;margin-right:.45rem}
.chip-list.services li::before{content:"✓";color:#1a8a3b;font-weight:700;margin-right:.45rem}

/* why featured */
.why{background:var(--soft);border-left:4px solid var(--red);border-radius:var(--radius);padding:26px 28px}
.why p:last-child{margin:0}

/* discount / coupon */
.coupon{
  display:flex;align-items:center;gap:1.4rem;background:var(--red);color:#fff;border-radius:var(--radius);
  padding:26px 30px;position:relative;overflow:hidden;flex-wrap:wrap;
}
.coupon::before,.coupon::after{content:"";position:absolute;width:26px;height:26px;background:#fff;border-radius:50%;top:50%;transform:translateY(-50%)}
.coupon::before{left:-13px}.coupon::after{right:-13px}
.coupon-amt{font-size:2.4rem;font-weight:800;line-height:1;white-space:nowrap}
.coupon b{display:block;font-size:1.15rem}
.coupon small{color:#ffdcdd}
.coupon-code{margin-left:auto;border:2px dashed rgba(255,255,255,.6);border-radius:8px;padding:.5rem .9rem;font-weight:700;letter-spacing:.1em}

/* gallery */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gallery .ph{aspect-ratio:4/3;border-radius:var(--radius-sm);background:linear-gradient(135deg,#dfe5ea,#c4ccd3);display:grid;place-items:center;color:#8896a3}
.gallery .ph svg{width:34px;height:34px;opacity:.7}
.gallery-item{display:block;aspect-ratio:4/3;border-radius:var(--radius-sm);overflow:hidden;background:var(--soft);border:1px solid var(--line)}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.gallery-item:hover img{transform:scale(1.05)}
@media(max-width:700px){.gallery{grid-template-columns:repeat(2,1fr)}}

/* reviews */
.review{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;margin-bottom:14px}
.review .stars{color:#f5a623;font-size:1rem;margin-bottom:.4rem}
.review p{font-style:italic;color:#444;margin:0 0 .6rem}
.review .who{font-weight:600;color:var(--ink);font-size:.9rem}
.review .who span{color:var(--muted);font-weight:400}

/* checklist (before your appointment) */
.checklist{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.checklist li{display:flex;gap:.6rem;align-items:flex-start}
.checklist li::before{content:"✓";color:var(--red);font-weight:800;flex:none}

/* lead form */
.lead-form{background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.lead-form .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.lead-form input,.lead-form textarea,.lead-form select{
  width:100%;padding:.8rem 1rem;border:1px solid var(--line);border-radius:var(--radius-sm);
  font-family:var(--font);font-size:.95rem;margin-bottom:14px;background:#fff;
}
.lead-form textarea{min-height:110px;resize:vertical}
.lead-form .btn{width:100%;justify-content:center}

/* related */
.related .co-grid{grid-template-columns:repeat(2,1fr)}

/* ---------- Responsive ---------- */
@media(max-width:980px){
  .profile-layout{grid-template-columns:1fr}
  .info-card{position:static}
  .cat-grid,.co-grid,.steps{grid-template-columns:repeat(2,1fr)}
  .trust .container{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
/* =========================================================
   ADDED: nav dropdown, category page, content pages, forms
   ========================================================= */

/* nav dropdown */
.nav-dropdown{position:relative}
.nav-drop-toggle{font-weight:500;font-size:.95rem;color:var(--ink);cursor:pointer;user-select:none}
.nav-dropdown:hover .nav-drop-toggle{color:var(--red)}
.nav-dropdown-menu{
  position:absolute;top:100%;left:50%;transform:translateX(-50%);
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);
  box-shadow:var(--shadow);padding:8px;min-width:220px;margin-top:10px;display:none;z-index:60;
}
/* invisible bridge so the cursor can cross the visual gap without closing */
.nav-dropdown-menu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown.open .nav-dropdown-menu{display:block}
.nav-dropdown-menu a{display:block;padding:.5rem .8rem;border-radius:6px;font-size:.92rem}
.nav-dropdown-menu a:hover{background:var(--soft);color:var(--red)}

/* outline-white button (on red bands) */
.btn--outline-white{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.btn--outline-white:hover{background:rgba(255,255,255,.12)}

/* page hero (sub pages) */
.page-hero{padding:48px 0 30px;border-bottom:1px solid var(--line);background:var(--soft)}
.page-hero h1{margin:.2rem 0 .5rem}
.page-hero .lead{margin-bottom:0}

/* containers */
.narrow{max-width:760px}
.two-col-soft{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}

/* category: red two-column panel */
.panel-red{
  display:grid;grid-template-columns:1fr auto 1fr;gap:30px;background:var(--red);color:#fff;
  border-radius:var(--radius);padding:30px 34px;margin-top:34px;
}
.panel-red h3{color:#fff;margin-bottom:1rem}
.panel-divider{width:1px;background:rgba(255,255,255,.3)}
.panel-list{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.panel-list li{position:relative;padding-left:1.4rem;color:#fff}
.panel-list li::before{content:"";position:absolute;left:0;top:.55em;width:7px;height:7px;border-radius:50%;background:#fff}

/* tip of the season */
.tip{margin-top:26px;border-left:4px solid var(--red);background:var(--soft);border-radius:var(--radius);padding:22px 26px}
.tip .eyebrow{margin-bottom:.3rem}
.tip p{margin:0}

/* stat bar */
.statbar{display:grid;grid-template-columns:repeat(3,1fr);background:var(--red);color:#fff;border-radius:var(--radius);margin-top:26px;overflow:hidden}
.statbar > div{padding:20px 26px;border-right:1px solid rgba(255,255,255,.25)}
.statbar > div:last-child{border-right:0}
.statbar span{display:block;font-size:.82rem;color:#ffdcdd;margin-bottom:.2rem}
.statbar b{font-size:1.15rem}

/* callout (how we select protection) */
.callout{background:#fff;border:1px solid var(--line);border-left:4px solid var(--red);border-radius:var(--radius);padding:26px 28px;margin-top:24px}
.callout h3{color:var(--red)}
.numbered{margin:.5rem 0 0;padding-left:1.2rem}
.numbered li{margin-bottom:.4rem}

/* legal + contact */
.legal h3{margin-top:1.6rem}
.legal-note{margin-top:2rem;font-size:.85rem;color:var(--muted);font-style:italic}
.contact-line{margin-bottom:1rem}
.contact-line strong{color:var(--ink)}

/* form feedback */
.form-msg{margin:.6rem 0 0;font-size:.9rem}
.form-msg.ok{color:#1a8a3b}
.form-msg.err{color:var(--red)}

/* thank-you check */
.thanks-check{width:74px;height:74px;border-radius:50%;background:var(--red);color:#fff;font-size:2.2rem;display:grid;place-items:center;margin:0 auto 1rem;font-weight:700}

@media(max-width:980px){
  .two-col-soft{grid-template-columns:1fr;gap:28px}
}
@media(max-width:700px){
  .nav{display:none}
  .nav.open{display:flex;position:absolute;top:74px;left:0;right:0;flex-direction:column;background:#fff;border-bottom:1px solid var(--line);padding:14px 22px;gap:.4rem;margin:0}
  .nav.open .nav-dropdown-menu{position:static;transform:none;box-shadow:none;border:0;padding:0 0 0 12px;min-width:0}
  .hamburger{display:flex}
  .cat-grid,.co-grid,.steps,.problems,.gallery,.related .co-grid{grid-template-columns:1fr}
  .lead-form .row{grid-template-columns:1fr}
  .panel-red{grid-template-columns:1fr;gap:20px}
  .panel-divider{display:none}
  .statbar{grid-template-columns:1fr}
  .statbar > div{border-right:0;border-bottom:1px solid rgba(255,255,255,.25)}
  .section{padding:48px 0}
  .cta-band{padding:30px}
}
