/* ============================================================
   Sparkle Clean NJ — Main Stylesheet
   Replace "Sparkle Clean NJ" globally to rebrand
   ============================================================ */

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

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

:root {
  --primary:     #2BBFCF;
  --primary-dk:  #1FA3B2;
  --primary-lt:  #E8F9FB;
  --accent:      #0D6E78;
  --text:        #1A2332;
  --muted:       #5A6A7E;
  --light:       #F4FBFC;
  --white:       #FFFFFF;
  --border:      #D6EEF2;
  --shadow-sm:   0 2px 8px rgba(43,191,207,.12);
  --shadow-md:   0 6px 24px rgba(43,191,207,.18);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-lt);
  padding: .3rem .9rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  color: var(--text);
  margin-bottom: .75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
}

section { padding: 96px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  padding: .75rem 1.6rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-lt);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--primary-lt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

nav { display: flex; align-items: center; gap: 2rem; }

nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}
nav a:hover       { color: var(--primary); }
nav a:hover::after { width: 100%; }

.nav-links { display: flex; gap: 2rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}
.mobile-nav a {
  display: block;
  padding: .75rem 1.5rem;
  font-weight: 500;
  color: var(--muted);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover { background: var(--primary-lt); color: var(--primary); }
.mobile-nav .btn    { margin: .75rem 1.5rem; }

/* ---------- Hero ---------- */
#hero {
  background: linear-gradient(135deg, var(--accent) 0%, #1a9aaa 45%, var(--primary) 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .9rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 1.1rem;
  letter-spacing: -.02em;
}

.hero-title span { color: #A8EDEE; }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
}

.trust-avatars {
  display: flex;
}
.trust-avatars span {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  margin-left: -8px;
  font-weight: 600;
  color: var(--accent);
}
.trust-avatars span:first-child { margin-left: 0; }

/* Hero graphic */
.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 320px;
  height: 340px;
}

.hero-card {
  position: absolute;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--white);
}

.hero-card-main {
  width: 260px;
  top: 40px; left: 30px;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.hero-card-back {
  width: 240px;
  top: 10px; left: 50px;
  z-index: 1;
  opacity: .6;
}

.hero-card-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}

.hero-card h3 {
  font-size: 1.1rem;
  margin-bottom: .3rem;
}

.hero-card p {
  font-size: .85rem;
  opacity: .8;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.2);
  border-radius: 99px;
  padding: .25rem .75rem;
  font-size: .78rem;
  margin-top: .75rem;
  font-weight: 600;
}

.floating-pill {
  position: absolute;
  background: var(--white);
  border-radius: 99px;
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  gap: .4rem;
  animation: float 3s ease-in-out infinite;
}

.pill-1 { bottom: 30px; right: 10px; animation-delay: 0s; }
.pill-2 { top: 20px; right: 0;      animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ---------- Reviews Bar ---------- */
#reviews-bar {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.reviews-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.reviews-google {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.google-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.g-blue   { color: #4285F4; }
.g-red    { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green  { color: #34A853; }

.stars {
  display: flex;
  gap: .15rem;
  font-size: 1.3rem;
}

.reviews-text { font-size: .9rem; color: var(--muted); }
.reviews-text strong { color: var(--text); }

.review-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.review-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  max-width: 240px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
}

.reviewer-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}

.reviewer-name   { font-size: .88rem; font-weight: 600; }
.reviewer-stars  { font-size: .8rem; }
.review-text     { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ---------- Why Choose Us ---------- */
#why {
  background: var(--light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: var(--text);
}

.why-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Services ---------- */
#services { background: var(--white); }

.services-header { margin-bottom: 3rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.service-badge {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  background: var(--primary);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 99px;
}

.service-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-lt) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.service-body { padding: 1.75rem; }

.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: .6rem;
}

.service-body p {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.service-includes {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.service-includes li {
  font-size: .85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.service-includes li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.service-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.service-price span {
  font-size: .78rem;
  font-weight: 400;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

/* ---------- About ---------- */
#about {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content .section-label {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

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

.about-content .section-sub {
  color: rgba(255,255,255,.8);
  max-width: none;
}

.about-text {
  color: rgba(255,255,255,.82);
  font-size: .98rem;
  line-height: 1.75;
  margin: 1.25rem 0 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  margin-top: .25rem;
}

/* About graphic */
.about-graphic {
  display: flex;
  justify-content: center;
}

.about-card-wrap {
  position: relative;
  width: 300px;
}

.about-main-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  text-align: center;
}

.about-main-card .icon { font-size: 3.5rem; margin-bottom: 1rem; }
.about-main-card h3    { margin-bottom: .5rem; }
.about-main-card p     { font-size: .9rem; opacity: .8; line-height: 1.55; }

.cert-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  color: var(--text);
}

.cert-badge-icon { font-size: 1.4rem; }
.cert-badge p    { font-size: .8rem; line-height: 1.3; }
.cert-badge strong { font-size: .88rem; color: var(--accent); }

/* ---------- Contact ---------- */
#contact { background: var(--light); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info { padding-top: .5rem; }

.contact-info .section-sub { margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--primary-lt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail h4 { font-size: .9rem; margin-bottom: .2rem; }
.contact-detail p  { font-size: .88rem; color: var(--muted); }

/* Form */
.booking-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 1.35rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,191,207,.15);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A6A7E' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 12px;
}

/* Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: popIn .4s ease;
}

.form-success h3 { font-size: 1.5rem; margin-bottom: .5rem; color: var(--accent); }
.form-success p  { color: var(--muted); }

@keyframes popIn {
  0%   { transform: scale(.5); opacity: 0; }
  80%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Footer ---------- */
footer {
  background: var(--text);
  color: rgba(255,255,255,.75);
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p     { font-size: .88rem; line-height: 1.65; max-width: 240px; }

.footer-col h4 {
  font-size: .92rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }

.footer-col ul li a {
  font-size: .87rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); }

.footer-col p   { font-size: .87rem; margin-bottom: .5rem; }
.footer-col strong { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section        { padding: 72px 0; }

  /* Nav */
  .nav-links, nav > .btn { display: none; }
  .hamburger             { display: flex; }

  /* Hero */
  .hero-inner       { grid-template-columns: 1fr; text-align: center; }
  .hero-sub         { margin-inline: auto; }
  .hero-cta         { justify-content: center; }
  .hero-trust       { justify-content: center; }
  .hero-graphic     { display: none; }

  /* Why */
  .why-grid         { grid-template-columns: repeat(2, 1fr); }

  /* Services */
  .services-grid    { grid-template-columns: 1fr; }

  /* About */
  .about-inner      { grid-template-columns: 1fr; }
  .about-graphic    { display: none; }
  .about-stats      { grid-template-columns: repeat(3, 1fr); }

  /* Contact */
  .contact-inner    { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top       { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom    { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title       { font-size: 2rem; }
  .why-grid         { grid-template-columns: 1fr; }
  .about-stats      { grid-template-columns: 1fr; }
  .review-cards     { flex-direction: column; }
  .review-card      { max-width: none; }
  .reviews-inner    { flex-direction: column; }
}
