/* Saint Taxation tax consultation page */

.stx-page {
  --stx-yellow: #fcc92f;
  --stx-yellow-soft: #fcc92f1a;
  --stx-yellow-glow: #fcc92f45;
  --stx-ink: #0e0e0e;
  --stx-ink-soft: #1a1a1f;
  --stx-muted: #5f6478;
  --stx-line: rgba(14, 14, 14, 0.08);
  --stx-surface: #f7f8fb;
  --stx-surface-2: #eef1f7;
  --stx-white: #ffffff;
  --stx-radius: 16px;
  --stx-radius-lg: 24px;
  --stx-max: 1200px;
  --stx-font: Mulish, Muli, sans-serif;
  --stx-display: Mulish, sans-serif;
  --stx-label: corporate-a, sans-serif;
  background: var(--stx-white);
  color: var(--stx-ink);
  font-family: var(--stx-font);
  scroll-behavior: smooth;
}

.stx-page img {
  margin-top: 0;
}

.stx-page h1,
.stx-page h2,
.stx-page h3,
.stx-page h4,
.stx-page h5,
.stx-page h6 {
  text-align: inherit;
  text-transform: none;
  letter-spacing: inherit;
  margin-top: 0;
  text-decoration: none;
}

.stx-page p {
  text-align: inherit;
}

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

/* Page-scoped nav */
.stx-page .navigation-wrap:not(.ci) .tb-link,
.stx-page .navigation-wrap:not(.ci) .top-link,
.stx-page .navigation-wrap:not(.ci).is-on-light .tb-link,
.stx-page .navigation-wrap:not(.ci).is-on-light .top-link,
.stx-page .navigation-wrap:not(.ci).has-mega-open .tb-link,
.stx-page .navigation-wrap:not(.ci).has-mega-open .top-link {
  color: var(--stx-yellow);
}

.stx-page .navigation-wrap:not(.ci) .tb-link:hover,
.stx-page .navigation-wrap:not(.ci) .top-link:hover {
  color: var(--stx-yellow);
  opacity: 0.82;
}

.stx-page .navigation-wrap:not(.ci) .button-menu {
  background-color: var(--stx-yellow);
}

.stx-page .navigation-wrap:not(.ci) .nav-line {
  background-color: var(--stx-yellow);
}

.stx-page .navigation-wrap:not(.ci) .sd-nav-brand-logo .saint-logo {
  width: 52px;
  height: auto;
}

/* Hero */
.stx-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    url('../images/Saint-Tax---Hex-yellow.svg') -8% 72% / 380px no-repeat,
    url('../images/Saint-Tax---Hex.svg') 108% 88% / 460px no-repeat,
    url('../images/Saint-Tax---Lines-01.svg') 50% 50% / cover no-repeat,
    var(--stx-ink);
  isolation: isolate;
}

.stx-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 75% 35%, rgba(252, 201, 47, 0.08), transparent 65%),
    linear-gradient(105deg, rgba(14, 14, 14, 0.97) 0%, rgba(14, 14, 14, 0.88) 42%, rgba(14, 14, 14, 0.62) 68%, rgba(14, 14, 14, 0.35) 100%),
    linear-gradient(to top, rgba(14, 14, 14, 0.8) 0%, transparent 30%);
}

.stx-hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: calc(var(--stx-max) + 5rem);
  margin: 0 auto;
  padding: clamp(7.5rem, 17vh, 10.5rem) clamp(1.75rem, 5vw, 3.5rem) clamp(3rem, 6vh, 4.5rem);
}

.stx-hero__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.stx-hero__brand img {
  width: 34px;
  height: auto;
}

.stx-hero__brand span {
  color: var(--stx-yellow);
  font-family: var(--stx-label);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}

.stx-hero__content {
  max-width: 44rem;
}

.stx-hero__title {
  margin: 0 0 clamp(1.25rem, 3vh, 1.75rem);
  color: var(--stx-white);
  font-family: var(--stx-display);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
  text-align: left;
  text-transform: none;
}

.stx-hero__title em {
  font-style: italic;
  color: var(--stx-yellow);
}

.stx-hero__lead {
  margin: 0 0 clamp(2rem, 4vh, 2.75rem);
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.75;
}

.stx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.stx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.65rem;
  border-radius: 999px;
  font-family: var(--stx-font);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.stx-btn:focus-visible {
  outline: 2px solid var(--stx-yellow);
  outline-offset: 3px;
}

.stx-btn--yellow {
  background: var(--stx-yellow);
  color: var(--stx-ink);
  border: 1px solid var(--stx-yellow);
  box-shadow: 0 12px 32px var(--stx-yellow-glow);
}

.stx-btn--yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(252, 201, 47, 0.45);
  color: var(--stx-ink);
}

.stx-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--stx-white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.stx-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--stx-white);
}

