/*
  Capital Financial Consultants — Tax Intake Landing Page
  Scoped styles: safe to place in WordPress Additional CSS or the child theme stylesheet.
*/

.cfc-tax-intake {
  --cfc-green: #8DB849;
  --cfc-ink: #171717;
  --cfc-muted: #5d625c;
  --cfc-soft: #F8F9FA;
  --cfc-border: #d9dfd4;
  --cfc-white: #ffffff;
  --cfc-shadow: 0 12px 32px rgba(24, 31, 20, 0.08);
  --cfc-radius: 18px;
  color: var(--cfc-ink);
  background: var(--cfc-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
  overflow: clip;
}

.cfc-tax-intake *,
.cfc-tax-intake *::before,
.cfc-tax-intake *::after { box-sizing: border-box; }

.cfc-tax-intake h1,
.cfc-tax-intake h2,
.cfc-tax-intake h3,
.cfc-tax-intake p,
.cfc-tax-intake ul,
.cfc-tax-intake ol,
.cfc-tax-intake figure { margin-top: 0; }

.cfc-tax-intake h1,
.cfc-tax-intake h2,
.cfc-tax-intake h3 {
  color: var(--cfc-ink);
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.cfc-tax-intake a { color: inherit; }

.cfc-ti-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.cfc-ti-skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 12px 16px;
  color: var(--cfc-ink) !important;
  background: var(--cfc-green);
  font-weight: 800;
  text-decoration: none;
}

.cfc-ti-skip-link:focus { transform: translateY(0); }

.cfc-ti-header {
  width: min(1200px, calc(100% - 48px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  border-bottom: 1px solid var(--cfc-border);
}

.cfc-ti-brand {
  display: block;
  flex: 0 1 220px;
  max-width: 220px;
  text-decoration: none !important;
}

.cfc-ti-brand__logo { display: block; width: 100%; height: auto; }

.cfc-ti-header__link {
  color: var(--cfc-ink) !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}

.cfc-ti-header__link:hover,
.cfc-ti-header__link:focus { color: #4f7220 !important; }

.cfc-ti-hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 72px; }

.cfc-ti-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(141, 184, 73, 0.13), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
}

.cfc-ti-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.62fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
}

.cfc-ti-eyebrow {
  margin-bottom: 12px;
  color: #557726;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cfc-ti-hero h1 { max-width: 650px; margin-bottom: 20px; font-size: clamp(42px, 5.7vw, 75px); }
.cfc-ti-lede { max-width: 620px; margin-bottom: 28px; color: #3e433e; font-size: clamp(17px, 1.7vw, 20px); }

.cfc-ti-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 27px; }

.cfc-ti-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--cfc-ink);
  border-radius: 999px;
  color: var(--cfc-ink) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.cfc-ti-button:hover,
.cfc-ti-button:focus { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(23, 23, 23, 0.12); }
.cfc-ti-button--primary { background: var(--cfc-green); }
.cfc-ti-button--primary:hover,
.cfc-ti-button--primary:focus { background: #a2c967; }
.cfc-ti-button--secondary { background: var(--cfc-white); }
.cfc-ti-button--secondary:hover,
.cfc-ti-button--secondary:focus { color: var(--cfc-white) !important; background: var(--cfc-ink); }

.cfc-ti-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  padding: 0;
  margin-bottom: 0;
  color: #4f544f;
  font-size: 13px;
  list-style: none;
}

.cfc-ti-trust-list li { display: inline-flex; align-items: center; gap: 6px; }
.cfc-ti-trust-list span { color: #5f8e25; font-weight: 900; }

.cfc-ti-hero__visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.cfc-ti-watermark { position: absolute; right: -4px; bottom: 10px; z-index: -1; color: rgba(141, 184, 73, 0.16); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(150px, 20vw, 260px); font-weight: 700; line-height: 0.8; letter-spacing: -0.16em; }

.cfc-ti-portrait-card {
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  margin-bottom: 0;
  padding: 10px;
  background: var(--cfc-white);
  box-shadow: var(--cfc-shadow);
  transform: rotate(2deg);
}

.cfc-ti-portrait-card img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }

.cfc-ti-section { padding: clamp(62px, 9vw, 108px) 0; }
.cfc-ti-section--soft { background: var(--cfc-soft); }
.cfc-ti-section--compact { padding-top: 24px; padding-bottom: 24px; }

.cfc-ti-section-heading { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.cfc-ti-section-heading--left { margin-left: 0; text-align: left; }
.cfc-ti-section-heading h2 { margin-bottom: 14px; font-size: clamp(34px, 4.2vw, 54px); }
.cfc-ti-section-heading > p:last-child { margin-bottom: 0; color: var(--cfc-muted); font-size: 17px; }

.cfc-ti-card-grid { display: grid; gap: 16px; }
.cfc-ti-card-grid--three { grid-template-columns: repeat(3, 1fr); }

.cfc-ti-card {
  min-height: 225px;
  padding: 28px;
  border: 1px solid var(--cfc-border);
  border-radius: var(--cfc-radius);
  background: var(--cfc-white);
  box-shadow: 0 9px 24px rgba(31, 38, 28, 0.045);
}

.cfc-ti-card__number { display: inline-grid; width: 31px; height: 31px; place-items: center; margin-bottom: 35px; border-radius: 50%; color: var(--cfc-ink); background: var(--cfc-green); font-size: 11px; font-weight: 900; }
.cfc-ti-card h3 { margin-bottom: 10px; font-size: 25px; }
.cfc-ti-card p { margin-bottom: 0; color: var(--cfc-muted); font-size: 15px; }

.cfc-ti-section-note { max-width: 820px; margin: 28px auto 0; color: var(--cfc-muted); font-size: 14px; text-align: center; }

.cfc-ti-prep-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cfc-ti-prep-list li { min-height: 109px; display: flex; align-items: flex-start; gap: 13px; padding: 20px; border: 1px solid #e1e6df; border-radius: 14px; background: var(--cfc-white); color: #424742; font-size: 15px; font-weight: 700; }
.cfc-ti-icon { flex: 0 0 auto; min-width: 30px; height: 30px; display: grid; place-items: center; padding: 3px; border-radius: 50%; background: var(--cfc-green); color: var(--cfc-ink); font-size: 9px; font-weight: 900; }
.cfc-ti-prep-title { display: block; margin-bottom: 7px; color: var(--cfc-ink); font-size: 11px; font-weight: 900; letter-spacing: .09em; line-height: 1.25; text-transform: uppercase; }

.cfc-ti-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; }
.cfc-ti-steps li { position: relative; padding: 0 20px 0 0; }
.cfc-ti-steps li:not(:last-child)::after { content: ''; position: absolute; top: 18px; right: 2px; width: calc(100% - 62px); height: 1px; background: var(--cfc-border); transform: translateX(50%); }
.cfc-ti-steps__number { width: 37px; height: 37px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--cfc-ink); color: var(--cfc-white); font-size: 13px; font-weight: 900; }
.cfc-ti-steps h3 { margin-bottom: 9px; font-size: 24px; }
.cfc-ti-steps p { margin-bottom: 0; color: var(--cfc-muted); font-size: 14px; }

.cfc-ti-privacy-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: clamp(28px, 5vw, 47px); border-left: 7px solid var(--cfc-green); border-radius: 0 var(--cfc-radius) var(--cfc-radius) 0; background: var(--cfc-soft); }
.cfc-ti-privacy-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--cfc-green); color: var(--cfc-ink); font-size: 27px; font-weight: 900; }
.cfc-ti-privacy-card h2 { margin-bottom: 8px; font-size: clamp(29px, 3vw, 41px); }
.cfc-ti-privacy-card p:last-child { max-width: 800px; margin-bottom: 0; color: var(--cfc-muted); }

