/*
Theme Name: RETAX Production SEO
Theme URI: https://retax.kz/
Author: RETAX
Description: WordPress-тема RETAX для комплексного сопровождения возврата НДС в Казахстане: подготовка к проверке, сопровождение, споры с ДГД и суды.
Version: 3.16.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: retax-court-landing
*/

:root {
  --rtx-bg: #ffffff;
  --rtx-ink: #0b2e59;
  --rtx-text: #314f6d;
  --rtx-muted: #5f758b;
  --rtx-line: #d8e9f8;
  --rtx-soft: #f8fcff;
  --rtx-soft-blue: #f1faff;
  --rtx-blue: #126eb8;
  --rtx-blue-2: #00aeef;
  --rtx-gold: #f2c94c;
  --rtx-navy: #08294f;
  --rtx-shadow: 0 24px 70px rgba(11, 46, 89, 0.11);
  --rtx-radius: 26px;
  --rtx-container: 1120px;
  --rtx-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rtx-heading-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.retax-scroll-reset { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--rtx-font);
  color: var(--rtx-text);
  background: var(--rtx-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--rtx-heading-font);
  font-weight: 720;
  text-wrap: balance;
}
strong { font-weight: 700; }
.retax-site, .retax-site * { text-rendering: optimizeLegibility; }
.retax-hero h1, .retax-section-head h2, .retax-band h2, .retax-form-copy h2, .retax-card h3, .retax-result-panel h3 {
  word-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.retax-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 0%, rgba(0, 174, 239, .16), transparent 34rem),
    linear-gradient(180deg, #fff 0%, #f9fcff 100%);
}
.retax-container { width: min(var(--rtx-container), calc(100% - 40px)); margin: 0 auto; }

.retax-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216,233,248,.78);
}
.admin-bar .retax-header { top: 32px; }
.retax-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.retax-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.retax-logo img { display: block; width: 205px; height: auto; max-width: 45vw; }
.retax-menu { display: flex; gap: 24px; font-size: 15px; font-weight: 600; color: var(--rtx-muted); }
.retax-menu a:hover { color: var(--rtx-blue); }

.retax-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--rtx-blue); background: var(--rtx-blue); color: #fff;
  font-weight: 700; font-size: 15px; font-family: inherit; cursor: pointer;
  box-shadow: 0 16px 34px rgba(18,110,184,.22); transition: .2s ease;
}
.retax-btn:hover { transform: translateY(-1px); background: #0d5f9f; box-shadow: 0 18px 40px rgba(18,110,184,.28); }
.retax-btn-secondary { background: #fff; color: var(--rtx-ink); border-color: var(--rtx-line); box-shadow: none; }
.retax-btn-secondary:hover { background: var(--rtx-soft); box-shadow: none; }
.retax-btn-small { min-height: 44px; padding: 0 18px; }

.retax-hero { padding: 86px 0 72px; }
.retax-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.retax-kicker, .retax-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--rtx-blue);
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
.retax-kicker { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rtx-line); background: rgba(255,255,255,.78); margin-bottom: 22px; }
.retax-kicker:before, .retax-eyebrow:before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rtx-gold); box-shadow: 0 0 0 5px rgba(242,201,76,.16); }
.retax-eyebrow { margin-bottom: 14px; }
.retax-eyebrow-gold { color: var(--rtx-gold); }
.retax-hero h1 {
  color: var(--rtx-ink);
  font-size: clamp(36px, 4.35vw, 58px);
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 650;
  margin-bottom: 22px;
  max-width: 930px;
}
.retax-lead { font-size: clamp(18px, 2vw, 22px); max-width: 720px; color: var(--rtx-text); margin-bottom: 30px; }
.retax-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.retax-proof-line { display: flex; flex-wrap: wrap; gap: 10px; color: var(--rtx-ink); font-weight: 600; }
.retax-proof-line span { background: var(--rtx-soft-blue); border: 1px solid var(--rtx-line); border-radius: 999px; padding: 8px 12px; }

.retax-hero-card, .retax-card, .retax-form-wrap, .retax-band {
  background: rgba(255,255,255,.94); border: 1px solid rgba(216,233,248,.92); box-shadow: var(--rtx-shadow); border-radius: var(--rtx-radius);
}
.retax-hero-card { padding: 30px; position: relative; overflow: hidden; }
.retax-hero-card:before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: linear-gradient(90deg, var(--rtx-blue), var(--rtx-blue-2), var(--rtx-gold)); }
.retax-hero-card h2 { color: var(--rtx-ink); font-size: 26px; line-height: 1.28; letter-spacing: 0; font-weight: 650; margin: 10px 0 14px; }
.retax-mini-stat { border-top: 1px solid var(--rtx-line); padding-top: 16px; margin-top: 16px; display: grid; gap: 2px; }
.retax-mini-stat strong { color: var(--rtx-ink); }
.retax-mini-stat span { color: var(--rtx-muted); }

.retax-section { padding: 70px 0; }
.retax-section-tight { padding-top: 34px; }
.retax-soft { background: linear-gradient(180deg, rgba(241,250,255,.62), rgba(255,255,255,.52)); border-top: 1px solid var(--rtx-line); border-bottom: 1px solid var(--rtx-line); }
.retax-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.retax-section-head h2 { color: var(--rtx-ink); font-size: clamp(29px, 3vw, 40px); line-height: 1.27; letter-spacing: 0; font-weight: 650; margin-bottom: 18px; max-width: 960px; }
.retax-section-head p { font-size: 18px; color: var(--rtx-text); max-width: 760px; }
.retax-section-head > .retax-btn { margin-top: 10px; }
.retax-center { text-align: center; max-width: 790px; margin: 0 auto 32px; }
.retax-center p { margin-left: auto; margin-right: auto; }

