/* Arlington Restoration Group — main stylesheet (v2, premium refresh) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0f2c47;
  --navy-dark: #081a2c;
  --navy-mid: #163b5c;
  --teal: #17a68f;
  --teal-dark: #0f8577;
  --teal-light: #e5f6f3;
  --emergency: #e14b2e;
  --emergency-dark: #bd3a20;
  --gold: #f0b93a;
  --bg: #f6f8f9;
  --card-bg: #ffffff;
  --ink: #1b2733;
  --ink-light: #5a6b76;
  --border: #e6ebee;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;
  --sticky-h: 64px;
  --shadow-sm: 0 1px 2px rgba(15,44,71,.06), 0 1px 1px rgba(15,44,71,.04);
  --shadow-md: 0 8px 24px rgba(15,44,71,.09), 0 2px 6px rgba(15,44,71,.06);
  --shadow-lg: 0 24px 60px rgba(8,26,44,.28);
  --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  padding-bottom: var(--sticky-h);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--teal); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.22; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin: 0 0 14px; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.65rem); margin: 44px 0 16px; padding-top: 6px; }
h3 { font-size: 1.14rem; margin: 24px 0 10px; }
p { margin: 0 0 15px; color: var(--ink); }
ul, ol { margin: 0 0 18px; padding-left: 4px; }
li { margin-bottom: 9px; list-style: none; padding-left: 26px; position: relative; }
.article-body ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px;
  background: var(--teal-light) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none"><path d="M4 10.5l3.5 3.5L16 6" stroke="%230f8577" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/9px no-repeat;
  border-radius: 4px;
}
.article-body ol { counter-reset: ol-c; padding-left: 4px; }
.article-body ol li { counter-increment: ol-c; }
.article-body ol li::before {
  content: counter(ol-c); background: var(--navy); color: #fff; font-size: 11px; font-weight: 800;
  width: 19px; height: 19px; border-radius: 50%; display: flex; align-items: center; justify-content: center; top: 2px;
}
.article-body h2 { border-top: 1px solid var(--border); padding-top: 30px; }
.article-body > h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article-body strong { color: var(--navy); }
.article-body a { font-weight: 600; border-bottom: 1px solid rgba(23,166,143,.3); }
.article-body a:hover { border-color: var(--teal); }

/* Utility bar */
.utility-bar { background: var(--navy-dark); color: #a9c3ca; font-size: 12.5px; padding: 7px 0; text-align: center; letter-spacing: .2px; }
.utility-bar a { color: #fff; font-weight: 700; }
.utility-bar .dot { margin: 0 9px; opacity: .4; }

/* Header */
header.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.brand img { height: 40px; width: auto; }
nav.main-nav { display: flex; gap: 4px; font-size: 14.5px; font-weight: 600; align-items: center; }
nav.main-nav > a, .nav-item > button.nav-top {
  color: var(--navy); padding: 10px 12px; border-radius: 8px; font: inherit; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 5px; font-family: var(--font-body); font-weight: 600;
}
nav.main-nav > a:hover, .nav-item:hover > button.nav-top, .nav-item.open > button.nav-top { background: var(--teal-light); color: var(--teal-dark); text-decoration: none; }
.nav-item { position: relative; }
.nav-item .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.nav-item.open .chev { transform: rotate(-135deg) translateY(2px); }
/* invisible bridge so the pointer never leaves .nav-item's hover box while crossing the gap to the dropdown */
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  min-width: 280px; padding: 10px; display: none; z-index: 200;
}
.nav-item.open .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 7px; color: var(--ink); font-weight: 500; font-size: 13.8px; }
.dropdown a:hover { background: var(--teal-light); color: var(--teal-dark); }
.dropdown a.view-all { color: var(--teal-dark); font-weight: 700; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn-call {
  background: var(--emergency); color: #fff; font-weight: 700; padding: 11px 20px;
  border-radius: 9px; white-space: nowrap; font-size: 14px; box-shadow: var(--shadow-sm);
}
.btn-call:hover { background: var(--emergency-dark); text-decoration: none; color: #fff; }
.mobile-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 8px; width: 40px; height: 40px;
  align-items: center; justify-content: center; cursor: pointer;
}
.mobile-toggle span, .mobile-toggle span::before, .mobile-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--navy); position: relative; transition: .2s;
}
.mobile-toggle span::before { position: absolute; top: -6px; }
.mobile-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 880px) {
  nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 10px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); gap: 0; }
  nav.main-nav.open { display: flex; }
  nav.main-nav > a, .nav-item > button.nav-top { width: 100%; justify-content: space-between; }
  .nav-item { width: 100%; }
  .nav-item .dropdown { position: static; transform: none; box-shadow: none; border: none; display: none; padding-left: 14px; min-width: 0; }
  .nav-item.open .dropdown { display: block; }
  .mobile-toggle { display: flex; }
  .header-inner { flex-wrap: wrap; }
}

