/* ==========================================================================
   Sandy Springs Restoration Group — Site Stylesheet
   Palette sampled from the supplied logo (navy + steel gray-blue).
   Fast, dependency-free, mobile-first.
   ========================================================================== */

:root {
  --navy: #102c4a;
  --navy-dark: #0a1e33;
  --blue: #3d5975;
  --blue-light: #eaeef2;
  --steel: #8fa0b3;
  --red: #c8102e;
  --red-dark: #9e0c22;
  --amber: #f5a623;
  --ink: #1b2430;
  --gray-600: #55606b;
  --gray-300: #d7dee4;
  --gray-100: #f4f7f9;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.10);
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.08);
  --max: 1180px;
  --font: -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(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.bg-light { background: var(--gray-100); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-blue-light { background: var(--blue-light); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  background: #fdeceb;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--gray-600); max-width: 70ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-call {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(200,16,46,.30);
}
.btn-call:hover { background: var(--red-dark); color: #fff; }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* Top utility bar */
.topbar {
  background: var(--navy-dark);
  color: #cfe0f0;
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 700; }
.topbar .badges { display: flex; gap: 14px; flex-wrap: wrap; color: #a9c1d8; }

/* Header */
header.site {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.brand-mark { flex-shrink: 0; }
.brand small { display: block; font-weight: 600; color: var(--gray-600); font-size: .72rem; }
.footer-brand img { border-radius: 6px; vertical-align: -6px; margin-right: 4px; }

nav.primary { display: flex; align-items: center; gap: 22px; }
nav.primary a { color: var(--ink); font-weight: 600; font-size: .95rem; }
nav.primary a:hover { color: var(--blue); text-decoration: none; }
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 280px;
  border: 1px solid var(--gray-300);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; }
.dropdown a:hover { background: var(--gray-100); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; flex-direction: column; text-align: right; }
.header-phone a { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.header-phone span { font-size: .74rem; color: var(--gray-600); }
.menu-toggle { display: none; background: none; border: 2px solid var(--gray-300); border-radius: 8px; padding: 8px 10px; }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(20,108,148,.25), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { color: #cfe0f0; }
.hero-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-badges .badge { display: flex; align-items: center; gap: 8px; color: #cfe0f0; font-size: .88rem; font-weight: 600; }
.hero-badges .badge svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin-bottom: 4px; }
.hero-card .muted { color: var(--gray-600); font-size: .9rem; margin-bottom: 16px; }
.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 5px; color: var(--navy); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 13px; border-radius: 8px; border: 1.5px solid var(--gray-300);
  font-family: var(--font); font-size: .95rem;
}
.form-row textarea { min-height: 90px; resize: vertical; }
.form-fine { font-size: .76rem; color: var(--gray-600); margin-top: 10px; }

/* Page header (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 130%);
  color: #fff;
  padding: 48px 0 54px;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.breadcrumbs { font-size: .85rem; color: #cfe0f0; margin-bottom: 16px; }
.breadcrumbs a { color: #cfe0f0; }
.page-hero .lede { color: #dcebf4; }
.page-hero .hero-ctas { margin-top: 22px; }

/* Trust bar */
.trustbar { background: var(--white); border-bottom: 1px solid var(--gray-300); border-top: 1px solid var(--gray-300); }
.trustbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 22px 20px; }
.trustbar .item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: .92rem; }
.trustbar .item svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }

/* Grid components */
.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(--gray-300);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p { color: var(--gray-600); font-size: .95rem; margin-bottom: 12px; }
.card a.more { font-weight: 700; font-size: .9rem; }
.service-card { display: flex; flex-direction: column; }

.step { text-align: center; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}

/* Location chips */
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}
.chip:hover { background: var(--blue-light); text-decoration: none; }

/* Two column content w/ sidebar */
.split { display: grid; grid-template-columns: 2.1fr 1fr; gap: 40px; align-items: start; }
.sidebar-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-300);
}
.sidebar-card h4 { margin-bottom: 12px; font-size: 1rem; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { border-bottom: 1px solid var(--gray-300); }
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card a { display: block; padding: 9px 0; font-weight: 600; font-size: .92rem; }
.sidebar-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; text-align: center; }
.sidebar-cta h4 { color: #fff; }
.sidebar-cta a.phone { display: block; font-size: 1.35rem; font-weight: 800; color: #fff; margin: 10px 0 14px; }

/* FAQ accordion */
.faq details {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  font-weight: 700;
  color: var(--navy);
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary:after { content: "\2212"; }
.faq details p { padding-bottom: 16px; color: var(--gray-600); margin: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--red), var(--red-dark));
  color: #fff;
  border-radius: 18px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-navy { background: #fff; color: var(--red); }
.cta-band .btn-navy:hover { background: var(--gray-100); }

/* Blog */
.post-card { border: 1px solid var(--gray-300); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-card .content { padding: 22px; }
.post-card .date { font-size: .8rem; color: var(--gray-600); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.post-thumb { height: 150px; background: linear-gradient(135deg, var(--blue-light), var(--gray-300)); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.post-thumb svg { width: 44px; height: 44px; }
article.prose { max-width: 74ch; }
article.prose h2 { margin-top: 1.6em; }
article.prose h3 { margin-top: 1.3em; }
article.prose ul { margin-bottom: 1.2em; }

/* Table */
table.pricing { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
table.pricing th, table.pricing td { padding: 14px 16px; border-bottom: 1px solid var(--gray-300); text-align: left; font-size: .93rem; }
table.pricing th { background: var(--navy); color: #fff; }
table.pricing tr:last-child td { border-bottom: none; }

/* Footer */
footer.site { background: var(--navy-dark); color: #b9c9da; padding: 56px 0 24px; margin-top: 40px; }
footer.site h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
footer.site a { color: #b9c9da; }
footer.site a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: #8fa3b8;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; margin-bottom: 12px; }

/* Sticky mobile call bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--red);
  z-index: 60;
  box-shadow: 0 -6px 20px rgba(0,0,0,.2);
}
.mobile-call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; font-weight: 800; padding: 14px; font-size: 1.05rem;
}

/* Utility */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-lg{margin-top:40px}
.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.list-check li:before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* Responsive */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  nav.primary, .header-phone, .topbar .badges { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand { font-size: .98rem; }
  .brand small { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 58px; }
  nav.primary.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px 20px; box-shadow: var(--shadow); gap: 4px;
  }
  nav.primary.open a { padding: 10px 0; border-bottom: 1px solid var(--gray-300); }
  .dropdown { position: static; box-shadow: none; border: none; display: block; padding-left: 12px; }
}