.retax-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.retax-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.retax-card { padding: 24px; min-height: 210px; box-shadow: 0 14px 48px rgba(11,46,89,.07); }
.retax-card h3 { color: var(--rtx-ink); font-size: 20px; line-height: 1.34; letter-spacing: 0; font-weight: 650; margin-bottom: 10px; }
.retax-card p { color: var(--rtx-muted); margin-bottom: 0; }
.retax-card-number { color: var(--rtx-blue); font-weight: 750; margin-bottom: 18px; }
.retax-card-accent { border-color: rgba(0,174,239,.32); background: linear-gradient(180deg, #fff, var(--rtx-soft)); }
.retax-muted { color: var(--rtx-muted) !important; font-size: 14px !important; }

.retax-band { background: linear-gradient(135deg, var(--rtx-navy), #0d4e87 72%, #0c6faa); color: #fff; padding: 34px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.retax-band h2 { color: #fff; font-size: clamp(29px, 3vw, 40px); line-height: 1.27; letter-spacing: 0; font-weight: 650; margin-bottom: 16px; }
.retax-band p { color: rgba(255,255,255,.86); font-size: 18px; margin-bottom: 0; }
.retax-risk-list { display: grid; gap: 12px; }
.retax-risk-item { display: flex; gap: 12px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.retax-risk-item > span { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; background: var(--rtx-gold); margin-top: 7px; }
.retax-risk-item strong { display: block; color: #fff; }
.retax-risk-item small { display: block; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.45; }

.retax-steps { display: grid; gap: 14px; counter-reset: steps; }
.retax-step { display: grid; grid-template-columns: 58px 1fr; gap: 16px; background: #fff; border: 1px solid var(--rtx-line); border-radius: 22px; padding: 18px; box-shadow: 0 10px 30px rgba(11,46,89,.05); }
.retax-step > strong { width: 46px; height: 46px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--rtx-soft-blue); color: var(--rtx-blue); font-weight: 750; }
.retax-step h3 { color: var(--rtx-ink); font-size: 20px; margin-bottom: 4px; }
.retax-step p { color: var(--rtx-muted); margin-bottom: 0; }

.retax-note { margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--rtx-soft-blue); border: 1px solid var(--rtx-line); color: var(--rtx-ink); font-weight: 600; }
.retax-docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.retax-docs li { background: #fff; border: 1px solid var(--rtx-line); border-radius: 16px; padding: 14px 16px 14px 44px; color: var(--rtx-text); font-weight: 600; position: relative; }
.retax-docs li:before { content: "✓"; position: absolute; left: 16px; top: 14px; color: var(--rtx-blue); font-weight: 750; }

.retax-faq { display: grid; gap: 12px; }
.retax-faq details { background: #fff; border: 1px solid var(--rtx-line); border-radius: 18px; padding: 18px 20px; }
.retax-faq summary { cursor: pointer; color: var(--rtx-ink); font-weight: 700; }
.retax-faq p { margin: 12px 0 0; color: var(--rtx-muted); }

.retax-cta { padding: 72px 0; }
.retax-form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; padding: 28px; }
.retax-form-copy { padding: 24px; }
.retax-form-copy h2 { color: var(--rtx-ink); font-size: clamp(29px, 3vw, 40px); line-height: 1.27; letter-spacing: 0; font-weight: 650; margin-bottom: 16px; }
.retax-form-copy p { font-size: 18px; }
.retax-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--rtx-soft); border-radius: 22px; padding: 22px; }
.retax-form label { display: grid; gap: 7px; color: var(--rtx-ink); font-size: 14px; font-weight: 700; }
.retax-form button, .retax-small { grid-column: 1 / -1; }
.retax-form input, .retax-form textarea { width: 100%; border: 1px solid var(--rtx-line); border-radius: 14px; padding: 14px; font: inherit; color: var(--rtx-ink); background: #fff; outline: none; }
.retax-form textarea { min-height: 120px; resize: vertical; }
.retax-form input:focus, .retax-form textarea:focus { border-color: var(--rtx-blue-2); box-shadow: 0 0 0 4px rgba(0,174,239,.12); }
.retax-small { color: var(--rtx-muted); font-size: 13px; margin: 0; }

.retax-footer { border-top: 1px solid var(--rtx-line); padding: 28px 0; color: var(--rtx-muted); }
.retax-footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.retax-footer strong { color: var(--rtx-ink); }

@media (max-width: 980px) {
  .retax-menu { display: none; }
  .retax-hero-grid, .retax-split, .retax-band, .retax-form-wrap { grid-template-columns: 1fr; }
  .retax-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .retax-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) { .admin-bar .retax-header { top: 46px; } }
@media (max-width: 640px) {
  .retax-container { width: min(100% - 28px, var(--rtx-container)); }
  .retax-nav { min-height: 68px; }
  .retax-nav .retax-btn { display: none; }
  .retax-hero { padding: 46px 0 48px; }
  .retax-hero h1 { font-size: 34px; line-height: 1.2; letter-spacing: 0; }
  .retax-hero-actions .retax-btn { width: 100%; }
  .retax-section { padding: 48px 0; }
  .retax-grid-4, .retax-grid-3, .retax-form { grid-template-columns: 1fr; }
  .retax-card { min-height: auto; }
  .retax-step { grid-template-columns: 1fr; }
  .retax-proof-line span { width: 100%; }
  .retax-footer-inner { flex-direction: column; align-items: flex-start; }
}


/* Production contacts */
.retax-contact-section { background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(232,246,255,.45)); }
.retax-contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.retax-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.retax-contact-card { display: grid; gap: 8px; padding: 24px; min-height: 130px; border-radius: 24px; background: #fff; border: 1px solid var(--rtx-line); box-shadow: 0 14px 48px rgba(11,46,89,.07); color: var(--rtx-ink); }
.retax-contact-card span { color: var(--rtx-muted); font-size: 14px; font-weight: 700; }
.retax-contact-card strong { color: var(--rtx-ink); font-size: 20px; line-height: 1.35; letter-spacing: 0; font-weight: 650; }
a.retax-contact-card:hover { border-color: rgba(0,174,239,.38); box-shadow: 0 18px 52px rgba(11,46,89,.1); }
.retax-footer a { color: var(--rtx-blue); font-weight: 600; }
@media (max-width: 980px) { .retax-contact-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .retax-contact-cards { grid-template-columns: 1fr; } .retax-contact-card strong { font-size: 18px; } }


/* Final production additions */
.retax-form-wrap-single { display: block; padding: 0; overflow: hidden; }
.retax-form select { width: 100%; border: 1px solid var(--rtx-line); border-radius: 14px; padding: 14px; font: inherit; color: var(--rtx-ink); background: #fff; outline: none; }
.retax-form .retax-consent, .retax-form .retax-success, .retax-form .retax-error { grid-column: 1 / -1; }
.retax-consent { display: flex !important; grid-template-columns: none !important; flex-direction: row; gap: 10px !important; align-items: flex-start; font-weight: 650 !important; color: var(--rtx-text) !important; }
.retax-consent input { width: 18px !important; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.retax-consent a { color: var(--rtx-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.retax-btn:disabled, .retax-btn-disabled { opacity: .46; cursor: not-allowed; transform: none !important; box-shadow: none !important; background: #8db6d5 !important; border-color: #8db6d5 !important; }
.retax-success { margin: 0; padding: 12px 14px; border-radius: 14px; background: #e9f9ef; color: #176c35; font-weight: 600; }
.retax-error { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fff1f1; color: #a83232; font-weight: 600; }
.retax-address { margin-top: 16px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--rtx-line); color: var(--rtx-text); }
.retax-content-page { background: #fff; border: 1px solid var(--rtx-line); box-shadow: var(--rtx-shadow); border-radius: var(--rtx-radius); padding: 34px; }
.retax-content-page h1, .retax-content-page h2, .retax-content-page h3 { color: var(--rtx-ink); }
.retax-content-page h2 { margin-top: 28px; }
.retax-content-page p { color: var(--rtx-text); }
.retax-content-page a { color: var(--rtx-blue); font-weight: 700; }
.retax-page-inner { min-height: 100vh; }
.retax-content-page > :first-child { margin-top: 0; }
@media (max-width: 640px) { .retax-content-page { padding: 22px; } }

.retax-btn-document {
  margin-top: 14px;
  display: inline-flex;
}

/* Subtle RETAX visual system — light production graphics */
.retax-page {
  position: relative;
}
.retax-page:before {
  content: "";
  position: fixed;
  inset: 120px -180px auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,.09), rgba(0,174,239,0) 68%);
  pointer-events: none;
  z-index: 0;
}
.retax-header,
.retax-hero,
.retax-section,
.retax-cta,
.retax-footer { position: relative; z-index: 1; }

.retax-hero-card:after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 210px;
  height: 210px;
  background: url('assets/brand/retax-logo-icon-transparent-512.png') center/contain no-repeat;
  opacity: .055;
  pointer-events: none;
}
.retax-hero-graphic {
  position: relative;
  padding: 18px 18px 15px;
  border: 1px solid rgba(216,233,248,.92);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(243,250,255,.92), rgba(255,255,255,.88));
  margin-bottom: 22px;
  overflow: hidden;
}
.retax-hero-graphic:before {
  content: "";
  position: absolute;
  right: -40px;
  top: -54px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  border: 24px solid rgba(0,174,239,.07);
}
.retax-route { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.retax-route-line { height: 2px; background: linear-gradient(90deg, rgba(18,110,184,.24), rgba(0,174,239,.48)); flex: 1 1 auto; border-radius: 99px; }
.retax-route-dot {
  width: 42px; height: 42px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--rtx-line);
  box-shadow: 0 8px 20px rgba(11,46,89,.07);
  color: var(--rtx-blue);
  position: relative;
}
.retax-route-dot:before { content: ""; width: 18px; height: 18px; display: block; background: currentColor; }
.retax-route-doc:before { clip-path: polygon(18% 0, 68% 0, 86% 18%, 86% 100%, 18% 100%); }
.retax-route-check:before { clip-path: polygon(40% 70%, 18% 48%, 8% 58%, 40% 90%, 92% 24%, 80% 16%); }
.retax-route-legal:before { clip-path: polygon(50% 0, 88% 14%, 82% 72%, 50% 100%, 18% 72%, 12% 14%); }
.retax-route-return:before { clip-path: polygon(78% 7%, 97% 27%, 77% 47%, 77% 33%, 51% 33%, 33% 51%, 33% 82%, 16% 82%, 16% 45%, 45% 16%, 77% 16%); }
.retax-route-labels { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 9px; font-size: 12px; color: var(--rtx-muted); font-weight: 600; }
.retax-route-labels span { white-space: nowrap; }

.retax-card-graphic { position: relative; overflow: hidden; }
.retax-card-graphic:after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,.10), rgba(0,174,239,0) 65%);
  pointer-events: none;
}
.retax-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(180deg, #fff, var(--rtx-soft-blue));
  border: 1px solid var(--rtx-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rtx-blue);
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(11,46,89,.06);
}
.retax-card-icon:before { content: ""; width: 23px; height: 23px; display: block; background: currentColor; }
.retax-icon-scan:before { clip-path: polygon(7% 18%, 31% 18%, 31% 28%, 17% 28%, 17% 42%, 7% 42%, 7% 18%, 69% 18%, 93% 18%, 93% 42%, 83% 42%, 83% 28%, 69% 28%, 69% 18%, 7% 58%, 17% 58%, 17% 72%, 31% 72%, 31% 82%, 7% 82%, 7% 58%, 69% 72%, 83% 72%, 83% 58%, 93% 58%, 93% 82%, 69% 82%); }
.retax-icon-doc:before { clip-path: polygon(18% 0, 66% 0, 86% 20%, 86% 100%, 18% 100%); }
.retax-icon-check:before { clip-path: polygon(38% 72%, 18% 52%, 6% 64%, 38% 96%, 94% 24%, 82% 14%); }
.retax-icon-shield:before { clip-path: polygon(50% 0, 90% 14%, 82% 72%, 50% 100%, 18% 72%, 10% 14%); }
.retax-icon-currency:before { clip-path: polygon(28% 8%, 72% 8%, 72% 22%, 57% 22%, 57% 35%, 74% 35%, 74% 48%, 57% 48%, 57% 92%, 43% 92%, 43% 48%, 26% 48%, 26% 35%, 43% 35%, 43% 22%, 28% 22%); }
.retax-icon-percent:before { clip-path: polygon(78% 10%, 92% 10%, 22% 90%, 8% 90%, 78% 10%, 16% 12%, 36% 12%, 36% 32%, 16% 32%, 16% 12%, 64% 68%, 84% 68%, 84% 88%, 64% 88%); }
.retax-icon-court:before { clip-path: polygon(50% 0, 96% 20%, 4% 20%, 50% 0, 14% 30%, 26% 30%, 26% 82%, 14% 82%, 14% 30%, 44% 30%, 56% 30%, 56% 82%, 44% 82%, 44% 30%, 74% 30%, 86% 30%, 86% 82%, 74% 82%, 74% 30%, 6% 88%, 94% 88%, 94% 100%, 6% 100%); }
.retax-icon-result:before { clip-path: polygon(10% 78%, 23% 78%, 23% 52%, 38% 52%, 38% 78%, 51% 78%, 51% 34%, 66% 34%, 66% 78%, 79% 78%, 79% 18%, 94% 18%, 94% 92%, 10% 92%, 10% 78%); }

.retax-card-watermark {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, var(--rtx-soft-blue));
  border: 1px solid var(--rtx-line);
  box-shadow: 0 12px 30px rgba(11,46,89,.08);
  margin-bottom: 18px;
  position: relative;
}
.retax-card-watermark:before,
.retax-card-watermark:after {
  content: "";
  position: absolute;
  background: var(--rtx-blue);
}
.retax-watermark-files:before { width: 30px; height: 36px; left: 16px; top: 13px; clip-path: polygon(0 0, 68% 0, 100% 28%, 100% 100%, 0 100%); opacity: .92; }
.retax-watermark-files:after { width: 22px; height: 4px; left: 20px; top: 32px; box-shadow: 0 8px 0 rgba(18,110,184,.7); border-radius: 99px; }
.retax-risk-list-graphic { position: relative; }
.retax-risk-list-graphic:before {
  content: "";
  position: absolute;
  inset: -24px -10px auto auto;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 34px;
  transform: rotate(10deg);
  pointer-events: none;
}

@media (max-width: 980px) {
  .retax-route-labels { font-size: 11px; }
}
@media (max-width: 640px) {
  .retax-hero-graphic { padding: 14px; }
  .retax-route-dot { width: 34px; height: 34px; border-radius: 12px; }
  .retax-route-dot:before { width: 15px; height: 15px; }
  .retax-route-labels { display: none; }
  .retax-card-icon { width: 40px; height: 40px; }
}


/* Improvements v2 */
.retax-source-note { font-size: 14px !important; color: var(--rtx-muted) !important; margin-top: 16px; }
.retax-source-note a { color: var(--rtx-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.retax-clean-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.retax-clean-list li { position: relative; padding-left: 28px; color: var(--rtx-text); font-weight: 600; }
.retax-clean-list li:before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--rtx-blue); font-weight: 760; }
.retax-check-card { min-height: auto; }
.retax-result-panel { margin-top: 28px; padding: 28px; border: 1px solid rgba(0,174,239,.22); border-radius: var(--rtx-radius); background: linear-gradient(135deg, #fff, var(--rtx-soft)); box-shadow: 0 16px 52px rgba(11,46,89,.07); display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: start; }
.retax-result-panel h3 { margin: 8px 0 0; color: var(--rtx-ink); font-size: clamp(23px, 2.2vw, 31px); line-height: 1.3; letter-spacing: 0; font-weight: 650; }
.retax-result-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.retax-result-list li { background: #fff; border: 1px solid var(--rtx-line); border-radius: 16px; padding: 13px 14px 13px 40px; position: relative; color: var(--rtx-text); font-weight: 700; }
.retax-result-list li:before { content: ""; position: absolute; left: 14px; top: 14px; width: 15px; height: 15px; border-radius: 50%; background: linear-gradient(180deg, var(--rtx-blue-2), var(--rtx-blue)); box-shadow: inset 0 0 0 4px #fff; border: 1px solid var(--rtx-line); }
.retax-case-card { position: relative; overflow: hidden; }
.retax-case-card:after { content: ""; position: absolute; right: -42px; top: -42px; width: 178px; height: 178px; background: url('assets/brand/retax-logo-icon-transparent-512.png') center/contain no-repeat; opacity: .07; pointer-events: none; }
.retax-case-label { display: inline-flex; border-radius: 999px; padding: 7px 12px; background: #fff; border: 1px solid var(--rtx-line); color: var(--rtx-blue); font-size: 13px; font-weight: 750; margin-bottom: 12px; }
.retax-case-amount { color: var(--rtx-ink); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.14; letter-spacing: 0; font-weight: 680; margin-bottom: 14px; }
.retax-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 980px) { .retax-result-panel { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .retax-result-list { grid-template-columns: 1fr; } .retax-case-amount { font-size: 34px; } }

.retax-form .retax-wide, .retax-form .retax-consent, .retax-form .retax-success, .retax-form .retax-error, .retax-form button, .retax-form .retax-small { grid-column: 1 / -1; }


/* SEO/internal links */
.retax-footer-inner { flex-wrap: wrap; }
.retax-footer-links { width: 100%; display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 14px; border-top: 1px solid var(--rtx-line); font-size: 13px; }
.retax-footer-links a { color: var(--rtx-muted); font-weight: 650; }
.retax-content-page h2 { margin-top: 28px; color: var(--rtx-ink); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.25; font-weight: 650; }
.retax-content-page p, .retax-content-page li { font-size: 17px; line-height: 1.75; color: var(--rtx-text); }
.retax-content-page ul { margin: 18px 0 0; padding-left: 24px; }


/* RETAX 3.0 — cinematic consulting hero and purposeful motion */
.retax-page {
  overflow: visible;
  overflow-x: clip;
}

.retax-header {
  z-index: 50;
  transition: background-color .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.retax-header.retax-header-scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: rgba(188,215,237,.9);
  box-shadow: 0 12px 36px rgba(6,31,62,.08);
}
.retax-menu a,
.retax-mobile-menu a { position: relative; }
.retax-menu a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rtx-blue), var(--rtx-blue-2));
  transition: right .24s ease;
}
.retax-menu a:hover:after,
.retax-menu a:focus-visible:after { right: 0; }

.retax-mobile-nav {
  display: none;
  position: relative;
  flex: 0 0 auto;
}
.retax-mobile-nav summary {
  display: flex;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rtx-line);
  border-radius: 50%;
  background: #fff;
  color: var(--rtx-ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}
.retax-mobile-nav summary::-webkit-details-marker { display: none; }
.retax-mobile-nav summary span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform .22s ease;
}
.retax-mobile-nav[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.retax-mobile-nav[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.retax-mobile-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(360px, calc(100vw - 28px));
  padding: 12px 18px 18px;
  display: grid;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--rtx-line);
  border-bottom: 1px solid var(--rtx-line);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(6,31,62,.12);
}
.retax-mobile-nav:not([open]) > .retax-mobile-menu { display: none; }
.retax-mobile-menu a {
  padding: 14px 2px;
  border-bottom: 1px solid rgba(216,233,248,.72);
  color: var(--rtx-ink);
  font-weight: 680;
}
.retax-mobile-menu a:last-child { border-bottom: 0; color: var(--rtx-blue); }

.retax-hero {
  --retax-copy-shift: 0px;
  --retax-copy-opacity: 1;
  --retax-copy-scale: 1;
  --retax-stage-shift-x: 0px;
  --retax-stage-shift: 0px;
  --retax-stage-scale: 1;
  --retax-stage-radius: 34px;
  --retax-stage-detail-opacity: 1;
  --retax-stage-canvas-opacity: .82;
  --retax-stage-grid-opacity: .28;
  --retax-stage-outcome-opacity: 0;
  --retax-stage-outcome-shift: 24px;
  --retax-stage-outcome-scale: .96;
  --retax-stage-focus: 0;
  --retax-hero-glow-scale: 1;
  --retax-hero-glow-opacity: 1;
  position: relative;
  isolation: isolate;
  min-height: 660px;
  min-height: clamp(660px, calc(100svh - 76px), 830px);
  padding: clamp(68px, 8vw, 102px) 0 74px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(54,211,255,.29), transparent 28rem),
    radial-gradient(circle at 104% 88%, rgba(46,139,255,.28), transparent 34rem),
    linear-gradient(128deg, #0a315a 0%, #0d4779 52%, #0a5d91 100%);
}
.retax-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.38) 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.38) 42%, #000 100%);
}
.retax-hero:after {
  content: "";
  position: absolute;
  inset: auto -8% -34% 38%;
  height: 78%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,174,239,.14), rgba(0,174,239,0) 68%);
  filter: blur(8px);
  opacity: var(--retax-hero-glow-opacity);
  transform: scale(var(--retax-hero-glow-scale));
  transform-origin: 70% 60%;
  pointer-events: none;
}
.retax-hero-aurora {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  animation: retax-aurora-drift 18s ease-in-out infinite alternate;
}
.retax-hero-aurora-one {
  width: 420px;
  height: 420px;
  right: 9%;
  top: -27%;
  border: 1px solid rgba(93,213,255,.2);
  box-shadow: inset 0 0 86px rgba(0,174,239,.11), 0 0 100px rgba(0,174,239,.08);
}
.retax-hero-aurora-two {
  width: 260px;
  height: 260px;
  right: -4%;
  bottom: -13%;
  background: rgba(33,93,207,.12);
  animation-delay: -7s;
}
.retax-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr);
  gap: clamp(38px, 5vw, 70px);
  width: 100%;
}
.retax-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
  transform: translate3d(0, var(--retax-copy-shift), 0) scale(var(--retax-copy-scale));
  transform-origin: left center;
  opacity: var(--retax-copy-opacity);
  will-change: transform, opacity;
}
.retax-hero .retax-kicker {
  margin-bottom: 24px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}