/* Breadcrumbs */
.breadcrumbs { font-size: 12.5px; color: var(--ink-light); padding: 14px 0 0; }
.breadcrumbs a { color: var(--ink-light); }
.breadcrumbs .sep { margin: 0 7px; opacity: .5; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 50px 0 44px; margin-top: 10px;
  background: radial-gradient(1100px 500px at 85% -10%, rgba(23,166,143,.35), transparent 60%),
              linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-dark) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 70%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.hero h1 { color: #fff; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); color: #d9f5ef;
  font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 20px; margin-bottom: 16px; letter-spacing: .3px;
  border: 1px solid rgba(255,255,255,.18);
}
.hero .badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: #4ee6c8; box-shadow: 0 0 0 0 rgba(78,230,200,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(78,230,200,.55); } 70% { box-shadow: 0 0 0 8px rgba(78,230,200,0); } 100% { box-shadow: 0 0 0 0 rgba(78,230,200,0); } }
.hero p.sub { color: #cfe1e6; font-size: 1.08rem; max-width: 58ch; }
.hero .hero-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .hero-media { position: relative; }
.hero .hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.hero .hero-media .float-chip {
  position: absolute; bottom: -16px; left: -16px; background: #fff; color: var(--navy); border-radius: 12px;
  padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: 12.5px; font-weight: 700; display: flex; gap: 10px; align-items: center;
}
.hero .hero-media .float-chip .dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.btn-primary {
  background: var(--emergency); color: #fff; font-weight: 700; padding: 15px 26px; border-radius: 10px; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 10px 24px rgba(225,75,46,.35);
}
.btn-primary:hover { background: var(--emergency-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 600;
  padding: 14px 22px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,.18); color: #fff; text-decoration: none; }
@media (max-width: 780px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero .hero-media { display: none; }
}
.hero.home { padding: 66px 0 56px; }
.hero.home h1 { font-size: clamp(2.1rem, 5.2vw, 3.1rem); }

/* Trust strip */
.trust-block { background: linear-gradient(180deg, #fff, var(--teal-light) 220%); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-block .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-tile { display: flex; align-items: center; gap: 12px; padding: 6px 4px; }
.trust-tile .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; color: var(--teal-dark); }
.trust-tile .ic svg { width: 19px; height: 19px; }
.trust-tile strong { display: block; color: var(--navy); font-size: 13.5px; font-weight: 700; }
.trust-tile span { color: var(--ink-light); font-size: 12.5px; }
@media (max-width: 900px) { .trust-block .container { grid-template-columns: repeat(2, 1fr); } }

/* Main content layout */
main { padding: 40px 0 10px; }
.content-wrap { display: grid; grid-template-columns: 2.05fr 0.95fr; gap: 44px; align-items: start; }
.content-wrap .article-body img { border-radius: var(--radius); margin: 10px 0 22px; box-shadow: var(--shadow-sm); }
.sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.side-card h4 { margin: 0 0 12px; font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; color: var(--teal-dark); font-family: var(--font-head); }
.side-card ul { padding-left: 0; font-size: 14px; margin-bottom: 0; }
.side-card li { padding-left: 18px; margin-bottom: 7px; }
.side-card li::before { content: "›"; position: absolute; left: 0; top: -2px; color: var(--teal); font-weight: 800; font-size: 16px; }
.side-card.cta-card { background: linear-gradient(160deg, var(--navy-mid), var(--navy-dark)); color: #fff; text-align: center; border: none; }
.side-card.cta-card h4 { color: #a9dcd3; }
.side-card.cta-card p { color: #cfe1e6; font-size: 13.5px; }
.side-card.cta-card .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }
@media (max-width: 900px) {
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* Service / hub cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0 10px; }
.service-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.service-card .ic svg { width: 22px; height: 22px; }
.service-card.water .ic { background: #e4f3fb; color: #1a7fb0; }
.service-card.fire .ic { background: #fdece5; color: var(--emergency-dark); }
.service-card.mold .ic { background: var(--teal-light); color: var(--teal-dark); }
.service-card h3 { margin-top: 0; }
.service-card a.more { font-weight: 700; font-size: 13.8px; }
@media (max-width: 800px) { .card-grid { grid-template-columns: 1fr; } }

/* Hub "explore all services" grid */
.hub-grid-section { margin: 28px 0 6px; }
.hub-grid-section h2 { border-top: none; padding-top: 0; margin-top: 0; }
.hub-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; margin: 16px 0; }
.hub-link-grid li { padding: 0; margin: 0; }
.hub-link-grid a {
  display: flex; align-items: center; gap: 10px; background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 14px; font-weight: 600; font-size: 13.8px; color: var(--navy);
  box-shadow: var(--shadow-sm); transition: .15s;
}
.hub-link-grid a:hover { border-color: var(--teal); color: var(--teal-dark); box-shadow: var(--shadow-md); text-decoration: none; transform: translateY(-1px); }
.hub-link-grid a::before { content: "›"; color: var(--teal); font-weight: 800; font-size: 16px; }
@media (max-width: 800px) { .hub-link-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hub-link-grid { grid-template-columns: 1fr; } }

.area-pill-grid { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 6px; padding: 0; list-style: none; }
.area-pill-grid li { margin: 0; padding: 0; }
.area-pill-grid a {
  display: inline-block; background: var(--teal-light); color: var(--teal-dark); font-weight: 600; font-size: 13px;
  padding: 8px 14px; border-radius: 20px;
}
.area-pill-grid a:hover { background: var(--teal); color: #fff; text-decoration: none; }

/* Location grid on service-areas hub */
.location-group h3 { margin-top: 34px; }
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; list-style: none; padding: 0; }
.location-grid li { padding: 8px 0 8px 18px; border-bottom: 1px dotted var(--border); margin: 0; }
.location-grid li::before { top: 10px; }
@media (max-width: 700px) { .location-grid { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq-section { margin-top: 44px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--card-bg); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { cursor: pointer; font-weight: 700; font-family: var(--font-head); padding: 16px 46px 16px 18px; color: var(--navy); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 12px; font-size: 1.3rem; color: var(--teal-dark);
  width: 26px; height: 26px; background: var(--teal-light); border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 18px 18px; color: var(--ink-light); }
.faq-item .faq-a p { margin: 0; }

/* Callout / note */
.section-note { background: #fff8e8; border: 1px solid #f0deab; border-left: 4px solid var(--gold); border-radius: 8px; padding: 15px 18px; font-size: 14.5px; color: #6b5a20; margin: 20px 0; }

/* Final CTA band */
.final-cta {
  position: relative; overflow: hidden; color: #fff; padding: 48px 0; margin-top: 50px; text-align: center;
  background: radial-gradient(900px 400px at 20% -20%, rgba(255,255,255,.18), transparent 60%),
              linear-gradient(135deg, var(--emergency) 0%, var(--emergency-dark) 100%);
}
.final-cta h2 { color: #fff; margin-top: 0; }
.final-cta p { color: #ffe4dd; max-width: 58ch; margin: 0 auto 22px; font-size: 1.03rem; }
.final-cta .btn-primary { background: #fff; color: var(--emergency-dark); box-shadow: var(--shadow-lg); }
.final-cta .btn-primary:hover { background: #f3f3f3; color: var(--emergency-dark); }

/* Footer */
footer.site-footer { background: var(--navy-dark); color: #a9c3ca; padding: 50px 0 22px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-family: var(--font-head); font-size: .92rem; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; padding-left: 0; }
.footer-grid a { color: #a9c3ca; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 34px; margin-bottom: 12px; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; font-size: 12.3px; color: #7f97a0; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: 12.3px; color: #7f97a0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Sticky mobile call bar */
.sticky-call {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--sticky-h);
  background: var(--emergency); display: none; align-items: center; justify-content: center;
  z-index: 100; box-shadow: 0 -6px 18px rgba(0,0,0,.2);
}
.sticky-call a { color: #fff; font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
@media (max-width: 780px) { .sticky-call { display: flex; } }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 12px 0; }
.pill-list li { background: var(--teal-light); color: var(--teal-dark); font-size: 12.5px; font-weight: 700; padding: 6px 13px; border-radius: 20px; margin: 0; }
