/* ==========================================================================
   Clear Ridge Exterior Care
   Brand: cream field, orange mark, navy ink, blue accent — taken from the logo.
   ========================================================================== */

:root {
  --cream:       #FAF5E9;
  --cream-2:     #F3ECDC;
  --cream-3:     #EBE2CE;
  --white:       #FFFFFF;

  --ink:         #232A36;
  --ink-2:       #2F3746;
  --slate:       #5B6576;
  --slate-2:     #8A93A2;

  --orange:      #F5A623;
  --orange-dk:   #DC8E10;
  --orange-soft: #FDEBC9;

  --blue:        #1450BE;
  --blue-dk:     #0F3E94;
  --blue-soft:   #DEE8FB;

  --green:       #17845A;
  --green-soft:  #DCF2E8;
  --red:         #B3261E;
  --red-soft:    #FBE3E1;

  --line:        rgba(35, 42, 54, .12);
  --line-strong: rgba(35, 42, 54, .22);

  --shadow-sm: 0 1px 2px rgba(35,42,54,.06), 0 2px 6px rgba(35,42,54,.05);
  --shadow-md: 0 2px 4px rgba(35,42,54,.05), 0 10px 26px rgba(35,42,54,.09);
  --shadow-lg: 0 4px 10px rgba(35,42,54,.06), 0 24px 60px rgba(35,42,54,.14);

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --wrap: 1180px;
  --head: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dk); }

h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); text-transform: uppercase; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: min(var(--wrap), calc(100% - 2.6rem)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6.6rem) 0; }
.section--tight { padding: clamp(3rem, 5vw, 4rem) 0; }
.center { text-align: center; }
.muted { color: var(--slate); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- eyebrow + section heads ---------------------------------------------- */
.eyebrow {
  font-family: var(--head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--orange);
}
.section-head { max-width: 660px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.06rem; color: var(--slate); margin-bottom: 0; }

/* --- buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--head); font-weight: 700; font-size: .95rem;
  letter-spacing: .03em; text-transform: uppercase;
  padding: .95rem 1.6rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.btn--primary { background: var(--orange); color: var(--ink); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--orange-dk); color: var(--ink); }

.btn--blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-md); }
.btn--blue:hover { background: var(--blue-dk); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,.5); }

.btn--light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--ink); }

.btn--sm { padding: .6rem 1rem; font-size: .82rem; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* --- header ---------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.82);
  font-size: .85rem;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .55rem 0; flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 233, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .8rem 0;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--head); font-weight: 800; font-size: 1.16rem;
  text-transform: uppercase; letter-spacing: -.01em; color: var(--ink);
}
.brand-sub {
  font-family: var(--head); font-weight: 700; font-size: .68rem;
  letter-spacing: .17em; text-transform: uppercase; color: var(--blue); margin-top: .22rem;
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-weight: 600; font-size: .95rem; color: var(--ink-2); position: relative; padding: .25rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--orange); transition: right .2s ease;
}
.nav a:hover::after { right: 0; }
.header-cta { display: flex; align-items: center; gap: .8rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* --- hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.2rem, 7vw, 5.6rem) 0 clamp(3.6rem, 7vw, 5.6rem);
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(245,166,35,.22), transparent 62%),
    radial-gradient(700px 380px at 4% 106%, rgba(20,80,190,.10), transparent 60%),
    var(--cream);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(115deg,
    var(--orange) 0 22px, var(--ink) 22px 44px);
  opacity: .9;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--blue); }
.hero-lead { font-size: 1.16rem; color: var(--slate); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.9rem 0 1.6rem; }
.hero-note {
  display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--slate);
}
.hero-note svg { width: 18px; height: 18px; color: var(--green); flex: none; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem .85rem;
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pill svg { width: 14px; height: 14px; color: var(--orange); }

/* availability card in hero */
.avail-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.6rem;
  border: 1px solid var(--line);
}
.avail-card h3 {
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 1.1rem;
}
.avail-days { display: grid; gap: .55rem; margin-bottom: 1.2rem; }
.avail-day {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem .95rem; border-radius: var(--radius-sm);
  background: var(--cream); border: 1px solid var(--line);
}
.avail-day-date { display: flex; flex-direction: column; line-height: 1.25; }
.avail-day-dow { font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--ink); }
.avail-day-num { font-size: .82rem; color: var(--slate); }
.avail-count {
  font-size: .78rem; font-weight: 700; color: var(--green);
  background: var(--green-soft); padding: .25rem .6rem; border-radius: 999px;
}
.avail-skeleton {
  height: 58px; border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--cream-2) 25%, var(--cream-3) 50%, var(--cream-2) 75%);
  background-size: 200% 100%; animation: shimmer 1.3s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* --- trust strip ----------------------------------------------------------- */
