@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #3b9dd2;
  --primary-light: #e8f4fd;
  --accent-color: #2d8c4e;
  --text-dark: #1f2937;
  --text-body: #4b5563;
  --bg-color: #ffffff;
  --bg-offset: #f9fafb;
  --border-color: #e5e7eb;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-color);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-color); }

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ===== HEADER & NAV ===== */
.sticky-header {
  position: sticky;
  top: 0;
  background: var(--bg-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 200;
  padding: 0.875rem 0;
  transition: padding 0.3s;
}
.sticky-header.shrink { padding: 0.5rem 0; }

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}
.logo a:hover { color: var(--primary-color); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  padding: 0;
  margin: 0;
}
.main-nav ul li { margin: 0; }
.main-nav ul li a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: var(--primary-light);
  color: var(--primary-color);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--bg-color);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  flex-direction: column;
  min-width: 220px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  z-index: 300;
  padding: 0.5rem 0;
}
.dropdown.open .dropdown-menu { display: flex; }
.dropdown-menu li { padding: 0; margin: 0; }
.dropdown-menu li a {
  padding: 0.6rem 1.25rem;
  border-radius: 0;
  font-size: 0.875rem;
}
.dropdown-menu li a:hover { background: var(--primary-light); }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0.5rem;
  border-radius: 4px;
}
.menu-toggle:hover { background: var(--bg-offset); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: all 0.2s;
  line-height: 1.2;
}
.btn-primary {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
.btn-primary:hover { background: #2a7da8; border-color: #2a7da8; color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-secondary:hover { background: var(--primary-light); color: var(--primary-color); }

/* ===== HERO SECTIONS ===== */
.hero {
  background: linear-gradient(135deg, #e8f4fd 0%, #d4ecf7 60%, #c0e2f0 100%);
  padding: 5rem 0;
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.25rem; }
.hero p { font-size: 1.2rem; max-width: 640px; margin: 0 auto 2rem; color: var(--text-body); }

.page-hero {
  background: linear-gradient(135deg, #e8f4fd 0%, #d4ecf7 100%);
  padding: 4rem 0;
  text-align: center;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 680px; margin: 0 auto 1.75rem; font-size: 1.1rem; }

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== TRUST BADGES ===== */
.trust-badges { background: var(--primary-light); padding: 1.5rem 0; }
.badges-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.badge {
  background: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  border: 1px solid rgba(59,157,210,0.2);
  white-space: nowrap;
}

/* ===== SECTIONS ===== */
section { padding: 4rem 0; }
section.bg-offset { background: var(--bg-offset); }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== GRID & CARDS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-offset);
  padding: 1.75rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
a.card { color: var(--text-dark); }
a.card:hover { color: var(--text-dark); }

/* Services grid */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.services-grid .card h3 { color: var(--primary-color); font-size: 1rem; margin-bottom: 0.5rem; }
.services-grid .card p { font-size: 0.9rem; margin-bottom: 0.75rem; }
.services-grid .card a { font-weight: 600; font-size: 0.875rem; }

/* Testimonials */
.testimonials-grid .card { background: #fff; }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial p { font-style: italic; margin-bottom: 0.75rem; }
.testimonial cite { font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, #3b9dd2, #2a7da8); color: #fff; }
.cta-banner h2, .cta-banner p { color: #fff; }
.cta-banner .btn-secondary { border-color: #fff; color: #fff; }
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,0.15); }

/* ===== CHECK LISTS ===== */
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 0.3rem 0 0.3rem 0; margin-bottom: 0.5rem; }
.check-list-large li { font-size: 1.05rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }
.check-list-large li:last-child { border-bottom: none; }

/* ===== SERVICES DETAIL PAGES ===== */
.service-detail { padding: 3.5rem 0; }
.service-detail h2 { color: var(--primary-color); }
.service-detail p { max-width: 800px; }
.service-includes {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.5rem;
}
.service-includes li {
  padding: 0.5rem 0.75rem;
  background: var(--primary-light);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 0;
}

.services-list .service-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}
.services-list .service-item:last-child { border-bottom: none; }
.services-list h3 { color: var(--primary-color); margin-bottom: 0.5rem; }

/* Pricing section */
.pricing-section { background: var(--primary-light); }

/* ===== ABOUT PAGE ===== */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.about-highlight-card { position: sticky; top: 100px; }
.about-highlight-card h3 { margin-bottom: 1rem; }
.values-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ===== SERVICE AREAS PAGE ===== */
.intro-text {
  font-size: 1.05rem;
  max-width: 900px;
  line-height: 1.8;
}
.locations-grid-large { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.location-card { display: flex; flex-direction: column; color: var(--text-dark); }
.location-card:hover { color: var(--text-dark); }
.location-card h3 { color: var(--primary-color); margin-bottom: 0.5rem; }
.location-card p { flex: 1; font-size: 0.9rem; margin-bottom: 1rem; }
.card-link { font-weight: 600; color: var(--primary-color); font-size: 0.875rem; margin-top: auto; }

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}
.contact-info-wrap { background: var(--bg-offset); padding: 2rem; border-radius: 10px; border: 1px solid var(--border-color); }
.contact-info-wrap h2 { margin-bottom: 1.5rem; }
.contact-info-block { margin-bottom: 1.75rem; }
.contact-info-block h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-body); margin-bottom: 0.4rem; }
.contact-info-block p { margin: 0; line-height: 1.6; }
.contact-link-large { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); display: block; margin-bottom: 0.35rem; }

