/* A&A Cleaning - concept 1 "Owners". Mobile-first: base styles are for ~390px, media queries widen. */

:root {
  --text: #12384A;
  --heading: #0E3A4D;
  --muted: #3D5A68;
  --btn: #4E7A1E;
  --btn-text: #FFFFFF;
  --brand: #5E8C24;
  --soft: #F6FAF0;
  --line: #E4ECDD;
  --line-2: #DCE5D3;
  --accent: #BCDF62;
  --link: #0E5E7A;
  --dark: #0E3A4D;
  --dark-text: #DCE8EE;
  --star: #8F5E12;
  --field-border: #6F8691;
  --error: #A3281B;
  --white: #FFFFFF;

  --font-head: Nunito, system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --pad-x: 20px;
  --pad-y: clamp(56px, 8vw, 96px);
}

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

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}

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

a { color: var(--link); }

:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.section-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--accent); }
.step-title:focus { outline: none; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); margin: 0; }
p { margin: 0; }

.container { max-width: 1160px; margin: 0 auto; }
.container-narrow { max-width: 820px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 18px; }
.btn-block { width: 100%; min-height: 52px; font-size: 18px; }
.btn-primary { background: var(--btn); color: var(--btn-text); }
.btn-primary:hover { background: #426818; }
.btn-primary:disabled { opacity: 0.65; cursor: wait; }
.btn-outline { border-color: var(--link); color: var(--link); background: transparent; }
.btn-secondary { background: var(--white); border-color: var(--field-border); color: var(--text); }

.link-btn {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--link);
  text-decoration: underline;
  cursor: pointer;
}

/* ---- Header ---- */
.site-header { padding: 12px var(--pad-x); border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 48px; height: auto; }
.wordmark { font-family: var(--font-head); font-weight: 900; font-size: 22px; letter-spacing: 0.5px; color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

/* ---- Sections ---- */
.section { padding: var(--pad-y) var(--pad-x); }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-faq { padding-top: 0; }

h2 { font-weight: 900; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin-bottom: 32px; }
.section-lead { color: var(--muted); max-width: 640px; margin: -22px 0 36px; }
.muted { color: var(--muted); }

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }

/* ---- Hero ---- */
.hero { padding: clamp(40px, 6vw, 80px) var(--pad-x); background: var(--soft); }
.hero-inner { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: minmax(0, 1fr); }
.eyebrow { margin-bottom: 14px; font-weight: 700; color: var(--btn); font-size: 15px; letter-spacing: 0.4px; text-transform: uppercase; }
h1 { margin-bottom: 18px; font-weight: 900; font-size: clamp(36px, 5vw, 60px); line-height: 1.08; }
.lead { margin-bottom: 28px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 15px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { color: var(--btn); flex: none; }
.hero-media { position: relative; min-width: 0; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: #E3EFD6; }
.price-card {
  position: absolute;
  left: 12px;
  bottom: 24px;
  max-width: 260px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(14, 58, 77, 0.16);
}
/* While the owners' photo is hidden (index.html), the card is a plain block instead of an overlay. */
.hero-photo[hidden] + .price-card { position: static; }
.price-card-top, .price-card-bottom { font-size: 13px; color: var(--muted); font-weight: 600; }
.price-card-bottom { font-weight: 400; }
.price-card-price { margin: 2px 0 0; font-family: var(--font-head); font-weight: 900; font-size: 28px; color: var(--heading); }

/* ---- Feature cards ---- */
.feature { padding: 24px; border-radius: 20px; background: var(--soft); }
.feature-icon { color: var(--link); }
.feature h3 { margin: 12px 0 6px; font-weight: 800; font-size: 20px; color: var(--text); }
.feature p { color: var(--muted); }

/* ---- Reviews ---- */
.review-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--white); color: var(--text); }
.review-stars { color: var(--star); letter-spacing: 2px; }
.review-text { flex-grow: 1; }
.review-who { font-weight: 700; }
.review-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--link); }

/* ---- Work photos ---- */
.work-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: #E3EFD6; }

/* ---- Price section ---- */
.price-inner { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; grid-template-columns: minmax(0, 1fr); }
.price-copy h2 { margin-bottom: 16px; }
.price-copy p { margin-bottom: 20px; }
.price-copy p:last-child { margin-bottom: 0; }
.price-main { font-size: 19px; }

