/* ==========================================================================
   Tasha & Tam's Cleaning Services LLC — stylesheet
   Single-page static site. No frameworks, no build step, no external
   fonts or images: system font stack only, so the site stays fast and
   works offline. Edit the CSS custom properties below to re-skin.
   ========================================================================== */

:root {
  /* Brand palette: sage green, soft pink, navy blue */
  --navy: #1b2a4a;        /* headings, header, footer */
  --sage: #6e8b6a;        /* primary buttons, accents */
  --sage-light: #edf3ea;  /* light tint backgrounds */
  --cream: #fdf9f7;       /* page background */
  --white: #ffffff;
  --ink: #232b3a;         /* body text */
  --muted: #5a6474;       /* secondary text */
  --pink: #e5a9b0;        /* small highlights / prices */
  --pink-soft: #fbeff0;   /* soft pink tint backgrounds */
  --border: #e8dfdd;      /* card borders */
  --radius: 12px;
  --shadow: 0 2px 10px rgba(27, 42, 74, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1080px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.2rem; }

p { margin-top: 0; }

a { color: var(--sage); }
a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Keyboard users: visible skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: var(--navy); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--sage-light); }

.btn-large { padding: 0.9rem 2rem; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(27, 42, 74, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
}
.brand-logo {
  height: 44px;
  width: auto;
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.15rem; }
.brand-sub { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.main-nav a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:not(.btn):hover { color: var(--sage); text-decoration: underline; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--sage) 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}
.hero-logo {
  display: inline-block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.hero-logo img { display: block; max-width: 420px; width: 100%; height: auto; }
.hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #d8e6d5;
  margin-bottom: 0.75rem;
}
.hero-lead { font-size: 1.25rem; max-width: 36rem; color: #f2f6f1; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0 1.75rem; }
.hero .btn-secondary { border-color: var(--white); }
.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-weight: 600;
  color: #dfe9dc;
}
.hero-points li::before {
  content: "\2713  "; /* check mark */
  color: #e5a9b0;
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-intro { max-width: 42rem; color: var(--muted); font-size: 1.1rem; }
.section-note { margin-top: 1.5rem; color: var(--muted); }

/* ---------- Services grid ---------- */
.services-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.service-card h3 { margin-bottom: 0.35rem; }
.service-card p { margin: 0; color: var(--muted); }
.service-photo {
  display: block;
  width: calc(100% + 2.5rem);
  height: 150px;
  object-fit: cover;
  margin: -1.25rem -1.25rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.section-alt .service-card { background: var(--cream); }

/* ---------- Price lists (standard cleans, business packages) ---------- */
.price-list-heading { margin-top: 2.5rem; }
.price-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  max-width: 46rem;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow);
}
.price-list strong { color: var(--navy); white-space: nowrap; }

/* ---------- Packages ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.package-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.package-card-featured { border: 2px solid var(--sage); }
.package-photo {
  display: block;
  width: calc(100% + 3rem);
  height: 180px;
  object-fit: cover;
  margin: -1.5rem -1.5rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.package-price { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 0.25rem 0 0.75rem; }
.package-price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.package-card ul { margin: 0 0 1.5rem; padding-left: 1.2rem; color: var(--muted); }
.package-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Service areas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.area-card {
  background: var(--sage-light);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.area-card h3 { margin-bottom: 0.35rem; }
.area-card p { margin: 0; color: var(--muted); }

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  counter-reset: step;
}
.steps li {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--muted); }
.cta-center { text-align: center; margin-top: 2.5rem; }

/* ---------- About ---------- */
.about-inner { max-width: 46rem; }
.about-tagline {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sage);
  margin-top: 1.5rem;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 46rem; margin-top: 1.5rem; }
.faq-list details {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.faq-list summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.faq-list details p { margin: 0.75rem 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-section { background: var(--sage-light); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 0.4rem; }
.contact-card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.contact-card .btn { margin-top: 0.5rem; }

/* ---------- Forms ---------- */
.booking-form {
  max-width: 46rem;
  margin-top: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.form-field { margin-bottom: 1.1rem; }
.form-field label,
.form-checks legend {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid var(--pink);
  outline-offset: 1px;
  border-color: var(--sage);
  background: var(--white);
}
.form-field textarea { resize: vertical; }
.form-checks {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem 1rem;
  margin: 0 0 1.1rem;
}
.form-checks label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 1.25rem 0.25rem 0;
}
.form-checks input { width: auto; accent-color: var(--sage); }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #d8dee9;
  padding: 2.5rem 0 1.5rem;
}
.site-footer a { color: var(--white); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { font-weight: 800; color: var(--white); font-size: 1.1rem; margin-bottom: 0.25rem; }
.site-footer p { margin: 0 0 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.2); margin-top: 1.5rem; padding-top: 1rem; }
.footer-bottom p { margin: 0; font-size: 0.9rem; }

/* ---------- Mobile navigation ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: 0 8px 16px rgba(27, 42, 74, 0.12);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0.75rem; }
  .nav-book { margin-top: 1rem; }

  .site-header { position: relative; } /* menu drops below header on mobile */
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 2.5rem 0; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