.stx-btn--dark {
  background: var(--stx-ink);
  color: var(--stx-white);
  border: 1px solid var(--stx-ink);
}

.stx-btn--dark:hover {
  background: var(--stx-ink-soft);
  color: var(--stx-white);
}

.stx-hero__bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(18px);
}

.stx-hero__stat {
  padding: clamp(1.1rem, 2.5vh, 1.5rem) clamp(1rem, 2.5vw, 1.75rem);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stx-hero__stat:last-child {
  border-right: 0;
}

.stx-hero__stat-value {
  margin: 0 0 0.2rem;
  color: var(--stx-white);
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stx-hero__stat-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
}

/* Shared */
.stx-eyebrow {
  margin: 0 0 1rem;
  color: var(--stx-yellow);
  font-family: var(--stx-label);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stx-section {
  padding: clamp(4.5rem, 9vw, 6.5rem) 1.5rem;
}

.stx-section--alt {
  background: var(--stx-surface);
  border-top: 1px solid var(--stx-line);
  border-bottom: 1px solid var(--stx-line);
}

.stx-section--dark {
  background: var(--stx-ink);
  color: var(--stx-white);
}

.stx-section__inner {
  max-width: var(--stx-max);
  margin: 0 auto;
}

.stx-section__head {
  max-width: 40rem;
  margin-bottom: 3.5rem;
}

.stx-section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.stx-section__title {
  margin: 0 0 1rem;
  font-family: var(--stx-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  text-transform: none;
  text-align: inherit;
}

.stx-section__lead {
  margin: 0;
  color: var(--stx-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 36rem;
}

.stx-section__lead--center {
  margin-left: auto;
  margin-right: auto;
}

.stx-section--dark .stx-section__lead {
  color: rgba(255, 255, 255, 0.62);
}

/* Manifesto */
.stx-manifesto {
  position: relative;
  padding: clamp(5rem, 10vw, 7rem) 1.5rem;
  background:
    linear-gradient(var(--stx-surface) 1px, transparent 1px),
    linear-gradient(90deg, var(--stx-surface) 1px, transparent 1px),
    var(--stx-white);
  background-size: 48px 48px, 48px 48px, auto;
}

.stx-manifesto__inner {
  max-width: var(--stx-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.stx-manifesto__aside {
  position: sticky;
  top: 5rem;
}

.stx-manifesto__line {
  width: 2px;
  height: 120px;
  background: linear-gradient(to bottom, var(--stx-yellow), transparent);
  margin-top: 1.5rem;
}

.stx-manifesto__title {
  margin: 0 0 1.5rem;
  font-family: var(--stx-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
  text-transform: none;
  text-align: left;
}

.stx-manifesto__title span {
  color: var(--stx-yellow);
}

.stx-prose {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  color: var(--stx-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* Service cards */
.stx-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stx-service {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--stx-radius-lg);
  border: 1px solid var(--stx-line);
  background: var(--stx-white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.stx-service--featured {
  border-color: rgba(252, 201, 47, 0.35);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--stx-yellow-soft), transparent 55%),
    var(--stx-white);
}

.stx-service:hover {
  border-color: rgba(252, 201, 47, 0.4);
  box-shadow: 0 20px 48px rgba(14, 14, 14, 0.07);
  transform: translateY(-3px);
}

.stx-service__tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--stx-yellow-soft);
  color: #9a7a00;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stx-service__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: none;
  text-align: left;
}

.stx-service__text {
  margin: 0 0 1.75rem;
  color: var(--stx-muted);
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
}

.stx-service .stx-btn {
  align-self: flex-start;
}

/* Consultation areas */
.stx-areas {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.stx-areas__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stx-areas__tab {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--stx-line);
  border-radius: var(--stx-radius);
  background: var(--stx-white);
  color: var(--stx-ink);
  font-family: var(--stx-font);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.stx-areas__tab img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.stx-areas__tab:hover {
  border-color: rgba(252, 201, 47, 0.35);
}

.stx-areas__tab.is-active {
  border-color: var(--stx-yellow);
  background: var(--stx-yellow-soft);
  box-shadow: 0 8px 24px rgba(252, 201, 47, 0.12);
}

.stx-areas__panel {
  display: none;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--stx-radius-lg);
  border: 1px solid var(--stx-line);
  background: var(--stx-white);
}

.stx-areas__panel.is-active {
  display: block;
}

.stx-areas__panel-title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: none;
  text-align: left;
}

.stx-areas__panel-lead {
  margin: 0 0 1.5rem;
  color: var(--stx-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.stx-areas__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
}

.stx-areas__list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stx-ink-soft);
  line-height: 1.45;
}

.stx-areas__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stx-yellow);
}

/* Lifecycle */
.stx-lifecycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.stx-stage {
  padding: 1.5rem 1.25rem;
  border-radius: var(--stx-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.stx-stage:hover {
  border-color: rgba(252, 201, 47, 0.35);
  background: rgba(252, 201, 47, 0.06);
}

.stx-stage__num {
  margin: 0 0 0.75rem;
  color: var(--stx-yellow);
  font-family: var(--stx-label);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}

.stx-stage__title {
  margin: 0 0 0.65rem;
  color: var(--stx-white);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  text-align: left;
}

.stx-stage__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* Process */
.stx-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stx-step {
  padding: 2rem 1.65rem;
  border-radius: var(--stx-radius);
  border: 1px solid var(--stx-line);
  background: var(--stx-white);
}

.stx-step__num {
  margin: 0 0 1.25rem;
  color: var(--stx-yellow);
  font-family: var(--stx-label);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.stx-step__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: none;
  text-align: left;
}

.stx-step__text {
  margin: 0;
  color: var(--stx-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Values */
.stx-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stx-value {
  display: flex;
  flex-direction: column;
  padding: 1.65rem;
  border-radius: var(--stx-radius);
  border: 1px solid var(--stx-line);
  background: var(--stx-white);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.stx-value:hover {
  border-color: rgba(252, 201, 47, 0.3);
  transform: translateY(-2px);
}

.stx-value__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--stx-ink);
  box-shadow: inset 0 0 0 1px rgba(252, 201, 47, 0.18);
}

.stx-value__icon img {
  width: 2rem;
  height: 2rem;
  margin-top: 0;
  object-fit: contain;
}

.stx-value__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  text-align: left;
}

.stx-value__text {
  margin: 0;
  color: var(--stx-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Testimonial */
.stx-proof {
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  background:
    url('../images/Saint-Tax---Hex-yellow.svg') 105% 50% / 320px no-repeat,
    var(--stx-ink);
}

.stx-proof__inner {
  max-width: var(--stx-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 48rem;
}

.stx-proof__quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.stx-proof__mark {
  margin: 0 0 1.5rem;
  color: var(--stx-yellow);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.6;
  opacity: 0.5;
}

.stx-proof__highlight {
  margin: 0 0 1.25rem;
  color: var(--stx-white);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.stx-proof__highlight span {
  color: var(--stx-yellow);
}

.stx-proof__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.75;
}

/* CTA */
.stx-cta {
  padding: clamp(4rem, 8vw, 5.5rem) 1.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, var(--stx-yellow-soft), transparent 60%),
    var(--stx-surface);
  border-top: 1px solid var(--stx-line);
}

.stx-cta__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.stx-cta__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  text-transform: none;
  text-align: center;
}

.stx-cta__lead {
  margin: 0 0 2rem;
  color: var(--stx-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.stx-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stx-cta__note {
  margin: 0;
  color: var(--stx-muted);
  font-size: 0.8125rem;
}

/* Section nav below hero */
.stx-subnav {
  background: rgba(252, 201, 47, 0.12);
  border-bottom: 1px solid rgba(252, 201, 47, 0.2);
  padding: 0.85rem 1.5rem;
}

.stx-subnav__inner {
  max-width: var(--stx-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.stx-subnav__logo {
  height: 26px;
  width: auto;
  flex-shrink: 0;
}

.stx-subnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.stx-subnav__links a {
  color: var(--stx-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.stx-subnav__links a:hover {
  opacity: 1;
  color: #9a7a00;
}

.stx-subnav .stx-btn {
  min-height: 40px;
  padding: 0.55rem 1.25rem;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .stx-hero__bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stx-hero__stat:nth-child(2) {
    border-right: 0;
  }

  .stx-hero__stat:nth-child(1),
  .stx-hero__stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stx-manifesto__inner {
    grid-template-columns: 1fr;
  }

  .stx-manifesto__aside {
    position: static;
  }

  .stx-manifesto__line {
    display: none;
  }

  .stx-services {
    grid-template-columns: 1fr;
  }

  .stx-areas {
    grid-template-columns: 1fr;
  }

  .stx-areas__nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stx-areas__tab {
    flex: 1 1 calc(50% - 0.25rem);
  }

  .stx-lifecycle {
    grid-template-columns: repeat(2, 1fr);
  }

  .stx-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .stx-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .stx-areas__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .stx-hero__bar {
    grid-template-columns: 1fr;
  }

  .stx-hero__stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stx-hero__stat:last-child {
    border-bottom: 0;
  }

  .stx-lifecycle {
    grid-template-columns: 1fr;
  }

  .stx-process {
    grid-template-columns: 1fr;
  }

  .stx-values {
    grid-template-columns: 1fr;
  }

  .stx-areas__tab {
    flex: 1 1 100%;
  }

  .stx-subnav__inner {
    flex-wrap: wrap;
  }

  .stx-subnav__links {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
  }
}
