/* ============================================================
   Colorado Restoration Group — Global Stylesheet
   waterdamagerestorationcoloradoco.com
   Font: Poppins (entire site)
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --color-primary: #0b3d5c;      /* deep navy — trust */
  --color-primary-dark: #082c44;
  --color-accent: #e8a33d;       /* warm amber — CTA */
  --color-accent-dark: #c9851f;
  --color-blue: #1b6ca8;         /* secondary blue */
  --color-bg: #ffffff;
  --color-bg-soft: #f4f7fa;
  --color-bg-dark: #0b3d5c;
  --color-text: #2b2f36;
  --color-text-light: #5b6470;
  --color-border: #dde3ea;
  --color-white: #ffffff;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 6px 18px rgba(11, 61, 92, 0.12);
  --shadow-lg: 0 14px 34px rgba(11, 61, 92, 0.18);
  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --container: 1180px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.section-pad { padding: 72px 0; }
.section-pad-sm { padding: 48px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(232, 163, 61, .35);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; text-decoration: none; }
.btn-white {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow);
}
.btn-white:hover { transform: translateY(-2px); text-decoration: none; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--color-primary-dark);
  color: #fff;
  font-size: .85rem;
  padding: 9px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .topbar-phone { font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(11,61,92,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--color-primary); font-weight: 700; font-size: 1.05rem; }
.brand-text span { color: var(--color-text-light); font-size: .72rem; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--color-primary);
  font-weight: 500;
  font-size: .95rem;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
}
.nav-links a:hover { background: var(--color-bg-soft); }
.nav-links a.active { background: var(--color-bg-soft); color: var(--color-accent-dark); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 20px; font-size: .9rem; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; position: relative;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; background: var(--color-primary);
  margin: 5px auto; border-radius: 2px;
}

/* Mobile nav — hidden by default (desktop), shown only on mobile */
.mobile-menu { display: none; }

/* Mobile nav */
@media (max-width: 991px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu {
    display: none;
    background: #fff;
    box-shadow: var(--shadow-lg);
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding: 18px 20px;
    z-index: 120;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block; padding: 12px 10px; color: var(--color-primary);
    font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--color-border);
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu .btn { display: block; text-align: center; margin-top: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0b3d5c 0%, #123f63 45%, #1b6ca8 100%);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/hero.webp') center/cover no-repeat;
  opacity: .18;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: 2.6rem; font-weight: 700; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.92); max-width: 720px; }
.hero .hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.hero .hero-phone {
  font-size: 1.35rem; font-weight: 700; color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 14px; border-radius: 30px; font-size: .85rem; color: #fff;
}

/* ---------- Split Hero (location pages) ---------- */
.split-hero {
  background: linear-gradient(135deg, #0b3d5c 0%, #123f63 45%, #1b6ca8 100%);
  color: #fff;
  padding: 64px 0;
}
.split-hero .split-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 36px;
  align-items: center;
}
.split-hero .split-media { position: relative; }
.split-hero .split-media img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  border: 3px solid rgba(255,255,255,.35);
}
.split-hero .split-content { position: relative; z-index: 2; }
.split-hero .split-content h1 { color: #fff; font-size: 2.2rem; font-weight: 700; }
.split-hero .split-content p { font-size: 1.08rem; color: rgba(255,255,255,.92); }
.split-hero .split-content .btn { margin-top: 18px; }
@media (max-width: 991px) {
  .split-hero .split-grid { grid-template-columns: 1fr; }
  .split-hero .split-media { order: -1; }
  .split-hero .split-media img { max-height: 260px; }
}

/* ---------- Service Cards (no links) ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-cards { grid-template-columns: 1fr; } }
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-card p { color: var(--color-text-light); font-size: .92rem; }

/* ---------- Section Headings ---------- */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow {
  display: inline-block; color: var(--color-accent-dark);
  font-weight: 600; font-size: .85rem; letter-spacing: .5px;
  text-transform: uppercase;
}
.section-head h2 { margin: 8px 0 10px; }
.section-head p { color: var(--color-text-light); max-width: 720px; margin: 0 auto; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .card-icon {
  width: 56px; height: 56px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card .card-icon svg { width: 30px; height: 30px; stroke: var(--color-primary); fill: none; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--color-text-light); font-size: .95rem; }
.card a.more { font-weight: 600; color: var(--color-accent-dark); text-decoration: none; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 991px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Steps / Process ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 991px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--color-text-light); font-size: .95rem; }

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-card .why-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 14px;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--color-text-light); font-size: .93rem; }

