/* 20-schedule: Schedule your free water consultation (Healthy Homes). Every rule scoped under #schedule. */
#schedule{
  --sc-field:#7C8AA1;           /* input border, 3.4:1 on white */
  --sc-err:#B42318;             /* error text, AA on white */
  --sc-err-bg:#FDF1F0;
  background:var(--cloud);
  color:var(--ink);
  padding-block:clamp(24px,3vw,56px) clamp(40px,4.5vw,64px);
}
#schedule [hidden]{display:none!important}
#schedule .sc-panel,#schedule .sc-errors,#schedule .sc-step-title,#schedule .sc-done-title,#schedule input,#schedule textarea,#schedule fieldset,#schedule .sc-extra{scroll-margin-top:var(--sc-clear,120px)}

/* ---------- Layout ---------- */
#schedule .sc-grid{--sc-cols:minmax(0,5fr) minmax(0,7fr);--sc-gap:clamp(40px,6vw,104px);display:grid;grid-template-columns:var(--sc-cols);grid-template-areas:"intro panel" "how panel" "foot foot";grid-template-rows:auto 1fr auto;column-gap:var(--sc-gap);row-gap:clamp(48px,4.5vw,64px);align-items:start}
#schedule .sc-intro{grid-area:intro;max-width:540px}
#schedule .sc-panel{grid-area:panel;align-self:stretch}
#schedule .sc-grid > .sc-sample{grid-area:foot;max-width:none;margin:0;padding-top:20px;border-top:1px solid var(--line)}

/* ---------- Offer ---------- */
#schedule .sc-crumb{margin:0 0 24px;font-size:var(--fs-sm)}
#schedule .sc-crumb a{position:relative;color:var(--muted);text-decoration:none;font-weight:600}
#schedule .sc-crumb a::after{content:"";position:absolute;left:-6px;right:-6px;top:50%;height:44px;transform:translateY(-50%)}
#schedule .sc-crumb a:hover{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
#schedule .sc-tag{margin:0 0 22px 6px;white-space:nowrap}
#schedule .sc-title{font-family:var(--display);font-weight:900;font-style:italic;text-transform:uppercase;font-size:clamp(34px,3.7vw,54px);line-height:.96;letter-spacing:-.012em;color:var(--navy)}
#schedule .sc-title-accent{color:var(--water)}
#schedule .sc-lede{margin-top:18px;font-size:var(--fs-lg);line-height:1.6;color:var(--ink-soft);max-width:44ch;text-wrap:pretty}

/* What happens next: a short numbered sequence, the commitment made small and predictable */
#schedule .sc-how{grid-area:how;max-width:540px;margin-top:calc(-1 * clamp(48px,4.5vw,64px) + clamp(28px,2.6vw,36px));padding-top:clamp(22px,2vw,28px);border-top:1px solid var(--line)}
#schedule .sc-how-title{font:700 var(--fs-sm)/1.3 var(--body);letter-spacing:.01em;color:var(--muted)}
#schedule .sc-how-list{list-style:none;margin:18px 0 0;padding:0;position:relative}
#schedule .sc-how-list li{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:18px;padding-bottom:18px}
#schedule .sc-how-list li:last-child{padding-bottom:0}
#schedule .sc-how-list li:not(:last-child)::before{content:"";position:absolute;left:16px;top:34px;bottom:4px;width:2px;background:var(--cloud-2)}
#schedule .sc-how-n{position:relative;display:grid;place-items:center;width:32px;height:30px;font:900 italic 16px/1 var(--display);color:var(--white);isolation:isolate}
#schedule .sc-how-n::before{content:"";position:absolute;inset:0;background:var(--navy);transform:skewX(var(--skew));z-index:-1}
#schedule .sc-how-list li:first-child .sc-how-n::before{background:var(--water)}
#schedule .sc-how-h{font:700 var(--fs-md)/1.35 var(--body);color:var(--navy);padding-top:4px}
#schedule .sc-how-h + .sc-how-p{margin-top:2px}
#schedule .sc-how-p{margin-top:4px;font-size:15px;line-height:1.55;color:var(--ink-soft);max-width:46ch;text-wrap:pretty}