/* ---- Quiz card ---- */
.quiz {
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(14, 58, 77, 0.1);
}
.noscript-note { font-weight: 700; font-size: 18px; }
.step-label { margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--btn); }
.step-title { font-weight: 800; font-size: 26px; line-height: 1.2; margin-bottom: 16px; }
.step-title-quiet { font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--muted); margin-bottom: 6px; }
.stack { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .days legend { font-weight: 700; font-size: 15px; }
input[type="text"], input[type="tel"], select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-size: 17px;
  color: var(--text);
}
input::placeholder { color: #5F7580; opacity: 1; }
.field-error { color: var(--error); font-size: 15px; font-weight: 600; }
.field-error:empty { display: none; }
.hint { font-size: 14px; color: var(--muted); }
.hint a { color: var(--link); }
.form-error { padding: 12px 14px; border-radius: 12px; background: #FCEEEC; color: var(--error); font-weight: 600; }
.form-error:empty { display: none; }
.form-error a { color: var(--error); }

.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 8px 18px;
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.choice:hover { border-color: var(--btn); }
.choice-featured { border: 2px solid var(--btn); background: #F1F7E6; }
.badge { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--heading); font-size: 13px; font-weight: 800; }

.price-big { font-family: var(--font-head); font-weight: 900; font-size: 44px; line-height: 1.05; color: var(--heading); }
.price-big-text { font-size: 24px; line-height: 1.25; }
.price-unit { font-family: var(--font-body); font-weight: 600; font-size: 18px; color: var(--muted); white-space: nowrap; }
.price-range { white-space: nowrap; }
.fit { display: grid; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.fit-title { font-weight: 800; font-size: 19px; margin-bottom: 2px; }
.step-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }

.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { flex: none; width: 24px; height: 24px; margin: 10px 0 0; accent-color: var(--btn); }
.consent label { min-height: 44px; font-size: 14px; color: var(--text); padding: 8px 0; }

.days { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.days legend { padding: 0; margin-bottom: 8px; }
.day-row { display: flex; flex-wrap: wrap; gap: 8px; }
.day-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  background: var(--white);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.day-option input { width: 20px; height: 20px; margin: 0; accent-color: var(--btn); }
.day-option:has(input:checked) { border-color: var(--btn); background: #F1F7E6; }

/* Honeypot: off-screen, not display:none (bots still see and fill it). */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.demo-note { padding: 12px 14px; border-radius: 12px; background: var(--soft); border: 1px dashed var(--field-border); font-size: 15px; }

/* ---- How it works ---- */
.how-step { display: flex; gap: 16px; align-items: flex-start; }
.how-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-step h3 { margin: 4px 0; font-family: var(--font-body); font-weight: 700; font-size: 19px; color: var(--text); }
.how-step p { color: var(--muted); }

/* ---- FAQ ---- */
.section-faq h2 { margin-bottom: 24px; }
details { padding: 8px 0; border-top: 1px solid var(--line-2); }
details:last-of-type { border-bottom: 1px solid var(--line-2); }
summary { display: list-item; cursor: pointer; font-weight: 700; font-size: 18px; min-height: 44px; padding: 8px 0; }
summary::marker { color: var(--heading); }
details p { margin-top: 10px; color: var(--muted); }

/* ---- Footer ---- */
.site-footer { padding: 36px var(--pad-x); background: var(--dark); color: var(--dark-text); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; }
.footer-logo img { width: 40px; height: auto; }
.footer-line { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-weight: 700; color: var(--white); }
.footer-sub { font-size: 14px; }
.site-footer a { color: var(--white); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 700; }
.footer-contact a, .footer-line a { display: inline-flex; align-items: center; gap: 0.3em; min-height: 44px; }

/* ---- Legal pages ---- */
.legal { max-width: 720px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) var(--pad-x) clamp(48px, 7vw, 88px); }
.legal h1 { font-size: clamp(32px, 4.5vw, 44px); margin-bottom: 20px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 36px 0 10px; line-height: 1.25; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal :target { scroll-margin-top: 16px; }
.consent-shot { margin: 8px 0 24px; }
.consent-shot img { border: 1px solid var(--line); border-radius: 16px; }

/* ---- Wider screens ---- */
@media (min-width: 640px) {
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
  .price-card { left: -12px; bottom: 28px; }
  .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
}
