/* /cedar-fever-cleaning, the winter guide. Loads after landing.css and keeps its header, footer,
 * buttons, heavy italic headings and closing band. The page's own world is a Hill Country winter:
 * juniper green for the dark bands, pollen amber as the one warm accent, and a frost white for the
 * reading surface. Amber is a fill and a rule; text on light uses the deeper amber step. */

.cf-body {
  --cf-juniper: #16302B;
  --cf-juniper-2: #1F423B;
  --cf-juniper-ink: #E8EFEA;
  --cf-juniper-mute: #A9BDB4;
  --cf-pollen: #E39A3B;
  /* #E39A3B is 2.3:1 on frost; text and ticks on light surfaces use this step (5.1:1). */
  --cf-pollen-text: #9A5A12;
  --cf-pollen-wash: #FBEBD3;
  --cf-frost: #FAF8F3;
  --cf-frost-2: #F2EEE4;
  --cf-line: #E3DDD0;
  background: var(--cf-frost);
  overflow-x: hidden;
}
.cf-body ::selection { background: rgba(227, 154, 59, 0.35); color: var(--ld-navy); }
.cf-body a { text-underline-offset: 3px; }

/* ------------------------------------------------------------------ hero */
/* The photo is the page's first impression; the copy sits on its darker left side, with a gradient
   deep enough that white text clears 4.5:1 over the brightest pollen. */
.cf-hero {
  position: relative;
  min-height: clamp(560px, calc(100svh - 80px), 780px);
  display: flex;
  align-items: flex-end;
  color: #FFFFFF;
  background: var(--cf-juniper);
  isolation: isolate;
}
.cf-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 40% 50%;
  z-index: -2;
}
.cf-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(14, 32, 28, 0.92) 0%, rgba(14, 32, 28, 0.55) 45%, rgba(14, 32, 28, 0) 75%),
    linear-gradient(90deg, rgba(14, 32, 28, 0.55) 0%, rgba(14, 32, 28, 0) 60%);
}
.cf-hero-inner { padding-top: 120px; padding-bottom: 64px; }
.cf-crumbs { display: flex; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.78); margin-bottom: 22px; }
.cf-crumbs a { color: inherit; text-decoration: none; }
.cf-crumbs a:hover { color: #FFFFFF; text-decoration: underline; }
.cf-body .cf-hero h1 {
  color: #FFFFFF;
  font-size: clamp(40px, 6.2vw, 84px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 13ch;
  margin: 0 0 24px;
}
.cf-hero h1 em { color: var(--cf-pollen); font-style: italic; }
.cf-lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 36em; margin: 0 0 22px; color: rgba(255, 255, 255, 0.92); }
.cf-byline { font-size: 14px; color: rgba(255, 255, 255, 0.74); margin: 0; }

/* ------------------------------------------------------------------ the season strip */
.cf-season { background: var(--cf-juniper); color: var(--cf-juniper-ink); padding: 88px 0 80px; }
.cf-body .cf-season h2 { color: #FFFFFF; font-style: italic; font-weight: 900; font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 40px; }
.cf-strip { position: relative; padding-bottom: 34px; }
.cf-curve { display: block; width: 100%; height: clamp(110px, 16vw, 170px); }
.cf-months {
  list-style: none; margin: 0; padding: 12px 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  color: var(--cf-juniper-mute);
}
.cf-months li { padding-left: 2px; }
.cf-months li + li { border-left: 1px solid rgba(255, 255, 255, 0.12); padding-left: 10px; }
.cf-today {
  position: absolute; top: 0; bottom: 34px;
  width: 0; border-left: 2px dashed #FFFFFF;
}
.cf-today span {
  position: absolute; top: -6px; left: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 12px;
  background: #FFFFFF; color: var(--cf-juniper);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.cf-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.cf-body .cf-phases h3 { color: #FFFFFF; font-size: 16px; font-weight: 800; margin: 0 0 8px; }
.cf-phases p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--cf-juniper-ink); }
.cf-body .cf-phase-peak h3 { color: var(--cf-pollen); }
.cf-note { margin: 36px 0 0; font-size: 13.5px; color: var(--cf-juniper-mute); }

/* ------------------------------------------------------------------ article */
.cf-article { padding: 88px 0 16px; }
.cf-prose { max-width: 760px; }
.cf-prose > p, .cf-prose li p { font-size: 18px; line-height: 1.75; color: var(--ld-ink); }
.cf-prose > p { margin: 0 0 22px; max-width: 66ch; }
.cf-body .cf-prose h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 900; font-style: italic;
  line-height: 1.1;
  margin: 64px 0 20px;
}
.cf-body .cf-prose > h2:first-child { margin-top: 0; }
.cf-prose strong { color: var(--ld-navy); }
.cf-prose a { color: var(--ld-ocean-text); font-weight: 600; }

/* How pollen gets in: a definition list, the term set like a field label beside its explanation. */
.cf-paths { margin: 28px 0 8px; border-top: 1px solid var(--cf-line); }
.cf-paths > div {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--cf-line);
}
.cf-paths dt { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 16px; color: var(--cf-pollen-text); }
.cf-paths dd { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--ld-ink); }

/* The windowsill photo breaks out to the right of the measure on wide screens. */
.cf-figure { margin: 56px 0; }
.cf-figure img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--ld-shadow-md); }
.cf-figure figcaption {
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-style: italic;
  font-size: 19px; line-height: 1.35; color: var(--ld-navy);
  max-width: 30ch;
}
@media (min-width: 1100px) {
  .cf-figure { display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 40px; align-items: end; margin-right: -320px; }
  .cf-figure figcaption { font-size: 26px; margin: 0 0 24px; }
}