.retax-hero h1 {
  max-width: 690px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(44px, 5.15vw, 68px);
  line-height: 1.065;
  letter-spacing: -.035em;
  font-weight: 650;
}
.retax-hero h1 span {
  color: #70d7ff;
  background: linear-gradient(112deg, #fff 0%, #62d4ff 47%, #37a8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.retax-hero .retax-lead {
  max-width: 630px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.58;
}
.retax-hero .retax-btn {
  color: #041b35;
  border-color: #00aeef;
  background: #59d4ff;
  box-shadow: 0 18px 42px rgba(0,174,239,.22);
}
.retax-hero .retax-btn:hover { color: #041b35; background: #81e0ff; box-shadow: 0 20px 48px rgba(0,174,239,.31); }
.retax-hero .retax-btn-secondary {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.27);
  box-shadow: none;
  backdrop-filter: blur(12px);
}
.retax-hero .retax-btn-secondary:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.retax-hero .retax-proof-line { gap: 10px 22px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 620; }
.retax-hero .retax-proof-line span { padding: 0; border: 0; border-radius: 0; background: none; }
.retax-hero .retax-proof-line span::first-letter { color: var(--rtx-gold); }

.retax-hero-stage {
  position: relative;
  z-index: 2;
  min-height: 550px;
  border: 1px solid rgba(169,230,255,.32);
  border-radius: var(--retax-stage-radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 46%, rgba(74,216,255,.25), transparent 36%),
    linear-gradient(152deg, rgba(255,255,255,.16), rgba(255,255,255,.055) 58%, rgba(41,184,244,.10));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 34px 90px rgba(0,18,48,.28);
  transform: translate3d(var(--retax-stage-shift-x), var(--retax-stage-shift), 0) scale(var(--retax-stage-scale));
  transform-origin: 50% 50%;
  will-change: transform;
}
.retax-hero-canvas,
.retax-stage-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.retax-hero-canvas { z-index: 0; opacity: var(--retax-stage-canvas-opacity); }
.retax-stage-grid {
  z-index: 0;
  opacity: var(--retax-stage-grid-opacity);
  background:
    linear-gradient(rgba(114,215,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114,215,255,.08) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(circle at center, #000 0, transparent 76%);
  mask-image: radial-gradient(circle at center, #000 0, transparent 76%);
}
.retax-stage-status {
  position: absolute;
  z-index: 5;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.56);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.retax-stage-status > span { display: inline-flex; align-items: center; gap: 8px; }
.retax-stage-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63dcff;
  box-shadow: 0 0 0 5px rgba(99,220,255,.1), 0 0 16px rgba(99,220,255,.55);
  animation: retax-status-pulse 2.8s ease-in-out infinite;
}
.retax-motion-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  margin: -7px -8px -7px 0;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.64);
  background: rgba(3,29,57,.28);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.retax-js .retax-motion-toggle { display: inline-flex; }
.retax-motion-toggle:hover { color: #fff; background: rgba(255,255,255,.08); }
.retax-motion-toggle em { font-style: normal; }
.retax-motion-toggle-icon {
  width: 8px;
  height: 10px;
  display: inline-block;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.retax-motion-toggle.is-paused .retax-motion-toggle-icon {
  width: 0;
  height: 0;
  border: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.retax-stage-scene { position: absolute; z-index: 2; inset: 62px 18px 92px; }
.retax-stage-scene,
.retax-stage-progress,
.retax-stage-caption {
  opacity: var(--retax-stage-detail-opacity);
  transition: opacity .12s linear;
}
.retax-stage-core {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 176px;
  height: 176px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.retax-stage-core img {
  position: relative;
  z-index: 4;
  display: block;
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 15px 32px rgba(0,15,50,.34)) drop-shadow(0 0 20px rgba(61,156,255,.24));
  animation: retax-core-drift 10s ease-in-out infinite;
}
.retax-core-ring,
.retax-core-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.retax-core-ring-one {
  inset: 4px;
  border: 1px solid rgba(116,220,255,.34);
  border-left-color: rgba(242,201,76,.72);
  border-bottom-color: transparent;
  animation: retax-ring-spin 18s linear infinite;
}
.retax-core-ring-two {
  inset: 20px;
  border: 1px dashed rgba(255,255,255,.24);
  border-right-color: rgba(101,219,255,.75);
  animation: retax-ring-spin 12s linear infinite reverse;
}
.retax-core-glow {
  inset: 34px;
  background: radial-gradient(circle, rgba(0,174,239,.3), rgba(0,174,239,.02) 68%, transparent 70%);
  box-shadow: 0 0 55px rgba(0,174,239,.18);
  animation: retax-result-glow 10s ease-in-out infinite;
}

.retax-ai-network {
  position: absolute;
  z-index: 2;
  inset: 22px;
  border: 1px solid rgba(18,110,184,.16);
  border-radius: 50%;
  animation: retax-ai-orbit 24s linear infinite;
}
.retax-ai-network::before,
.retax-ai-network::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-top: 1px solid rgba(18,110,184,.22);
  border-bottom: 1px solid rgba(18,110,184,.12);
  transform: rotate(38deg);
}
.retax-ai-network::after { transform: rotate(-38deg); }
.retax-ai-network i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: #126eb8;
  box-shadow: 0 0 0 4px rgba(18,110,184,.09), 0 0 16px rgba(18,110,184,.34);
  animation: retax-ai-signal 2.8s ease-in-out infinite;
}
.retax-ai-network i:nth-child(1) { left: 6%; top: 28%; animation-delay: -.3s; }
.retax-ai-network i:nth-child(2) { left: 45%; top: -3px; animation-delay: -.8s; }
.retax-ai-network i:nth-child(3) { right: 5%; top: 31%; animation-delay: -1.3s; }
.retax-ai-network i:nth-child(4) { right: 11%; bottom: 18%; animation-delay: -1.8s; }
.retax-ai-network i:nth-child(5) { left: 43%; bottom: -3px; animation-delay: -2.3s; }
.retax-ai-network i:nth-child(6) { left: 8%; bottom: 18%; animation-delay: -2.8s; }
.retax-ai-core-label {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: -16px;
  min-width: 148px;
  padding: 7px 12px 6px;
  border: 1px solid rgba(18,110,184,.22);
  border-radius: 12px;
  color: #0b2e59;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(11,46,89,.14), 0 0 24px rgba(0,174,239,.10);
  text-align: center;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}
.retax-ai-core-label strong,
.retax-ai-core-label small { display: block; white-space: nowrap; }
.retax-ai-core-label strong { color: #126eb8; font-size: 10px; line-height: 1.2; letter-spacing: .11em; }
.retax-ai-core-label small { margin-top: 3px; color: #5a7186; font-size: 8px; line-height: 1.2; font-weight: 650; letter-spacing: .035em; }

.retax-data-sheet {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 144px;
  height: 184px;
  padding: 28px 18px;
  border: 1px solid rgba(125,215,255,.21);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
  box-shadow: 0 18px 50px rgba(0,8,26,.18);
  transform-origin: center;
  transform: translate(-50%, -49%);
  opacity: .6;
  animation: retax-sheet-gather 10s cubic-bezier(.22,1,.36,1) infinite;
}
.retax-data-sheet span {
  display: block;
  height: 4px;
  margin-bottom: 13px;
  border-radius: 99px;
  background: rgba(133,222,255,.2);
  box-shadow: 0 24px 0 rgba(133,222,255,.12), 0 48px 0 rgba(133,222,255,.08);
}
.retax-data-sheet span:nth-child(2) { width: 72%; }
.retax-data-sheet span:nth-child(3) { width: 86%; }
.retax-data-sheet-front { z-index: 3; transform: translate(-43%, -46%) rotate(4deg); animation-delay: 0s; }
.retax-data-sheet-mid { z-index: 2; transform: translate(-50%, -49%); animation-delay: -.32s; }
.retax-data-sheet-back { z-index: 1; transform: translate(-57%, -52%) rotate(-4deg); animation-delay: -.64s; }
.retax-data-sheet-front:after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100,226,255,.95), transparent);
  box-shadow: 0 0 16px rgba(100,226,255,.7);
  opacity: 0;
  animation: retax-sheet-scan 10s ease-in-out infinite;
}

.retax-stage-node {
  position: absolute;
  z-index: 6;
  min-width: 142px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(141,220,255,.2);
  border-radius: 15px;
  color: #fff;
  background: rgba(3,29,57,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 13px 34px rgba(0,8,26,.16);
  backdrop-filter: blur(12px);
  animation: retax-node-cycle 10s ease-in-out infinite;
  animation-delay: var(--retax-node-delay);
}
.retax-stage-node b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #7cddff;
  background: rgba(101,219,255,.1);
  font-size: 11px;
  letter-spacing: .04em;
}
.retax-stage-node span { display: grid; color: rgba(255,255,255,.88); font-size: 12px; line-height: 1.25; font-weight: 720; }
.retax-stage-node small { margin-top: 2px; color: rgba(255,255,255,.44); font-size: 9px; font-weight: 600; letter-spacing: .01em; }
.retax-stage-node-doc { left: 1%; top: 15%; }
.retax-stage-node-check { right: 0; top: 12%; }
.retax-stage-node-legal { left: 0; bottom: 8%; }
.retax-stage-node-return { right: 1%; bottom: 5%; border-color: rgba(242,201,76,.25); }
.retax-stage-node-return b { color: var(--rtx-gold); background: rgba(242,201,76,.1); }

.retax-stage-progress {
  position: absolute;
  z-index: 5;
  left: 26px;
  right: 26px;
  bottom: 62px;
  height: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.11);
}
.retax-stage-progress-fill {
  position: absolute;
  inset: 0;
  transform: scaleX(.02);
  transform-origin: left;
  background: linear-gradient(90deg, #42cfff, #5aa8ff 70%, var(--rtx-gold));
  box-shadow: 0 0 14px rgba(66,207,255,.36);
  animation: retax-route-fill 10s cubic-bezier(.22,1,.36,1) infinite;
}
.retax-stage-progress i {
  position: relative;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.52);
  background: #08294f;
}
.retax-stage-progress i:last-child { border-color: var(--rtx-gold); }
.retax-stage-caption {
  position: absolute;
  z-index: 6;
  left: 26px;
  right: 26px;
  bottom: 19px;
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.retax-hero-stage:after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(92,221,255,.24), transparent 56%);
  box-shadow: inset 0 0 80px rgba(88,211,255,.18), 0 0 80px rgba(23,173,240,.16);
  opacity: var(--retax-stage-focus);
  pointer-events: none;
}
.retax-stage-outcome {
  position: absolute;
  z-index: 7;
  left: clamp(28px, 6vw, 64px);
  right: clamp(28px, 6vw, 64px);
  top: 50%;
  color: #fff;
  text-align: center;
  opacity: var(--retax-stage-outcome-opacity);
  transform: translateY(-50%) translateY(var(--retax-stage-outcome-shift)) scale(var(--retax-stage-outcome-scale));
  transform-origin: center;
  pointer-events: none;
}
.retax-stage-outcome span {
  display: inline-flex;
  margin-bottom: 16px;
  color: #9ee6ff;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.retax-stage-outcome strong {
  display: block;
  max-width: 440px;
  margin: 0 auto;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.retax-stage-outcome small {
  display: block;
  max-width: 390px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.55;
}
.retax-hero.is-outcome-focus .retax-hero-copy { pointer-events: none; }
.retax-hero.is-outcome-focus .retax-hero-stage { z-index: 4; }
.retax-hero.is-outcome-focus .retax-hero-copy:focus-within {
  z-index: 5;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto;
}
.retax-scroll-cue {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.retax-scroll-cue span { width: 1px; height: 22px; background: linear-gradient(transparent, rgba(255,255,255,.75)); animation: retax-scroll-cue 2.2s ease-in-out infinite; }

.retax-hero-stage:not(.is-active) .retax-stage-scene *,
.retax-hero-stage:not(.is-active) .retax-data-sheet-front:after,
.retax-hero-stage:not(.is-active) .retax-stage-status i,
.retax-hero-stage:not(.is-active) .retax-stage-progress-fill { animation-play-state: paused !important; }
.retax-hero:not(.is-stage-active) .retax-hero-aurora,
.retax-hero:not(.is-stage-active) .retax-scroll-cue span { animation-play-state: paused !important; }
.retax-hero-stage.is-paused .retax-stage-scene *,
.retax-hero-stage.is-paused .retax-data-sheet-front:after,
.retax-hero-stage.is-paused .retax-stage-status i,
.retax-hero-stage.is-paused .retax-stage-progress-fill,
.retax-hero.is-motion-paused .retax-hero-aurora,
.retax-hero.is-motion-paused .retax-scroll-cue span { animation-play-state: paused !important; }
#audit,
#new-rules,
#workflow,
#court,
#legal,
#recover,
#situations,
#process,
#docs,
#adilet-news,
#faq,
#contacts { scroll-margin-top: 96px; }

@media (min-width: 981px) {
  #process .retax-section-head {
    position: sticky;
    top: 116px;
  }
  .retax-motion-ready #court .retax-case-card.retax-reveal:not(.is-revealed) {
    transform: translate3d(0, 28px, 0) rotate(1.2deg) scale(.985);
  }
}

