/* Finance Your Tax Debt campaign page */

.page-tax-debt {
  --tax-ink: #182143;
  --tax-blue: #009bd5;
  --tax-blue-dark: #007daa;
  --tax-mint: #eaf8f3;
  --tax-green: #23854a;
  --tax-cream: #f7f5ef;
  --tax-line: #dce3e8;
  --tax-soft: #f5f9fb;
  color: var(--tax-ink);
  background: #fff;
}

.campaign-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(28, 36, 75, 0.1);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(17, 30, 61, 0.07);
  backdrop-filter: blur(10px);
}

.campaign-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.campaign-logo-link,
.campaign-header-call { text-decoration: none; }
.campaign-logo-link:hover,
.campaign-header-call:hover { text-decoration: none; }
.campaign-logo { width: auto; height: 50px; }

.campaign-header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--tax-ink);
  font-weight: 800;
  line-height: 1.05;
}

.campaign-header-call > span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--tax-green);
}

.campaign-header-call small {
  display: block;
  margin-bottom: 0.15rem;
  color: #667085;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.tax-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 7vw, 6.5rem) 0 clamp(3.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 12% 15%, rgba(37, 169, 224, 0.2), transparent 29rem),
    linear-gradient(135deg, #101938 0%, #1c2e60 56%, #0a759e 145%);
  color: #fff;
}

.tax-hero::after {
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(255, 255, 255, 0.025), 0 0 0 150px rgba(255, 255, 255, 0.018);
  content: "";
}

.tax-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.78fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.tax-hero-copy { padding-top: clamp(0.25rem, 3vw, 2.2rem); }
.tax-kicker {
  margin-bottom: 0.7rem;
  color: var(--tax-blue);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.tax-hero .tax-kicker { color: #72d3f6; }

.tax-hero h1 {
  max-width: 720px;
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 5.5vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.tax-hero-lead {
  max-width: 690px;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.17rem);
  line-height: 1.75;
}

.tax-trust-list { display: grid; gap: 0.72rem; margin-bottom: 1.8rem; }
.tax-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.96rem;
  font-weight: 700;
}

.tax-trust-list li span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border-radius: 50%;
  color: var(--tax-ink);
  background: #79e2b2;
  font-size: 0.74rem;
  font-weight: 900;
}

.tax-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.tax-btn-primary {
  justify-content: center;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--tax-green), #2aa85d);
  box-shadow: 0 10px 24px rgba(26, 116, 65, 0.22);
}
.tax-hero .tax-btn-primary {
  color: var(--tax-ink);
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 15, 42, 0.24);
}
.tax-text-link { color: #fff; font-size: 0.9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.tax-form-card {
  scroll-margin-top: 96px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  color: var(--tax-ink);
  background: #fff;
  box-shadow: 0 28px 70px rgba(6, 15, 42, 0.34);
}

