/* ============================================
   BoringBusiness Design System
   Hamilton County, Indiana House Cleaning
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-accent: #2D5A3D;        /* Forest green - trustworthy, clean */
  --color-accent-warm: #D4A574;   /* Amber/gold - Midwest warmth */
  --color-border: #e5e5e5;
  --color-surface: #f8f8f8;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Layout */
  --max-width: 900px;
  --border-radius: 8px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-warm);
  text-decoration: underline;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section {
  padding: var(--space-xl) 0;
}

/* --- Header --- */
.header {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.logo span {
  color: var(--color-accent);
}

.header__cta {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast);
}

.header__cta:hover {
  background-color: #245030;
  color: #ffffff;
  text-decoration: none;
}

/* --- Hero Section --- */
.hero {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-surface);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* --- CTA Button --- */
.cta-button {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  border: none;
}

.cta-button--small {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.cta-button:hover {
  background-color: #245030;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button--secondary {
  background-color: var(--color-accent-warm);
  color: var(--color-text);
}

.cta-button--secondary:hover {
  background-color: #c49560;
}

/* --- Features Grid --- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  padding: var(--space-md);
  background-color: var(--color-surface);
  border-radius: var(--border-radius);
}

.feature__icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.feature__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.feature__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Pricing --- */
.pricing {
  background-color: var(--color-surface);
  padding: var(--space-xl) 0;
  margin: var(--space-xl) 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 700px) {
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background-color: var(--color-bg);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  border: 2px solid var(--color-border);
  text-align: center;
  transition: border-color var(--transition-fast);
}

.pricing-card--featured {
  border-color: var(--color-accent);
  position: relative;
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing-card__features {
  list-style: none;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.pricing-card__features li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--color-border);
}

/* --- Trust Signals --- */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.trust__icon {
  color: var(--color-accent);
  font-size: 1.25rem;
}

/* --- FAQ --- */
.faq {
  margin: var(--space-xl) 0;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}

.faq__question {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__answer {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  display: none;
}

.faq__item--open .faq__answer {
  display: block;
}

/* --- Footer --- */
.footer {
  padding: var(--space-xl) 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer__links a {
  color: var(--color-text-muted);
}

/* --- Utilities --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* --- Local Business Schema Styles --- */
address {
  font-style: normal;
}

/* --- Responsive Breakpoints --- */
@media (min-width: 480px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.625rem; }

  .hero__title { font-size: 2.75rem; }
  .hero__subtitle { font-size: 1.125rem; }

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

@media (min-width: 900px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
}

  .header__inner {
    gap: 0.5rem;
  }

  /* --- Mobile Optimizations --- */
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; line-height: 1.15; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.125rem; }

  .hero {
    padding: var(--space-xl) 0;
  }
  .hero__title {
    font-size: 1.875rem;
    margin-bottom: var(--space-sm);
  }
  .hero__subtitle {
    font-size: 0.9375rem;
  }
  .hero__badge {
    font-size: 0.75rem;
  }

  .pricing-card__price {
    font-size: 1.75rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  .header__cta {
    width: auto;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .logo {
    font-size: 1rem;
  }

  .trust {
    gap: var(--space-sm);
  }
  .trust__item {
    font-size: 0.8125rem;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricing__grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .header__inner {
    gap: var(--space-sm);
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
}

/* --- Print Styles --- */
@media print {
  .cta-button { display: none; }
  .header { border: none; }
}
/* --- CTA Text (non-link price point placeholders) --- */
.cta-text {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* --- Hero Image --- */
.hero-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: var(--space-lg);
}

.hero-image--full {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: var(--space-xl);
}

/* --- Before/After Split --- */
.split-image {
  width: 100%;
  border-radius: var(--border-radius);
  margin: var(--space-lg) 0;
}

/* --- Content Image (inline) --- */
.content-image {
  width: 100%;
  border-radius: var(--border-radius);
  margin: var(--space-md) 0;
}