.cfc-ti-form-section { padding: clamp(64px, 9vw, 105px) 0; background: #fdfefd; }
.cfc-ti-form-section__inner { max-width: 980px; }
.cfc-ti-form-section .cfc-ti-section-heading { margin-bottom: 30px; }
.cfc-ti-jotform-wrap { min-height: 780px; overflow: hidden; border: 1px solid var(--cfc-border); border-radius: var(--cfc-radius); background: var(--cfc-white); box-shadow: var(--cfc-shadow); }
.cfc-ti-jotform-wrap iframe { width: 100%; min-height: 1750px; display: block; border: 0; }
.cfc-ti-form-help { margin: 22px 0 0; color: var(--cfc-muted); text-align: center; }
.cfc-ti-form-help a { color: var(--cfc-ink) !important; font-weight: 900; text-decoration-color: var(--cfc-green); text-decoration-thickness: 3px; text-underline-offset: 3px; }

.cfc-ti-footer { padding: 37px 0; color: rgba(255, 255, 255, 0.88); background: var(--cfc-ink); }
.cfc-ti-footer__inner { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; }
.cfc-ti-footer p { margin-bottom: 0; }
.cfc-ti-footer__brand { margin-bottom: 5px !important; color: var(--cfc-white); font-family: Georgia, 'Times New Roman', serif; font-size: 23px; font-weight: 700; }
.cfc-ti-footer address { display: grid; gap: 5px; color: var(--cfc-white); font-style: normal; text-align: right; }
.cfc-ti-footer a { color: var(--cfc-white) !important; text-decoration: none !important; }
.cfc-ti-footer a:hover,
.cfc-ti-footer a:focus { color: var(--cfc-green) !important; }

@media (max-width: 800px) {
  .cfc-ti-shell,
  .cfc-ti-header { width: min(100% - 36px, 620px); }
  .cfc-ti-header { min-height: 68px; }
  .cfc-ti-brand { flex-basis: 180px; max-width: 180px; }
  .cfc-ti-header__link { max-width: 116px; text-align: right; }
  .cfc-ti-hero { padding-top: 46px; }
  .cfc-ti-hero__grid { grid-template-columns: 1fr; gap: 33px; }
  .cfc-ti-hero__content { text-align: center; }
  .cfc-ti-hero h1 { margin-left: auto; margin-right: auto; }
  .cfc-ti-lede { margin-left: auto; margin-right: auto; }
  .cfc-ti-actions { justify-content: center; }
  .cfc-ti-trust-list { justify-content: center; }
  .cfc-ti-hero__visual { min-height: 340px; }
  .cfc-ti-portrait-card { width: min(244px, 78vw); }
  .cfc-ti-watermark { right: 12%; font-size: 180px; }
  .cfc-ti-card-grid--three,
  .cfc-ti-prep-list,
  .cfc-ti-steps { grid-template-columns: 1fr; }
  .cfc-ti-card { min-height: 0; }
  .cfc-ti-card__number { margin-bottom: 18px; }
  .cfc-ti-steps { gap: 23px; }
  .cfc-ti-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 0; }
  .cfc-ti-steps li:not(:last-child)::after { top: 48px; left: 18px; right: auto; width: 1px; height: calc(100% - 21px); transform: none; }
  .cfc-ti-steps__number { margin-bottom: 0; }
  .cfc-ti-privacy-card { grid-template-columns: 1fr; gap: 14px; }
  .cfc-ti-privacy-card__icon { width: 39px; height: 39px; }
  .cfc-ti-jotform-wrap { border-radius: 12px; }
  .cfc-ti-jotform-wrap iframe { min-height: 1980px; }
  .cfc-ti-footer__inner { align-items: flex-start; flex-direction: column; }
  .cfc-ti-footer address { text-align: left; }
}

@media (max-width: 480px) {
  .cfc-ti-header { gap: 11px; }
  .cfc-ti-brand { flex-basis: 155px; max-width: 155px; }
  .cfc-ti-header__link { font-size: 11px; }
  .cfc-ti-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .cfc-ti-button { width: 100%; }
  .cfc-ti-trust-list { display: grid; justify-content: start; }
  .cfc-ti-section-heading { text-align: left; }
  .cfc-ti-section-heading:not(.cfc-ti-section-heading--left) { margin-left: 0; margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cfc-tax-intake *,
  .cfc-tax-intake *::before,
  .cfc-tax-intake *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
/* WordPress / Flatsome shell cleanup for the dedicated tax-intake landing page. */
body.cfc-tax-intake-page .header-wrapper,
body.cfc-tax-intake-page #header,
body.cfc-tax-intake-page .footer-wrapper,
body.cfc-tax-intake-page #footer { display: none !important; }

body.cfc-tax-intake-page .page-wrapper,
body.cfc-tax-intake-page .main,
body.cfc-tax-intake-page #main,
body.cfc-tax-intake-page .page-wrapper > .row,
body.cfc-tax-intake-page .page-wrapper > .row > .col { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
