/* Meadows Cleaning — sage green & cream, mobile friendly */
:root {
  --cream: #faf6ef;
  --cream-dark: #f1ead9;
  --sage: #8a9b87;
  --sage-light: #e6ebe2;
  --green-dark: #3e5245;
  --green-darker: #2f4036;
  --ink: #2b2b26;
  --muted: #6b6f66;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  line-height: 1.25;
}

h2 { font-size: 1.9rem; margin: 0.25rem 0 0.75rem; }
h3 { font-size: 1.3rem; margin: 1.5rem 0 0.5rem; }
h4 { font-size: 1.1rem; margin: 0 0 0.5rem; }

a { color: var(--green-dark); }
a:hover { color: var(--green-darker); }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-narrow { max-width: 640px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage);
  margin: 0;
}
.eyebrow-light { color: #cfe0cd; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--sage);
  padding: 1rem 0 0.75rem;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sage);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green-dark);
}
.brand-tagline { font-size: 0.9rem; color: var(--muted); }
.header-contact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.95rem;
  text-align: right;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
.main-nav a { text-decoration: none; font-weight: 600; }

/* Hero */
.hero {
  background: var(--sage-light);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.hero h1 { font-size: 2.4rem; margin: 0 0 0.5rem; }
.hero-sub { font-size: 1.15rem; max-width: 640px; margin: 0 auto 1rem; }
.hero-promises {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-weight: 600;
  color: var(--green-dark);
}
.hero-promises li::before { content: "✓ "; }

.button {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--green-darker); color: var(--white); }

/* Sections */
.section { padding: 2.5rem 0; }
.section-alt { background: var(--cream-dark); }

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.room-card {
  background: var(--white);
  border: 1px solid var(--sage-light);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}
.room-card ul { margin: 0; padding-left: 1.2rem; }
.section-alt .room-card { background: var(--cream); }

.checklist { padding-left: 1.2rem; }
.checklist li { margin-bottom: 0.3rem; }

.callout {
  background: var(--sage-light);
  border-left: 5px solid var(--sage);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.note { color: var(--muted); font-size: 0.95rem; }
.note-light { color: #e6ebe2; font-size: 0.95rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 480px;
}
th, td {
  text-align: left;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--sage-light);
}
thead th {
  background: var(--green-dark);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
}
tbody tr:nth-child(even) td { background: var(--cream); }

/* Whole Home Bundle banner */
.bundle-banner {
  background: var(--green-dark);
  color: var(--white);
  padding: 2.5rem 0;
}
.bundle-banner h2 { color: var(--white); }
.bundle-banner .table-dark { background: var(--white); color: var(--ink); }
.bundle-banner .table-dark thead th { background: var(--green-darker); }

/* Form */
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c9c4b4;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--sage);
  border-color: var(--sage);
}
.hidden { display: none; }

/* Footer */
.site-footer {
  background: var(--green-darker);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}
.site-footer a { color: var(--white); }
.footer-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; margin: 0 0 0.25rem; }
.footer-tagline { color: #cfe0cd; margin: 0.5rem 0 0; }

/* Popup modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 40, 32, 0.65);
}
.modal-box {
  position: relative;
  background: var(--cream);
  border: 3px solid var(--sage);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--green-dark);
}
.offer-breakdown {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}
.offer-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--sage);
}
.offer-breakdown li s {
  color: #6b7a66;
  margin-right: 0.5rem;
}

/* Small screens */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.9rem; }
  .brand-name { font-size: 1.4rem; }
  .logo { width: 56px; height: 56px; }
  .header-contact { text-align: left; }
  table { min-width: 0; font-size: 0.9rem; }
  th, td { padding: 0.5rem; }
}