/* RETAX 3.6 — human-led hero story */
.retax-people-story {
  position: relative;
  z-index: 2;
  padding: 94px 0 108px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 28%, rgba(0,174,239,.045), transparent 26rem),
    linear-gradient(180deg, #f6fbff 0%, #fbfdff 42%, #fff 100%);
  border-bottom: 1px solid var(--rtx-line);
}

.retax-people-story-head {
  max-width: 850px;
  margin-bottom: 46px;
}

.retax-people-story-list {
  display: grid;
  gap: 32px;
}

.retax-people-story-list-primary {
  gap: clamp(46px, 6vw, 76px);
}

.retax-people-card {
  min-height: 420px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  grid-template-areas: "media content";
  align-items: stretch;
  overflow: hidden;
  border-color: rgba(18,110,184,.18);
  box-shadow: 0 26px 74px rgba(11,46,89,.12);
}

.retax-people-card:nth-child(even) {
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  grid-template-areas: "content media";
}

.retax-people-media {
  grid-area: media;
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: #edf8fd;
}

.retax-people-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 56%, rgba(255,255,255,.16));
}

.retax-people-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(.98);
  transition: none;
}

.retax-people-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4.5vw, 58px);
  background: #fff;
}

.retax-people-index {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #126eb8;
  background: var(--rtx-soft-blue);
  border: 1px solid rgba(18,110,184,.14);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.retax-people-card h3 {
  margin-bottom: 16px;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.2;
}

.retax-people-card p {
  max-width: 520px;
  color: #4d6a84;
  font-size: 17px;
  line-height: 1.7;
}

.retax-tech-story {
  min-height: 520px;
  margin: clamp(78px, 10vw, 132px) 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  overflow: hidden;
  background: #fff;
  border-color: rgba(18,110,184,.18);
  box-shadow: 0 30px 82px rgba(11,46,89,.12);
}

.retax-tech-story-first {
  margin-top: 0;
  margin-bottom: clamp(78px, 10vw, 132px);
}

.retax-tech-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 64px);
}

.retax-tech-story h3 {
  margin-bottom: 18px;
  color: var(--rtx-ink);
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.16;
}

.retax-tech-story-copy > p {
  margin-bottom: 0;
  color: #45647f;
  font-size: 17px;
  line-height: 1.68;
}

.retax-tech-proof {
  position: relative;
  margin-top: 34px;
  padding: 30px 30px 30px 34px;
  overflow: hidden;
  border: 1px solid rgba(109,205,255,.26);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 4%, rgba(242,201,76,.18), transparent 31%),
    linear-gradient(138deg, #082d58 0%, #0b467d 58%, #126eb8 100%);
  box-shadow: 0 24px 56px rgba(8,41,79,.24), inset 0 1px 0 rgba(255,255,255,.12);
}

.retax-tech-proof::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 24px;
  bottom: 24px;
  width: 5px;
  border-radius: 0 6px 6px 0;
  background: var(--rtx-gold);
  box-shadow: 0 0 24px rgba(242,201,76,.34);
}

.retax-tech-proof::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -62px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  box-shadow: inset 0 0 0 22px rgba(255,255,255,.025), inset 0 0 0 44px rgba(255,255,255,.018);
  pointer-events: none;
}

.retax-tech-proof > span,
.retax-tech-stack-label {
  display: block;
  color: var(--rtx-blue);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.retax-tech-proof > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rtx-gold);
  font-size: 12px;
  letter-spacing: .14em;
}

.retax-tech-proof > span::after {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(242,201,76,.88), transparent);
}

.retax-tech-proof > strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 430px;
  margin: 12px 0 15px;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.16;
  letter-spacing: -.025em;
  text-shadow: 0 8px 24px rgba(0,20,50,.24);
}

.retax-tech-proof > p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 500px;
  color: rgba(255,255,255,.80);
  font-size: 15px;
  line-height: 1.67;
}

.retax-tech-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 62px);
  background: linear-gradient(145deg, #edf9ff, #f9fdff 72%, #fff);
  border-left: 1px solid rgba(18,110,184,.12);
}

.retax-tech-stack-label {
  margin-bottom: 22px;
}

.retax-court-photo {
  position: relative;
  margin: 0 0 30px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  border: 1px solid rgba(18,110,184,.16);
  background: #eaf6fc;
  box-shadow: 0 20px 48px rgba(11,46,89,.11);
}

.retax-court-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(6,32,61,.68));
}

.retax-court-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.retax-court-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 14px;
  color: #fff;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .035em;
}

.retax-tech-capabilities {
  counter-reset: retax-tech-item;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rtx-line);
}

.retax-tech-capabilities li {
  position: relative;
  counter-increment: retax-tech-item;
  min-height: 88px;
  padding: 20px 0 20px 58px;
  border-bottom: 1px solid var(--rtx-line);
}

.retax-tech-capabilities li::before {
  content: "0" counter(retax-tech-item);
  position: absolute;
  left: 0;
  top: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--rtx-blue);
  background: #fff;
  border: 1px solid rgba(18,110,184,.15);
  font-size: 12px;
  font-weight: 780;
}

.retax-tech-capabilities strong,
.retax-tech-capabilities span {
  display: block;
}

.retax-tech-capabilities strong {
  margin-bottom: 4px;
  color: var(--rtx-ink);
  font-size: 15px;
}

.retax-tech-capabilities span {
  color: #5a748c;
  font-size: 14px;
  line-height: 1.52;
}

.retax-people-experts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 6vw, 72px) 32px;
}

.retax-people-experts-grid .retax-people-card,
.retax-people-experts-grid .retax-people-card:nth-child(even) {
  min-height: 0;
  grid-template-columns: 1fr;
  grid-template-areas: "media" "content";
}

.retax-people-experts-grid .retax-people-media,
.retax-people-experts-grid .retax-people-media img {
  min-height: 300px;
}

.retax-people-experts-grid .retax-people-content {
  justify-content: flex-start;
  padding: 32px 30px 36px;
}

.retax-people-experts-grid .retax-people-card h3 {
  font-size: clamp(24px, 2.15vw, 30px);
}

.retax-people-experts-grid .retax-people-card p {
  font-size: 16px;
}

.retax-team-scene {
  min-height: 0;
  margin-top: clamp(80px, 10vw, 128px);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-color: rgba(18,110,184,.18);
  box-shadow: 0 30px 82px rgba(11,46,89,.14);
}

.retax-team-scene-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #edf7fc;
  aspect-ratio: 16 / 9;
}

.retax-team-scene-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(7,42,78,.09));
}

.retax-team-scene-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(.98);
}

.retax-team-scene-copy {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr);
  align-items: start;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(30px, 4vw, 48px);
  background: #fff;
}

.retax-team-scene-copy .retax-people-index {
  margin: 3px 0 0;
}

.retax-team-scene h3 {
  margin-bottom: 12px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.18;
}

.retax-team-scene p {
  max-width: 760px;
  color: #4d6a84;
  font-size: 17px;
  line-height: 1.68;
}

@media (max-width: 980px) {
  .retax-people-story { padding: 76px 0 88px; }
  .retax-people-card,
  .retax-people-card:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "content";
  }
  .retax-people-media,
  .retax-people-media img {
    min-height: 340px;
  }
  .retax-team-scene-copy { grid-template-columns: 1fr; gap: 14px; }
  .retax-tech-story {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .retax-tech-stack { border-left: 0; border-top: 1px solid rgba(18,110,184,.12); }
}

