/* FM Perfect Cleaning — public website */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --rose: #c2185b;       /* brand pink: buttons, ticks, numbers */
  --rose-deep: #9a1048;  /* hover, links on blush */
  --petal: #f6c4d7;      /* the sweep, rules */
  --blush: #fdeef4;      /* quiet sections */
  --ink: #2a0d1f;        /* text: a deep plum, not black */
  --muted: #6d4a5d;
  --white: #ffffff;
  --display: "Bricolage", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Atkinson", "Verdana", sans-serif;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: var(--rose-deep); text-underline-offset: .18em; }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; }
h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.05; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 42rem); }
.section-lede { margin-top: .75rem; max-width: 36rem; color: var(--muted); font-size: 1.125rem; }
.muted { color: var(--muted); }
.todo { background: #fff3a8; color: #5a4700; outline: 1px dashed #b39b00; border-radius: 3px; padding: 0 .2em; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: var(--white); padding: .5rem 1rem; z-index: 10; border-radius: 6px; }
.skip:focus { left: .5rem; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 3.1rem; padding: .7rem 1.4rem;
  border-radius: 999px; border: 2px solid var(--rose); background: var(--rose); color: var(--white);
  font: 700 1.0625rem/1.2 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--white); }
.btn-quiet { background: transparent; color: var(--rose-deep); }
.btn-quiet:hover { background: var(--white); color: var(--rose-deep); }
.btn-small { min-height: 2.6rem; padding: .45rem 1.1rem; font-size: 1rem; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1.25rem;
  padding: .6rem max(1.25rem, env(safe-area-inset-left)); background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #f3dbe5; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none;
  font: 750 1.15rem/1 var(--display); letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 2.25rem; height: 2.25rem; }
@media (max-width: 26rem) { .brand { font-size: 1rem; } .brand img { width: 2rem; height: 2rem; } }
.top-nav { display: none; gap: 1.5rem; }
.top-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; }
.top-nav a:hover { color: var(--rose); }
@media (min-width: 52rem) { .top-nav { display: flex; } }

/* Hero: the sweep is the one bold moment on the page */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--blush) 100%); }
.hero-inner { position: relative; z-index: 1; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
  padding: clamp(3rem, 10vw, 7rem) 0 clamp(6rem, 14vw, 10rem); }
.hero h1 { font-size: clamp(3rem, 11vw, 6.75rem); font-weight: 800; line-height: .92; letter-spacing: -.045em;
  max-width: 10ch; font-variation-settings: "wdth" 85; }
.lede { margin-top: 1.5rem; max-width: 33rem; font-size: clamp(1.125rem, 2.4vw, 1.3rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.sweep { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(5rem, 12vw, 9rem); }
.sweep path { fill: var(--petal); }
.sweep { margin-bottom: -1px; }
/* Photo on the right of the hero; on wide screens the visit card overlaps it */
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; height: auto; border-radius: 28px; object-fit: cover; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -35px rgba(154, 16, 72, .55); }
.note { display: none; }
@media (min-width: 60rem) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; padding-bottom: clamp(7rem, 12vw, 10rem); }
  .hero-photo img { aspect-ratio: 4 / 5; }
  .note { display: block; position: absolute; left: -4.5rem; bottom: -3rem; width: 17rem; padding: 1.3rem 1.4rem 1.2rem;
    background: var(--white); border-radius: 20px; transform: rotate(-2.5deg);
    box-shadow: 0 2px 0 #f0d3df, 0 30px 60px -30px rgba(154, 16, 72, .5); }
  .note-when { font: 800 1.4rem/1.1 var(--display); letter-spacing: -.02em; }
  .note-what { color: var(--muted); margin-top: .2rem; font-size: .95rem; }
  .note .ticks { margin-top: .8rem; gap: .4rem; font-size: .98rem; }
  .note-ok { margin-top: .9rem; display: inline-block; background: var(--blush); color: var(--rose-deep); font-weight: 700; border-radius: 999px; padding: .3rem .85rem; font-size: .92rem; }
}

/* Team at work */
.atwork { padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.atwork-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem; }
.atwork img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 22px; max-height: 34rem; }