#schedule .sc-alt{margin-top:18px;font-size:var(--fs-sm);color:var(--muted)}
#schedule .sc-alt .textlink{margin-left:4px;color:var(--logo-blue)}

/* ---------- Panel ---------- */
#schedule .sc-panel{position:relative;background:var(--white);border:1px solid var(--line);padding:0 clamp(20px,3.2vw,48px) clamp(26px,3vw,40px)}

/* Progress: three flat segments; the slant is kept for the one primary action */
#schedule .sc-progress{padding-top:clamp(20px,2.2vw,32px)}
#schedule .sc-progress ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#schedule .sc-step-tab{display:flex;flex-direction:column;gap:9px;min-width:0}
#schedule .sc-seg-bar{display:block;height:4px;background:var(--cloud-2);transition:background .3s var(--ease)}
#schedule .sc-step-txt{display:flex;align-items:center;gap:10px;min-width:0;font:600 var(--fs-sm)/1.2 var(--body);color:var(--muted)}
#schedule .sc-step-n{flex:none;display:inline-grid;place-items:center;width:26px;height:26px;font:800 italic 14px/1 var(--display);color:var(--muted);box-shadow:inset 0 0 0 2px var(--cloud-2);border-radius:50%}
#schedule .sc-step-l{min-width:0}
#schedule .sc-step-tab.is-current .sc-seg-bar{background:var(--water)}
#schedule .sc-step-tab.is-current .sc-step-txt{color:var(--navy);font-weight:700}
#schedule .sc-step-tab.is-current .sc-step-n{background:var(--water);color:var(--white);box-shadow:none}
#schedule .sc-step-tab.is-done .sc-seg-bar{background:var(--navy)}
#schedule .sc-step-tab.is-done .sc-step-txt{color:var(--navy)}
#schedule .sc-step-tab.is-done .sc-step-n{background:var(--navy);color:transparent;box-shadow:none;position:relative}
#schedule .sc-step-tab.is-done .sc-step-n::after{content:"";position:absolute;left:9px;top:6px;width:6px;height:11px;border:solid var(--white);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}

/* ---------- Form ---------- */
#schedule .sc-form{margin-top:clamp(18px,2vw,26px);padding-top:clamp(20px,2.2vw,30px);border-top:1px solid var(--cloud-2)}
#schedule .sc-step-title{font:700 clamp(22px,1.9vw,26px)/1.2 var(--body);letter-spacing:-.015em;color:var(--navy);outline:none}
#schedule .sc-step-title:focus-visible{outline:3px solid var(--water);outline-offset:6px}
#schedule .sc-step-of{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#schedule .sc-step-meta{margin-top:8px;font-size:var(--fs-sm);color:var(--muted);max-width:56ch}
#schedule .sc-step-meta--phone{margin-top:2px}

#schedule .sc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;margin-top:18px}
#schedule .sc-field{display:flex;flex-direction:column;min-width:0}
#schedule .sc-field--wide{margin-top:24px}
#schedule label[for],#schedule legend{font:600 var(--fs-sm)/1.3 var(--body);color:var(--navy)}
#schedule legend{padding:0;margin-bottom:10px}
#schedule .sc-field label{margin-bottom:8px}
#schedule input[type=text],#schedule input[type=email],#schedule input[type=tel],#schedule input[type=date],#schedule textarea{
  width:100%;min-height:48px;padding:10px 14px;border:1.5px solid var(--sc-field);border-radius:var(--radius);background:var(--white);font-size:var(--fs-md);color:var(--ink);transition:border-color .15s var(--ease),box-shadow .15s var(--ease)}
#schedule textarea{min-height:96px;resize:vertical;line-height:1.5}
#schedule input:hover,#schedule textarea:hover{border-color:var(--navy)}
#schedule input:focus,#schedule textarea:focus{outline:none;border-color:var(--water);box-shadow:0 0 0 3px rgba(30,111,224,.22)}
#schedule input[aria-invalid=true]{border-color:var(--sc-err);background:var(--sc-err-bg)}
#schedule .sc-hint{margin-top:6px;font-size:13px;line-height:1.45;color:var(--muted)}
#schedule .sc-hint--top{margin:-4px 0 12px}
#schedule .sc-error{margin-top:6px;font-size:13px;font-weight:600;line-height:1.4;color:var(--sc-err)}
#schedule .sc-error:empty{display:none}