.trust { background: var(--ink); color: rgba(255,255,255,.9); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem;
  padding: 2.2rem 0;
}
.trust-item { display: flex; gap: .85rem; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; color: var(--orange); flex: none; margin-top: 2px; }
.trust-item strong {
  display: block; font-family: var(--head); font-weight: 700; color: #fff;
  font-size: 1rem; margin-bottom: .1rem;
}
.trust-item span { font-size: .88rem; color: rgba(255,255,255,.66); line-height: 1.45; }

/* --- services -------------------------------------------------------------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.service-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--orange-soft); color: var(--ink);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.service-icon svg { width: 27px; height: 27px; }
.service-card h3 { margin-bottom: .45rem; }
.service-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft);
  padding: .2rem .55rem; border-radius: 5px; align-self: flex-start; margin-bottom: .8rem;
}
.service-card p { font-size: .95rem; color: var(--slate); }
.service-points { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.service-points li {
  display: flex; gap: .5rem; align-items: flex-start;
  font-size: .9rem; color: var(--ink-2); padding: .22rem 0;
}
.service-points li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); flex: none; margin-top: .55rem;
}
.service-rate {
  margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line-strong);
  font-size: .88rem; color: var(--slate);
}
.service-rate strong { color: var(--ink); font-family: var(--head); font-size: 1.02rem; }

/* --- estimator ------------------------------------------------------------- */
.estimator {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden;
}
.estimator-form { padding: clamp(1.7rem, 3vw, 2.6rem); }
.estimator-out {
  padding: clamp(1.7rem, 3vw, 2.6rem);
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.estimator-out h3 {
  color: rgba(255,255,255,.65); font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
}
.estimate-figure {
  font-family: var(--head); font-weight: 900; color: var(--orange);
  font-size: clamp(2.2rem, 4.6vw, 3.1rem); line-height: 1; margin: .3rem 0 .1rem;
  letter-spacing: -.02em;
}
.estimate-sub { color: rgba(255,255,255,.6); font-size: .92rem; margin-bottom: 1.5rem; }
.estimate-meta {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.2rem;
  font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.55;
}
.estimate-meta strong { color: #fff; }

.field { margin-bottom: 1.3rem; }
.field label,
.field > .field-label {
  display: block; font-family: var(--head); font-weight: 700;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); margin-bottom: .55rem;
}
.field-hint { font-size: .84rem; color: var(--slate); margin-top: .4rem; }
.field-error { font-size: .84rem; color: var(--red); margin-top: .4rem; display: none; }
.field.has-error .field-error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); background: var(--red-soft); }

input, select, textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft);
}
textarea { min-height: 110px; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6576' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px;
  padding-right: 2.6rem;
}

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1.5px solid var(--line-strong); background: var(--white);
  border-radius: 999px; padding: .5rem 1rem;
  font-size: .88rem; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: all .15s ease; font-family: var(--body);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: #fff;
}

input[type="range"] {
  -webkit-appearance: none; appearance: none; padding: 0; border: 0;
  height: 6px; border-radius: 3px; background: var(--cream-3);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); border: 3px solid #fff; box-shadow: var(--shadow-md); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; border: 3px solid #fff;
  background: var(--orange); box-shadow: var(--shadow-md); cursor: pointer;
}
.range-row { display: flex; align-items: center; gap: 1rem; }
.range-value {
  font-family: var(--head); font-weight: 800; font-size: 1.05rem; color: var(--ink);
  min-width: 8.5ch; text-align: right;
}

