/* ===========================================
   SITESPARK PRO — Cleaning Services Template
   Primary: Teal #0d9488 | Accent: Mint + White
   =========================================== */

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

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

:root {
  --brand-teal:    #0d9488;
  --brand-dark:    #0f766e;
  --brand-deeper:  #134e4a;
  --brand-light:   #f0fdfa;
  --brand-mint:    #ccfbf1;
  --accent:        #f59e0b;
  --accent-hover:  #d97706;
  --text-primary:  #111827;
  --text-secondary:#4b5563;
  --text-light:    #9ca3af;
  --white:         #ffffff;
  --off-white:     #f9fafb;
  --border:        rgba(0,0,0,0.07);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-teal:   0 6px 24px rgba(13,148,136,0.28);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --transition:    180ms cubic-bezier(0.16, 1, 0.3, 1);
  --font-body:     'Inter', system-ui, sans-serif;
  --font-display:  'Plus Jakarta Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--brand-light); }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--brand-deeper);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-dark .section-title { color: var(--white); }

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-teal); }

.btn-outline-teal {
  background: transparent;
  color: var(--brand-teal);
  border-color: var(--brand-teal);
}
.btn-outline-teal:hover { background: var(--brand-teal); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--brand-deeper);
  border-color: var(--white);
}
.btn-white:hover { background: var(--brand-mint); transform: translateY(-1px); }

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.logo-text { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--brand-deeper); }
.logo-tagline { font-size: 11px; color: var(--text-light); display: none; }
@media (min-width: 480px) { .logo-tagline { display: block; } }

nav { display: none; }
@media (min-width: 900px) { nav { display: flex; align-items: center; gap: 4px; } }
nav a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--transition);
}
nav a:hover { color: var(--brand-deeper); background: var(--brand-mint); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  font-size: 16px; font-weight: 700; color: var(--brand-deeper);
  display: none; align-items: center; gap: 6px;
  transition: color var(--transition);
}
@media (min-width: 640px) { .header-phone { display: flex; } }
.header-phone:hover { color: var(--brand-teal); }

.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; background: none; border: none;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--brand-deeper); border-radius: 2px; transition: all var(--transition); }

.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 16px 0; }
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 12px 20px; font-size: 15px; font-weight: 500;
  color: var(--text-secondary); border-radius: var(--radius-sm); margin: 0 8px;
  transition: all var(--transition);
}
.mobile-nav a:hover { background: var(--brand-mint); color: var(--brand-deeper); }

/* Hero */
.hero {
  background: linear-gradient(150deg, var(--brand-deeper) 0%, var(--brand-teal) 60%, #14b8a6 100%);
  color: var(--white);
  padding: 88px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -50%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 700px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 54px);
  font-weight: 800; line-height: 1.1; margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, #a7f3d0, #ffffff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 18px);
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px; max-width: 520px; line-height: 1.65;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-trust {
  margin-top: 52px;
  display: flex; flex-wrap: wrap; gap: 32px;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.75); }
.trust-item strong { color: var(--white); }

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.process-step {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--transition);
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--brand-light); }

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--brand-mint);
  line-height: 1;
  margin-bottom: 12px;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--brand-deeper); margin-bottom: 8px;
}
.process-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-mint); }

.service-icon-wrap {
  width: 52px; height: 52px;
  background: var(--brand-mint);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
  transition: background var(--transition);
}
.service-card:hover .service-icon-wrap { background: var(--brand-teal); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--brand-deeper); margin-bottom: 8px;
}
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.service-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px; font-size: 13px; font-weight: 600;
  color: var(--brand-teal);
  transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 8px; }

/* About */
.about-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 48px; align-items: center; margin-top: 48px;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-visual {
  background: linear-gradient(160deg, var(--brand-deeper) 0%, var(--brand-teal) 100%);
  border-radius: var(--radius-lg); padding: 48px 36px; color: var(--white);
  position: relative; overflow: hidden;
}
.about-visual::after {
  content: '✨';
  position: absolute; bottom: 24px; right: 28px;
  font-size: 80px; opacity: 0.08;
}

.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display); font-size: 38px; font-weight: 800;
  color: #a7f3d0; display: block;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 4px; }

