/* Ju-ana Cleaning, draft one-pager. Mobile-first. */
:root {
  --black: #000000;
  --ink: #0b1f3a;          /* navy from light logo wordmark */
  --text: #1c2433;
  --muted: #4a5568;
  --blue: #0074fa;         /* sampled from logo "CLEANING" */
  --blue-strong: #0060d6;  /* darker for white text / links (AA contrast) */
  --blue-tint: #eef5ff;
  --yellow: #fec714;       /* sampled from logo key + sparkles */
  --yellow-soft: #fff1b8;
  --white: #ffffff;
  --bg-soft: #f6f8fc;
  --line: #dde4ef;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .07);
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 8.4vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-strong); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--black); padding: 10px 14px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 10px; top: 10px; }

/* Placeholder highlight: unknowns that MUST be replaced before launch */
.placeholder {
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  padding: .05em .35em;
  border-radius: 4px;
  outline: 2px dashed #b38600;
  outline-offset: 1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  white-space: nowrap;
  margin: 0 .2em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  line-height: 1.2; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 2px;
}
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: .85em 1.6em; }
.btn-small { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-icon { width: 1.25em; height: 1.25em; flex: none; }
.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: 0 4px 14px rgba(254, 199, 20, .25); }
.btn-yellow:hover { background: #ffd445; }
.btn-blue { background: var(--blue-strong); color: var(--white); }
.btn-blue:hover { background: #0052b8; }
.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, .75); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn-outline-dark { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .94);
  -webkit-backdrop-filter: saturate(150%) blur(8px); backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.header-logo img { height: 38px; width: auto; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 85% 0%, #0d2a55 0%, rgba(0,0,0,0) 55%), var(--black);
  color: var(--white);
  padding: 36px 0 56px;
}
.hero::after { /* thin brand stripe, like the towel stripes */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--blue) 0 70%, var(--yellow) 70% 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: min(340px, 86%); height: auto; margin: 0 0 28px -6px; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero-sub { color: #d7dde8; font-size: 1.12rem; max-width: 36rem; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.hero-card { display: none; }
.sparkle { position: absolute; fill: var(--yellow); pointer-events: none; }
.hero .s1 { width: 26px; top: 14px; right: 16px; }
.hero .s2 { display: none; }
.hero .s3 { width: 22px; bottom: 44px; right: 10%; opacity: .7; }

/* Sections */
.section { padding: 60px 0; }
.section-tint { background: var(--bg-soft); }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-strong);
  margin-bottom: .6em;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 3px; background: var(--yellow); vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40rem; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.included-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.included-grid .card { display: flex; gap: 16px; align-items: flex-start; padding: 18px; }
.included-grid h3 { margin-bottom: .2em; }
.included-grid p { margin: 0; color: var(--muted); }
.card-icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-tint); display: grid; place-items: center;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Why list */
.why-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.why-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; font-size: 1.05rem;
}
.why-list strong { color: var(--ink); }
.check {
  flex: none; width: 28px; height: 28px; border-radius: 50%; margin-top: 1px;
  background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fec714' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* Steps */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.steps li { position: relative; padding: 22px 20px 20px 84px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-height: 96px; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--muted); }
.step-num {
  position: absolute; left: 20px; top: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-strong); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 0 0 4px var(--blue-tint);
}

/* Free quotes */
.quote-card {
  position: relative; overflow: hidden;
  background: var(--black); color: #e3e8f0;
  border-radius: 24px; padding: 36px 24px;
}
.quote-card::before { content: ""; position: absolute; inset: auto -40px -60px auto; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(0,116,250,.45), rgba(0,116,250,0) 70%); }
.quote-card h2 { color: var(--white); max-width: 22ch; position: relative; }
.quote-card p { font-size: 1.1rem; max-width: 38rem; position: relative; margin-bottom: 1.5em; }
.quote-card .btn { position: relative; }
.eyebrow-light { color: var(--yellow); }
.quote-card .q1 { width: 26px; top: 24px; right: 24px; }