/* --- process --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; position: relative;
}
.step-num {
  font-family: var(--head); font-weight: 900; font-size: 2.6rem; line-height: 1;
  color: var(--cream-3); margin-bottom: .6rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { font-size: .93rem; color: var(--slate); margin: 0; }

/* --- split feature --------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.compare {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); background: var(--white);
}
.compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-col { padding: 1.5rem; }
.compare-col + .compare-col { border-left: 1px solid var(--line); }
.compare-col h4 {
  font-family: var(--head); font-weight: 800; text-transform: uppercase;
  font-size: .8rem; letter-spacing: .12em; margin: 0 0 .9rem;
}
.compare-col--bad h4 { color: var(--red); }
.compare-col--good h4 { color: var(--green); }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li {
  font-size: .92rem; color: var(--slate); padding: .45rem 0 .45rem 1.5rem;
  position: relative; line-height: 1.45;
}
.compare-col li::before {
  position: absolute; left: 0; top: .45rem; font-weight: 700;
}
.compare-col--bad li::before { content: "\00d7"; color: var(--red); font-size: 1.1rem; }
.compare-col--good li::before { content: "\2713"; color: var(--green); }

/* --- testimonials ---------------------------------------------------------- */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.review {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.review::after {
  content: "\201D";
  position: absolute; right: .7rem; top: -1.1rem;
  font-family: var(--head); font-weight: 900; font-size: 6rem;
  color: var(--cream-3); line-height: 1; pointer-events: none;
}
.review-stars { display: flex; gap: .15rem; margin-bottom: .9rem; }
.review-stars svg { width: 17px; height: 17px; color: var(--orange); }
.review p {
  font-size: .97rem; color: var(--ink-2); line-height: 1.6;
  margin: 0 0 1.2rem; position: relative; z-index: 1;
}
.review-who {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
}
.review-who strong {
  font-family: var(--head); font-weight: 700; font-size: .98rem; color: var(--ink);
}
.review-who span { font-size: .86rem; color: var(--slate); }
.review-who span::before { content: "· "; }

/* --- service area ---------------------------------------------------------- */
.area {
  background: var(--cream-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.town-grid { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.town {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .55rem 1rem; font-size: .93rem; font-weight: 600; color: var(--ink-2);
}
.town--home { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- FAQ ------------------------------------------------------------------- */
.faq-list { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; text-align: left;
  font-family: var(--head); font-weight: 700; font-size: 1.06rem; color: var(--ink);
}
.faq-q:hover { color: var(--blue); }
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform .2s ease; color: var(--orange); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 1.4rem; color: var(--slate); font-size: .98rem; max-width: 68ch; }
.faq-item.open .faq-a { display: block; }

/* --- CTA band -------------------------------------------------------------- */
.cta-band {
  background:
    linear-gradient(rgba(35,42,54,.94), rgba(35,42,54,.94)),
    repeating-linear-gradient(115deg, var(--orange) 0 40px, var(--ink) 40px 80px);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 56ch; margin-inline: auto; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* --- footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); font-size: .93rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.4rem;
  padding: 3.4rem 0 2.4rem;
}
.site-footer h4 {
  color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .28rem 0; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand .brand-name { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.4rem 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.45);
}

/* ==========================================================================
   Booking page
   ========================================================================== */
.book-hero { background: var(--ink); color: #fff; padding: 3rem 0 3.4rem; }
.book-hero h1 { color: #fff; margin-bottom: .6rem; }
.book-hero p { color: rgba(255,255,255,.7); max-width: 60ch; margin: 0; }

.stepper { display: flex; gap: .5rem; margin-top: 2rem; flex-wrap: wrap; }
.stepper-item {
  display: flex; align-items: center; gap: .55rem;
  font-size: .86rem; font-weight: 600; color: rgba(255,255,255,.45);
  padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
}
.stepper-item b {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); font-size: .78rem; color: rgba(255,255,255,.7);
}
.stepper-item.active { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.stepper-item.active b { background: rgba(0,0,0,.18); color: var(--ink); }
.stepper-item.done { color: #fff; border-color: rgba(255,255,255,.4); }
.stepper-item.done b { background: var(--green); color: #fff; }

.book-layout {
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 2rem;
  align-items: start; padding: 3rem 0 5rem;
}
.panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.panel + .panel { margin-top: 1.5rem; }
.panel h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.panel-sub { color: var(--slate); font-size: .95rem; margin-bottom: 1.6rem; }

/* calendar */
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.1rem; gap: 1rem;
}
.cal-month { font-family: var(--head); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.cal-nav { display: flex; gap: .4rem; }
.cal-nav button {
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--line-strong); background: var(--white);
  display: grid; place-items: center; color: var(--ink); transition: all .15s ease;
}
.cal-nav button:hover:not([disabled]) { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-nav button[disabled] { opacity: .3; cursor: not-allowed; }
.cal-nav svg { width: 18px; height: 18px; }

.cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; margin-bottom: .5rem;
}
.cal-dow span {
  text-align: center; font-family: var(--head); font-weight: 700;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2);
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; }
.cal-cell { aspect-ratio: 1 / .92; }
.cal-day {
  width: 100%; height: 100%; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--ink);
  transition: all .13s ease; padding: 0;
}
.cal-day .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.cal-day:hover:not([disabled]) {
  border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.cal-day[disabled] {
  cursor: not-allowed; color: var(--slate-2); background: var(--cream-2);
  border-color: transparent; opacity: .75;
}
.cal-day[data-status="limited"] .dot { background: var(--orange); }
.cal-day[data-status="full"] { text-decoration: line-through; }
.cal-day[data-status="blocked"] .dot,
.cal-day[data-status="closed"] .dot { display: none; }
.cal-day[aria-pressed="true"] {
  background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-md);
}
.cal-day[aria-pressed="true"] .dot { background: #fff; }

.cal-legend {
  display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.2rem;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--slate);
}
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cal-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

.slot-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.slot {
  border: 1.5px solid var(--line-strong); background: var(--white); cursor: pointer;
  border-radius: var(--radius-sm); padding: .9rem 1rem; text-align: left;
  transition: all .14s ease; font-family: var(--body);
}
.slot:hover { border-color: var(--ink); transform: translateY(-2px); }
.slot strong {
  display: block; font-family: var(--head); font-size: 1.02rem; color: var(--ink); line-height: 1.2;
}
.slot span { font-size: .82rem; color: var(--slate); }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.slot[aria-pressed="true"] strong { color: #fff; }
.slot[aria-pressed="true"] span { color: rgba(255,255,255,.65); }

.slot-caveat {
  display: flex; gap: .6rem; align-items: flex-start;
  margin: 1.3rem 0 0; padding: .9rem 1.1rem;
  background: var(--orange-soft); border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange);
  font-size: .88rem; color: var(--ink-2); line-height: 1.5;
}
.slot-caveat:empty { display: none; }

.empty-note {
  background: var(--cream-2); border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm); padding: 1.2rem;
  color: var(--slate); font-size: .95rem; text-align: center;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* summary rail */
.summary { position: sticky; top: 100px; }
.summary-line {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .7rem 0; border-bottom: 1px dashed var(--line);
  font-size: .93rem;
}
.summary-line:last-of-type { border-bottom: 0; }
.summary-line dt { color: var(--slate); margin: 0; }
.summary-line dd {
  margin: 0; font-weight: 600; color: var(--ink); text-align: right; font-family: var(--head);
}
.summary dl { margin: 0 0 1.2rem; }
.summary-total {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 1.1rem 1.2rem; margin-bottom: 1.2rem;
}
.summary-total span {
  display: block; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: .25rem;
}
.summary-total strong {
  font-family: var(--head); font-weight: 900; font-size: 1.75rem; color: var(--orange);
  letter-spacing: -.02em;
}
.summary-note { font-size: .84rem; color: var(--slate); line-height: 1.5; }

.notice {
  border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .92rem;
  margin-bottom: 1.2rem; display: none;
}
.notice.show { display: block; }
.notice--error { background: var(--red-soft); color: var(--red); border: 1px solid rgba(179,38,30,.25); }
.notice--info { background: var(--blue-soft); color: var(--blue-dk); border: 1px solid rgba(20,80,190,.2); }

/* confirmation */
.confirm { text-align: center; max-width: 620px; margin: 0 auto; padding: 1rem 0 2rem; }
.confirm-check {
  width: 76px; height: 76px; border-radius: 50%; background: var(--green-soft);
  color: var(--green); display: grid; place-items: center; margin: 0 auto 1.5rem;
}
.confirm-check svg { width: 38px; height: 38px; }
.confirm-ref {
  font-family: var(--head); font-weight: 900; font-size: 1.5rem; letter-spacing: .06em;
  color: var(--ink); background: var(--cream-2); border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm); padding: .8rem 1.4rem; display: inline-block; margin: .4rem 0 1.4rem;
}

/* ==========================================================================
   Admin
   ========================================================================== */
.admin-body { background: var(--cream-2); }
.login-wrap { display: grid; place-items: center; min-height: 100vh; padding: 2rem; }
.login-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 2.4rem; width: min(420px, 100%); text-align: center;
}
.login-card img { width: 62px; height: 62px; margin-bottom: 1rem; }
.login-card h1 { font-size: 1.5rem; margin-bottom: .3rem; }
.login-card p { color: var(--slate); font-size: .93rem; margin-bottom: 1.6rem; }

.admin-header {
  background: var(--ink); color: #fff; padding: 1rem 0;
  position: sticky; top: 0; z-index: 40;
}
.admin-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-header .brand-name { color: #fff; }
.admin-tabs { display: flex; gap: .4rem; padding: 1.4rem 0 0; flex-wrap: wrap; }
.admin-tab {
  border: 0; background: transparent; cursor: pointer; font-family: var(--head);
  font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--slate); padding: .7rem 1.1rem; border-radius: var(--radius-sm);
}
.admin-tab:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.admin-tab.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.stat {
  background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
}
.stat span {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate); margin-bottom: .3rem;
}
.stat strong { font-family: var(--head); font-weight: 900; font-size: 1.8rem; color: var(--ink); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 860px; }
thead th {
  text-align: left; font-family: var(--head); font-weight: 700; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--slate);
  padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: var(--cream);
  white-space: nowrap;
}
tbody td { padding: .95rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--cream); }
.cell-strong { font-weight: 600; color: var(--ink); }
.cell-sub { font-size: .84rem; color: var(--slate); }

.badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .28rem .6rem; border-radius: 6px; white-space: nowrap;
}
.badge--pending { background: var(--orange-soft); color: #8A5B00; }
.badge--confirmed { background: var(--green-soft); color: var(--green); }
.badge--completed { background: var(--blue-soft); color: var(--blue-dk); }
.badge--cancelled { background: var(--red-soft); color: var(--red); }

.row-actions { display: flex; gap: .35rem; flex-wrap: wrap; }
.mini {
  border: 1px solid var(--line-strong); background: var(--white); cursor: pointer;
  border-radius: 6px; padding: .3rem .6rem; font-size: .78rem; font-weight: 600;
  color: var(--ink-2); font-family: var(--body); transition: all .13s ease;
}
.mini:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.mini--danger:hover { background: var(--red); border-color: var(--red); }
.mini--armed {
  background: var(--red); border-color: var(--red); color: #fff;
  animation: armedPulse 1.1s ease-in-out infinite;
}
@keyframes armedPulse { 50% { opacity: .62; } }

.day-editor {
  display: grid; grid-template-columns: 130px 1fr; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.day-editor:last-child { border-bottom: 0; }
.day-name { font-family: var(--head); font-weight: 700; color: var(--ink); }
.switch { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .88rem; }
.switch input { width: auto; }
.slot-toggles { display: flex; flex-wrap: wrap; gap: .45rem; }

.blackout-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.blackout {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--red-soft); color: var(--red); border: 1px solid rgba(179,38,30,.2);
  border-radius: 999px; padding: .35rem .5rem .35rem .9rem; font-size: .86rem; font-weight: 600;
}
.blackout button {
  border: 0; background: rgba(179,38,30,.15); color: var(--red); cursor: pointer;
  width: 20px; height: 20px; border-radius: 50%; line-height: 1; font-size: .9rem;
  display: grid; place-items: center;
}
.toast {
  position: fixed; bottom: 1.6rem; left: 50%; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: .85rem 1.4rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); font-size: .92rem; z-index: 90; transition: transform .28s ease;
}
.toast.show { transform: translate(-50%, 0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .avail-card { max-width: 460px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .estimator { grid-template-columns: 1fr; }
  .book-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.3rem 1.2rem;
    display: none; box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-cta .btn--ghost { display: none; }
  .site-header .wrap { position: relative; }
  .split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--line); }
  .topbar .wrap { justify-content: center; }
  .topbar-item--area { display: none; }
}

@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .cal-grid { gap: .28rem; }
  .cal-day { font-size: .9rem; border-radius: 8px; }
  .day-editor { grid-template-columns: 1fr; gap: .6rem; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
