/* ============================================
   Vaughters Cleaning Service Inc. — Site Styles
   Bold & Modern theme
   ============================================ */

:root {
  --color-ink: #0d0f12;
  --color-charcoal: #1a1d22;
  --color-white: #ffffff;
  --color-fog: #f4f6f8;
  --color-accent: #0084ff;
  --color-accent-dark: #0063c4;
  --color-accent-light: #e6f3ff;
  --color-border: #e2e6ea;
  --font-display: 'Space Grotesk', 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(13,15,18,0.06);
  --shadow-md: 0 12px 32px rgba(13,15,18,0.12);
  --shadow-lg: 0 24px 64px rgba(13,15,18,0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-dark {
  background: var(--color-ink);
  color: var(--color-white);
}
.btn-dark:hover { background: var(--color-charcoal); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  height: 54px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  padding: 8px 2px;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active { color: var(--color-accent); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
  transition: all 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-ink);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(0,132,255,0.35) 0%, rgba(0,132,255,0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0,132,255,0.12);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--color-accent); }

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stats .stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-white);
}

.hero-stats .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.hero-visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img { max-height: 480px; width: auto; }

.hero-visual video.hero-logo-video {
  display: block;
  max-height: 480px;
  width: auto;
  max-width: 100%;
}

/* ---------- Section basics ---------- */
section { padding: 88px 0; }

.section-fog { background: var(--color-fog); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
}

.section-head p {
  color: #565d66;
  font-size: 1.05rem;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: #565d66;
  font-size: 0.98rem;
}

.card ul {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card ul li {
  font-size: 0.92rem;
  color: #3c4147;
  padding-left: 22px;
  position: relative;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.cta-band p { color: rgba(255,255,255,0.85); }

.cta-band .btn-accent {
  background: var(--color-white);
  color: var(--color-accent-dark);
}
.cta-band .btn-accent:hover { background: var(--color-fog); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-ink);
}

.faq-question .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  font-size: 1.1rem;
  font-weight: 700;
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 26px;
  color: #565d66;
  font-size: 0.98rem;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 26px 26px;
}

/* ---------- Services page hero (secondary pages) ---------- */
.page-hero {
  background: var(--color-ink);
  color: var(--color-white);
  padding: 72px 0;
  text-align: center;
}

.page-hero .eyebrow { color: var(--color-accent); }

.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  max-width: 56ch;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img { height: 60px; margin-bottom: 16px; }

.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.55); max-width: 32ch; }

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.6); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; padding: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* The desktop glow is an offset circle sized off its own box. On a tall,
     narrow single-column mobile layout, any box-relative circle/ellipse ends
     up with a hard edge somewhere in the viewport, which reads as a visible
     seam rather than a fade — repositioning the same pseudo-element just
     moves the seam around instead of removing it. Instead, disable the
     pseudo-element on mobile entirely and paint the glow as a full-width,
     top-anchored linear gradient directly on .hero's own background. A
     linear gradient has no side edges to ever show a seam.
     Important: this is background-color + background-image, NOT the
     `background` shorthand. The gradient's top stop is intentionally
     semi-transparent so it blends smoothly into the solid ink below it —
     using the shorthand would drop the solid ink fill entirely, so that
     transparency would blend against the page behind .hero instead
     (produced a washed-out pale blue instead of a dark glow). Layering
     keeps the solid ink as the base and paints the fading gradient on top
     of it, so the alpha blends against ink the way it's supposed to. */
  .hero::before {
    display: none;
  }
  .hero {
    background-color: var(--color-ink);
    background-image: linear-gradient(180deg, rgba(0,132,255,0.30) 0%, rgba(0,132,255,0.08) 40%, rgba(0,132,255,0) 68%);
  }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta .btn-accent { padding: 10px 18px; font-size: 0.9rem; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 64px 0; }
  .hero { padding: 88px 0 64px; }
}

/* Mobile nav drawer */
.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  flex-direction: column;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  gap: 18px;
}