/* Service area */
.area { display: flex; flex-direction: column; gap: 18px; }
.area-pin { width: 64px; height: 64px; border-radius: 18px; background: var(--blue-tint); display: grid; place-items: center; }
.area-pin svg { width: 34px; height: 34px; fill: none; stroke: var(--blue-strong); stroke-width: 2; stroke-linejoin: round; }
.area .placeholder { white-space: normal; display: inline-block; margin: .15em 0 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list a { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; gap: 0 14px; }
label { font-weight: 700; font-size: .95rem; color: var(--ink); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid #c9d3e2; border-radius: 12px; background: var(--white);
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(0, 116, 250, .2); outline-offset: 0; }
::placeholder { color: #7a8699; }

/* Footer */
.site-footer { background: var(--black); color: #c3cad6; padding: 36px 0 112px; } /* extra bottom room for mobile sticky bar */
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-logo { height: 52px; width: auto; }
.site-footer p { margin: 0; font-size: .95rem; }

/* Mobile sticky action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, .95);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.mobile-bar .btn { min-height: 48px; padding: .6em .8em; }

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; max-width: none; }
  .included-grid { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: 1 / -1; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .quote-card { padding: 48px 44px; }
}

@media (min-width: 900px) {
  .site-footer { padding-bottom: 36px; }
  .hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
  .hero-card {
    display: block; position: relative;
    background: var(--white); color: var(--text);
    border-radius: 20px; padding: 28px 28px 22px;
    box-shadow: 0 24px 60px rgba(0, 116, 250, .25), 0 0 0 6px rgba(255, 255, 255, .06);
    transform: rotate(1.5deg);
  }
  .hero-card-title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.15rem; margin-bottom: 14px; }
  .hero-card ul { list-style: none; margin: 0; padding: 0; }
  .hero-card li {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 0; border-bottom: 1px dashed var(--line); font-weight: 600;
  }
  .hero-card li::before {
    content: ""; flex: none; width: 24px; height: 24px; border-radius: 7px;
    background: var(--blue-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  }
  .hero-card-foot {
    margin: 16px 0 0; display: inline-block;
    background: var(--yellow); color: var(--black);
    font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 999px;
  }
  .mobile-bar { display: none; }
  .header-inner { height: 72px; }
  .header-logo img { height: 46px; }
  .section { padding: 88px 0; }
  .hero { padding: 64px 0 96px; }
  .hero-logo { width: 420px; margin-bottom: 36px; }
  .hero-sub { font-size: 1.25rem; }
  .hero .s1 { width: 48px; top: 48px; right: 6%; }
  .hero .s2 { display: block; width: 22px; top: 110px; right: 3.5%; }
  .hero .s3 { width: 34px; bottom: 70px; right: 44%; }
  .included-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .included-grid .card { flex-direction: column; padding: 24px; }
  .card-wide { grid-column: span 2; flex-direction: row !important; align-items: center !important; }
  .why-list { grid-template-columns: 1fr 1fr; gap: 16px; }
  .why-list li:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps li { padding: 84px 24px 26px; }
  .step-num { left: 24px; top: 24px; }
  .quote-card { padding: 64px; text-align: center; }
  .quote-card h2, .quote-card p { margin-left: auto; margin-right: auto; }
  .quote-card .eyebrow::before { display: none; }
  .quote-card .q1 { width: 40px; top: 40px; right: 48px; }
  .area { flex-direction: row; align-items: flex-start; gap: 28px; }
  .area-pin { width: 80px; height: 80px; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
.contact-list .placeholder { margin: 0; }

/* Home cleaning (secondary service) */
.section-compact { padding: 48px 0; }
.home-card {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--yellow);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px;
}
.home-icon { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--blue-tint); display: grid; place-items: center; }
.home-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-body h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
.home-body p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; max-width: 40rem; }
.chips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--blue-tint); color: var(--ink); font-weight: 700; font-size: .95rem; padding: 6px 14px; border-radius: 999px; }
.footer-text { display: grid; gap: 4px; }
.footer-services { color: #e3e8f0; font-weight: 600; }
@media (min-width: 900px) {
  .section-compact { padding: 64px 0; }
  .home-card { flex-direction: row; align-items: flex-start; gap: 28px; padding: 36px 40px; }
  .home-icon { width: 72px; height: 72px; }
  .footer-text { text-align: right; }
}
.footer-services span { display: block; }
.footer-services .sep { display: none; }
@media (min-width: 900px) {
  .footer-services span { display: inline; }
  .footer-services .sep { display: inline; }
}

/* ---------- Rough quote (main CTA) ---------- */
html { scroll-padding-top: 12px; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 460px; }
.hero-actions .hero-primary { grid-column: 1 / -1; }
.quote-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; position: relative; }
.text-link-light { color: var(--white); font-weight: 700; text-underline-offset: 3px; }
.text-link-light:hover { color: var(--yellow); }