@media (max-width: 760px) {
  .retax-people-experts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .retax-people-story { padding: 62px 0 72px; }
  .retax-people-story-head { margin-bottom: 32px; }
  .retax-people-story-list { gap: 22px; }
  .retax-people-story-list-primary { gap: 42px; }
  .retax-people-card { min-height: 0; border-radius: 22px; }
  .retax-people-media,
  .retax-people-media img {
    min-height: 245px;
  }
  .retax-people-content { padding: 26px 24px 30px; }
  .retax-people-card h3 { font-size: 25px; }
  .retax-people-card p { font-size: 16px; }
  .retax-team-scene-media img { object-position: center; }
  .retax-team-scene-copy { padding: 26px 24px 30px; }
  .retax-team-scene h3 { font-size: 27px; }
  .retax-team-scene p { font-size: 16px; }
  .retax-tech-story { margin: 56px 0; border-radius: 22px; }
  .retax-tech-story-first { margin-top: 0; margin-bottom: 68px; }
  .retax-tech-story-copy { padding: 30px 24px 34px; }
  .retax-tech-stack { padding: 30px 24px 34px; }
  .retax-tech-story h3 { font-size: 29px; }
  .retax-tech-story-copy > p { font-size: 16px; }
  .retax-tech-proof { padding: 26px 22px 26px 27px; }
  .retax-tech-proof > strong { font-size: 25px; }
  .retax-tech-proof > p { font-size: 14px; }
  .retax-court-photo { margin-bottom: 24px; border-radius: 16px; }
  .retax-people-experts-grid { gap: 34px; }
  .retax-team-scene { margin-top: 58px; }
}

/* RETAX 3.8 — pure white cinematic hero */
.retax-hero-scroll-scene {
  background: #fff;
}

.retax-hero {
  color: var(--rtx-ink);
  background: #fff;
}

.retax-hero::before {
  background-image: none;
}

.retax-hero::after {
  display: none;
  background: none;
}

.retax-hero-aurora {
  display: none;
}

.retax-hero-aurora-one {
  border-color: rgba(18,110,184,.16);
  box-shadow: inset 0 0 86px rgba(0,174,239,.10), 0 0 100px rgba(0,174,239,.08);
}

.retax-hero-aurora-two {
  background: rgba(52,158,222,.10);
}

.retax-hero .retax-kicker {
  color: #126eb8;
  background: rgba(255,255,255,.72);
  border-color: rgba(18,110,184,.18);
  box-shadow: 0 10px 30px rgba(11,46,89,.06);
}

.retax-hero h1 {
  color: var(--rtx-ink);
}

.retax-hero h1 span {
  color: var(--rtx-blue);
  background: linear-gradient(112deg, #0b2e59 0%, #126eb8 46%, #00aeef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.retax-hero .retax-lead {
  color: #3d5d78;
}

.retax-hero .retax-btn {
  color: #fff;
  border-color: #126eb8;
  background: #126eb8;
  box-shadow: 0 18px 42px rgba(18,110,184,.22);
}

.retax-hero .retax-btn:hover {
  color: #fff;
  border-color: #0d5f9f;
  background: #0d5f9f;
  box-shadow: 0 20px 48px rgba(18,110,184,.28);
}

.retax-hero .retax-btn-secondary {
  color: var(--rtx-ink);
  background: rgba(255,255,255,.82);
  border-color: rgba(18,110,184,.24);
  box-shadow: 0 12px 32px rgba(11,46,89,.07);
}

.retax-hero .retax-btn-secondary:hover {
  color: var(--rtx-ink);
  background: #fff;
  border-color: rgba(18,110,184,.34);
  box-shadow: 0 16px 38px rgba(11,46,89,.10);
}

.retax-hero .retax-proof-line {
  color: #476781;
}

.retax-hero-stage {
  border-color: rgba(18,110,184,.20);
  background:
    radial-gradient(circle at 52% 46%, rgba(255,255,255,.98), transparent 38%),
    linear-gradient(152deg, rgba(255,255,255,.92), rgba(215,242,255,.86) 58%, rgba(180,225,247,.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 34px 90px rgba(11,46,89,.16);
}

.retax-stage-grid {
  background:
    linear-gradient(rgba(18,110,184,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,110,184,.10) 1px, transparent 1px);
}

.retax-hero-canvas {
  mix-blend-mode: multiply;
}

.retax-stage-status {
  color: #496987;
}

.retax-stage-status i {
  background: #126eb8;
  box-shadow: 0 0 0 5px rgba(18,110,184,.10), 0 0 16px rgba(18,110,184,.32);
}

.retax-motion-toggle {
  color: #365976;
  background: rgba(255,255,255,.62);
  border-color: rgba(18,110,184,.16);
}

.retax-motion-toggle:hover {
  color: var(--rtx-ink);
  background: rgba(255,255,255,.94);
}

.retax-data-sheet {
  border-color: rgba(18,110,184,.17);
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(230,247,255,.76));
  box-shadow: 0 18px 50px rgba(11,46,89,.10);
}

.retax-data-sheet span {
  background: rgba(18,110,184,.22);
  box-shadow: 0 24px 0 rgba(18,110,184,.14), 0 48px 0 rgba(18,110,184,.09);
}

.retax-core-ring-one {
  border-color: rgba(18,110,184,.30);
  border-left-color: rgba(210,160,0,.78);
  border-bottom-color: transparent;
}

.retax-core-ring-two {
  border-color: rgba(18,110,184,.22);
  border-right-color: rgba(0,174,239,.72);
}

.retax-core-glow {
  background: radial-gradient(circle, rgba(0,174,239,.22), rgba(0,174,239,.025) 68%, transparent 70%);
  box-shadow: 0 0 55px rgba(18,110,184,.14);
}

.retax-stage-node {
  color: var(--rtx-ink);
  border-color: rgba(18,110,184,.18);
  background: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 13px 34px rgba(11,46,89,.10);
}

.retax-stage-node b {
  color: #126eb8;
  background: rgba(18,110,184,.09);
}

.retax-stage-node span {
  color: #0b2e59;
}

.retax-stage-node small {
  color: #526f89;
}

.retax-stage-node-return b {
  color: #9b6f00;
  background: rgba(242,201,76,.22);
}

.retax-stage-node-return {
  border-color: rgba(180,132,0,.28);
}

.retax-stage-progress {
  background: rgba(18,110,184,.14);
}

.retax-stage-progress i {
  border-color: rgba(18,110,184,.46);
  background: #fff;
}

.retax-stage-caption {
  color: #4d6a84;
}

.retax-hero-stage::after {
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.62), rgba(66,207,255,.14) 42%, transparent 68%);
  box-shadow: inset 0 0 80px rgba(88,211,255,.14), 0 0 80px rgba(23,173,240,.12);
}

.retax-stage-outcome {
  color: var(--rtx-ink);
}

.retax-stage-outcome span {
  color: #126eb8;
}

.retax-stage-outcome small {
  color: #506e88;
}

.retax-scroll-cue {
  color: #476780;
}

.retax-scroll-cue span {
  background: linear-gradient(transparent, rgba(18,110,184,.68));
}

.retax-hero a:focus-visible,
.retax-hero button:focus-visible {
  outline-color: #0b2e59;
  box-shadow: 0 0 0 6px rgba(255,255,255,.94);
}

.retax-motion-ready .retax-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .68s cubic-bezier(.22,1,.36,1), transform .68s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--retax-reveal-delay, 0ms);
}
.retax-motion-ready .retax-reveal.is-revealed { opacity: 1; transform: none; }

@keyframes retax-aurora-drift {
  from { transform: translate3d(-12px, -7px, 0) scale(.98); opacity: .72; }
  to { transform: translate3d(20px, 18px, 0) scale(1.06); opacity: 1; }
}
@keyframes retax-status-pulse {
  0%, 100% { opacity: .55; transform: scale(.86); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes retax-ring-spin { to { transform: rotate(360deg); } }
@keyframes retax-ai-orbit { to { transform: rotate(-360deg); } }
@keyframes retax-ai-signal {
  0%, 100% { opacity: .42; transform: scale(.72); }
  45%, 62% { opacity: 1; transform: scale(1.12); }
}
@keyframes retax-core-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  48% { transform: translate3d(0, -4px, 0) scale(1.02); }
  72% { transform: translate3d(0, 1px, 0) scale(1.01); }
}
@keyframes retax-result-glow {
  0%, 65%, 100% { opacity: .5; transform: scale(.94); }
  75%, 88% { opacity: 1; transform: scale(1.18); box-shadow: 0 0 64px rgba(242,201,76,.16); }
}
@keyframes retax-sheet-gather {
  0%, 100% { opacity: .12; transform: translate(-88%, -58%) rotate(-8deg) scale(.92); }
  18% { opacity: .52; transform: translate(-68%, -54%) rotate(-4deg) scale(.97); }
  34%, 72% { opacity: .64; transform: translate(-50%, -49%) rotate(0deg) scale(1); }
  88% { opacity: .18; transform: translate(-24%, -43%) rotate(6deg) scale(.94); }
}
@keyframes retax-sheet-scan {
  0%, 25%, 100% { opacity: 0; transform: translateY(0); }
  30% { opacity: .95; }
  48% { opacity: .85; transform: translateY(132px); }
  54% { opacity: 0; transform: translateY(132px); }
}
@keyframes retax-node-cycle {
  0%, 42%, 100% { opacity: .72; transform: translate3d(0, 0, 0); border-color: rgba(141,220,255,.18); }
  50%, 67% { opacity: 1; transform: translate3d(0, -3px, 0); border-color: rgba(105,218,255,.48); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 26px rgba(0,174,239,.15); }
  78% { opacity: .82; transform: translate3d(0, 0, 0); }
}
@keyframes retax-route-fill {
  0%, 38%, 100% { transform: scaleX(.02); opacity: .45; }
  72%, 88% { transform: scaleX(1); opacity: 1; }
  96% { transform: scaleX(1); opacity: 0; }
}
@keyframes retax-scroll-cue {
  0%, 100% { transform: scaleY(.45); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

@media (max-width: 1120px) {
  .retax-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(410px, .88fr); gap: 36px; }
  .retax-hero h1 { font-size: clamp(43px, 5vw, 60px); }
  .retax-stage-node { min-width: 132px; padding: 10px; }
}

@media (max-width: 980px) {
  .retax-hero-scroll-scene { height: auto; min-height: 0; }
  .retax-mobile-nav { display: block; }
  .retax-nav > .retax-btn { margin-left: auto; }
  .retax-hero { min-height: auto; padding: 72px 0 84px; }
  .retax-hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .retax-hero-copy { max-width: 760px; transform: none; opacity: 1; }
  .retax-hero-stage { width: min(100%, 680px); min-height: 530px; margin: 0 auto; transform: none; }
  .retax-stage-outcome { display: none; }
  .retax-scroll-cue { display: none; }
}

@media (max-width: 640px) {
  .retax-nav { gap: 12px; }
  .retax-logo img { width: 176px; max-width: 56vw; }
  .retax-hero { padding: 50px 0 58px; }
  .retax-hero h1 { font-size: clamp(37px, 11vw, 47px); line-height: 1.08; }
  .retax-hero .retax-lead { font-size: 17px; line-height: 1.56; }
  .retax-hero .retax-proof-line span { width: auto; }
  .retax-hero-stage { min-height: 440px; border-radius: 25px; }
  .retax-stage-status { top: 18px; left: 18px; right: 18px; font-size: 9px; }
  .retax-stage-scene { inset: 52px 10px 82px; }
  .retax-stage-core { top: 49%; width: 142px; height: 142px; }
  .retax-stage-core img { width: 92px; height: 92px; }
  .retax-ai-network { inset: 18px; }
  .retax-ai-network i { width: 6px; height: 6px; }
  .retax-ai-core-label { bottom: -14px; min-width: 128px; padding: 6px 9px 5px; }
  .retax-ai-core-label strong { font-size: 8px; }
  .retax-ai-core-label small { font-size: 7px; }
  .retax-data-sheet { width: 116px; height: 152px; padding: 24px 14px; }
  .retax-stage-node { min-width: 116px; padding: 8px; gap: 7px; border-radius: 13px; }
  .retax-stage-node b { width: 26px; height: 26px; border-radius: 9px; font-size: 9px; }
  .retax-stage-node span { font-size: 10px; }
  .retax-stage-node small { font-size: 8px; }
  .retax-stage-node-doc { left: 0; top: 12%; }
  .retax-stage-node-check { right: 0; top: 16%; }
  .retax-stage-node-legal { left: 0; bottom: 8%; }
  .retax-stage-node-return { right: 0; bottom: 4%; }
  .retax-stage-progress { left: 18px; right: 18px; bottom: 53px; }
  .retax-stage-caption { left: 18px; right: 18px; bottom: 14px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .retax-ai-network,
  .retax-ai-network i { animation: none; }
}

@supports not (overflow: clip) {
  .retax-page { overflow-x: hidden; }
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #0b2e59;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff;
}
.retax-hero a:focus-visible,
.retax-hero button:focus-visible {
  outline-color: #0b2e59;
  box-shadow: 0 0 0 6px rgba(255,255,255,.94);
}

/* RETAX 3.1 — explicit Apple-style scroll direction */
.retax-hero-scroll-scene {
  position: relative;
  background: #e8f6ff;
}

@media (min-width: 981px) {
  .retax-hero-scroll-scene {
    height: 138vh;
    height: 138svh;
    min-height: 960px;
  }
  .retax-hero-scroll-scene .retax-hero {
    position: sticky;
    top: 76px;
    height: calc(100vh - 76px);
    height: calc(100svh - 76px);
    min-height: 660px;
    padding-top: clamp(48px, 6vh, 86px);
    padding-bottom: clamp(48px, 6vh, 74px);
  }
  .admin-bar .retax-hero-scroll-scene .retax-hero {
    top: 108px;
    height: calc(100vh - 108px);
    height: calc(100svh - 108px);
  }
  .retax-hero-scroll-scene .retax-hero-grid { align-items: center; }
  .retax-hero-stage,
  .retax-hero-copy,
  .retax-hero:after { transition: none; }

  #process { padding-top: 110px; padding-bottom: 140px; }
  #process .retax-section-head { top: 128px; }
  #process .retax-steps {
    --retax-process-progress: 0;
    position: relative;
    gap: 22px;
  }
  #process .retax-steps:before,
  #process .retax-steps:after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 40px;
    top: 42px;
    bottom: 42px;
    width: 2px;
    border-radius: 99px;
    pointer-events: none;
  }
  #process .retax-steps:before { background: var(--rtx-line); }
  #process .retax-steps:after {
    background: linear-gradient(180deg, var(--rtx-blue-2), var(--rtx-blue), var(--rtx-gold));
    box-shadow: 0 0 14px rgba(0,174,239,.22);
    transform: scaleY(var(--retax-process-progress));
    transform-origin: top;
    transition: transform .12s linear;
  }
  html.retax-scroll-motion-ready #process .retax-step {
    position: relative;
    z-index: 1;
    transform: translate3d(0, 16px, 0) scale(.988);
    transition:
      opacity .52s cubic-bezier(.22,1,.36,1),
      transform .52s cubic-bezier(.22,1,.36,1),
      border-color .36s ease,
      box-shadow .36s ease;
  }
  html.retax-scroll-motion-ready #process .retax-step.is-passed {
    transform: none;
  }
  html.retax-scroll-motion-ready #process .retax-step.is-current {
    transform: none;
    border-color: rgba(18,110,184,.38);
    box-shadow: 0 18px 54px rgba(11,46,89,.11);
  }
  #process .retax-step > strong {
    position: relative;
    z-index: 2;
    opacity: .48;
    transition: transform .36s cubic-bezier(.22,1,.36,1), background-color .36s ease, color .36s ease;
  }
  #process .retax-step.is-passed > strong {
    opacity: .8;
    color: var(--rtx-blue);
    background: #dff3ff;
  }
  #process .retax-step.is-current > strong {
    opacity: 1;
    color: #fff;
    background: var(--rtx-blue);
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(18,110,184,.22);
  }
  html.retax-scroll-motion-ready #process .retax-steps.is-static .retax-step {
    transform: none;
  }
  #process .retax-steps.is-static .retax-step > strong {
    opacity: 1;
  }
}