#schedule .sc-set{border:0;margin:20px 0 0;padding:0;min-width:0}
#schedule .sc-set--first{margin-top:0}

/* Option tiles (radio): crisp rectangles, selected = water edge + sky fill */
#schedule .sc-opts{display:grid;gap:10px}
#schedule .sc-opts--3{grid-template-columns:repeat(3,minmax(0,1fr))}
#schedule .sc-opt{position:relative;display:block;cursor:pointer}
#schedule .sc-opt input,#schedule .sc-chip input,#schedule .sc-day input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
#schedule .sc-opt span{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:48px;padding:9px 14px 9px 42px;border:1.5px solid var(--sc-field);border-radius:var(--radius);background:var(--white);font-weight:600;font-size:15px;line-height:1.25;color:var(--navy);transition:border-color .15s var(--ease),background .15s var(--ease),box-shadow .15s var(--ease)}
#schedule .sc-opt span::before{content:"";position:absolute;left:14px;top:50%;width:18px;height:18px;margin-top:-9px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--sc-field);background:var(--white);transition:box-shadow .15s var(--ease)}
#schedule .sc-opt input:checked + span::before{box-shadow:inset 0 0 0 5.5px var(--water)}
#schedule .sc-opt small{display:block;margin-top:3px;font-size:13px;font-weight:400;color:var(--muted)}
#schedule .sc-opts--tall .sc-opt span{min-height:68px}
#schedule .sc-opt:hover span{border-color:var(--navy)}
#schedule .sc-opt input:checked + span{border-color:var(--water);background:var(--sky);box-shadow:inset 0 0 0 1px var(--water)}
#schedule .sc-opt input:focus-visible + span,#schedule .sc-chip input:focus-visible + span,#schedule .sc-day input:focus-visible + span{outline:3px solid var(--water);outline-offset:3px}
#schedule .sc-set.is-invalid .sc-opt span,#schedule .sc-set.is-invalid .sc-day span{border-color:var(--sc-err)}

/* Day tiles */
#schedule .sc-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
#schedule .sc-day{position:relative;display:block;cursor:pointer}
#schedule .sc-day span{display:flex;flex-direction:column;align-items:center;gap:3px;padding:12px 4px 11px;border:1.5px solid var(--sc-field);border-radius:var(--radius);background:var(--white);color:var(--navy);text-align:center;transition:border-color .15s var(--ease),background .15s var(--ease),color .15s var(--ease)}
#schedule .sc-day b{font:600 12px/1 var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
#schedule .sc-day strong{font:800 italic 26px/1 var(--display)}
#schedule .sc-day i{font:500 12px/1 var(--body);font-style:normal;color:var(--muted)}
#schedule .sc-day:hover span{border-color:var(--navy)}
#schedule .sc-day input:checked + span{background:var(--navy);border-color:var(--navy);color:var(--white)}
#schedule .sc-day input:checked + span b,#schedule .sc-day input:checked + span i{color:#C9D6EA}
#schedule .sc-day-fallback{grid-column:1/-1}

