/*
Theme Name: RETAX Production Final Typography
Theme URI: https://retax.kz/
Author: RETAX
Description: WordPress-тема RETAX для комплексного сопровождения возврата НДС в Казахстане: подготовка к проверке, сопровождение, споры с ДГД и суды.
Version: 2.2.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: #70849a;
  --rtx-line: #d8e9f8;
  --rtx-soft: #f3faff;
  --rtx-soft-blue: #e8f6ff;
  --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; }
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(232,246,255,.65), rgba(255,255,255,.35)); 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-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-2); 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 label:nth-child(5), .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 { transform: translateY(-1px); 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 label:nth-child(6), .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; }
.retax-form label:nth-child(5), .retax-form label:nth-child(6), .retax-form label:nth-child(8), .retax-form button, .retax-small { grid-column: 1 / -1; }
@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; }