@media (min-width: 981px) and (max-height: 735px) {
  .retax-hero-scroll-scene {
    height: auto;
    min-height: 0;
  }
  .retax-hero-scroll-scene .retax-hero,
  .admin-bar .retax-hero-scroll-scene .retax-hero {
    position: relative;
    top: auto;
    height: auto;
    min-height: 660px;
    padding-top: 48px;
    padding-bottom: 64px;
  }
}

/* RETAX 3.2+ — responsive header and card foundations */
.retax-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--rtx-blue-2), var(--rtx-blue), var(--rtx-gold), transparent);
  background-size: 220% 100%;
  opacity: 0;
  transform: scaleX(.3);
  transition: opacity .3s ease, transform .42s cubic-bezier(.22,1,.36,1);
}

.retax-header.retax-header-scrolled::after {
  opacity: .72;
  transform: scaleX(1);
  animation: retax-header-flow 5.6s linear infinite;
}

.retax-header .retax-logo img,
.retax-header .retax-menu {
  transition: transform .38s cubic-bezier(.22,1,.36,1), filter .38s ease;
}

.retax-header.retax-header-scrolled .retax-logo img {
  transform: translate3d(0, -1px, 0) scale(.965);
  transform-origin: left center;
  filter: saturate(1.06);
}

.retax-header.retax-header-scrolled .retax-menu {
  transform: translate3d(0, -1px, 0);
}

html.retax-card-motion-ready .retax-scroll-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform-style: preserve-3d;
}

@keyframes retax-header-flow {
  from { background-position: 110% 0; }
  to { background-position: -110% 0; }
}

/* Pure white light-card surfaces. */
.retax-card,
.retax-result-panel,
.retax-contact-card,
.retax-card-icon,
.retax-card-watermark,
.retax-result-list li {
  background: #fff !important;
  background-image: none !important;
}

/* RETAX 3.4 — cards move only while the page scrolls */
html.retax-card-motion-ready .retax-scroll-card {
  --retax-card-scroll-x: 0px;
  --retax-card-scroll-y: 60px;
  --retax-card-rotate-x: 6deg;
  --retax-card-rotate-y: 0deg;
  --retax-card-scale: .88;
  translate: none;
  rotate: none;
  scale: none;
  animation: none !important;
  transform-origin: 50% 50%;
  transition: none;
  opacity: 1;
  transform:
    perspective(1200px)
    translate3d(var(--retax-card-scroll-x), var(--retax-card-scroll-y), 0)
    rotateX(var(--retax-card-rotate-x))
    rotateY(var(--retax-card-rotate-y))
    scale(var(--retax-card-scale));
}

html.retax-card-motion-ready .retax-result-panel {
  --retax-card-scroll-y: 48px;
  --retax-card-rotate-x: 4deg;
  --retax-card-scale: .92;
}

html.retax-card-motion-ready .retax-contact-card {
  --retax-card-scroll-y: 42px;
  --retax-card-rotate-x: 4deg;
  --retax-card-scale: .91;
}

html.retax-card-motion-ready .retax-band {
  --retax-card-scroll-y: 32px;
  --retax-card-rotate-x: 2deg;
  --retax-card-scale: .95;
}

html.retax-card-motion-ready .retax-scroll-card.is-card-visible {
  will-change: transform;
}

html.retax-card-motion-ready .retax-scroll-card::before,
html.retax-card-motion-ready .retax-scroll-card.is-card-visible.is-revealed::before,
html.retax-card-motion-ready .retax-band::before,
html.retax-card-motion-ready .retax-band.is-card-visible.is-revealed::before {
  content: none !important;
  display: none !important;
  animation: none !important;
}

html.retax-card-motion-ready .retax-scroll-card .retax-card-icon,
html.retax-card-motion-ready .retax-scroll-card .retax-card-watermark,
html.retax-card-motion-ready .retax-scroll-card .retax-card-number,
html.retax-card-motion-ready .retax-scroll-card .retax-result-list li::before,
html.retax-card-motion-ready .retax-scroll-card .retax-clean-list li::before,
html.retax-card-motion-ready .retax-scroll-card .retax-risk-item {
  animation: none !important;
}

html.retax-card-motion-ready .retax-contact-card > span::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

.retax-card-graphic::after,
.retax-case-card::after {
  display: none;
}

@media (max-width: 980px) {
  html.retax-card-motion-ready .retax-scroll-card {
    --retax-card-scroll-y: 42px;
    --retax-card-rotate-x: 4deg;
    --retax-card-scale: .92;
  }
  html.retax-card-motion-ready .retax-result-panel,
  html.retax-card-motion-ready .retax-contact-card {
    --retax-card-scroll-y: 34px;
    --retax-card-rotate-x: 3deg;
    --retax-card-scale: .94;
  }
  html.retax-card-motion-ready .retax-band {
    --retax-card-scroll-y: 24px;
    --retax-card-rotate-x: 1.6deg;
    --retax-card-scale: .96;
  }
}

@media (max-width: 640px) {
  html.retax-card-motion-ready .retax-scroll-card,
  html.retax-card-motion-ready .retax-result-panel,
  html.retax-card-motion-ready .retax-contact-card {
    --retax-card-scroll-y: 28px;
    --retax-card-rotate-x: 2.4deg;
    --retax-card-scale: .94;
  }
  html.retax-card-motion-ready .retax-band {
    --retax-card-scroll-y: 18px;
    --retax-card-rotate-x: 1deg;
    --retax-card-scale: .97;
  }
}

/* RETAX 3.12 — dynamic AI processor replaces the final hero text frame. */
.retax-stage-ai-visual {
  left: 50%;
  right: auto;
  width: min(470px, calc(100% - 72px));
  height: min(390px, calc(100% - 90px));
  color: var(--rtx-ink);
  transform:
    translate(-50%, -50%)
    translateY(var(--retax-stage-outcome-shift))
    scale(var(--retax-stage-outcome-scale));
}