/* Optional extras */
#schedule .sc-extra{margin-top:32px;border-top:1px solid var(--line)}
#schedule .sc-extra summary{display:flex;align-items:center;gap:12px;min-height:60px;cursor:pointer;list-style:none}
#schedule .sc-extra summary::-webkit-details-marker{display:none}
#schedule .sc-extra summary::after{content:"";margin-left:auto;width:10px;height:10px;border:solid var(--navy);border-width:0 2.5px 2.5px 0;transform:translateY(-3px) rotate(45deg);transition:transform .2s var(--ease)}
#schedule .sc-extra[open] summary::after{transform:translateY(2px) rotate(-135deg)}
#schedule .sc-extra summary:focus-visible{outline:3px solid var(--water);outline-offset:2px}
#schedule .sc-extra-title{font:700 var(--fs-md)/1.2 var(--body);color:var(--navy)}
#schedule .sc-opt-tag{font:700 11px/1 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);padding:5px 8px;background:var(--cloud)}
#schedule .sc-extra-body{padding:4px 0 28px}
#schedule .sc-chips{display:flex;flex-wrap:wrap;gap:8px}
#schedule .sc-chip{position:relative;cursor:pointer}
#schedule .sc-chip span{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;border:1.5px solid var(--sc-field);border-radius:999px;font-size:var(--fs-sm);font-weight:500;color:var(--navy);background:var(--white);transition:background .15s var(--ease),border-color .15s var(--ease)}
#schedule .sc-chip:hover span{border-color:var(--navy)}
#schedule .sc-chip input:checked + span{background:var(--mint);border-color:var(--leaf-ink);color:var(--leaf-ink);font-weight:600}
#schedule .sc-chip input:checked + span::before{content:"";width:5px;height:10px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}

/* Review */
#schedule .sc-review{display:grid;gap:16px;margin-top:28px}
#schedule .sc-review-block{background:var(--cloud);padding:20px 22px 18px}
#schedule .sc-review-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}
#schedule .sc-review-head h3{font:700 var(--fs-md)/1.2 var(--body);color:var(--navy)}
#schedule .sc-edit{min-height:44px;padding:0 4px;border:0;background:none;font-weight:600;font-size:var(--fs-sm);color:var(--logo-blue);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#schedule .sc-edit:hover{color:var(--navy)}
#schedule .sc-review dl{margin:0}
#schedule .sc-review dl > div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:9px 0;border-top:1px solid var(--cloud-2)}
#schedule .sc-review dt{font-size:var(--fs-sm);color:var(--muted)}
#schedule .sc-review dd{margin:0;font-size:var(--fs-md);font-weight:500;color:var(--navy);overflow-wrap:anywhere}
#schedule .sc-review dd.is-empty{color:var(--muted);font-weight:400}

/* Errors summary */
#schedule .sc-errors{margin-bottom:28px;padding:16px 20px;border-left:4px solid var(--sc-err);background:var(--sc-err-bg);outline:none}
#schedule .sc-errors:focus-visible{outline:3px solid var(--water);outline-offset:3px}
#schedule .sc-errors-title{font-weight:700;color:var(--sc-err)}
#schedule .sc-errors ul{margin:8px 0 0;padding-left:20px}
#schedule .sc-errors a{color:var(--sc-err);font-weight:500}

/* Actions */
#schedule .sc-nav{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:24px}
#schedule .sc-next{min-height:56px;padding-inline:34px;font-size:15px;margin-left:6px}
#schedule .sc-back{min-height:44px;padding:0 4px;border:0;background:none;font-weight:600;font-size:var(--fs-md);color:var(--navy);cursor:pointer;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:5px;text-decoration-thickness:2px}
#schedule .sc-back:hover{text-decoration-color:var(--navy)}

/* ---------- Confirmation ---------- */
#schedule .sc-done{padding-top:clamp(36px,3.6vw,52px)}
#schedule .sc-done-tag{display:inline-flex;align-items:center;gap:12px;font:700 var(--fs-md)/1 var(--body);color:var(--leaf-ink)}
#schedule .sc-done-check{position:relative;flex:none;width:30px;height:30px;border-radius:50%;background:var(--leaf)}
#schedule .sc-done-check::after{content:"";position:absolute;left:11px;top:7px;width:6px;height:12px;border:solid var(--white);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
#schedule .sc-done-title{margin-top:22px;font-family:var(--display);font-weight:900;font-style:italic;text-transform:uppercase;font-size:clamp(28px,3vw,42px);line-height:1;letter-spacing:-.01em;color:var(--navy);outline:none;max-width:20ch}
#schedule .sc-done-title:focus-visible{outline:3px solid var(--water);outline-offset:6px}
#schedule .sc-done-lede{margin-top:18px;font-size:var(--fs-lg);line-height:1.55;color:var(--ink-soft);max-width:50ch}
#schedule .sc-done-lede strong{color:var(--navy)}
#schedule .sc-done-fig{margin:32px 0 0;overflow:hidden;background:var(--cloud-2)}
#schedule .sc-done-fig img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;object-position:50% 28%}
#schedule .sc-done-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:32px}
#schedule .sc-grid:has(.sc-done:not([hidden])) > .sc-sample{display:none}
#schedule .sc-done-home{margin-left:6px}
#schedule .sc-sample--done{margin-top:36px}

