@import './tokens.css';

/* =========================================================
   The Doggo Scoop — turf.css
   Turf Cleaning Service Page
   All selectors scoped with tf- prefix
   Depends on: styles.css (tokens, .btn, .container, .reveal)
   ========================================================= */

/* ── SHARED PAGE UTILITIES ─────────────────────────────── */

.tfKicker {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), .45);
  margin: 0 0 10px;
}

.tfKicker--light {
  color: rgba(var(--ink-rgb), .45);
}

.tfSectionTitle {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--newBrand);
}

.tfSectionTitle em {
  font-style: italic;
  color: var(--blush);
}

.tfSectionTitle--light {
  color: #fff;
}

.tfBody {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(var(--ink-rgb), .70);
  line-height: 1.65;
}

.tfBody--light {
  color: rgba(248, 251, 255, .78);
}

.tfBody--centered {
  text-align: center;
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── REVEAL ANIMATION ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── SKIP LINK ─────────────────────────────────────────── */
.skipLink {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-size: 14px;
  border-radius: 0 0 8px 0;
}
.skipLink:focus {
  left: 0;
}

/* =========================================================
   1. HERO V2
   ========================================================= */

.tfHeroV2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 42%, rgba(220, 232, 255, .25), transparent 34%),
    linear-gradient(135deg, #05155E 0%, #1672DD 48%, #05155E 100%);
  color: #fff;
  padding: 34px 0 0;
}

.tfHeroV2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/images/hero-pattern.png");
  background-repeat: repeat;
  background-size: 520px 520px;
  background-position: center top;
  opacity: 0.04;
}

.tfHeroV2Glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 84% 26%, rgba(22, 114, 221, .22), transparent 26%),
    radial-gradient(circle at 70% 75%, rgba(248, 251, 255, .14), transparent 28%);
  pointer-events: none;
}

.tfHeroV2Inner {
  display: grid;
  grid-template-columns: minmax(390px, .9fr) minmax(520px, 1.1fr);
  gap: clamp(34px, 4vw, 70px);
  align-items: center;
  min-height: 680px;
}

.tfHeroV2Copy {
  position: relative;
  z-index: 2;
  padding: 50px 0 110px;
}


.tfHeroV2Title {
  position: relative;
  margin: 16px 0 18px;
  max-width: 620px;
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 950;
  color: #fff;
  z-index: 1;
}

.tfUnderline {
  position: relative;
  display: inline-block;
  z-index: 1;
  color: #fff;
  font-style: normal;
  padding-bottom: 10px;
}

.tfUnderline::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: -21px;
  height: 46px;
  background: url("/images/underline-white.png") no-repeat center;
  background-size: 85% auto;
  z-index: -1;
  pointer-events: none;
  transform: rotate(-1deg);
}

.tfHeroV2Text {
  max-width: 52ch;
  margin: 0 0 32px;
  color: rgba(248,251,255,.78);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.62;
}

.tfHeroV2Actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.tfHeroV2Btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.tfHeroV2Btn--primary {
  background: var(--blush, #1672DD);
  color: #05155E;
  box-shadow: 0 18px 34px rgba(22, 114, 221, .28);
}

.tfHeroV2Btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(22, 114, 221, .38);
}

.tfHeroV2Btn--ghost {
  color: #fff;
  background: rgba(248,251,255,.07);
  border: 1px solid rgba(248,251,255,.34);
}

.tfHeroV2Btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(248,251,255,.12);
  border-color: rgba(248,251,255,.55);
}

.tfHeroV2Visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  min-width: 0;
}

.tfHeroV2Slider {
  --split: 56%;
  position: relative;
  width: min(880px, 100%);
  height: clamp(490px, 56vw, 670px);
  overflow: hidden;
  border-radius: 34px 0 0 34px;
  box-shadow:
    0 28px 70px rgba(0,0,0,.34),
    inset 0 0 0 1px rgba(248,251,255,.18);
  transform: skewX(-7deg);
  transform-origin: center;
  background: #123;
}