/* Services as a cleaning checklist */
.services { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--petal); }
.services h2, .services .section-lede { color: var(--ink); }
.checklist { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1px; background: #e9a9c1;
  border: 1px solid #e9a9c1; border-radius: 22px; overflow: hidden; }
@media (min-width: 46rem) { .checklist { grid-template-columns: 1fr 1fr; } }
.job { background: var(--white); padding: 1.6rem 1.5rem 1.75rem; }
.job-head { display: flex; flex-direction: column; gap: .2rem; }
.job h3 { font-size: 1.55rem; }
.job-time { color: var(--muted); font-size: .98rem; }
.ticks { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 2.1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.3rem; height: 1.3rem; border-radius: 6px; background: var(--rose); }
.ticks li::after { content: ""; position: absolute; left: .45rem; top: .35em; width: .38rem; height: .7rem;
  border: solid var(--white); border-width: 0 .17rem .17rem 0; transform: rotate(45deg); }
.addons { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 1.5rem; }
.addons h3 { font-size: 1.15rem; }
.addons ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.addons li { background: var(--white); border-radius: 999px; padding: .45rem 1rem; font-size: .98rem; color: var(--muted); }
.addons b { color: var(--ink); margin-right: .3em; }

/* How it works: a real sequence, so it's numbered */
.how { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.steps { list-style: none; counter-reset: step; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 800 3.5rem/1 var(--display); color: var(--rose); letter-spacing: -.04em; margin-bottom: .6rem; }
.steps p { margin-top: .5rem; color: var(--muted); }

/* Area, hours, about */
.local { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--blush); }
.local-grid { display: grid; gap: 2.25rem; }
.local h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); margin-bottom: .75rem; }
.local p + p { margin-top: .5rem; }
@media (min-width: 52rem) { .local-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.about { display: grid; gap: 1.5rem; align-items: center; }
.about img { width: 100%; height: auto; border-radius: 22px; max-width: 26rem; }
.about p { max-width: 36rem; }
.motto { font: 750 1.5rem/1.2 var(--display); color: var(--rose-deep); letter-spacing: -.01em; margin-top: 1rem !important; }
@media (min-width: 52rem) { .local-grid .about { grid-column: 1 / -1; grid-template-columns: 22rem 1fr; gap: 3rem; margin-top: 1rem; } }

/* Questions */
.faq { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.faq h2 { margin-bottom: 1.5rem; }
details { border-bottom: 1px solid #f0d3df; }
summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font: 700 1.2rem/1.3 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font: 400 1.75rem/1 var(--display); color: var(--rose); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 1.25rem; color: var(--muted); max-width: 38rem; }

/* Quote form */
.quote { padding: clamp(3.5rem, 8vw, 6rem) 0; background: linear-gradient(180deg, var(--blush), var(--white)); }
form { margin-top: 2rem; display: grid; gap: 1.5rem; }
fieldset { margin: 0; border: 0; padding: 1.5rem; background: var(--white); border-radius: 22px; box-shadow: 0 1px 0 #f0d3df, 0 12px 30px -18px rgba(154, 16, 72, .35); display: grid; gap: 1.1rem; }
legend { float: left; width: 100%; padding: 0; margin-bottom: .2rem; font: 750 1.35rem/1.2 var(--display); letter-spacing: -.01em; }
legend + * { clear: both; }
.field { display: grid; gap: .35rem; }
.row { display: grid; gap: 1.1rem; }
@media (min-width: 36rem) { .row { grid-template-columns: 1fr 1fr; } }
label, .label { font-weight: 700; font-size: 1rem; }
.opt { font-weight: 400; color: var(--muted); }
input:not([type=radio]):not([type=checkbox]), select, textarea {
  width: 100%; min-height: 3rem; padding: .65rem .85rem; border: 1.5px solid #dcb8c7; border-radius: 12px;
  background: var(--white); color: var(--ink); font: 400 1.0625rem/1.4 var(--body); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--petal); border-color: var(--rose); outline-offset: 0; }
input[aria-invalid=true] { border-color: #b3261e; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .4rem 1rem; border: 1.5px solid #dcb8c7;
  border-radius: 999px; font-weight: 400; cursor: pointer; }
.choices label:has(input:checked) { border-color: var(--rose); background: var(--blush); font-weight: 700; }
.choices input { accent-color: var(--rose); width: 1.1rem; height: 1.1rem; margin: 0; }
.hint { color: var(--muted); font-size: .95rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecea; color: #8c1d18; border-radius: 12px; padding: .8rem 1rem; font-weight: 700; }
.sent { margin-top: 2rem; background: var(--white); border-radius: 22px; padding: 2rem 1.5rem; border: 2px solid var(--rose); }
.sent h3 { font-size: 1.6rem; margin-bottom: .5rem; }

/* Footer */
.foot { background: var(--ink); color: #f7dde8; padding: 3rem 0 2rem; padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
.foot a { color: var(--white); }
.foot-grid { display: grid; gap: 1.5rem; }
@media (min-width: 46rem) { .foot-grid { grid-template-columns: 1fr auto; align-items: start; } }
.foot-name { font: 750 1.4rem/1.2 var(--display); color: var(--white); margin-bottom: .5rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot-small { margin-top: 2rem; font-size: .9rem; color: #d9b3c4; }

/* Privacy page */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-bottom: 1.5rem; }
.page h2 { font-size: 1.5rem; margin: 2rem 0 .5rem; }
.page p, .page li { color: var(--ink); max-width: 40rem; }
.page p + p { margin-top: .75rem; }
@media (min-width: 60rem) { .hero h1 { font-size: clamp(3.6rem, 5.6vw, 5.4rem); max-width: 11ch; } }
