 /* ============ СВЕТЛАЯ ТЕМА ============ */
 :root {
     --bg-body: #f8fafc;
     --bg-card: #ffffff;
     --bg-subtle: #f1f5f9;
     --bg-hover: #f8fafc;
     --border-light: #e2e8f0;
     --border-accent: #fcd34d;
     --text-primary: #0f172a;
     --text-secondary: #475569;
     --text-muted: #94a3b8;
     --accent: #d97706;
     --accent-light: #fef3c7;
     --accent-strong: #b45309;
     --success: #059669;
     --danger: #e11d48;
     --radius-md: 14px;
     --radius-lg: 20px;
     --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
     --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
     --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
     --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     min-height: 100vh;
     background: var(--bg-body);
     background-image:
         radial-gradient(circle at 10% 10%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
         radial-gradient(circle at 90% 20%, rgba(217, 119, 6, 0.04) 0%, transparent 45%);
     color: var(--text-primary);
     padding: 40px 16px 56px;
     overflow-x: hidden;
 }

 .wrapper {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 22px;
     text-align: center;
     max-width: 480px;
     width: 100%;
     margin: 0 auto;
 }

 /* ---------- Логотип ---------- */
 .logo {
     display: flex;
     justify-content: center;
 }

 .logo img {
     width: 130px;
     height: 130px;
     border-radius: 50%;
     border: 3px solid var(--border-accent);
     box-shadow: 0 8px 24px rgba(217, 119, 6, 0.18);
     object-fit: cover;
 }

 .title {
     font-size: 30px;
     font-weight: 800;
     letter-spacing: -0.03em;
     color: var(--text-primary);
 }

 .title span {
     color: var(--accent);
 }

 .subtitle {
     font-size: 12px;
     color: var(--accent);
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.16em;
     margin-top: -14px;
 }

 /* ---------- Предупреждение ---------- */
 .alert {
     width: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     padding: 14px 18px;
     background: #fff7ed;
     border: 1px solid #fed7aa;
     color: #9a3412;
     font-size: 13px;
     font-weight: 600;
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-sm);
     text-align: left;
     line-height: 1.5;
 }

 .alert span:first-child {
     font-size: 18px;
     flex-shrink: 0;
 }

 /* ---------- Преимущества ---------- */
 .highlight {
     position: relative;
     width: 100%;
     background: var(--bg-card);
     border: 1px solid var(--border-light);
     border-radius: var(--radius-lg);
     padding: 28px 22px 22px;
     box-shadow: var(--shadow-md);
     text-align: left;
 }

 .badge {
     position: absolute;
     top: -13px;
     left: 50%;
     transform: translateX(-50%);
     background: linear-gradient(135deg, #f59e0b, #d97706);
     color: #fff;
     padding: 6px 20px;
     border-radius: 999px;
     font-size: 12px;
     font-weight: 700;
     letter-spacing: 0.3px;
     box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
     white-space: nowrap;
 }

 .highlight ul {
     list-style: none;
     display: flex;
     flex-direction: column;
     gap: 14px;
     font-size: 14px;
     line-height: 1.55;
     color: var(--text-secondary);
 }

 .highlight li {
     display: flex;
     align-items: flex-start;
 }

 .highlight li::before {
     content: "✓";
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 22px;
     height: 22px;
     background: var(--accent-light);
     color: var(--accent);
     border-radius: 50%;
     margin-right: 12px;
     font-size: 12px;
     font-weight: 800;
     flex-shrink: 0;
     margin-top: 1px;
 }

 .highlight li span,
 .card span {
     color: var(--accent);
     font-weight: 700;
 }

 /* ---------- Плашки ---------- */
 .receive-options {
     display: flex;
     gap: 10px;
     flex-wrap: wrap;
     justify-content: center;
     width: 100%;
 }

 .option-pill {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 10px 18px;
     background: var(--bg-card);
     border: 1px solid var(--border-light);
     border-radius: 999px;
     font-size: 13px;
     font-weight: 600;
     color: var(--text-primary);
     box-shadow: var(--shadow-sm);
     transition: border-color 0.2s, box-shadow 0.2s;
 }

 .option-pill:hover {
     border-color: var(--border-accent);
     box-shadow: 0 4px 12px rgba(217, 119, 6, 0.1);
 }

 .option-pill .icon {
     font-size: 16px;
 }

 .option-pill .text {
     color: var(--text-secondary);
 }

 /* ---------- Кнопка ---------- */
 .btn {
     width: 100%;
     padding: 18px 24px;
     font-size: 16px;
     font-weight: 700;
     color: #fff;
     background: linear-gradient(135deg, #f59e0b, #d97706);
     border: none;
     border-radius: var(--radius-md);
     cursor: pointer;
     text-decoration: none;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3);
     transition: transform 0.2s ease, box-shadow 0.2s ease;
 }

 .btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 28px rgba(217, 119, 6, 0.4);
 }

 .btn:active {
     transform: scale(0.98);
 }

 .btn svg {
     width: 20px;
     height: 20px;
     fill: currentColor;
 }

 /* ---------- Курс ---------- */
 .card {
     width: 100%;
     background: var(--bg-card);
     border: 1px solid var(--border-light);
     border-radius: var(--radius-lg);
     padding: 24px 26px;
     font-size: 15px;
     line-height: 1.65;
     color: var(--text-secondary);
     box-shadow: var(--shadow-md);
     text-align: left;
 }

 .rate-box {
     background: var(--bg-subtle);
     border-radius: 14px;
     padding: 18px;
     margin-bottom: 18px;
     border: 1px solid var(--border-light);
     text-align: center;
 }

 .rate-text {
     font-size: 13px;
     color: var(--text-muted);
     margin-bottom: 10px;
     font-weight: 600;
 }

 .rate-value {
     font-size: 22px;
     font-weight: 800;
     color: var(--text-primary);
     display: flex;
     flex-direction: column;
     gap: 6px;
     align-items: center;
 }

 .rate-value span {
     color: var(--accent);
 }

 .divider {
     width: 100%;
     height: 1px;
     margin: 18px 0;
     background: var(--border-light);
 }

 /* ---------- Офисы ---------- */
 .location {
     width: 100%;
     background: var(--bg-card);
     border: 1px solid var(--border-light);
     border-radius: var(--radius-lg);
     overflow: hidden;
     text-align: left;
     box-shadow: var(--shadow-md);
 }

 .location-image {
     width: 100%;
     height: 180px;
     overflow: hidden;
     background: var(--bg-subtle);
 }

 .location-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 .location-info {
     padding: 20px 22px;
 }

 .location-info h3 {
     font-size: 15px;
     font-weight: 700;
     margin-bottom: 6px;
     display: flex;
     align-items: center;
     gap: 8px;
     color: var(--text-primary);
 }

 .location-info h3 svg {
     width: 18px;
     height: 18px;
     color: var(--accent);
     flex-shrink: 0;
 }

 .location-info p {
     font-size: 13px;
     color: var(--text-secondary);
     margin-bottom: 12px;
 }

 .status {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 12px;
     font-weight: 600;
     color: var(--success);
 }

 .status-dot {
     width: 8px;
     height: 8px;
     background: var(--success);
     border-radius: 50%;
     animation: pulse 2s infinite;
 }

 @keyframes pulse {

     0%,
     100% {
         opacity: 1;
     }

     50% {
         opacity: 0.35;
     }
 }

 /* ---------- Контакты ---------- */
 .contacts {
     width: 100%;
     background: var(--bg-card);
     border: 1px solid var(--border-light);
     border-radius: var(--radius-lg);
     padding: 24px 22px;
     box-shadow: var(--shadow-md);
     text-align: left;
 }

 .contacts h2 {
     font-size: 17px;
     font-weight: 800;
     margin-bottom: 4px;
     letter-spacing: -0.01em;
     color: var(--text-primary);
 }

 .contacts .contacts-sub {
     font-size: 12px;
     color: var(--text-muted);
     margin-bottom: 18px;
 }

 .contact-list {
     list-style: none;
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .contact-item {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 12px 14px;
     background: var(--bg-subtle);
     border: 1px solid var(--border-light);
     border-radius: 12px;
     text-decoration: none;
     color: var(--text-primary);
     transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
 }

 a.contact-item:hover {
     border-color: var(--border-accent);
     background: #fffbeb;
     transform: translateY(-1px);
     box-shadow: var(--shadow-sm);
 }

 .contact-icon {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 36px;
     height: 36px;
     border-radius: 10px;
     background: var(--accent-light);
     color: var(--accent);
     flex-shrink: 0;
 }

 .contact-icon svg {
     width: 18px;
     height: 18px;
 }

 .contact-body {
     display: flex;
     flex-direction: column;
     line-height: 1.35;
     min-width: 0;
 }

 .contact-label {
     font-size: 10px;
     color: var(--text-muted);
     text-transform: uppercase;
     letter-spacing: 0.08em;
     font-weight: 700;
 }

 .contact-value {
     font-size: 14px;
     font-weight: 600;
     color: var(--text-primary);
     word-break: break-word;
 }

 /* ---------- Футер ---------- */
 .footer {
     width: 100%;
     margin-top: 6px;
     font-size: 11px;
     color: var(--text-muted);
     line-height: 1.7;
     text-align: center;
 }

 .footer a {
     color: var(--accent);
     text-decoration: none;
     font-weight: 600;
 }

 .footer a:hover {
     text-decoration: underline;
 }

 /* ---------- Модальное окно ---------- */
 .modal-overlay {
     position: fixed;
     inset: 0;
     background: rgba(15, 23, 42, 0.5);
     backdrop-filter: blur(4px);
     -webkit-backdrop-filter: blur(4px);
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 16px;
     z-index: 1000;
     visibility: hidden;
     opacity: 0;
     transition: opacity 0.25s ease, visibility 0.25s ease;
 }

 .modal-overlay.active {
     visibility: visible;
     opacity: 1;
 }

 .modal {
     background: var(--bg-card);
     border: 1px solid var(--border-light);
     border-radius: var(--radius-lg);
     max-width: 740px;
     width: 100%;
     max-height: 90vh;
     display: flex;
     flex-direction: column;
     box-shadow: var(--shadow-xl);
     transform: scale(0.96) translateY(10px);
     transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
 }

 .modal-overlay.active .modal {
     transform: scale(1) translateY(0);
 }

 .modal-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 20px 26px;
     border-bottom: 1px solid var(--border-light);
     flex-shrink: 0;
 }

 .modal-header h2 {
     font-size: 18px;
     font-weight: 800;
     letter-spacing: -0.01em;
     color: var(--text-primary);
 }

 .modal-close {
     background: var(--bg-subtle);
     border: 1px solid var(--border-light);
     border-radius: 10px;
     color: var(--text-secondary);
     width: 38px;
     height: 38px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 22px;
     line-height: 1;
     cursor: pointer;
     transition: background 0.2s, color 0.2s, border-color 0.2s;
     flex-shrink: 0;
 }

 .modal-close:hover {
     background: #fee2e2;
     border-color: #fecaca;
     color: var(--danger);
 }

 .modal-tabs {
     display: flex;
     gap: 4px;
     padding: 16px 26px 0;
     border-bottom: 1px solid var(--border-light);
     flex-shrink: 0;
 }

 .tab-btn {
     padding: 10px 20px;
     font-size: 13px;
     font-weight: 700;
     color: var(--text-muted);
     background: transparent;
     border: none;
     border-bottom: 2px solid transparent;
     cursor: pointer;
     transition: color 0.2s, border-color 0.2s, background 0.2s;
     border-radius: 8px 8px 0 0;
     letter-spacing: 0.01em;
 }

 .tab-btn:hover {
     color: var(--text-secondary);
     background: var(--bg-subtle);
 }

 .tab-btn.active {
     color: var(--accent);
     border-bottom-color: var(--accent);
 }

 .modal-body {
     padding: 26px;
     overflow-y: auto;
     font-size: 14px;
     line-height: 1.75;
     color: var(--text-secondary);
     text-align: left;
     flex: 1;
     scrollbar-width: thin;
     scrollbar-color: #cbd5e1 transparent;
 }

 .modal-body::-webkit-scrollbar {
     width: 6px;
 }

 .modal-body::-webkit-scrollbar-track {
     background: transparent;
 }

 .modal-body::-webkit-scrollbar-thumb {
     background: #cbd5e1;
     border-radius: 6px;
 }

 .modal-body h3 {
     font-size: 15px;
     font-weight: 800;
     color: var(--text-primary);
     margin: 24px 0 8px;
     letter-spacing: -0.01em;
 }

 .modal-body h3:first-child {
     margin-top: 0;
 }

 .modal-body p {
     margin-bottom: 12px;
 }

 .modal-body ul {
     margin: 8px 0 18px 22px;
     display: flex;
     flex-direction: column;
     gap: 6px;
 }

 .modal-body li {
     list-style: disc;
     color: var(--text-secondary);
 }

 .modal-body strong {
     color: var(--text-primary);
     font-weight: 700;
 }

 .modal-body .accent {
     color: var(--accent);
     font-weight: 600;
 }

 .modal-body .highlight-box {
     background: #fffbeb;
     border-left: 3px solid var(--accent);
     padding: 16px 20px;
     border-radius: 0 12px 12px 0;
     margin: 18px 0;
     color: var(--text-secondary);
     font-size: 13px;
 }

 .modal-body .highlight-box strong {
     color: var(--accent);
 }

 .tab-content {
     display: none;
 }

 .tab-content.active {
     display: block;
 }

 .modal-footer {
     padding: 16px 26px;
     border-top: 1px solid var(--border-light);
     display: flex;
     justify-content: flex-end;
     gap: 10px;
     flex-shrink: 0;
 }

 .modal-footer .btn-ghost {
     padding: 10px 24px;
     font-size: 13px;
     font-weight: 700;
     color: var(--text-secondary);
     background: var(--bg-subtle);
     border: 1px solid var(--border-light);
     border-radius: 10px;
     cursor: pointer;
     transition: background 0.2s, color 0.2s, border-color 0.2s;
     font-family: inherit;
 }

 .modal-footer .btn-ghost:hover {
     background: #e2e8f0;
     color: var(--text-primary);
     border-color: #cbd5e1;
 }

 .footer-link-btn {
     background: none;
     border: none;
     color: var(--accent);
     font-size: 11px;
     font-family: inherit;
     cursor: pointer;
     text-decoration: none;
     padding: 0;
     font-weight: 600;
     transition: text-decoration 0.2s;
 }

 .footer-link-btn:hover {
     text-decoration: underline;
 }

 /* ---------- Cookie-баннер ---------- */
 .cookie-banner {
     position: fixed;
     left: 50%;
     bottom: 24px;
     transform: translateX(-50%) translateY(140%);
     width: calc(100% - 32px);
     max-width: 480px;
     background: var(--bg-card);
     border: 1px solid var(--border-light);
     border-radius: var(--radius-lg);
     padding: 20px 22px;
     box-shadow: var(--shadow-xl);
     z-index: 1100;
     display: flex;
     flex-direction: column;
     gap: 16px;
     opacity: 0;
     visibility: hidden;
     transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
         opacity 0.4s ease,
         visibility 0.4s ease;
 }

 .cookie-banner.visible {
     transform: translateX(-50%) translateY(0);
     opacity: 1;
     visibility: visible;
 }

 .cookie-banner__text {
     font-size: 13px;
     line-height: 1.6;
     color: var(--text-secondary);
     text-align: left;
 }

 .cookie-banner__text strong {
     color: var(--text-primary);
     font-weight: 700;
 }

 .cookie-banner__actions {
     display: flex;
     gap: 10px;
     flex-wrap: wrap;
 }

 .cookie-btn {
     flex: 1;
     min-width: 120px;
     padding: 12px 20px;
     font-size: 13px;
     font-weight: 700;
     font-family: inherit;
     border-radius: 12px;
     cursor: pointer;
     transition: transform 0.15s ease, box-shadow 0.2s ease,
         background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
     border: 1px solid transparent;
     white-space: nowrap;
 }

 .cookie-btn:active {
     transform: scale(0.97);
 }

 .cookie-btn--accept {
     color: #fff;
     background: linear-gradient(135deg, #f59e0b, #d97706);
     box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
 }

 .cookie-btn--accept:hover {
     box-shadow: 0 8px 22px rgba(217, 119, 6, 0.4);
     transform: translateY(-1px);
 }

 .cookie-btn--decline {
     color: var(--text-secondary);
     background: var(--bg-subtle);
     border-color: var(--border-light);
 }

 .cookie-btn--decline:hover {
     background: #e2e8f0;
     color: var(--text-primary);
     border-color: #cbd5e1;
 }

 /* ---------- Адаптив ---------- */
 @media (max-width: 480px) {
     body {
         padding: 28px 12px 44px;
     }

     .title {
         font-size: 26px;
     }

     .option-pill {
         padding: 8px 14px;
         font-size: 12px;
     }

     .option-pill .icon {
         font-size: 14px;
     }

     .card,
     .contacts,
     .highlight {
         padding: 20px 16px;
     }

     .highlight {
         padding-top: 26px;
     }

     .modal-header {
         padding: 16px 18px;
     }

     .modal-header h2 {
         font-size: 16px;
     }

     .modal-tabs {
         padding: 12px 18px 0;
     }

     .tab-btn {
         padding: 8px 12px;
         font-size: 12px;
     }

     .modal-body {
         padding: 20px 18px;
         font-size: 13px;
     }

     .modal-footer {
         padding: 14px 18px;
     }

     .cookie-banner {
         bottom: 14px;
         width: calc(100% - 24px);
         padding: 18px 18px;
     }

     .cookie-banner__actions {
         flex-direction: column;
     }

     .cookie-btn {
         width: 100%;
     }
 }