.tfHeroV2Img,
.tfHeroV2AfterWrap {
  position: absolute;
  inset: 0;
}

.tfHeroV2Img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: skewX(7deg) scale(1.13);
  transform-origin: center;
}

.tfHeroV2Img--before {
  filter: saturate(1.12) brightness(1.03);
}

.tfHeroV2AfterWrap {
  width: 100%;
  clip-path: inset(0 0 0 var(--split));
}

.tfHeroV2Img--after {
  filter: saturate(1.12) brightness(1.03);
}

.tfHeroV2Divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 4px;
  background: #F8FBFF;
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 0 20px rgba(0,0,0,.25);
}

.tfHeroV2Handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66px;
  height: 66px;
  transform: translate(-50%, -50%) skewX(7deg);
  border: 0;
  border-radius: 50%;
  background: rgba(248,251,255,.94);
  color: #1672DD;
  font-size: 25px;
  font-weight: 900;
  cursor: grab;
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
}

.tfHeroV2Handle:active {
  cursor: grabbing;
}

.tfHeroV2Label {
  position: absolute;
  z-index: 6;
  transform: skewX(7deg);
  color: #fff;
}

.tfHeroV2Label strong {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 13px;
  border-radius: 7px;
  background: rgba(0,0,0,.70);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tfHeroV2Label span {
  display: block;
  font-size: 19px;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}

.tfHeroV2Label--before {
  left: 70px;
  bottom: 92px;
}

.tfHeroV2Label--after {
  right: 82px;
  bottom: 92px;
}

.tfHeroV2Label--after strong {
  background: rgba(0,0,0,.70);
}

/* Trust card */

.tfHeroV2Trust {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr;
  align-items: center;
  gap: 30px;
  max-width: 1180px;
  margin-top: -72px;
  padding: 34px 44px;
  border-radius: 22px;
  background: rgba(248,251,255,.96);
  color: #123;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.tfHeroV2TrustItem {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tfHeroV2TrustItem strong {
  display: block;
  margin-bottom: 3px;
  color: #1672DD;
  font-size: 15px;
  font-weight: 950;
}

.tfHeroV2TrustItem p {
  margin: 0;
  color: rgba(5, 21, 94, .72);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.tfHeroV2TrustDivider {
  width: 1px;
  height: 54px;
  background: rgba(5, 21, 94, .14);
}

.tfHeroV2Faces {
  display: flex;
}

.tfHeroV2Faces span {
  width: 42px;
  height: 42px;
  margin-left: -10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #f2c2a2 0 22%, transparent 23%),
    radial-gradient(circle at 50% 72%, #42526a 0 28%, transparent 29%),
    #d8e5ef;
}

.tfHeroV2Faces span:first-child {
  margin-left: 0;
}

.tfHeroV2TrustIcon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(22, 114, 221, .08);
  color: #1672DD;
  font-size: 26px;
}

@media (max-width: 1100px) {
  .tfHeroV2Inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .tfHeroV2Copy {
    padding: 60px 0 0;
  }

  .tfHeroV2Visual {
    justify-content: center;
  }

  .tfHeroV2Slider {
    border-radius: 30px;
    transform: none;
    height: clamp(420px, 62vw, 580px);
  }

  .tfHeroV2Img {
    transform: none;
  }

  .tfHeroV2Handle,
  .tfHeroV2Label {
    transform: none;
  }

  .tfHeroV2Trust {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .tfHeroV2TrustDivider {
    display: none;
  }
}

@media (max-width: 760px) {
  .tfHeroV2 {
    padding-top: 20px;
  }

  .tfHeroV2Copy {
    padding-top: 42px;
  }

  .tfHeroV2Title {
    font-size: clamp(46px, 14vw, 68px);
    line-height: .96;
  }

  .tfUnderline::after {
    bottom: -9px;
    height: 22px;
  }

  .tfHeroV2Actions {
    flex-direction: column;
  }

  .tfHeroV2Btn {
    width: 100%;
  }

  .tfHeroV2Slider {
    height: 430px;
    border-radius: 24px;
  }

  .tfHeroV2Label span {
    font-size: 14px;
  }

  .tfHeroV2Label--before {
    left: 22px;
    bottom: 42px;
  }

  .tfHeroV2Label--after {
    right: 22px;
    bottom: 42px;
  }

  .tfHeroV2Trust {
    padding: 24px;
    border-radius: 18px;
  }
}

@media (max-width: 520px) {
  .tfHeroV2Title {
    font-size: clamp(42px, 15vw, 58px);
  }

  .tfHeroV2Text {
    font-size: 16px;
  }

  .tfHeroV2Slider {
    height: 360px;
  }

  .tfHeroV2Handle {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }
}

/* =========================================================
   3. EXPLAINER
   ========================================================= */

.tfExplainer {
  padding: 80px 0;
  background: var(--cream);
}

.tfExplainerInner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tfExplainerImg {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}

.tfExplainerImg img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

.tfExplainerImgBadge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--blush);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(var(--blush-rgb), .40);
  max-width: 180px;
  line-height: 1.3;
  text-align: center;
}

.tfCheckList {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tfCheckList li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.tfCheckList li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(var(--blush-rgb), .15);
  color: var(--blush);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* =========================================================
   4. HOW WE CLEAN YOUR TURF — Promise-card style
   Mirrors .promiseSection / .promiseItem from styles.css
   ========================================================= */

.tfProcessPromise {
  padding: 96px 0 100px;
  background: var(--cream);
}

.tfProcessPromiseWrap {
  text-align: center;
  max-width: 1480px;
  margin: 0 auto;
}

.tfProcessPromiseWrap.container {
  width: 100%;
  max-width: 1480px;
  padding-left: clamp(56px, 8vw, 120px);
  padding-right: clamp(56px, 8vw, 120px);
}

.tfProcessPromiseKicker {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 18px;
  color: rgba(var(--ink-rgb), .45);
}

.tfProcessPromiseTitle {
  margin: 0 0 48px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--blush);
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.06;
}

/* Grid — 3 columns, centred as a group */
.tfProcessPromiseList {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  column-gap: 48px;
  row-gap: 72px;
}

/* Card base */
.tfProcessPromiseItem {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 36px 32px;
  border-radius: 18px;
  background: transparent;
  border: 1px solid transparent;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease,
    border-color .25s ease;
}

/* Hover lift — matches .promiseItem:hover */
.tfProcessPromiseItem:hover {
  background: #F8FBFF;
  border-color: rgba(var(--ink-rgb), 0.08);
  box-shadow: 0 18px 40px rgba(var(--ink-rgb), 0.18);
}

/* Icon container */
.tfProcessPromiseIcon {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  text-align: left;
}

.tfProcessPromiseIconImg {
  width: 70px;
  height: auto;
  display: block;
  margin: 0;
  opacity: .95;
  filter: drop-shadow(0 14px 26px rgba(var(--ink-rgb), .14));
}

/* Title */
.tfProcessPromiseCardTitle {
  margin: 0 0 16px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.06;
}

/* Body text */
.tfProcessPromiseCardText {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}

/* Tablet */
@media (max-width: 1100px) {
  .tfProcessPromise {
    padding: 84px 0 90px;
  }

  .tfProcessPromiseTitle {
    margin-bottom: 40px;
  }

  .tfProcessPromiseList {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 56px;
  }

  .tfProcessPromiseItem {
    padding: 28px 22px;
  }

  .tfProcessPromiseCardTitle {
    font-size: 26px;
    max-width: none;
  }

  .tfProcessPromiseCardText {
    font-size: 16px;
    line-height: 1.65;
    max-width: none;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .tfProcessPromise {
    padding: 72px 0 48px;
  }

  .tfProcessPromiseWrap.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .tfProcessPromiseWrap {
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .tfProcessPromiseKicker,
  .tfProcessPromiseTitle {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 24px;
    padding-right: 24px;
    text-align: left;
  }

  .tfProcessPromiseTitle {
    margin-bottom: 28px;
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1.08;
  }

  .tfProcessPromiseList {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 14px;
    justify-content: stretch;
  }

  .tfProcessPromiseItem {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 18px 20px;
    border-radius: 0;
    align-items: flex-start;
    text-align: left;
  }

  .tfProcessPromiseIcon {
    width: 100%;
    margin: 0 0 12px;
    text-align: left;
  }

  .tfProcessPromiseIconImg {
    width: 64px;
  }

  .tfProcessPromiseCardTitle {
    width: 100%;
    max-width: none;
    font-size: 25px;
    line-height: 1.15;
    margin: 0 0 14px;
    text-align: left;
  }

  .tfProcessPromiseCardText {
    width: 100%;
    max-width: none;
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
  }
}

/* =========================================================
   4b. WHY CHOOSE THE DOGGO SCOOP — mirrors homepage .whyBand
   ========================================================= */

.tfWhyBand {
  padding: 120px 0 118px;
  background: var(--cream);
}

.tfWhyContainer {
  width: min(100%, 1500px);
  padding-left: 24px;
  padding-right: 24px;
}

.tfWhyHead {
  max-width: 920px;
  margin: 0 auto 72px;
  text-align: center;
}

.tfWhyTitle {
  margin: 14px 0 18px;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 950;
  color: var(--blush);
}

.tfWhySub {
  margin: 0 auto;
  max-width: 70ch;
  color: rgba(var(--ink-rgb), .45);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.7;
}

.tfWhyList {
  width: 100%;
  max-width: none;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.tfWhyItem {
  background: #F8FBFF;
  border: 1.5px solid rgba(5, 21, 94, 0.15);
  border-radius: 28px;
  padding: 40px 36px 36px;
  min-height: 390px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  box-shadow:
    0 1px 0 rgba(248,251,255,.8) inset,
    0 10px 24px rgba(var(--ink-rgb), .05);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.tfWhyItem:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(248,251,255,.9) inset,
    0 18px 38px rgba(var(--ink-rgb), .08);
}

.tfWhyItem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  width: 90%;
  height: 3px;
  background: var(--blush);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: center;
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.tfWhyItem:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.tfWhyMark {
  margin: 0 0 26px;
}

.tfWhyIconPng {
  width: 90px;
  height: 90px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.tfWhyItem h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 900;
  color: var(--ink);
}

.tfWhyItem p {
  margin: 0;
  max-width: none;
  color: rgba(var(--ink-rgb), .76);
  font-weight: 600;
  line-height: 1.7;
  font-size: 16px;
}

/* Tablet */
@media (max-width: 1100px) {
  .tfWhyBand {
    padding: 92px 0 92px;
  }

  .tfWhyHead {
    margin-bottom: 54px;
  }

  .tfWhyList {
    gap: 22px;
  }

  .tfWhyItem {
    padding: 32px 28px 30px;
    min-height: 330px;
  }

  .tfWhyIconPng {
    width: 80px;
    height: 80px;
  }

  .tfWhyItem h3 {
    font-size: 22px;
  }

  .tfWhyItem p {
    font-size: 15.5px;
  }
}

/* Two columns at 980px */
@media (max-width: 980px) {
  .tfWhyBand {
    padding: 78px 0 82px;
  }

  .tfWhyHead {
    text-align: left;
    margin: 0 0 44px;
    max-width: 760px;
  }

  .tfWhySub {
    margin: 0;
    max-width: 62ch;
  }

  .tfWhyList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
  }

  .tfWhyItem {
    min-height: 310px;
  }
}

/* Single column mobile */
@media (max-width: 560px) {
  .tfWhyBand {
    padding: 68px 0 72px;
  }

  .tfWhyHead {
    margin-bottom: 34px;
  }

  .tfWhyTitle {
    font-size: clamp(30px, 8vw, 38px);
  }

  .tfWhySub {
    font-size: 15px;
    line-height: 1.65;
  }

  .tfWhyList {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 22px;
  }

  .tfWhyItem {
    min-height: unset;
    padding: 30px 24px 28px;
    border-radius: 24px;
  }

  .tfWhyIconPng {
    width: 88px;
    height: 88px;
  }

  .tfWhyItem h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .tfWhyItem p {
    font-size: 15.5px;
    line-height: 1.68;
  }
}

/* =========================================================
   5b. INSTANT ESTIMATE CALCULATOR
   ========================================================= */

.tfEstimate {
  padding: 80px 0 72px;
  background: var(--cream);
}

.tfEstimateHead {
  text-align: center;
  margin-bottom: 44px;
}

.tfEstimateCard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius, 20px);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .14);
  max-width: 1060px;
  margin: 0 auto;
}