/* ------------------------------------------------------------------ checklist */
.cf-check { background: var(--cf-frost-2); padding: 88px 0; margin-top: 72px; border-block: 1px solid var(--cf-line); }
.cf-check-head { max-width: 640px; margin-bottom: 40px; }
.cf-body .cf-check h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 900; font-style: italic; margin: 0 0 12px; }
.cf-check-head p { margin: 0; font-size: 16.5px; color: var(--ld-ink); }
.cf-check-head .cf-progress {
  display: inline-block; margin-top: 18px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--cf-pollen-text); background: var(--cf-pollen-wash);
  padding: 6px 14px; border-radius: 999px;
}
/* Five rooms: one row of five on desktop rather than four and an orphan. */
.cf-rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 16px; }
.cf-room {
  margin: 0; min-width: 0;
  background: #FFFFFF; border: 1px solid var(--cf-line); border-radius: 16px;
  padding: 22px 22px 14px;
}
.cf-room legend {
  float: left; width: 100%; padding: 0; margin: 0 0 12px;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-style: italic; font-size: 19px; color: var(--ld-navy);
}
.cf-item { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; cursor: pointer; clear: both; }
.cf-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-box {
  flex: none; width: 22px; height: 22px; margin-top: 1px;
  border: 2px solid #C9BFAC; border-radius: 6px; background: #FFFFFF;
  display: grid; place-items: center; color: #FFFFFF;
  transition: background-color 0.18s ease-out, border-color 0.18s ease-out, transform 0.18s ease-out;
}
.cf-box svg { width: 14px; height: 14px; opacity: 0; transform: scale(0.6); transition: opacity 0.18s ease-out, transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
.cf-item-text { font-size: 15.5px; line-height: 1.5; color: var(--ld-ink); transition: color 0.2s ease-out; }
.cf-item:hover .cf-box { border-color: var(--cf-pollen-text); }
.cf-item input:checked + .cf-box { background: var(--cf-pollen-text); border-color: var(--cf-pollen-text); }
.cf-item input:checked + .cf-box svg { opacity: 1; transform: scale(1); }
.cf-item input:checked ~ .cf-item-text { color: var(--ld-ink-soft); text-decoration: line-through; text-decoration-color: rgba(154, 90, 18, 0.5); }
.cf-item input:focus-visible + .cf-box { outline: 2px solid var(--ld-ocean); outline-offset: 2px; }

/* ------------------------------------------------------------------ timing, offer, FAQ */
.cf-timing { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: cf-step; }
.cf-timing li { position: relative; padding: 0 0 26px 58px; counter-increment: cf-step; }
.cf-timing li::before {
  content: counter(cf-step);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 16px;
  background: var(--cf-juniper); color: #FFFFFF;
}
.cf-body .cf-timing h3 { font-size: 18px; font-weight: 800; margin: 6px 0 6px; }
.cf-timing p { margin: 0; }

.cf-offer {
  margin: 48px 0 8px;
  background: var(--cf-juniper); color: var(--cf-juniper-ink);
  border-radius: 16px; padding: 36px 36px 32px;
  box-shadow: var(--ld-shadow-md);
}
.cf-body .cf-offer h2 { color: #FFFFFF; margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 30px); }
.cf-offer p { margin: 0 0 24px; font-size: 16.5px; line-height: 1.7; color: var(--cf-juniper-ink); }
.cf-body .cf-offer a:not(.ld-btn) { color: #FFFFFF; font-weight: 700; }
.cf-offer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cf-call { font-family: 'Montserrat', sans-serif; font-size: 15px; }

.cf-faq { border-top: 1px solid var(--cf-line); }
.cf-faq details { border-bottom: 1px solid var(--cf-line); }
.cf-faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 0;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; color: var(--ld-navy);
}
.cf-faq summary::-webkit-details-marker { display: none; }
.cf-faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2.5px solid var(--cf-pollen-text); border-bottom: 2.5px solid var(--cf-pollen-text);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease-out;
}
.cf-faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.cf-faq summary:focus-visible { outline: 2px solid var(--ld-ocean); outline-offset: 4px; border-radius: 4px; }
.cf-faq details p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.7; color: var(--ld-ink); max-width: 64ch; }
.cf-disclaimer { margin: 40px 0 72px; font-size: 14px; color: var(--ld-ink-soft); }

.cf-final { background-color: var(--cf-juniper); background-image: linear-gradient(120deg, var(--cf-juniper-2), var(--cf-juniper)); }

/* ------------------------------------------------------------------ phones */
@media (max-width: 760px) {
  .cf-hero-inner { padding-top: 96px; padding-bottom: 44px; }
  .cf-phases { grid-template-columns: 1fr; gap: 22px; }
  .cf-season, .cf-check { padding: 64px 0; }
  .cf-article { padding-top: 64px; }
  .cf-paths > div { grid-template-columns: 1fr; gap: 4px; }
  .cf-prose > p, .cf-prose li p { font-size: 17px; }
  .cf-offer { padding: 28px 22px; }
  .cf-offer-cta .ld-btn { width: 100%; justify-content: center; }
  .cf-months { font-size: 12px; }
  .cf-months li + li { padding-left: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .cf-box, .cf-box svg, .cf-faq summary::after, .cf-item-text { transition: none; }
}