/* Form */
form { display: flex; flex-direction: column; gap: 1.1rem; max-width: none; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-weight: 600; font-size: 0.875rem; color: var(--text-dark); }
input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59,157,210,0.15);
}
input.invalid, select.invalid, textarea.invalid { border-color: #ef4444; }
textarea { resize: vertical; min-height: 120px; }
.error { color: #ef4444; font-size: 0.8rem; display: none; }
.error.visible { display: block; }

/* Map */
.map-embed iframe { width: 100%; border-radius: 10px; border: 0; }

/* ===== FAQ ACCORDION ===== */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:first-child { border-top: 1px solid var(--border-color); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.4;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary-color);
  transition: transform 0.3s;
}
.faq-item.open .faq-question::after { content: '–'; }
.faq-answer {
  display: none;
  padding: 0 0 1.25rem 0;
  color: var(--text-body);
  line-height: 1.7;
}
.faq-answer.open { display: block; }
.faq-answer p { margin-bottom: 0; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), #b3d9f5);
}
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card h2 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.blog-card h2 a { color: var(--text-dark); }
.blog-card h2 a:hover { color: var(--primary-color); }
.blog-card p { font-size: 0.9rem; flex: 1; }
.blog-meta { font-size: 0.8rem; color: var(--text-body); display: flex; gap: 0.5rem; margin-bottom: 0; margin-top: 0.75rem; }
.blog-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ===== BLOG POST ===== */
.blog-post { padding: 3rem 0 5rem; }
.blog-post-container { max-width: 860px; }
.blog-post-header { margin-bottom: 2.5rem; }
.blog-post-header h1 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.blog-featured-img {
  height: 300px;
  background: linear-gradient(135deg, var(--primary-light), #b3d9f5);
  border-radius: 10px;
  margin-top: 1.5rem;
}
.blog-toc {
  background: var(--bg-offset);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.blog-toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; color: var(--text-body); }
.blog-toc ol { padding-left: 1.25rem; }
.blog-toc li { margin-bottom: 0.35rem; }
.blog-toc a { font-size: 0.925rem; }

.blog-content h2 { margin-top: 2.5rem; padding-top: 0.5rem; border-top: 2px solid var(--primary-light); }
.blog-content h2:first-child { margin-top: 0; border-top: none; }
.blog-content h3 { margin-top: 1.75rem; color: var(--text-dark); }
.blog-content ul, .blog-content ol { margin-bottom: 1.25rem; }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content p { margin-bottom: 1.25rem; line-height: 1.8; }
.blog-content strong { color: var(--text-dark); }

/* Table */
.cleaning-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
}
.cleaning-table th {
  background: var(--primary-color);
  color: #fff;
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
}
.cleaning-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.cleaning-table tr:nth-child(even) td { background: var(--bg-offset); }
.cleaning-table tr:hover td { background: var(--primary-light); }

/* Blockquote */
.pull-quote {
  border-left: 4px solid var(--primary-color);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--primary-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* Blog CTA block */
.blog-cta-block {
  background: linear-gradient(135deg, var(--primary-color), #2a7da8);
  color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  margin: 3rem 0;
  text-align: center;
}
.blog-cta-block h2 { color: #fff; margin-bottom: 0.5rem; }
.blog-cta-block p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.blog-cta-block .btn-secondary { border-color: #fff; color: #fff; }
.blog-cta-block .btn-secondary:hover { background: rgba(255,255,255,0.15); }

/* Related posts */
.blog-related h2 { margin-bottom: 1.25rem; }
.related-posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.related-post {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text-dark);
}
.related-post strong { color: var(--primary-color); font-size: 0.925rem; line-height: 1.4; }
.related-post span { font-size: 0.8rem; color: var(--text-body); }

/* ===== LOCATION PAGES ===== */
.neighborhoods-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.neighborhood-tag {
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(59,157,210,0.25);
}
.nearby-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.nearby-card {
  display: block;
  padding: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.925rem;
  text-align: center;
}
.nearby-card:hover { color: var(--accent-color); }

/* ===== PRIVACY POLICY ===== */
.prose-content { max-width: 800px; }
.prose-content h2 { margin-top: 2.5rem; }
.prose-content h3 { margin-top: 1.5rem; }
.prose-content ul, .prose-content ol { margin-bottom: 1.25rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--text-dark);
  color: #9ca3af;
  padding: 4rem 0 2rem;
}
footer h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col p { margin-bottom: 0.4rem; font-size: 0.9rem; }
footer a { color: #9ca3af; transition: color 0.2s; }
footer a:hover { color: #fff; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 0.5rem; }
footer ul li a { font-size: 0.875rem; }
.copy { border-top: 1px solid #374151; padding-top: 1.5rem; font-size: 0.875rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-two-col { grid-template-columns: 1fr; }
  .about-highlight-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 3rem 0; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 1px solid var(--border-color);
    z-index: 300;
  }
  .main-nav.active { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li a { padding: 0.75rem 1rem; border-radius: 6px; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    display: none;
    background: var(--bg-offset);
    border-radius: 0;
    margin-top: 2px;
    margin-bottom: 4px;
  }
  .dropdown.open .dropdown-menu { display: flex; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .service-includes { grid-template-columns: 1fr; }
  .cleaning-table { display: block; overflow-x: auto; }
  .nearby-links { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .blog-post-container { max-width: 100%; }
}

@media (max-width: 480px) {
  .nearby-links { grid-template-columns: 1fr; }
  .neighborhoods-grid { gap: 0.4rem; }
  .neighborhood-tag { font-size: 0.8rem; }
  .logo a { font-size: 1.2rem; }
}
