/* ============================================
   LIBERTY CLEANING GROUP — style.css (Teal Rebrand)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Montserrat', 'DM Sans', sans-serif; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- CSS Variables --- */
:root {
  --teal: #3aafa9;
  --teal-dark: #2d8f8a;
  --teal-deeper: #1a6e6a;
  --teal-light: #e8f7f7;
  --teal-mid: #4bbfb9;
  --navy: #0d2233;
  --navy-mid: #133045;
  --white: #ffffff;
  --light-bg: #f5fafa;
  --border: #d8eeee;
  --text-muted: #6b7280;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 2px 12px rgba(58,175,169,0.10);
  --shadow-lg: 0 8px 32px rgba(58,175,169,0.18);
}

/* --- Utilities --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.85rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline-teal:hover { background: var(--teal); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-back {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-back:hover { border-color: var(--teal); color: var(--teal); }

/* --- Top Bar --- */
.topbar { background: var(--navy); color: rgba(255,255,255,0.7); font-size: 0.78rem; padding: 0.45rem 0; }
.topbar-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.3rem; }

/* --- Header --- */
.header {
  background: #fff;
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(58,175,169,0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* --- SVG Logo --- */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-svg-wrap { width: 48px; height: 48px; flex-shrink: 0; }
.logo-svg-wrap svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { display: block; color: var(--navy); font-size: 1.1rem; font-weight: 700; font-family: 'Montserrat', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.logo-sub { display: block; color: var(--teal); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 0.1rem; }
.nav-link { color: var(--navy); font-size: 0.88rem; font-weight: 500; padding: 0.45rem 0.9rem; border-radius: 5px; transition: all 0.15s; }
.nav-link:hover { color: var(--teal); }
.nav-link.active { color: var(--teal); }
.btn-nav { background: var(--teal) !important; color: #fff !important; padding: 0.5rem 1.2rem; border-radius: 6px; }
.btn-nav:hover { background: var(--teal-dark) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.2s; }

/* --- Hero --- */
.hero {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(58,175,169,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-content { max-width: 520px; }
.hero-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-deeper);
  border: 1px solid var(--border);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1.1rem;
  line-height: 1.1;
}
.hero-title em { color: var(--teal); font-style: normal; }
.hero-desc { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 2rem; max-width: 440px; }
.hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hero-trust { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hero-trust span { color: var(--text-muted); font-size: 0.82rem; display: flex; align-items: center; gap: 4px; }
.hero-trust span::before { content: "✓"; color: var(--teal); font-weight: 700; }

/* Hero image area: photo placeholder replaced by feature highlights card stack */
.hero-image { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.hero-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--teal-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--border);
}
.hero-photo-placeholder {
  font-size: 4rem;
  opacity: 0.3;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.hero-card-icon { font-size: 1.4rem; flex-shrink: 0; }
.hero-card-title { font-size: 1rem; font-weight: 600; color: var(--navy); }
.hero-card-sub { font-size: 0.76rem; color: var(--text-muted); margin-top: 1px; }

/* --- Stats Bar --- */
.stats-bar { background: var(--teal); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 1.1rem 0.5rem; color: #fff; border-right: 1px solid rgba(255,255,255,0.2); }
.stat:last-child { border-right: none; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 700; font-family: 'Montserrat', sans-serif; }
.stat-label { display: block; font-size: 0.75rem; opacity: 0.85; margin-top: 2px; }

/* --- Sections --- */
.section { padding: 5rem 0; }
.section-alt { background: var(--light-bg); }

.section-header { text-align: center; margin-bottom: 3rem; }
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); margin-bottom: 0.75rem; }
.section-sub { font-size: 0.95rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* --- Services Grid --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.service-card.featured { border-color: var(--teal); border-width: 2px; }
.service-badge {
  position: absolute;
  top: -12px; left: 1.5rem;
  background: var(--teal);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
}
.service-icon { font-size: 2rem; margin-bottom: 0.85rem; }
.service-name { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 0.6rem; font-family: 'DM Sans', sans-serif; }
.service-desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.service-footer { display: flex; align-items: center; justify-content: space-between; }
.service-price { font-size: 0.88rem; font-weight: 600; color: var(--teal); background: var(--teal-light); padding: 0.25rem 0.75rem; border-radius: 999px; }
.service-link { font-size: 0.88rem; font-weight: 600; color: var(--teal); }
.service-link:hover { color: var(--navy); }

/* --- Why Grid --- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.why-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.why-item:hover { box-shadow: var(--shadow); }
.why-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.why-title { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; font-family: 'DM Sans', sans-serif; }
.why-text { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

/* --- Areas --- */
.areas-grid { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }
.area-tag {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.87rem;
  color: var(--navy);
  font-weight: 500;
  transition: all 0.15s;
}
.area-tag:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.area-more { background: var(--teal); color: #fff; border-color: var(--teal); }

/* --- Testimonials --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.t-stars { color: var(--teal); font-size: 1rem; margin-bottom: 0.85rem; }
.t-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar { width: 38px; height: 38px; background: var(--teal-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 600; color: var(--teal-deeper); border: 1px solid var(--border); flex-shrink: 0; }
.t-name { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.t-location { font-size: 0.78rem; color: var(--text-muted); }

/* --- CTA Section --- */
.cta-section { background: var(--teal); padding: 5rem 0; text-align: center; }
.cta-inner { position: relative; }
.cta-title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; margin-bottom: 0.75rem; }
.cta-sub { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--teal); font-weight: 700; }
.btn-white:hover { background: #f0fafa; transform: translateY(-1px); }
.btn-outline-white2 { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white2:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* --- Footer --- */
.footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 3.5rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; }
.footer-logo { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; color: #fff; margin-bottom: 0.5rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-tagline { font-size: 0.85rem; opacity: 0.6; margin-bottom: 1rem; }
.footer-contact { font-size: 0.85rem; line-height: 1.9; }
.footer-col-title { color: #fff; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links-col a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-links-col a:hover { color: var(--teal-mid); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.76rem; max-width: 1100px; margin: 0 auto; }

/* --- Page Hero (Booking) --- */
.page-hero { background: var(--navy); padding: 2.5rem 0 2rem; text-align: center; }
.page-title { font-size: 2rem; color: #fff; margin-bottom: 0.4rem; }
.page-sub { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

/* --- Progress Bar --- */
.progress-wrap { background: var(--light-bg); border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.progress-steps { display: flex; align-items: center; justify-content: center; gap: 0; }
.progress-step { display: flex; align-items: center; gap: 8px; }
.ps-num { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 600; background: #e2e5ee; color: #6b7280; transition: all 0.3s; }
.progress-step.active .ps-num { background: var(--teal); color: #fff; }
.progress-step.done .ps-num { background: var(--teal-dark); color: #fff; }
.ps-label { font-size: 0.8rem; color: #6b7280; font-weight: 500; }
.progress-step.active .ps-label { color: var(--teal); }
.progress-step.done .ps-label { color: var(--teal-dark); }
.progress-line { width: 50px; height: 2px; background: #e2e5ee; margin: 0 8px; transition: background 0.3s; }
.progress-line.done { background: var(--teal); }

/* --- Booking Layout --- */
.booking-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; align-items: start; }

/* --- Form Steps --- */
.form-step { display: none; }
.form-step.active { display: block; }
.step-title { font-size: 1.4rem; color: var(--navy); margin-bottom: 0.35rem; }
.step-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.sub-heading { font-size: 1rem; color: var(--navy); margin: 1.75rem 0 0.35rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.optional { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }
.req { color: var(--teal); }

/* --- Service Select --- */
.service-select-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; }
.svc-sel-card { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.1rem; cursor: pointer; transition: all 0.15s; text-align: center; }
.svc-sel-card:hover { border-color: var(--teal); }
.svc-sel-card.selected { border-color: var(--teal); background: var(--teal-light); }
.svc-sel-icon { font-size: 1.4rem; margin-bottom: 0.4rem; }
.svc-sel-name { font-size: 0.86rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.svc-sel-price { font-size: 0.76rem; color: var(--text-muted); }

/* --- Frequency --- */
.freq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.75rem; margin-bottom: 0.5rem; }
.freq-card { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 0.9rem 0.75rem; cursor: pointer; text-align: center; transition: all 0.15s; }
.freq-card:hover { border-color: var(--teal); }
.freq-card.selected { border-color: var(--teal); background: var(--teal-light); }
.freq-name { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.freq-disc { font-size: 0.74rem; color: var(--teal); font-weight: 600; margin-top: 2px; }

/* --- Extras --- */
.extras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 0.6rem; margin-bottom: 0.5rem; }
.extra-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.65rem 0.85rem; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); transition: all 0.15s; }
.extra-card:hover { border-color: var(--teal); color: var(--teal); }
.extra-card.selected { border-color: var(--teal); background: var(--teal-light); color: var(--navy); }
.extra-check { width: 18px; height: 18px; border: 1.5px solid #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; color: transparent; }
.extra-card.selected .extra-check { background: var(--teal); border-color: var(--teal); color: #fff; }

/* --- Form Fields --- */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: 0.83rem; font-weight: 600; color: #1a1a1a; }
input, select, textarea { width: 100%; padding: 0.65rem 0.9rem; border: 1px solid var(--border); border-radius: 7px; font-size: 0.9rem; font-family: 'DM Sans', sans-serif; color: #1a1a1a; background: #fff; transition: border-color 0.15s; appearance: auto; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(58,175,169,0.12); }
textarea { resize: vertical; min-height: 95px; }
.btn-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1.75rem; }

/* --- Summary --- */
.summary-box { background: var(--light-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; margin-bottom: 1.5rem; }
.summary-title { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.85rem; }
.summary-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-size: 0.87rem; gap: 1rem; }
.summary-row:last-child { border-bottom: none; }
.summary-total { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.sl { color: var(--text-muted); flex-shrink: 0; }
.sv { font-weight: 600; text-align: right; }
.legal-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.5rem; }

/* --- Success --- */
.success-wrap { text-align: center; padding: 2.5rem 1rem; }
.success-icon { width: 64px; height: 64px; background: var(--teal-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--teal); margin: 0 auto 1.25rem; font-weight: 700; }
.success-wrap h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.75rem; }
.success-wrap p { font-size: 0.92rem; color: var(--text-muted); max-width: 380px; margin: 0 auto 1.5rem; line-height: 1.65; }
.conf-badge { background: var(--teal-light); border-radius: var(--radius); padding: 0.6rem 1.5rem; display: inline-block; font-size: 0.9rem; color: var(--teal-deeper); font-weight: 600; margin-bottom: 1rem; }
.conf-email { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 1.75rem; }

/* --- Booking Sidebar --- */
.booking-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; }
.sidebar-title { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.85rem; }
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-list li { font-size: 0.86rem; color: var(--text-muted); }
.sidebar-stars { color: var(--teal); font-size: 1rem; margin-bottom: 0.6rem; }
.sidebar-quote { font-size: 0.85rem; color: var(--text-muted); font-style: italic; line-height: 1.6; margin-bottom: 0.6rem; }
.sidebar-author { font-size: 0.78rem; font-weight: 600; color: var(--navy); }
.sidebar-contact p { font-size: 0.86rem; color: var(--text-muted); }

.areas-state-label { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.85rem; margin-top: 0.5rem; letter-spacing: 0.02em; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { flex-direction: row; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .booking-wrap { grid-template-columns: 1fr; }
  .booking-sidebar { order: -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar-inner { flex-direction: column; gap: 0.2rem; text-align: center; }
  .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem; gap: 0.25rem; border-top: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav.open { display: flex; }
  .hamburger { display: flex; }
  .header { position: relative; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-title { font-size: 2rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .topbar { display: none; }
}