.about-content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }

.about-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  background: var(--brand-mint);
  border: 1px solid rgba(13,148,136,0.2);
  border-radius: 50px;
  font-size: 13px; font-weight: 600; color: var(--brand-deeper);
}

/* Reviews */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; margin-top: 48px;
}

.review-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
  transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--brand-mint); }

.stars { color: #f59e0b; font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.review-text {
  font-size: 15px; color: var(--text-secondary); line-height: 1.65;
  margin-bottom: 20px; font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-deeper));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.author-info strong { font-size: 14px; font-weight: 600; display: block; }
.author-info span { font-size: 12px; color: var(--text-light); }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 48px;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }

.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; color: var(--text-primary);
  background: var(--off-white); transition: all var(--transition); outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brand-teal); background: var(--white);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: all var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-sm); border-color: var(--brand-mint); }
.info-icon {
  width: 44px; height: 44px; background: var(--brand-mint);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.info-content strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 4px; }
.info-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.info-content a { color: var(--brand-teal); font-weight: 600; transition: color var(--transition); }
.info-content a:hover { color: var(--brand-deeper); }

.hours-table { width: 100%; font-size: 14px; }
.hours-row {
  display: flex; justify-content: space-between; padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 500; }
.hours-time { color: var(--text-secondary); }
.hours-time.open { color: #16a34a; font-weight: 600; }
.hours-time.closed { color: var(--text-light); }

.map-embed { width: 100%; height: 200px; border-radius: var(--radius-md); border: 0; }

/* Footer */
.footer { background: var(--brand-deeper); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 36px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 1.65; margin-top: 12px; max-width: 280px; }
.footer h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--white); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.60); transition: color var(--transition); }
.footer-links a:hover { color: #a7f3d0; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; align-items: flex-start; }
.footer-contact-item .icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: rgba(255,255,255,0.70); transition: color var(--transition); }
.footer-contact-item a:hover { color: #a7f3d0; }
.footer-bottom {
  margin-top: 48px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.40);
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-bottom a:hover { color: #a7f3d0; }
.powered-by a { color: #a7f3d0; font-weight: 600; }

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 72px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
}


/* === PRO UPGRADE: Lucide Icons === */
.lucide-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  filter: brightness(0) saturate(100%);
}
.lucide-icon-lg { width: 32px; height: 32px; }
.lucide-icon-xl { width: 40px; height: 40px; }
.lucide-icon-white { filter: brightness(0) invert(1); }
.lucide-icon-accent { filter: none; }

.service-icon .lucide-icon,
.service-icon-wrap .lucide-icon,
.info-icon .lucide-icon {
  width: 28px;
  height: 28px;
}

.logo-icon .lucide-icon {
  width: 28px;
  height: 28px;
  filter: none;
}

.trust-item .lucide-icon {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 4px;
}

.badge .lucide-icon {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-right: 4px;
}

.footer-contact-item .icon .lucide-icon {
  width: 16px;
  height: 16px;
}

/* === PRO UPGRADE: Hero Background Image === */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}

/* === PRO UPGRADE: CSS Scroll Reveal Animations === */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-scale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Progressive enhancement: only apply if browser supports scroll-driven animations */
@supports (animation-timeline: view()) {
  .service-card,
  .review-card,
  .info-card,
  .process-step,
  .menu-category,
  .stat-item {
    opacity: 0;
    animation: reveal-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  .service-card:nth-child(2),
  .review-card:nth-child(2),
  .process-step:nth-child(2) { animation-delay: 0.08s; }
  .service-card:nth-child(3),
  .review-card:nth-child(3),
  .process-step:nth-child(3) { animation-delay: 0.16s; }
  .service-card:nth-child(4),
  .process-step:nth-child(4) { animation-delay: 0.24s; }
  .service-card:nth-child(5) { animation-delay: 0.32s; }
  .service-card:nth-child(6) { animation-delay: 0.40s; }

  .about-visual,
  .about-content {
    opacity: 0;
    animation: reveal-scale 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  .section-title,
  .section-label {
    opacity: 0;
    animation: reveal-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

/* Fallback for browsers without scroll-timeline: JS handles it */