.retax-stage-ai-visual span {
  position: absolute;
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.retax-ai-visual-ring {
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.retax-ai-visual-ring-one {
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(18,110,184,.30);
  box-shadow: 0 0 54px rgba(0,174,239,.08);
  animation: retax-ai-visual-spin 18s linear infinite;
}

.retax-ai-visual-ring-two {
  width: 410px;
  height: 238px;
  border: 1px solid rgba(0,174,239,.20);
  box-shadow: inset 0 0 48px rgba(0,174,239,.05);
  animation: retax-ai-visual-spin-reverse 13s linear infinite;
}

.retax-ai-visual-ring-three {
  width: 244px;
  height: 350px;
  border: 1px solid rgba(180,132,0,.18);
  animation: retax-ai-visual-spin-tilted 21s linear infinite;
}

.retax-ai-chip-graphic {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 154px;
  height: 154px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(18,110,184,.28);
  border-radius: 32px;
  background:
    radial-gradient(circle at 34% 22%, rgba(255,255,255,.98), transparent 34%),
    linear-gradient(145deg, rgba(242,251,255,.98), rgba(191,233,252,.92));
  box-shadow:
    0 30px 68px rgba(11,46,89,.22),
    0 0 0 12px rgba(255,255,255,.50),
    0 0 72px rgba(0,174,239,.25),
    inset 0 1px 0 #fff;
  transform: translate(-50%, -50%);
  animation: retax-ai-chip-breathe 4.8s ease-in-out infinite;
}

.retax-ai-chip-graphic::before,
.retax-ai-chip-graphic::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.retax-ai-chip-graphic::before {
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(18,110,184,.20);
  border-radius: 23px;
  box-shadow: inset 0 0 28px rgba(18,110,184,.08);
}

.retax-ai-chip-graphic::after {
  inset: -25px;
  z-index: -1;
  border-radius: 42px;
  background: conic-gradient(from 25deg, transparent, rgba(0,174,239,.18), transparent 24%, transparent 70%, rgba(242,201,76,.18), transparent);
  filter: blur(8px);
  animation: retax-ai-chip-halo 9s linear infinite;
}

.retax-ai-chip-grid {
  position: absolute;
  z-index: 1;
  inset: 21px;
  border-radius: 18px;
  opacity: .42;
  background:
    linear-gradient(rgba(18,110,184,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,110,184,.16) 1px, transparent 1px);
  background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 78%);
  mask-image: radial-gradient(circle, #000 20%, transparent 78%);
}

.retax-ai-chip-graphic b {
  position: relative;
  z-index: 3;
  color: #0b4f89;
  font-size: 54px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -.07em;
  text-shadow: 0 10px 26px rgba(18,110,184,.18);
}

.retax-ai-chip-graphic em {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 25px;
  color: #527592;
  font-size: 8px;
  line-height: 1;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .18em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.retax-ai-chip-pins {
  position: absolute;
  z-index: -1;
  opacity: .62;
}

.retax-ai-chip-pins-x {
  left: -38px;
  right: -38px;
  top: 22px;
  bottom: 22px;
  background: repeating-linear-gradient(180deg, transparent 0 12px, rgba(18,110,184,.42) 12px 14px, transparent 14px 23px);
}

.retax-ai-chip-pins-y {
  top: -38px;
  bottom: -38px;
  left: 22px;
  right: 22px;
  background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(18,110,184,.42) 12px 14px, transparent 14px 23px);
}

.retax-ai-neural-nodes {
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
}

.retax-ai-neural-nodes i {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: #00aeef;
  box-shadow: 0 0 0 7px rgba(0,174,239,.09), 0 0 24px rgba(0,174,239,.42);
  animation: retax-ai-node-pulse 3.2s ease-in-out infinite;
}

.retax-ai-neural-nodes i:nth-child(1) { left: 9%; top: 25%; animation-delay: -.4s; }
.retax-ai-neural-nodes i:nth-child(2) { left: 29%; top: 8%; animation-delay: -.8s; }
.retax-ai-neural-nodes i:nth-child(3) { right: 26%; top: 6%; animation-delay: -1.2s; }
.retax-ai-neural-nodes i:nth-child(4) { right: 7%; top: 30%; animation-delay: -1.6s; }
.retax-ai-neural-nodes i:nth-child(5) { right: 10%; bottom: 22%; animation-delay: -2s; }
.retax-ai-neural-nodes i:nth-child(6) { right: 30%; bottom: 6%; animation-delay: -2.4s; }
.retax-ai-neural-nodes i:nth-child(7) { left: 25%; bottom: 8%; animation-delay: -2.8s; }
.retax-ai-neural-nodes i:nth-child(8) { left: 7%; bottom: 29%; animation-delay: -3.2s; }
.retax-ai-neural-nodes i:nth-child(3n) {
  background: #d4a900;
  box-shadow: 0 0 0 7px rgba(242,201,76,.10), 0 0 24px rgba(210,160,0,.34);
}

.retax-ai-data-flow {
  z-index: 2;
  left: 50%;
  top: 50%;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(18,110,184,.18), transparent);
  transform: translate(-50%, -50%);
}

.retax-ai-data-flow::after {
  content: "";
  position: absolute;
  border-radius: 99px;
  background: #00aeef;
  box-shadow: 0 0 18px rgba(0,174,239,.72);
}

.retax-ai-data-flow-horizontal {
  width: 100%;
  height: 1px;
}

.retax-ai-data-flow-horizontal::after {
  top: -2px;
  width: 38px;
  height: 5px;
  animation: retax-ai-flow-horizontal 3.8s ease-in-out infinite;
}

.retax-ai-data-flow-vertical {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(18,110,184,.16), transparent);
}

.retax-ai-data-flow-vertical::after {
  left: -2px;
  width: 5px;
  height: 38px;
  animation: retax-ai-flow-vertical 4.4s ease-in-out infinite -.8s;
}

.retax-hero-stage:not(.is-active) .retax-stage-ai-visual *,
.retax-hero-stage.is-paused .retax-stage-ai-visual * {
  animation-play-state: paused !important;
}

@keyframes retax-ai-visual-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes retax-ai-visual-spin-reverse {
  from { transform: translate(-50%, -50%) rotate(24deg); }
  to { transform: translate(-50%, -50%) rotate(-336deg); }
}

@keyframes retax-ai-visual-spin-tilted {
  from { transform: translate(-50%, -50%) rotate(-31deg); }
  to { transform: translate(-50%, -50%) rotate(329deg); }
}

@keyframes retax-ai-chip-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(.97); }
  50% { transform: translate(-50%, -50%) scale(1.035); }
}

@keyframes retax-ai-chip-halo { to { transform: rotate(360deg); } }

@keyframes retax-ai-node-pulse {
  0%, 100% { opacity: .45; transform: scale(.72); }
  45%, 62% { opacity: 1; transform: scale(1.15); }
}

@keyframes retax-ai-flow-horizontal {
  0% { left: -12%; opacity: 0; }
  18%, 82% { opacity: 1; }
  100% { left: 104%; opacity: 0; }
}

@keyframes retax-ai-flow-vertical {
  0% { top: -12%; opacity: 0; }
  18%, 82% { opacity: 1; }
  100% { top: 104%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .retax-stage-ai-visual * { animation: none !important; }
}

/* RETAX 3.13 — official Adilet RSS updates. */
.retax-adilet-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 2%, rgba(0,174,239,.12), transparent 30rem),
    linear-gradient(180deg, #f6fcff 0%, #eef9ff 100%);
  border-top: 1px solid rgba(18,110,184,.10);
  border-bottom: 1px solid rgba(18,110,184,.10);
}

.retax-adilet-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 38px;
  margin-bottom: 42px;
}

.retax-adilet-heading .retax-section-head p {
  max-width: 780px;
}

.retax-adilet-source {
  min-width: 238px;
  margin-bottom: 4px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(18,110,184,.16);
  border-radius: 18px;
  color: var(--rtx-ink);
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 36px rgba(11,46,89,.08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.retax-adilet-source:hover {
  transform: translateY(-2px);
  border-color: rgba(18,110,184,.32);
  box-shadow: 0 18px 42px rgba(11,46,89,.12);
}

.retax-adilet-source > span:last-child {
  display: grid;
  gap: 3px;
}

.retax-adilet-source small {
  color: #668097;
  font-size: 10px;
  font-weight: 740;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.retax-adilet-source strong {
  color: var(--rtx-ink);
  font-size: 14px;
}

.retax-adilet-source-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #e6f7ff;
  border: 1px solid rgba(0,174,239,.18);
}

.retax-adilet-source-mark::before,
.retax-adilet-source-mark::after,
.retax-adilet-source-mark i {
  content: "";
  position: absolute;
  left: 9px;
  bottom: 9px;
  border: 2px solid var(--rtx-blue);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 0 100% 0 0;
}

.retax-adilet-source-mark::before { width: 16px; height: 16px; }
.retax-adilet-source-mark::after { width: 9px; height: 9px; }
.retax-adilet-source-mark i {
  width: 4px;
  height: 4px;
  border: 0;
  border-radius: 50%;
  background: var(--rtx-gold);
  box-shadow: 0 0 0 4px rgba(242,201,76,.16);
}

.retax-adilet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.retax-adilet-card {
  min-height: 470px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
}

.retax-adilet-media,
.retax-adilet-visual {
  position: relative;
  height: 176px;
  flex: 0 0 auto;
  overflow: hidden;
  border-bottom: 1px solid rgba(18,110,184,.11);
  background: linear-gradient(145deg, #dff5ff, #f5fcff);
}

.retax-adilet-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}

.retax-adilet-card:hover .retax-adilet-media img { transform: scale(1.035); }

.retax-adilet-visual {
  isolation: isolate;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.92), transparent 32%),
    linear-gradient(145deg, #d9f3ff, #f7fcff 72%);
}

.retax-adilet-card:nth-child(3n + 2) .retax-adilet-visual {
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.94), transparent 32%),
    linear-gradient(145deg, #e4f7ff, #f7fcff 68%, #fff9e1);
}

.retax-adilet-card:nth-child(3n) .retax-adilet-visual {
  background:
    radial-gradient(circle at 76% 76%, rgba(255,255,255,.95), transparent 32%),
    linear-gradient(145deg, #edf9ff, #d9f2ff);
}

.retax-adilet-visual::before,
.retax-adilet-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(18,110,184,.14);
}

.retax-adilet-visual::before {
  width: 230px;
  height: 230px;
  right: -54px;
  top: -116px;
  box-shadow: inset 0 0 0 24px rgba(255,255,255,.15), inset 0 0 0 48px rgba(18,110,184,.025);
}

.retax-adilet-visual::after {
  width: 108px;
  height: 108px;
  left: -34px;
  bottom: -58px;
  border-style: dashed;
}

.retax-adilet-visual span {
  color: #126eb8;
  font-size: 70px;
  line-height: 1;
  font-weight: 760;
  text-shadow: 0 18px 44px rgba(18,110,184,.16);
}

.retax-adilet-visual i {
  position: absolute;
  height: 1px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(18,110,184,.26), transparent);
}

.retax-adilet-visual i:nth-of-type(1) { width: 72%; top: 34%; transform: rotate(18deg); }
.retax-adilet-visual i:nth-of-type(2) { width: 64%; bottom: 29%; transform: rotate(-14deg); }
.retax-adilet-visual i:nth-of-type(3) { width: 46%; left: -4%; top: 53%; transform: rotate(42deg); }

.retax-adilet-card-copy {
  padding: 24px 24px 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.retax-adilet-meta {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #668097;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.retax-adilet-meta span { color: var(--rtx-blue); }
.retax-adilet-meta time { white-space: nowrap; }

.retax-adilet-card h3 {
  margin-bottom: 13px;
  color: var(--rtx-ink);
  font-size: 20px;
  line-height: 1.32;
  letter-spacing: -.012em;
}

.retax-adilet-card h3 a:hover { color: var(--rtx-blue); }

.retax-adilet-card-copy > p {
  margin-bottom: 20px;
  color: #536f87;
  font-size: 14px;
  line-height: 1.62;
}

.retax-adilet-read {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rtx-blue);
  font-size: 13px;
  font-weight: 720;
}

.retax-adilet-read span { transition: transform .2s ease; }
.retax-adilet-read:hover span { transform: translate(2px, -2px); }

.retax-adilet-unavailable {
  padding: 34px;
  border: 1px solid rgba(18,110,184,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 48px rgba(11,46,89,.08);
  text-align: center;
}

.retax-adilet-unavailable strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rtx-ink);
  font-size: 21px;
}

.retax-adilet-unavailable p {
  max-width: 620px;
  margin: 0 auto 20px;
  color: #536f87;
}

@media (max-width: 980px) {
  .retax-adilet-heading { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .retax-adilet-source { width: fit-content; }
  .retax-adilet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .retax-adilet-heading { margin-bottom: 30px; }
  .retax-adilet-source { width: 100%; min-width: 0; }
  .retax-adilet-grid { grid-template-columns: 1fr; gap: 20px; }
  .retax-adilet-card { min-height: 0; }
  .retax-adilet-media,
  .retax-adilet-visual { height: 158px; }
  .retax-adilet-card-copy { padding: 22px 21px 24px; }
  .retax-adilet-card h3 { font-size: 19px; }
  .retax-adilet-unavailable { padding: 28px 22px; }
}

/* RETAX 3.14 — full-bleed Big Four-inspired hero using an original RETAX visual. */
.retax-hero {
  --retax-media-scale: 1.025;
  --retax-media-shift: 0px;
  --retax-media-opacity: 1;
  background: #edf8fe;
}

.retax-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.retax-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: var(--retax-media-opacity);
  transform: translate3d(0, var(--retax-media-shift), 0) scale(var(--retax-media-scale));
  transform-origin: 58% 48%;
  will-change: transform, opacity;
}

.retax-hero-media span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247,252,255,.98) 0%, rgba(247,252,255,.90) 31%, rgba(247,252,255,.53) 48%, rgba(247,252,255,.05) 75%),
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 64%, rgba(229,247,255,.38));
}

.retax-hero-grid {
  position: relative;
  z-index: 4;
  grid-template-columns: minmax(0, 650px);
  justify-content: start;
  gap: 0;
}

.retax-hero-copy {
  z-index: 5;
  max-width: 650px;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 30px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 26px 72px rgba(11,46,89,.13), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px) saturate(1.08);
}