#schedule .sc-sample{margin-top:32px;font-size:12.5px;line-height:1.55;color:var(--muted)}
#schedule .sc-sample-tag{display:inline-block;margin-right:8px;padding:3px 7px 2px;font:700 12px/1.2 var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);background:var(--cloud-2)}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  #schedule .sc-grid{--sc-gap:40px;--sc-cols:minmax(0,4fr) minmax(0,6fr)}
  #schedule .sc-step-l{font-size:13px}
  #schedule .sc-tag-pre{display:none}
}
@media (max-width:900px){
  #schedule .sc-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "panel" "how" "foot";grid-template-rows:none;row-gap:40px}
  #schedule .sc-how{margin-top:0;max-width:680px;padding-top:0;border-top:0}
  #schedule .sc-grid > .sc-sample{padding-top:18px}
  #schedule .sc-intro{max-width:680px}
  #schedule .sc-grid > .sc-sample{max-width:none}
}
@media (max-width:640px){
  #schedule{padding-top:24px}
  #schedule .sc-tag-pre{display:none}
  #schedule .sc-crumb{margin-bottom:20px}
  #schedule .sc-title{font-size:clamp(34px,10vw,44px)}
  #schedule .sc-lede{font-size:var(--fs-md)}
  #schedule .sc-how{margin-top:0}
  #schedule .sc-how-list{margin-top:14px}
  #schedule .sc-how-list li{gap:14px;padding-bottom:14px}
  #schedule .sc-how-p{font-size:14.5px}
  #schedule .sc-done-fig img{aspect-ratio:4/3}
  #schedule .sc-panel{margin-inline:calc(-1 * var(--gutter));border-inline:0;padding-inline:var(--gutter);background:var(--white)}
  #schedule .sc-progress ol{gap:8px}
  #schedule .sc-step-txt{gap:7px}
  #schedule .sc-step-n{width:22px;height:22px;font-size:12px}
  #schedule .sc-step-tab.is-done .sc-step-n::after{left:8px;top:5px;width:5px;height:10px}
  #schedule .sc-step-l{font-size:12.5px}
  #schedule .sc-fields{grid-template-columns:minmax(0,1fr);gap:18px}
  #schedule .sc-opts--3{grid-template-columns:minmax(0,1fr)}
  #schedule .sc-opts--3:not(.sc-opts--tall){grid-template-columns:repeat(3,minmax(0,1fr))}
  #schedule .sc-opts--3:not(.sc-opts--tall) .sc-opt span{align-items:center;gap:7px;min-height:66px;padding:10px 6px;text-align:center;font-size:14px}
  #schedule .sc-opts--3:not(.sc-opts--tall) .sc-opt span::before{position:static;margin:0;flex:none}
  #schedule .sc-opts--tall .sc-opt span{min-height:52px;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
  #schedule .sc-opts--tall .sc-opt small{margin:0}
  #schedule .sc-days{gap:6px}
  #schedule .sc-day span{padding:10px 2px 9px}
  #schedule .sc-day strong{font-size:22px}
  #schedule .sc-day b,#schedule .sc-day i{font-size:11px}
  #schedule .sc-review-block{padding:16px 16px 12px}
  #schedule .sc-review dl > div{grid-template-columns:96px minmax(0,1fr);gap:12px}
  #schedule .sc-nav{flex-direction:column;align-items:stretch;gap:8px}
  #schedule .sc-next{width:calc(100% - 12px);margin-inline:6px}
  #schedule .sc-back{align-self:center}
  #schedule .sc-done-actions{flex-direction:column;align-items:stretch}
  #schedule .sc-done-home{margin-inline:6px}
}
