/* Organic Carpet Cleaning TX - Apple-level Minimalism */
:root {
  --green: #1a3c34;
  --white: #ffffff;
  --gray-light: #f5f5f7;
  --gray-mid: #86868b;
  --black: #1d1d1f;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navigation Menu */
.nav-menu {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 16px 20px;
}

.nav-menu-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.nav-menu a {
  color: var(--green);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav-menu a:hover {
  opacity: 0.6;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 200px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo img {
    height: 120px;
  }
}

.phone {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 980px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.phone:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(26, 60, 52, 0.3);
  color: var(--white);
}

/* Hero */
.hero {
  padding: 80px 20px;
  text-align: center;
  background: var(--white);
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 24px;
  color: var(--gray-mid);
  max-width: 700px;
  margin: 0 auto 40px;
  font-weight: 400;
  letter-spacing: -0.3px;
}

.cta-button {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 980px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(26, 60, 52, 0.3);
}

/* Featured Section */
.featured {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured img {
  width: 100%;
  border-radius: 12px;
}

.featured-text h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.featured-text p {
  font-size: 19px;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* Services Grid */
.services {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
}

.services h2 {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -1px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--green);
}

.service-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--green);
  letter-spacing: -0.3px;
}

.service-card p {
  color: var(--gray-mid);
  font-size: 17px;
  line-height: 1.5;
}

/* Before/After Gallery */
.gallery {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
}

.gallery h2 {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -1px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.before-after {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
}

.before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ZIP Codes */
.zip-codes {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px;
  background: var(--gray-light);
  border-radius: 18px;
  text-align: center;
}

.zip-codes h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.zip-codes p {
  font-size: 17px;
  color: var(--gray-mid);
}

/* Map */
.map-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Trust Badges */
.trust-badges {
  max-width: 1000px;
  margin: 100px auto;
  padding: 0 20px;
}

.badges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
}

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

.badge-item img {
  width: 100%;
  max-width: 150px;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.badge-item img:hover {
  opacity: 1;
}

/* Upsell Bar */
.upsell-bar {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: var(--green);
  color: var(--white);
  padding: 20px;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transition: bottom 0.4s ease;
  z-index: 999;
}

.upsell-bar.show {
  bottom: 0;
}

.upsell-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.upsell-text {
  font-size: 19px;
  font-weight: 500;
}

.upsell-price {
  font-size: 32px;
  font-weight: 700;
}

.upsell-button {
  background: var(--white);
  color: var(--green);
  padding: 12px 28px;
  border-radius: 980px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.upsell-button:hover {
  transform: scale(1.05);
}

.close-upsell {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
}

.close-upsell:hover {
  opacity: 1;
}

/* FAQ */
.faq-section {
  max-width: 800px;
  margin: 100px auto;
  padding: 0 20px;
}

.faq-item {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.faq-item p {
  font-size: 17px;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* Calendly */
.calendly-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  min-height: 700px;
}

/* Footer */
.footer {
  background: var(--white);
  padding: 60px 20px;
  margin-top: 120px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}

.footer p {
  color: var(--green);
  font-size: 15px;
  line-height: 1.8;
  margin: 8px 0;
}

.footer a {
  color: var(--green);
  text-decoration: none;
}

.footer a:hover {
  opacity: 0.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 19px;
  }

  .featured {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services h2,
  .gallery h2 {
    font-size: 36px;
  }

  .badges-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .upsell-content {
    flex-direction: column;
    text-align: center;
  }

  .header-content {
    flex-direction: column;
    gap: 12px;
  }

  .nav-menu-content {
    gap: 16px;
    font-size: 14px;
  }

  .nav-menu a {
    font-size: 13px;
  }
}