.tfEstimateLeft {
  background: #F8FBFF;
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tfEstimateGroup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tfEstimateLabel {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.01em;
}

.tfEstimateLabelSub {
  font-size: 13px;
  font-weight: 500;
  color: rgba(var(--ink-rgb), .45);
  margin-left: 4px;
}

.tfEstimatePkgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tfEstimatePkg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 14px 10px 12px;
  border: 2px solid var(--border, #e2e6ea);
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  transition: border-color .18s, background .18s, box-shadow .18s;
  background: #F8FBFF;
  user-select: none;
}

.tfEstimatePkg input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.tfEstimatePkg:hover {
  border-color: rgba(22, 114, 221, .40);
}

.tfEstimatePkg--active {
  border-color: var(--newBrand, #1672DD);
  background: rgba(22, 114, 221, .05);
  box-shadow: 0 0 0 3px rgba(22, 114, 221, .10);
}

.tfEstimatePkgBadge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--newBrand, #1672DD);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}

.tfEstimatePkgName {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.tfEstimatePkgFrom {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(var(--ink-rgb), .45);
}

.tfEstimateSqftInput {
  position: relative;
}

.tfEstimateSqftNum {
  width: 100%;
  padding: 13px 52px 13px 16px;
  border: 1.5px solid var(--border, #e2e6ea);
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  font-family: inherit;
  color: var(--ink);
  background: #F8FBFF;
  appearance: textfield;
  -moz-appearance: textfield;
  transition: border-color .18s;
}

.tfEstimateSqftNum::-webkit-inner-spin-button,
.tfEstimateSqftNum::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.tfEstimateSqftNum:focus {
  outline: none;
  border-color: var(--newBrand, #1672DD);
}

.tfEstimateSqftUnit {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: rgba(var(--ink-rgb), .38);
  pointer-events: none;
}

.tfEstimateRange {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  margin: 6px 0 4px;
  accent-color: var(--newBrand, #1672DD);
}

/* WebKit track — unfilled portion */
.tfEstimateRange::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(22, 114, 221, .18);
}

/* WebKit thumb */
.tfEstimateRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--newBrand, #1672DD);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(22, 114, 221, .35);
  cursor: grab;
  margin-top: -8px;
}

/* Firefox track — unfilled portion */
.tfEstimateRange::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(22, 114, 221, .18);
}

/* Firefox filled portion */
.tfEstimateRange::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--newBrand, #1672DD);
}

/* Firefox thumb */
.tfEstimateRange::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--newBrand, #1672DD);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(22, 114, 221, .35);
  cursor: grab;
}

.tfEstimateRange:active::-webkit-slider-thumb { cursor: grabbing; }
.tfEstimateRange:active::-moz-range-thumb     { cursor: grabbing; }

.tfEstimatePresets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tfEstimatePreset {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border, #e2e6ea);
  background: #F8FBFF;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  color: rgba(var(--ink-rgb), .65);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}

.tfEstimatePreset:hover {
  border-color: rgba(22, 114, 221, .40);
  color: var(--newBrand, #1672DD);
}

.tfEstimatePreset--active {
  border-color: var(--newBrand, #1672DD);
  background: var(--newBrand, #1672DD);
  color: #fff;
}

.tfEstimateBtn {
  margin-top: auto;
  width: 100%;
  font-size: 15px;
  padding: 15px 24px;
  text-align: center;
}

.tfEstimateRight {
  background: var(--newBrand, #1672DD);
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.tfEstimateResultLabel {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(248,251,255,.55);
}

.tfEstimatePrice {
  font-size: clamp(52px, 7vw, 76px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.05em;
  color: #fff;
  margin: 0 0 10px;
  transition: transform .25s ease;
}

.tfEstimatePrice--pop {
  animation: tfPricePop .28s ease;
}

@keyframes tfPricePop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.tfEstimateResultDesc {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(248,251,255,.60);
}

.tfEstimateDivider {
  border: none;
  border-top: 1px solid rgba(248,251,255,.14);
  margin: 22px 0;
}

.tfEstimateIncludedLabel {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(248,251,255,.55);
}

.tfEstimateFeatureList {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 14px;
  flex: 1;
}

.tfEstimateFeature {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.tfEstimateFeature--yes {
  color: rgba(248,251,255,.90);
}

.tfEstimateFeature--no {
  color: rgba(248,251,255,.30);
  text-decoration: line-through;
}

.tfEstimateFeatIcon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
}

.tfEstimateFeature--yes .tfEstimateFeatIcon {
  background: rgba(248,251,255,.18);
  color: #fff;
}

.tfEstimateFeature--no .tfEstimateFeatIcon {
  background: rgba(248,251,255,.06);
  color: rgba(248,251,255,.35);
}

.tfEstimateDisclaimer {
  margin: 20px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(248,251,255,.38);
  text-align: center;
}

.tfEstimateFootnote {
  margin: 22px auto 0;
  max-width: 60ch;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(var(--ink-rgb), .45);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .tfEstimateCard {
    grid-template-columns: 1fr;
  }

  .tfEstimateRight {
    order: -1;
    padding: 28px 28px 24px;
  }

  .tfEstimatePrice {
    font-size: 56px;
  }

  .tfEstimateFeatureList {
    grid-template-columns: 1fr 1fr;
  }

  .tfEstimateLeft {
    padding: 28px 28px 24px;
  }
}

@media (max-width: 560px) {
  .tfEstimate {
    padding: 56px 0;
  }

  .tfEstimatePkgs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tfEstimatePkg {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }

  .tfEstimatePkgBadge {
    top: 50%;
    left: auto;
    right: 12px;
    transform: translateY(-50%);
  }

  .tfEstimateFeatureList {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   7. RECURRING MAINTENANCE
   ========================================================= */

.tfRecurring {
  padding: 0;
}

.tfRecurringInner {
  background: var(--cream);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.tfRecurringInner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(248,251,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.tfRecurringContent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
}

.tfRecurringList {
  margin: 16px 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tfRecurringList li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.tfRecurringList li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(var(--blush-rgb), .25);
  color: var(--blush);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.tfRecurringSchedule {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tfScheduleCard {
  background: rgba(248,251,255,.08);
  border: 1px solid rgba(248,251,255,.12);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background .15s, border-color .15s;
}

.tfScheduleCard:hover {
  background: rgba(248,251,255,.13);
  border-color: rgba(var(--blush-rgb), .40);
}

.tfScheduleCardIcon {
  font-size: 24px;
  margin-bottom: 4px;
}

.tfScheduleCard h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
  color: var(--newBrand);
  letter-spacing: -.02em;
}

.tfScheduleCard p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-rgb);
  line-height: 1.45;
}

/* =========================================================
   8. GALLERY
   ========================================================= */

.tfGallery {
  padding: 80px 0 72px;
  background: var(--cream);
}

.tfGalleryHead {
  text-align: center;
  margin-bottom: 44px;
}

.tfGalleryGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tfGalleryItem {
  border-radius: var(--radius);
  overflow: hidden;
}

.tfGalleryPair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.tfGalleryImg {
  position: relative;
  overflow: hidden;
}

.tfGalleryImg img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.tfGalleryItem:hover .tfGalleryImg img {
  transform: scale(1.04);
}

.tfGalleryLabel {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
}

.tfGalleryLabel--after {
  background: rgba(0,0,0,.55);
}

/* =========================================================
   BONE PATTERN — Gallery + Final CTA
   ========================================================= */

.tfBoneFlow {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  z-index: 1;
  isolation: isolate;
}

.tfBoneFlow::before,
.tfBoneFlow::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-image: url("/images/navyBonepattern.png");
  background-repeat: repeat;
  z-index: 0;
}

.tfBoneFlow::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: 400px 400px;
  background-position: 90px 10px;
  opacity: 0.07;
  transform: rotate(17deg);
}

.tfBoneFlow::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: 600px 600px;
  background-position: 341px 60px;
  opacity: 0.05;
  transform: rotate(1deg);
}

.tfBoneFlow .tfGallery,
.tfBoneFlow .tfCta {
  position: relative;
  background: transparent;
  z-index: 1;
}

.tfBoneFlow .tfGallery > .container,
.tfBoneFlow .tfCta > .container {
  position: relative;
  z-index: 1;
}

/* =========================================================
   9. FAQ
   ========================================================= */

.tfFaq {
  padding: 80px 20px;
  background: var(--cream);
}

.faqHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.faqHead h2 {
  margin: 0;
  font-size: 32px;
  color: var(--blush);
}

.faqHead p {
  margin: 0;
  color: rgba(var(--ink-rgb), .45);
  font-size: 16px;
}

.faqGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

@media (max-width: 860px) {
  .faqHead { flex-direction: column; align-items: flex-start; }
  .faqGrid  { grid-template-columns: 1fr; }
}

.faqItem {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 10px 25px rgba(var(--ink-rgb), .06);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.faqItem:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(var(--ink-rgb), .09);
  border-color: rgba(var(--blush-rgb), .35);
}

.faqItem summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  font-weight: 800;
  color: var(--ink);
  position: relative;
  transition: color .2s ease;
}

.faqItem summary::-webkit-details-marker { display: none; }

.faqItem summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: rgba(var(--blush-rgb), .55);
}

.faqItem[open] summary {
  color: var(--blush);
}

.faqItem[open] summary span:first-child {
  color: var(--blush);
}

.faqIcon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(var(--cream-rgb), .90);
  position: relative;
  flex: 0 0 auto;
}

.faqIcon::before,
.faqIcon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: rgba(var(--blush-rgb), .95);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.faqIcon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faqBody {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(var(--ink-rgb), .06);
}

.faqBody p {
  margin: 14px 0 0;
  color: var(--slate-l);
  font-size: 15px;
  line-height: 1.6;
}

.faqItem[open] .faqIcon {
  background: rgba(var(--blush-rgb), .10);
  border-color: rgba(var(--blush-rgb), .35);
}

.faqItem[open] .faqIcon::after { display: none; }

/* =========================================================
   10. FINAL CTA
   ========================================================= */

.tfCta {
  padding: 80px 0;
  background: var(--cream);
}

.tfCtaInner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.tfCtaBones {
  font-size: 28px;
  letter-spacing: 8px;
  margin-bottom: 16px;
  opacity: .5;
}

.tfCtaTitle {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--newBrand);
}

.tfCtaText {
  margin: 0 0 28px;
  font-size: 17px;
  font-weight: 500;
  color: rgba(var(--ink-rgb), .65);
  line-height: 1.55;
}

.tfCtaBtnLg {
  font-size: 16px;
  padding: 15px 32px;
}

/* =========================================================
   RESPONSIVE — global overrides
   ========================================================= */

@media (max-width: 960px) {
  .tfExplainerInner,
  .tfRecurringContent {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tfExplainerImgBadge {
    bottom: 8px;
    right: 8px;
  }

  .tfGalleryGrid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .tfExplainer,
  .tfGallery,
  .tfFaq,
  .tfCta {
    padding: 56px 0;
  }

  .tfRecurringInner {
    padding: 56px 0;
  }

  .tfScheduleCard {
    padding: 14px 16px;
  }

  .tfGalleryPair {
    grid-template-columns: 1fr 1fr;
  }

  .tfGalleryImg img {
    aspect-ratio: 1/1;
  }
}