.tax-form-intro { padding: 1.45rem 1.6rem 1.1rem; border-bottom: 1px solid var(--tax-line); }
.tax-form-eyebrow { margin-bottom: 0.25rem; color: var(--tax-green); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.tax-form-intro h2 { margin-bottom: 0.3rem; font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; line-height: 1.05; }
.tax-form-intro > p:last-child { color: #667085; font-size: 0.86rem; }

.tax-form-progress { padding: 0.85rem 1.6rem 0; }
.tax-form-progress-track { overflow: hidden; height: 6px; border-radius: 999px; background: #e9eef1; }
.tax-form-progress-track span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tax-blue), #46c8a2); transition: width 220ms ease; }
.tax-form-progress p { margin-top: 0.35rem; color: #77808f; font-size: 0.7rem; font-weight: 700; text-align: right; }

.tax-form-step { min-width: 0; padding: 1rem 1.6rem 1.5rem; border: 0; }
.tax-form-step > legend { width: 100%; margin-bottom: 0.85rem; font-family: var(--font-heading); font-size: 1.28rem; font-weight: 800; }
.tax-step-note { margin: -0.4rem 0 1rem; color: #667085; font-size: 0.83rem; }
.tax-field-group { margin-bottom: 1.15rem; }
.tax-field-label,
.tax-field > span { display: block; margin-bottom: 0.45rem; color: #29324f; font-size: 0.81rem; font-weight: 800; }
.tax-field-label small,
.tax-field > span small { margin-left: 0.35rem; color: #7a8494; font-weight: 600; }

.tax-choice-grid { display: grid; gap: 0.55rem; }
.tax-choice-grid--amount { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tax-choice-grid--trading,
.tax-choice-grid--contact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tax-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.48rem; }

.tax-choice,
.tax-check { position: relative; cursor: pointer; }
.tax-choice input,
.tax-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tax-choice span,
.tax-check span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.48rem;
  border: 1.5px solid #d9e1e6;
  border-radius: 9px;
  color: #35405c;
  background: #fff;
  font-size: 0.73rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.tax-check span { min-height: 40px; justify-content: flex-start; padding-left: 0.75rem; text-align: left; }
.tax-choice input:checked + span,
.tax-check input:checked + span { border-color: var(--tax-blue); color: var(--tax-ink); background: #edf9fd; box-shadow: inset 0 0 0 1px var(--tax-blue); }
.tax-choice input:focus-visible + span,
.tax-check input:focus-visible + span { outline: 3px solid rgba(0, 155, 213, 0.28); outline-offset: 2px; }

.tax-field { display: block; margin-bottom: 1rem; }
.tax-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.tax-field input,
.tax-field select,
.tax-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.68rem 0.78rem;
  border: 1.5px solid #d7e0e5;
  border-radius: 9px;
  outline: 0;
  color: var(--tax-ink);
  background: #fff;
  font: 500 0.88rem/1.4 var(--font-body);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.tax-field textarea { min-height: 96px; resize: vertical; }
.tax-field input:focus,
.tax-field select:focus,
.tax-field textarea:focus { border-color: var(--tax-blue); box-shadow: 0 0 0 3px rgba(0, 155, 213, 0.14); }

.tax-consent { display: grid; grid-template-columns: 19px 1fr; gap: 0.65rem; align-items: start; margin: 0.35rem 0 1rem; cursor: pointer; }
.tax-consent input { width: 18px; height: 18px; margin-top: 0.12rem; accent-color: var(--tax-blue-dark); }
.tax-consent span { color: #556075; font-size: 0.75rem; line-height: 1.5; }
.tax-consent a { color: var(--tax-blue-dark); font-weight: 800; text-decoration: underline; }
.recaptcha-widget { min-height: 1px; margin-bottom: 0.8rem; }

.tax-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 1.1rem; }
.tax-step-actions--end { justify-content: flex-end; }
.tax-step-actions .btn { min-height: 46px; }
.tax-btn-back { padding: 0.65rem 0.25rem; border: 0; color: #5e6878; background: transparent; font: 800 0.86rem var(--font-body); cursor: pointer; }
.tax-btn-back:hover { color: var(--tax-blue-dark); }
.tax-submit-note { margin-top: 0.75rem; color: #788292; font-size: 0.7rem; text-align: center; }
.tax-submit-error { margin-top: 0.85rem; padding: 0.8rem; border: 1px solid #e7b4b0; border-radius: 8px; color: #832d27; background: #fff4f2; font-size: 0.78rem; line-height: 1.5; }
.tax-submit-error a { color: inherit; font-weight: 800; text-decoration: underline; }

.tax-reassurance { padding: clamp(3rem, 7vw, 5rem) 0; border-bottom: 1px solid var(--tax-line); background: var(--tax-cream); }
.tax-reassurance-grid { display: grid; grid-template-columns: 190px minmax(0, 700px); justify-content: center; align-items: center; gap: clamp(1.6rem, 5vw, 4rem); }
.tax-reassurance img { width: 190px; height: 190px; border: 6px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 16px 36px rgba(28, 36, 75, 0.16); }
.tax-reassurance h2,
.tax-section-heading h2,
.tax-support h2,
.tax-faq h2,
.tax-final-cta h2 { margin-bottom: 0.7rem; font-family: var(--font-heading); font-size: clamp(1.85rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.tax-reassurance p:not(.tax-kicker) { color: #4f596b; font-size: 1rem; line-height: 1.75; }
.tax-eric-signoff { margin-top: 0.75rem; color: var(--tax-ink) !important; font-weight: 800; }

.tax-options { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.tax-section-heading { max-width: 760px; margin: 0 auto 2.4rem; text-align: center; }
.tax-section-heading > p:last-child { color: #606a7d; line-height: 1.7; }
.tax-options-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tax-option-card { position: relative; overflow: hidden; min-height: 260px; padding: 1.65rem; border: 1px solid var(--tax-line); border-radius: 16px; background: var(--tax-soft); }
.tax-option-card--feature { color: #fff; border-color: transparent; background: var(--tax-ink); box-shadow: 0 18px 42px rgba(28, 36, 75, 0.2); }
.tax-card-number { display: block; margin-bottom: 2rem; color: var(--tax-blue); font-family: var(--font-heading); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; }
.tax-option-card--feature .tax-card-number { color: #72d3f6; }
.tax-option-card h3 { margin-bottom: 0.7rem; font-family: var(--font-heading); font-size: 1.42rem; font-weight: 800; }
.tax-option-card p { color: #5b6576; font-size: 0.89rem; line-height: 1.75; }
.tax-option-card--feature p { color: rgba(255, 255, 255, 0.82); }

.tax-support { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--tax-mint); }
.tax-support-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(2rem, 7vw, 6rem); }
.tax-support-lead { max-width: 520px; color: #5c6676; line-height: 1.75; }
.tax-support-list { display: grid; gap: 0.75rem; }
.tax-support-list li { display: grid; grid-template-columns: 34px 1fr; gap: 0.85rem; padding: 1rem; border: 1px solid rgba(35, 133, 74, 0.17); border-radius: 12px; background: rgba(255, 255, 255, 0.76); }
.tax-support-list li > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #fff; background: var(--tax-green); font-size: 0.78rem; font-weight: 900; }
.tax-support-list strong { display: block; margin-bottom: 0.15rem; font-family: var(--font-heading); font-size: 1.07rem; }
.tax-support-list small { display: block; color: #5f6978; font-size: 0.82rem; line-height: 1.55; }

.tax-process { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.tax-process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin: 0 auto; counter-reset: step; }
.tax-process-list li { display: grid; grid-template-columns: 46px 1fr; gap: 0.8rem; padding: 0 1.25rem; border-right: 1px solid var(--tax-line); }
.tax-process-list li:last-child { border-right: 0; }
.tax-process-list li > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #fff; background: var(--tax-blue-dark); font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; }
.tax-process-list h3 { margin-bottom: 0.35rem; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; }
.tax-process-list p { color: #616b7d; font-size: 0.84rem; line-height: 1.65; }

.tax-faq { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--tax-line); background: var(--tax-soft); }
.tax-faq-inner { display: grid; grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr); gap: clamp(2rem, 8vw, 7rem); }
.tax-faq-heading-wrap { position: sticky; top: 110px; align-self: start; }
.tax-faq-list { border-top: 1px solid #cfd9df; }
.tax-faq details { border-bottom: 1px solid #cfd9df; }
.tax-faq summary { position: relative; padding: 1.2rem 2.2rem 1.2rem 0; font-family: var(--font-heading); font-size: 1.08rem; font-weight: 800; line-height: 1.3; cursor: pointer; list-style: none; }
.tax-faq summary::-webkit-details-marker { display: none; }
.tax-faq summary::after { position: absolute; top: 50%; right: 0.35rem; content: "+"; color: var(--tax-blue-dark); font-size: 1.35rem; font-weight: 500; transform: translateY(-50%); }
.tax-faq details[open] summary::after { content: "–"; }
.tax-faq details p { padding: 0 2.4rem 1.25rem 0; color: #5b6576; font-size: 0.9rem; line-height: 1.75; }

.tax-final-cta { padding: clamp(4rem, 9vw, 7rem) 0; color: #fff; background: linear-gradient(135deg, #101938, #1f3e76); text-align: center; }
.tax-final-inner { max-width: 830px; }
.tax-final-cta .tax-kicker { color: #72d3f6; }
.tax-final-cta h2 { font-size: clamp(2rem, 5vw, 3.65rem); }
.tax-final-cta p:not(.tax-kicker) { max-width: 650px; margin: 0 auto 1.7rem; color: rgba(255, 255, 255, 0.83); line-height: 1.7; }
.tax-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.tax-btn-secondary { justify-content: center; border: 1.5px solid rgba(255, 255, 255, 0.6); color: #fff; background: transparent; }

.tax-disclaimer { padding: 1.3rem 0; border-bottom: 1px solid var(--tax-line); background: #fff; }
.tax-disclaimer p { max-width: 980px; margin: 0 auto; color: #717a89; font-size: 0.72rem; line-height: 1.65; text-align: center; }

.campaign-footer { padding: 2.7rem 0 1.5rem; color: rgba(255, 255, 255, 0.78); background: #111831; }
.campaign-footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.campaign-footer-logo { width: auto; height: 46px; margin-bottom: 0.8rem; filter: brightness(0) invert(1); opacity: 0.95; }
.campaign-footer p { font-size: 0.82rem; line-height: 1.6; }
.campaign-footer a { color: #fff; font-weight: 700; }
.campaign-footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 0.55rem 1.4rem; font-size: 0.8rem; }
.campaign-legal { display: flex; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.campaign-legal p:first-child { max-width: 820px; font-size: 0.68rem; }
.campaign-legal p:last-child { white-space: nowrap; font-size: 0.68rem; }

.tax-mobile-cta { display: none; }

@media (max-width: 980px) {
  .tax-hero-grid { grid-template-columns: 1fr; }
  .tax-hero-copy { max-width: 760px; padding-top: 0; }
  .tax-form-card { max-width: 680px; width: 100%; margin: 0 auto; }
  .tax-options-grid { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
  .tax-option-card { min-height: 0; }
  .tax-card-number { margin-bottom: 1.2rem; }
  .tax-support-grid { grid-template-columns: 1fr; }
  .tax-process-list { grid-template-columns: 1fr; gap: 1.3rem; max-width: 680px; }
  .tax-process-list li { padding: 0 0 1.3rem; border-right: 0; border-bottom: 1px solid var(--tax-line); }
  .tax-process-list li:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  body.page-tax-debt { padding-bottom: 64px; }
  .campaign-header-inner { min-height: 68px; }
  .campaign-logo { height: 43px; }
  .campaign-header-call > span:first-child { width: 34px; height: 34px; }
  .campaign-header-call small { display: none; }
  .campaign-header-call > span:last-child { font-size: 0.83rem; }
  .tax-hero { padding-top: 2.5rem; }
  .tax-hero h1 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .tax-hero-actions { align-items: stretch; }
  .tax-hero-actions .btn { width: 100%; white-space: normal; }
  .tax-text-link { width: 100%; text-align: center; }
  .tax-reassurance-grid { grid-template-columns: 1fr; text-align: center; }
  .tax-reassurance img { width: 150px; height: 150px; margin: 0 auto; }
  .tax-faq-inner { grid-template-columns: 1fr; gap: 1rem; }
  .tax-faq-heading-wrap { position: static; }
  .campaign-footer-grid { grid-template-columns: 1fr; }
  .campaign-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign-legal { flex-direction: column; gap: 0.65rem; }
  .tax-mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    color: #fff;
    background: var(--tax-green);
    box-shadow: 0 -8px 24px rgba(17, 30, 61, 0.18);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }
  .tax-mobile-cta:hover { color: #fff; text-decoration: none; }
}

@media (max-width: 520px) {
  .tax-form-intro,
  .tax-form-progress,
  .tax-form-step { padding-right: 1rem; padding-left: 1rem; }
  .tax-choice-grid--amount,
  .tax-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tax-choice-grid--trading,
  .tax-choice-grid--contact,
  .tax-field-row { grid-template-columns: 1fr; }
  .tax-step-actions { align-items: stretch; }
  .tax-step-actions .btn { flex: 1; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .tax-form-progress-track span { transition: none; }
}