.retax-hero .retax-kicker {
  background: rgba(255,255,255,.66);
  box-shadow: none;
}

.retax-hero-stage {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.retax-stage-grid {
  -webkit-mask-image: radial-gradient(circle at 72% 50%, #000 0, transparent 67%);
  mask-image: radial-gradient(circle at 72% 50%, #000 0, transparent 67%);
}

.retax-stage-status {
  left: 54%;
  right: 4%;
}

.retax-stage-scene {
  left: 52%;
  right: 3.5%;
}

.retax-stage-progress,
.retax-stage-caption {
  left: 55%;
  right: 4%;
}

.retax-stage-progress { bottom: 65px; }
.retax-stage-caption { bottom: 20px; }

.retax-hero-stage::after {
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.72), rgba(66,207,255,.17) 37%, transparent 66%);
  box-shadow: inset 0 0 110px rgba(88,211,255,.15);
}

@media (min-width: 981px) {
  .retax-hero-scroll-scene .retax-hero-grid {
    height: 100%;
    align-items: center;
  }
}

@media (max-width: 1120px) and (min-width: 981px) {
  .retax-hero-grid { grid-template-columns: minmax(0, 570px); }
  .retax-hero-copy { max-width: 570px; }
  .retax-hero h1 { font-size: clamp(42px, 5vw, 58px); }
  .retax-stage-status { left: 55%; right: 3%; }
  .retax-stage-scene { left: 53%; right: 2%; }
  .retax-stage-progress,
  .retax-stage-caption { left: 57%; right: 3%; }
}

@media (max-width: 980px) {
  .retax-hero {
    min-height: 760px;
    padding: 300px 0 66px;
    align-items: flex-end;
  }
  .retax-hero-grid { display: block; }
  .retax-hero-copy {
    max-width: 720px;
    padding: 32px;
    border-radius: 26px;
    background: rgba(255,255,255,.84);
  }
  .retax-hero-stage { display: none; }
  .retax-hero-media img { object-position: 66% center; }
  .retax-hero-media span {
    background:
      linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.05) 33%, rgba(247,252,255,.58) 58%, rgba(247,252,255,.95) 100%),
      linear-gradient(90deg, rgba(247,252,255,.24), transparent 70%);
  }
}

@media (max-width: 640px) {
  .retax-hero {
    min-height: 720px;
    padding: 260px 0 38px;
  }
  .retax-hero-copy {
    padding: 25px 23px 27px;
    border-radius: 23px;
  }
  .retax-hero-media img { object-position: 68% center; }
  .retax-hero .retax-kicker { margin-bottom: 18px; }
  .retax-hero h1 { margin-bottom: 18px; }
  .retax-hero .retax-lead { margin-bottom: 22px; }
  .retax-hero .retax-proof-line { gap: 8px 14px; }
}

/* RETAX 3.15 — compact, visually distinct Adilet news slider. */
.retax-adilet-section {
  padding: 54px 0 48px;
  color: #fff;
  background:
    radial-gradient(circle at 91% 10%, rgba(0,174,239,.20), transparent 26rem),
    radial-gradient(circle at 8% 112%, rgba(18,110,184,.32), transparent 30rem),
    linear-gradient(128deg, #071f3d 0%, #0a315a 54%, #0b4678 100%);
  border-color: rgba(255,255,255,.08);
}

.retax-adilet-heading {
  align-items: center;
  margin-bottom: 24px;
}

.retax-adilet-heading .retax-section-head h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(27px, 3vw, 36px);
}

.retax-adilet-heading .retax-section-head p {
  margin-bottom: 0;
  color: rgba(255,255,255,.66);
  font-size: 15px;
  line-height: 1.55;
}

.retax-adilet-heading .retax-eyebrow { color: #72d7ff; }

.retax-adilet-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.retax-adilet-source {
  min-width: 220px;
  margin: 0;
  padding: 11px 14px;
  border-color: rgba(255,255,255,.14);
  border-radius: 15px;
  color: #fff;
  background: rgba(255,255,255,.07);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.retax-adilet-source:hover {
  border-color: rgba(114,215,255,.38);
  background: rgba(255,255,255,.11);
  box-shadow: none;
}

.retax-adilet-source small { color: rgba(255,255,255,.50); }
.retax-adilet-source strong { color: #fff; }
.retax-adilet-source-mark {
  width: 34px;
  height: 34px;
  border-color: rgba(114,215,255,.24);
  background: rgba(114,215,255,.10);
}
.retax-adilet-source-mark::before,
.retax-adilet-source-mark::after { border-color: #72d7ff; border-left-color: transparent; border-bottom-color: transparent; }

.retax-adilet-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.retax-adilet-controls button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  font: inherit;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.retax-adilet-controls button:hover:not(:disabled) {
  border-color: rgba(114,215,255,.52);
  background: rgba(114,215,255,.16);
  transform: translateY(-1px);
}

.retax-adilet-controls button:disabled {
  opacity: .28;
  cursor: default;
}

.retax-adilet-controls button span {
  display: block;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

.retax-adilet-grid {
  display: flex;
  grid-template-columns: none;
  gap: 16px;
  padding: 2px 3px 13px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 3px;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.retax-adilet-grid::-webkit-scrollbar { display: none; }

.retax-adilet-card {
  min-height: 226px;
  flex: 0 0 clamp(300px, 31vw, 350px);
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  grid-template-rows: 1fr;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0,10,30,.20);
}

.retax-adilet-media,
.retax-adilet-visual {
  width: 82px;
  height: 100%;
  min-height: 226px;
  border-right: 1px solid rgba(18,110,184,.10);
  border-bottom: 0;
  border-radius: 17px 0 0 17px;
}

.retax-adilet-media img { object-position: center; }

.retax-adilet-visual span {
  font-size: 42px;
  transform: translateY(-2px);
}

.retax-adilet-visual::before {
  width: 130px;
  height: 130px;
  right: -72px;
  top: -42px;
}

.retax-adilet-visual::after {
  width: 76px;
  height: 76px;
  left: -39px;
  bottom: -24px;
}

.retax-adilet-visual i:nth-of-type(1) { width: 120%; top: 38%; }
.retax-adilet-visual i:nth-of-type(2) { width: 110%; bottom: 31%; }
.retax-adilet-visual i:nth-of-type(3) { display: none; }

.retax-adilet-card-copy {
  min-width: 0;
  padding: 18px 19px 19px;
}

.retax-adilet-meta {
  margin-bottom: 9px;
  gap: 8px;
  font-size: 9px;
}

.retax-adilet-card h3 {
  margin-bottom: 0;
  min-height: 66px;
  overflow: hidden;
  color: var(--rtx-ink);
  font-size: 16.5px;
  line-height: 1.34;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.retax-adilet-card-copy > p { display: none; }

.retax-adilet-read {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
}

.retax-adilet-unavailable {
  padding: 24px;
  border-color: rgba(255,255,255,.14);
  color: #fff;
  background: rgba(255,255,255,.08);
  box-shadow: none;
}

.retax-adilet-unavailable strong { color: #fff; }
.retax-adilet-unavailable p { color: rgba(255,255,255,.68); }

@media (max-width: 980px) {
  .retax-adilet-heading { gap: 15px; }
  .retax-adilet-heading-actions { justify-content: space-between; }
  .retax-adilet-source { width: auto; }
  .retax-adilet-grid { grid-template-columns: none; }
  .retax-adilet-card { flex-basis: 330px; }
}

@media (max-width: 640px) {
  .retax-adilet-section { padding: 42px 0 36px; }
  .retax-adilet-heading { margin-bottom: 20px; }
  .retax-adilet-heading .retax-section-head p { font-size: 14px; }
  .retax-adilet-heading-actions { align-items: stretch; }
  .retax-adilet-source { width: auto; min-width: 0; flex: 1; }
  .retax-adilet-source small { display: none; }
  .retax-adilet-controls { align-self: center; }
  .retax-adilet-controls button { width: 39px; height: 39px; }
  .retax-adilet-grid { gap: 13px; padding-bottom: 8px; }
  .retax-adilet-card {
    min-height: 214px;
    flex-basis: min(322px, calc(100vw - 58px));
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .retax-adilet-media,
  .retax-adilet-visual {
    width: 70px;
    min-height: 214px;
  }
  .retax-adilet-card-copy { padding: 17px 17px 18px; }
  .retax-adilet-card h3 { min-height: 64px; font-size: 16px; }
}

/* RETAX 3.16 — narrow top news ticker with an expanding card drawer. */
.retax-adilet-section {
  position: relative;
  z-index: 70;
  height: 42px;
  padding: 0;
  overflow: visible;
  background: linear-gradient(90deg, #071f3d, #0a315a 58%, #0b4678);
  border: 0;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.09);
}

.retax-adilet-section > .retax-container { height: 42px; }

.retax-adilet-ticker {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.retax-adilet-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.retax-adilet-ticker-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rtx-gold);
  box-shadow: 0 0 0 4px rgba(242,201,76,.13), 0 0 14px rgba(242,201,76,.30);
}

.retax-adilet-ticker-window {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 96%, transparent);
}

.retax-adilet-ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: retax-adilet-marquee 52s linear infinite;
  will-change: transform;
}

.retax-adilet-ticker-window:hover .retax-adilet-ticker-track,
.retax-adilet-ticker-window:focus-within .retax-adilet-ticker-track {
  animation-play-state: paused;
}

.retax-adilet-ticker-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
}

.retax-adilet-ticker-group a {
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 620;
  transition: color .2s ease;
}

.retax-adilet-ticker-group a:hover,
.retax-adilet-ticker-group a:focus-visible { color: #fff; }
.retax-adilet-ticker-group > i { color: rgba(114,215,255,.70); font-style: normal; }

.retax-adilet-ticker-toggle {
  min-height: 30px;
  padding: 0 3px 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.16);
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.retax-adilet-ticker-toggle > i {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .24s ease;
}

.retax-adilet-section.is-adilet-open .retax-adilet-ticker-toggle > i {
  transform: translateY(2px) rotate(225deg);
}

.retax-adilet-drawer {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: 42px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  color: #fff;
  background:
    radial-gradient(circle at 91% 10%, rgba(0,174,239,.20), transparent 26rem),
    linear-gradient(128deg, #071f3d 0%, #0a315a 54%, #0b4678 100%);
  box-shadow: 0 26px 70px rgba(0,12,32,.32), inset 0 1px 0 rgba(255,255,255,.08);
  transform: translateY(-9px);
  transform-origin: top;
  transition: max-height .42s cubic-bezier(.22,1,.36,1), opacity .22s ease, transform .32s cubic-bezier(.22,1,.36,1), visibility 0s linear .42s;
}

.retax-adilet-drawer-inner { padding-top: 27px; padding-bottom: 30px; }

.retax-adilet-section.is-adilet-open .retax-adilet-drawer,
.retax-adilet-section:focus-within .retax-adilet-drawer {
  max-height: 520px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
  .retax-adilet-section:hover .retax-adilet-drawer {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
}

@keyframes retax-adilet-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 640px) {
  .retax-adilet-section,
  .retax-adilet-section > .retax-container,
  .retax-adilet-ticker { height: 40px; }
  .retax-adilet-drawer { top: 40px; max-height: 0; }
  .retax-adilet-ticker { gap: 10px; }
  .retax-adilet-ticker-label span { display: none; }
  .retax-adilet-ticker-window {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent);
    mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent);
  }
  .retax-adilet-ticker-toggle { padding-left: 9px; }
  .retax-adilet-ticker-toggle span { font-size: 10px; }
  .retax-adilet-drawer-inner {
    max-height: calc(100vh - 58px);
    padding-top: 23px;
    padding-bottom: 25px;
    overflow-y: auto;
  }
  .retax-adilet-section.is-adilet-open .retax-adilet-drawer,
  .retax-adilet-section:focus-within .retax-adilet-drawer { max-height: calc(100vh - 40px); }
}

@media (prefers-reduced-motion: reduce) {
  .retax-adilet-ticker-track { animation: none; }
  .retax-adilet-ticker-group[aria-hidden="true"] { display: none; }
  .retax-adilet-drawer { transition: none; }
}
