/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #111827; background: #fff; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { color: var(--gray-600); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--green { background: var(--green-50); }
.section--dark { background: var(--green-900); color: var(--white); }
.section--dark p { color: var(--green-200); }
.section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-600); margin-bottom: 12px; display: block; }
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-500); max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; transition: all 0.2s ease; text-decoration: none; }
.btn-primary { background: var(--green-600); color: var(--white); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(22,163,74,0.35); }
.btn-outline { background: transparent; color: var(--green-600); border: 2px solid var(--green-600); }
.btn-outline:hover { background: var(--green-600); color: var(--white); }
.btn-white { background: var(--white); color: var(--green-700); }
.btn-white:hover { background: var(--green-50); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ===== NAVIGATION ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-100); transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon { width: 38px; height: 38px; background: var(--green-600); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; }
.nav-logo-text { font-weight: 800; font-size: 1rem; color: var(--gray-900); line-height: 1.2; }
.nav-logo-text span { display: block; font-size: 0.7rem; font-weight: 600; color: var(--green-600); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--gray-600); transition: color 0.2s; }
.nav-links a:hover { color: var(--green-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-weight: 700; color: var(--green-700); font-size: 0.9rem; white-space: nowrap; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all 0.3s; display: block; }
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--gray-100); padding: 20px; z-index: 999; flex-direction: column; gap: 16px; box-shadow: var(--shadow-md); }
.mobile-menu a { font-weight: 600; color: var(--gray-700); padding: 8px 0; border-bottom: 1px solid var(--gray-100); display: block; }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero { min-height: 100vh; padding-top: 70px; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--green-900); }
.hero-bg { position: absolute; inset: 0; background-image: url('images/hero-carpet-cleaning-central-coast.jpg'); background-size: cover; background-position: center top; opacity: 0.35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(20,83,45,0.92) 0%, rgba(21,128,61,0.75) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: var(--green-200); padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 24px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--green-400); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; line-height: 1.7; }
.hero-sub strong { color: white; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 600; }
.hero-trust-item svg { color: var(--green-400); flex-shrink: 0; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--gray-100); padding: 0; }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-stat { padding: 32px 24px; text-align: center; border-right: 1px solid var(--gray-100); }
.trust-stat:last-child { border-right: none; }
.trust-stat-number { font-size: 2.2rem; font-weight: 900; color: var(--green-600); line-height: 1; margin-bottom: 4px; }
.trust-stat-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px 28px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--green-600); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--green-200); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; background: var(--green-50); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.service-card h3 { color: var(--gray-900); margin-bottom: 10px; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; line-height: 1.6; }

/* ===== BEFORE & AFTER ===== */
.before-after { margin-top: 56px; }
.ba-intro { text-align: center; margin-bottom: 48px; }
.ba-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.ba-pair { }
.ba-pair-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-600); margin-bottom: 16px; text-align: center; }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.ba-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.ba-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ba-img-wrap:hover img { transform: scale(1.04); }
.ba-label { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.65); color: white; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 50px; letter-spacing: 0.05em; }
.ba-label.after { background: var(--green-600); }

/* ===== WHY CHOOSE US ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 0; }
.why-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-features { display: grid; gap: 24px; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; }
.why-feature-icon { width: 44px; height: 44px; background: var(--green-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.why-feature-text h3 { font-size: 1rem; color: var(--gray-900); margin-bottom: 4px; }
.why-feature-text p { font-size: 0.875rem; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image-stack { position: relative; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-img-accent { position: absolute; bottom: -24px; right: -24px; width: 180px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid white; aspect-ratio: 3/4; }
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-content { }
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; font-size: 1rem; }
.about-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--green-50); border: 1px solid var(--green-200); color: var(--green-700); padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; margin-top: 8px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px 28px; }
.testimonial-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text { font-size: 0.95rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-100); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--green-700); font-size: 1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--gray-900); }
.testimonial-location { font-size: 0.8rem; color: var(--gray-400); }
.google-badge { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.75rem; color: var(--gray-500); font-weight: 600; }

/* ===== SERVICE AREAS ===== */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.area-tag { background: var(--white); border: 1px solid var(--green-200); border-radius: 8px; padding: 10px 16px; font-size: 0.875rem; font-weight: 600; color: var(--green-700); text-align: center; transition: all 0.2s; }
.area-tag:hover { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.areas-note { text-align: center; margin-top: 24px; color: var(--gray-500); font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-list { margin-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 1rem; color: var(--gray-900); transition: background 0.2s; }
.faq-question:hover { background: var(--gray-50); }
.faq-question.open { color: var(--green-700); }
.faq-chevron { font-size: 1.2rem; color: var(--green-600); transition: transform 0.3s; flex-shrink: 0; }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s ease; }
.faq-answer.open { max-height: 400px; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 0.95rem; color: var(--gray-600); line-height: 1.75; }

/* ===== QUOTE CTA ===== */
.quote-section { background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%); padding: 80px 0; text-align: center; }
.quote-section h2 { color: var(--white); margin-bottom: 16px; }
.quote-section p { color: var(--green-200); font-size: 1.1rem; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.quote-widget-wrap { max-width: 460px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer { background: var(--gray-900); color: var(--white); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--gray-400); font-size: 0.9rem; margin-top: 12px; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-logo-icon { width: 36px; height: 36px; background: var(--green-600); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.footer-logo-text { font-weight: 800; color: var(--white); font-size: 0.95rem; line-height: 1.2; }
.footer-logo-text span { display: block; font-size: 0.65rem; color: var(--green-400); font-weight: 600; }
.footer h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 16px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--gray-400); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--green-400); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; color: var(--gray-400); font-size: 0.875rem; margin-bottom: 10px; }
.footer-contact-item a { color: var(--green-400); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray-500); margin: 0; }
.footer-assoc { font-size: 0.75rem; color: var(--gray-500); text-align: right; }
.footer-assoc a { color: var(--green-400); }

/* ===== TERMS & CONDITIONS ===== */
.terms-content { max-width: 800px; margin: 40px auto 0; }
.terms-content ol { list-style: decimal; padding-left: 24px; display: grid; gap: 16px; }
.terms-content li { font-size: 0.9rem; color: var(--gray-600); line-height: 1.75; }
.terms-content li strong { color: var(--gray-900); }
.terms-updated { text-align: center; margin-top: 32px; font-size: 0.8rem; color: var(--gray-400); font-style: italic; }

/* ===== ANNOUNCEMENT BAR ===== */
.announce-bar { background: var(--green-600); color: white; text-align: center; padding: 10px 20px; font-size: 0.825rem; font-weight: 600; }
.announce-bar a { color: var(--green-100); text-decoration: underline; }

/* ===== STEAM GRID ===== */
.steam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .ba-pairs { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .steam-grid { grid-template-columns: 1fr; gap: 40px; }
  .steam-grid > div:last-child { aspect-ratio: 16/9; }
  .section { padding: 56px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-phone { font-size: 0.85rem; }
  .nav-hamburger { display: flex; }
  .hero { min-height: auto; padding: 120px 0 64px; }
  .hero-actions .btn-lg { width: 100%; justify-content: center; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-stat { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .trust-stat:nth-child(odd) { border-right: 1px solid var(--gray-100); }
  .trust-stat:last-child, .trust-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { aspect-ratio: 16/9; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-assoc { text-align: left; }
  .ba-images { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { flex-direction: column; gap: 12px; }
}
