/* Match CTH's main marketing sections: Nobel Uno, normal tracking, regular
   display/body weights and bold buttons. Shared fonts.css owns the font files. */
.tax-page { line-height: 1.5; }
.tax-page ::selection { background: #c5a8ff; color: #232323; }
.tax-page :is(a, button, input, select, summary):focus-visible { outline: 3px solid #8c52ff; outline-offset: 5px; }
.tax-page :is(section[id], main[id], div[id]) { scroll-margin-top: 28px; }
.tax-container { width: min(100% - 48px, 1280px); margin-inline: auto; }
.tax-section { padding-block: 72px; }
.tax-page h2 { font-family: var(--font-family-nobeluno); font-size: clamp(32px, 4vw, 48px); line-height: 1.2; letter-spacing: normal; font-weight: 400; text-wrap: balance; }
.tax-page h3 { font-family: var(--font-family-nobeluno); font-size: 26px; line-height: 1.2; font-weight: 400; }
.tax-hero-intro { font-size: 20px; line-height: 1.5; font-weight: 400; }
.tax-body { font-size: 18px; line-height: 1.5; color: #515151; max-width: 68ch; }
.tax-note { font-size: 14px; line-height: 1.6; color: #5c5c5c; max-width: 75ch; }
.tax-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 16px 26px; border-radius: 8px; background: #6b33e0; color: white; font-family: var(--font-family-nobeluno); font-size: 16px; line-height: 1.5; font-weight: 700; transition: background-color .2s; text-decoration: none; min-height: 54px; }
.tax-button:hover { background: #5425b8; }
.tax-button:disabled { opacity: .65; cursor: wait; }
.tax-button-compact { font-size: 14px; padding: 12px 17px; min-height: 44px; gap: 12px; }
.tax-input { display: block; width: 100%; height: 56px; padding: 12px 16px; border: 1px solid #aaa5b0; border-radius: 5px; background: white; font-size: 16px; caret-color: #6b33e0; }
.tax-input::placeholder { color: #737078; }
.tax-input:focus { border-color: #6b33e0; }
.tax-select { text-overflow: ellipsis; padding-right: 28px; }
.tax-link { display: inline-block; padding-block: 10px; color: #5425b8; text-decoration: underline; text-underline-offset: 6px; font-size: 17px; }
.tax-link:hover { color: #232323; }
/* Four stages share a connected path; the sole example stays inside stage 03. */
.tax-process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 80px; padding: 0; margin: 0; list-style: none; }
.tax-process-number { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #8b809e; border-radius: 50%; color: #d9c6ff; font-size: 16px; flex-shrink: 0; }
.tax-process-opening { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 24px; padding-block: 24px 0; border-top: 1px solid #72667e; }
.tax-process-opening:nth-child(2)::before { content: ""; position: absolute; top: -5px; right: 0; width: 9px; height: 9px; border-top: 1px solid #c5a8ff; border-right: 1px solid #c5a8ff; transform: rotate(45deg); }
.tax-page .tax-process-metric { font-size: 24px; line-height: 1.2; }
.tax-process-metric strong { display: block; margin-block: 12px 6px; font-size: clamp(64px, 7vw, 96px); font-weight: 400; line-height: 1; letter-spacing: -.025em; color: #d9c6ff; }
.tax-process-opening p, .tax-process-income p { margin-top: 20px; font-size: 18px; line-height: 1.5; color: #dedede; max-width: 47ch; }
.tax-process-example { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; background: #f2f0fa; color: #232323; border-radius: 10px; padding: 40px; }
.tax-process-example .tax-process-number { border-color: #b7a4d8; color: #6b33e0; margin-bottom: 28px; }
.tax-page .tax-example-intro h3 { font-size: 40px; line-height: 1.15; max-width: 10ch; margin-bottom: 24px; }
.tax-example-intro p { font-size: 18px; line-height: 1.5; color: #515151; max-width: 34ch; }
.tax-example-arrow { color: #6b33e0; margin-top: 40px; }
.tax-example-calculation { min-width: 0; }
.tax-example-calculation td { font-size: 24px; }
.tax-example-calculation tr:nth-child(3) td { font-size: 40px; }
.tax-example-calculation caption { font-weight: 600; }
.tax-process-income { grid-column: 1 / -1; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 24px; padding-top: 8px; align-items: start; }
.tax-process-income h3 { max-width: 22ch; }
.tax-process-income p { max-width: 58ch; }
.tax-process-action { padding-left: 32px; }
.tax-process-action p { max-width: 28ch; }
/* Service details are progressively disclosed beside a pair of real photos. */
.tax-support-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.tax-support-heading h2 { max-width: 20ch; }
.tax-support-heading p { max-width: 34ch; font-size: 20px; }
.tax-support-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.tax-support-photos { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.tax-support-photos img { display: block; width: 100%; object-fit: cover; border-radius: 10px; }
.tax-support-home img { height: 360px; }
.tax-support-resort { margin-top: 96px; }
.tax-support-resort img { height: 300px; }
.tax-support-photos figcaption { margin-top: 16px; font-size: 18px; max-width: 18ch; }
.tax-support-photos > p { grid-column: 1 / -1; }
.tax-service { border-top: 1px solid #d4d1d8; }
.tax-service:last-of-type { border-bottom: 1px solid #d4d1d8; }
.tax-service summary { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-block: 24px; cursor: pointer; list-style: none; }
.tax-service summary::-webkit-details-marker { display: none; }
.tax-service summary h3 { font-size: 22px; line-height: 1.3; max-width: 30ch; }
.tax-service summary svg { flex-shrink: 0; }
.tax-service[open] summary { color: #6b33e0; padding-bottom: 16px; }
.tax-service[open] .tax-service-plus { display: none; }
.tax-service > p { padding: 0 44px 24px 0; font-size: 17px; max-width: 52ch; }
@media (max-width: 1023px) {
  .tax-process { gap: 40px 32px; }
  .tax-process-opening { grid-template-columns: 1fr; gap: 20px; }
  .tax-process-example { gap: 32px; padding: 32px; }
  .tax-process-income { grid-template-columns: 44px minmax(0, 1fr); }
  .tax-process-action { grid-column: 2; padding: 0; }
  .tax-support-heading { gap: 32px; }
  .tax-support-layout { gap: 40px; }
  .tax-support-photos { grid-template-columns: 1fr; gap: 20px; }
  .tax-support-home img { height: 280px; }
  .tax-support-resort { margin-top: 0; }
  .tax-support-resort img { height: 180px; }
  .tax-support-photos figcaption { max-width: none; }
}
@media (max-width: 639px) {
  .tax-process { grid-template-columns: 1fr; gap: 32px; }
  .tax-process-opening { grid-template-columns: 44px minmax(0, 1fr); }
  .tax-process-opening p { font-size: 17px; }
  .tax-process-example { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
  .tax-example-intro h3 { max-width: none !important; font-size: 32px !important; }
  .tax-example-intro p { max-width: none; }
  .tax-example-arrow { display: none; }
  .tax-example-calculation td { font-size: 20px; }
  .tax-example-calculation tr:nth-child(3) td { font-size: 32px; }
  .tax-process-income { gap: 20px; }
  .tax-support-heading, .tax-support-layout { grid-template-columns: 1fr; gap: 28px; }
  .tax-support-heading { margin-bottom: 32px; }
  .tax-support-photos { grid-template-columns: 1.15fr .85fr; gap: 16px; }
  .tax-support-home img { height: 240px; }
  .tax-support-resort { margin-top: 48px; }
  .tax-support-resort img { height: 210px; }
  .tax-support-photos figcaption { font-size: 16px; }
  .tax-service summary { padding-block: 22px; gap: 16px; }
  .tax-service summary h3 { font-size: 20px; }
  .tax-service > p { padding-right: 20px; }
}
.tax-faq { border-top: 1px solid #dededb; }
.tax-faq:last-child { border-bottom: 1px solid #dededb; }
.tax-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; cursor: pointer; list-style: none; }
.tax-faq summary::-webkit-details-marker { display: none; }
.tax-faq summary h4 { font-family: var(--font-family-nobeluno); font-size: 20px; font-weight: 400; }
.tax-faq summary svg { flex-shrink: 0; }
.tax-faq[open] .tax-faq-plus { display: none; }
.tax-faq[open] summary { color: #6b33e0; }
.tax-page footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tax-skip { position: absolute; top: -100px; left: 16px; z-index: 50; background: white; color: #232323; padding: 12px; }
.tax-skip:focus { top: 12px; }
@media (min-width: 1024px) { .tax-hero-intro { font-size: 26px; } .tax-container { width: min(100% - 96px, 1280px); } .tax-section { padding-block: 112px; } }
@media (max-width: 390px) { .tax-container { width: calc(100% - 36px); } .tax-button-compact { font-size: 13px; padding-inline: 12px; } .tax-button-compact svg { display: none; } }
@media (prefers-reduced-motion: reduce) { .tax-page * { transition: none !important; } }