.section-quote { background: linear-gradient(180deg, var(--blue-tint) 0, var(--white) 420px); }
.quote-head { margin-bottom: 24px; }
.quote-head .lead { color: var(--text); }
.quote-layout { display: grid; gap: 28px; }
.quote-form { padding: 22px 18px 20px; border-top: 6px solid var(--blue-strong); box-shadow: 0 2px 4px rgba(11,31,58,.06), 0 18px 40px rgba(11,31,58,.12); }
.form-required-note { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.req { color: #c2410c; font-weight: 800; }
.optional { font-weight: 600; color: var(--muted); font-size: .88em; }
.field-help { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.field-row-always { grid-template-columns: 1fr 1fr; }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 700; font-size: .95rem; color: var(--ink); padding: 0; margin-bottom: 6px; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { position: relative; font-weight: 700; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px;
  border: 1.5px solid #c9d3e2; border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer; text-align: center;
}
.choice input:checked + span { border-color: var(--blue-strong); background: var(--blue-tint); color: var(--blue-strong); box-shadow: inset 0 0 0 1px var(--blue-strong); }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; }
.quote-form .btn-block { margin-top: 6px; }
.form-note { text-align: center; color: var(--muted); font-size: .95rem; margin: 12px 0 0; }

.quote-aside { padding: 4px 2px; }
.quote-aside h3 { font-size: 1.1rem; }
.quote-aside .contact-list { margin: 14px 0 18px; }

.mobile-bar { grid-template-columns: 1fr; }

@media (min-width: 600px) {
  .hero-actions { display: flex; flex-wrap: wrap; max-width: none; }
  .quote-form { padding: 30px 30px 26px; }
}
@media (min-width: 900px) {
  .quote-head { max-width: 720px; margin-bottom: 36px; }
  .quote-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .quote-form { padding: 36px 36px 30px; }
  .quote-aside { position: sticky; top: 24px; padding-top: 12px; }
}
@media (min-width: 900px) {
  .quote-card-actions { justify-content: center; }
}

/* Pets question: sibling-radio pattern so the details field can be revealed with CSS only */
.choices-2 { grid-template-columns: repeat(2, 1fr); }
.choice-radio { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; margin: 0; pointer-events: none; }
#pets_no:checked ~ .choices label[for="pets_no"] span,
#pets_yes:checked ~ .choices label[for="pets_yes"] span {
  border-color: var(--blue-strong); background: var(--blue-tint); color: var(--blue-strong); box-shadow: inset 0 0 0 1px var(--blue-strong);
}
#pets_no:focus-visible ~ .choices label[for="pets_no"] span,
#pets_yes:focus-visible ~ .choices label[for="pets_yes"] span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pets-details { display: none; flex-direction: column; gap: 6px; margin-top: 12px; padding: 12px 14px 14px; background: var(--bg-soft); border-radius: 12px; }
.pets-details label { font-size: .92rem; }
#pets_yes:checked ~ .pets-details { display: flex; }


/* Confirmation page */
.thanks-page { min-height: 100vh; background: var(--black); }
.thanks-main {
  min-height: calc(100vh - 60px);
  display: grid; place-items: center; padding: 48px 0 72px;
  background: radial-gradient(120% 80% at 85% 0%, #0d2a55 0%, rgba(0,0,0,0) 55%), var(--black);
}
.thanks-card { width: 100%; max-width: 680px; padding: 36px 24px; text-align: center; }
.thanks-card h1 { color: var(--white); max-width: none; }
.thanks-card p { color: #d7dde8; font-size: 1.12rem; max-width: 38rem; margin: 0 auto 1.6em; }
@media (min-width: 600px) {
  .thanks-card { padding: 56px; }
}