/* ---------- Regions ---------- */
.region-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow);
}
.region-card h3 { margin-bottom: 10px; }
.region-card p { color: var(--color-text-light); font-size: .95rem; }
.region-card ul { margin: 12px 0 0; padding-left: 18px; }
.region-card ul li { margin-bottom: 4px; }
.region-card ul a { color: var(--color-blue); text-decoration: none; }
.region-card ul a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--color-primary);
  background: var(--color-bg-soft); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { background: #fff; }
.faq-item .faq-answer { padding: 16px 20px; color: var(--color-text-light); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, #0b3d5c, #1b6ca8);
  color: #fff; text-align: center; padding: 64px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 680px; margin: 0 auto; }
.cta-band .btn { margin-top: 20px; }
.cta-band .cta-phone { font-size: 1.5rem; font-weight: 700; color: #fff; margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: #fff; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-about p { color: rgba(255,255,255,.8); font-size: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 18px 0; text-align: center; font-size: .85rem;
  color: rgba(255,255,255,.75);
}
.footer-disclosure { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 10px; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #0b3d5c, #1b6ca8);
  color: #fff; padding: 60px 0;
}
.page-hero h1 { color: #fff; font-size: 2.1rem; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 760px; }
.breadcrumb { color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Content / Prose ---------- */
.prose h2 { margin-top: 34px; }
.prose h3 { margin-top: 22px; }
.prose p { color: var(--color-text); }
.prose ul { padding-left: 22px; }
.prose ul li { margin-bottom: 8px; }
.prose .lead { font-size: 1.1rem; color: var(--color-text); }

/* ---------- Zip Grid / Lists ---------- */
.zip-list { columns: 3; column-gap: 24px; }
@media (max-width: 991px) { .zip-list { columns: 2; } }
@media (max-width: 640px) { .zip-list { columns: 1; } }
.zip-list a { display: block; padding: 6px 10px; color: var(--color-blue); text-decoration: none; }
.zip-list a:hover { background: var(--color-bg-soft); text-decoration: underline; }

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--color-border); padding: 12px 14px; text-align: left; }
th { background: var(--color-bg-soft); font-weight: 600; color: var(--color-primary); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--color-primary); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--color-border);
  border-radius: var(--radius); font-family: var(--font); font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent); }

/* ---------- Callout ---------- */
.callout {
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--color-text);
}
.callout strong { color: var(--color-primary); }

/* ---------- Floating Call Bar (right-to-left slide) ---------- */
.floating-call {
  position: fixed;
  right: -220px;              /* start off-screen to the right */
  bottom: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(11, 61, 92, 0.25);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: right .5s ease, transform .2s, box-shadow .2s;
  animation: slideIn 1.2s ease forwards;
}
@keyframes slideIn {
  from { right: -220px; }
  to { right: 24px; }
}
.floating-call:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11, 61, 92, 0.3); }
.floating-call .fc-label {
  font-size: .78rem;
  color: rgba(255,255,255,.85);
  display: block;
  line-height: 1.1;
}
.floating-call .fc-number {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.floating-call .fc-call {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
}
@media (max-width: 640px) {
  .floating-call { bottom: 18px; right: 18px; padding: 12px 16px; }
  .floating-call .fc-label { display: none; }
  .floating-call .fc-number { font-size: 1rem; }
  .floating-call .fc-call { width: 34px; height: 34px; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .nav-toggle, .floating-call { display: none; }
}