/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --section-gap: 72px;
    --color-bg: #FFFFFF;
    --color-surface: #FFFFFF;
    --color-dark: #0F172A;
    --color-text: #1E293B;
    --color-muted: #64748B;
    --color-border: #E2E8F0;
    --color-accent: #3DD4C3;
    --color-accent-hover: #2BC4B3;
    --color-accent-light: rgba(61, 212, 195, 0.08);
    --color-accent-glow: rgba(61, 212, 195, 0.25);
    --color-highlight: #F0FDF4;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10);
    --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.14);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* ========== HEADER ========== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    height: 72px;
    background-color: var(--color-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Centered nav, language switch pinned right */
.header .nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.header .nav .lang-switch {
    position: absolute;
    right: calc(-1 * (50vw - 50% - 60px));
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 1280px) {
    .header { padding: 0 32px; }
    .header .nav { gap: 18px; }
    .header .nav .lang-switch { right: calc(-1 * (50vw - 50% - 32px)); }
}

@media (max-width: 1100px) {
    .header { padding: 0 24px; }
    .header .nav { gap: 14px; }
    .header .nav a { font-size: 12px; }
    .header .nav .lang-switch { right: calc(-1 * (50vw - 50% - 24px)); }
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: inherit;
    border-bottom: none;
    padding-bottom: 0;
}

.logo .logo-az {
    color: #DAEE67;
}

.logo .logo-pul {
    color: #DAEE67;
}

.logo .logo-mat {
    color: #3DD4C3;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
}

.nav a:hover {
    color: #FFFFFF;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent);
    transition: width 0.2s;
}

.nav a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 3px;
    cursor: pointer;
}

.lang-switch span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.lang-switch span.active {
    color: var(--color-dark);
    background: var(--color-accent);
    opacity: 1;
}

.mobile-lang-switch {
    display: none;
    gap: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 3px;
    cursor: pointer;
    z-index: 102;
}

.mobile-lang-switch span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.mobile-lang-switch span.active {
    color: var(--color-dark);
    background: var(--color-accent);
    opacity: 1;
}

/* ========== MAIN LAYOUT ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 60px;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 64px;
    align-items: start;
}

.left-section {
    padding-top: 12px;
}

/* ========== HOTLINE BADGE ========== */
.hotline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-dark);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: 0.01em;
}

.hotline::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    animation: hotline-pulse 2s ease-in-out infinite;
}

@keyframes hotline-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ========== STEPS ========== */
.steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.step {
    background-color: var(--color-surface);
    padding: 22px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.25s ease;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.step.completed {
    background-color: var(--color-highlight);
    border-color: rgba(16, 185, 129, 0.2);
}

.step.completed::before {
    background: var(--color-accent);
}

.step-icon-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    background: var(--color-accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--color-dark);
    color: #FFFFFF;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}

.step-content {
    flex: 1;
}

.step-content .step-title {
    color: var(--color-text);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.step-content .step-desc {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 400;
}

/* ========== MOBILE CTA ========== */
.mobile-cta-text {
    display: none;
    color: var(--color-dark);
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin: 24px 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* ========== CALCULATOR ========== */
.calculator {
    background: var(--color-surface);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 92px;
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.calc-title {
    color: var(--color-text);
    font-size: 16px;
    font-weight: 600;
}

.month-label {
    color: var(--color-accent);
    font-size: 12px;
    background: var(--color-accent-light);
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.amount-display {
    color: var(--color-text);
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.period-display {
    color: var(--color-text);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.slider-container {
    margin-bottom: 32px;
}

.slider-label {
    color: var(--color-text);
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 600;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 10px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 100px;
    background: var(--color-border);
    outline: none;
    -webkit-appearance: none;
    transition: background 0.2s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-surface);
    cursor: pointer;
    box-shadow: 0 0 0 4px var(--color-accent), var(--shadow-md);
    border: none;
    transition: box-shadow 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 4px var(--color-accent), 0 0 0 10px var(--color-accent-glow), var(--shadow-md);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-surface);
    cursor: pointer;
    border: 4px solid var(--color-accent);
    box-shadow: var(--shadow-md);
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 500;
    padding: 0 2px;
}



/* ========== SUMMARY ========== */
.summary {
    background-color: var(--color-bg);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--color-text);
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-label {
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 400;
}

.summary-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
}

.summary-value.highlight {
    color: var(--color-accent);
}

.promo-text {
    text-align: center;
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========== BUTTONS ========== */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3DD4C3 0%, #2BC4B3 50%, #1DB4A3 100%);
    color: #FFFFFF;
    border: none;
    padding: 16px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    animation: none;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2BC4B3 0%, #1DB4A3 50%, #0FA493 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--color-accent-glow);
}

.submit-btn:hover::after {
    transform: translateX(100%);
}

.submit-btn:active {
    transform: translateY(0);
}

.debt-check-btn {
    width: 100%;
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
    padding: 14px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 12px;
}

.debt-check-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: var(--color-accent-light);
    transform: translateY(-1px);
}

/* ========== FORM POPUP ========== */
.form-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
}

.form-popup-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-popup-content {
    position: relative;
    background: var(--color-surface);
    padding: 44px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 480px;
    width: 100%;
    animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalIn {
    from {
        transform: translateY(20px) scale(0.97);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.form-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 18px;
    cursor: pointer;
    color: var(--color-muted);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.form-popup-close:hover {
    background: var(--color-border);
    color: var(--color-text);
    transform: rotate(90deg);
}

.form-heading {
    color: var(--color-text);
    margin-bottom: 28px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* ========== FORM ELEMENTS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 13px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: all 0.2s;
    max-width: 100%;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-surface);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-group input[type="date"] {
    max-height: 400px;
    overflow-y: auto;
}

.form-group input.error {
    border-color: #EF4444;
    background: #FEF2F2;
}

.error-message {
    color: #EF4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    font-weight: 500;
}

.form-btn {
    width: 100%;
    background-color: var(--color-accent);
    color: #FFFFFF;
    border: none;
    padding: 14px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 24px;
    font-family: var(--font-sans);
}

.form-btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--color-accent-glow);
}

/* ========== WAITING PAGE ========== */
.waiting-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 48px 24px 0;
}

.waiting-card {
    background: var(--color-surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
    width: 100%;
    max-width: 540px;
}

.waiting-fields-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.waiting-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.waiting-label {
    color: var(--color-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 6px;
}

.waiting-value {
    color: var(--color-text);
    font-size: 17px;
    font-weight: 700;
}

.waiting-status {
    text-align: center;
    padding: 40px 24px;
}

.waiting-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.waiting-status h2 {
    color: var(--color-text);
    font-size: 21px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.waiting-status p {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* ========== HAMBURGER ========== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    z-index: 102;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: #3DD4C3;
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: auto;
    max-height: calc(100vh - 90px);
    background: #3DD4C3;
    border-radius: 0 0 0 var(--radius-lg);
    z-index: 10000;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px 0;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-header {
    padding: 0 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
}

.mobile-menu-logo {
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    text-align: right;
    display: block;
}

.mobile-menu-logo .logo-az,
.mobile-menu-logo .logo-pul {
    color: #1a2a3a;
}

.mobile-menu-logo .logo-mat {
    color: #DAEE67;
}

.mobile-menu a {
    display: block;
    color: #1a2a3a;
    text-decoration: none;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
    text-align: right;
}

.mobile-menu a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
}

/* ========== CHAT TOGGLE (for subpages) ========== */
.chat-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--color-accent-glow);
    z-index: 9998;
    transition: all 0.25s ease;
    border: none;
}

.chat-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px var(--color-accent-glow);
}

.chat-toggle svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

.chat-toggle .close-icon {
    display: none;
}

.chat-toggle.active .chat-icon {
    display: none;
}

.chat-toggle.active .close-icon {
    display: block;
}

/* ========== CHAT BOX (for subpages) ========== */
.chat-box {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 360px;
    height: 520px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    z-index: 9997;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.chat-box.active {
    display: flex;
    animation: chatIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-accent);
    flex-shrink: 0;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.chat-status {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========== CHAT WIDGET ========== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--color-accent-glow);
    z-index: 9998;
    transition: all 0.25s ease;
}

.chat-widget:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px var(--color-accent-glow);
}

.chat-widget svg {
    width: 26px;
    height: 26px;
}

/* ========== CHAT WINDOW ========== */
.chat-window {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 360px;
    height: 520px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    z-index: 9997;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.chat-window.active {
    display: flex;
    animation: chatIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chatIn {
    from {
        transform: translateY(10px) scale(0.97);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.chat-header {
    background: var(--color-dark);
    color: #FFFFFF;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.chat-status {
    font-size: 11px;
    opacity: 0.6;
    margin: 0;
    font-weight: 400;
}

.chat-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
    animation: msgIn 0.3s ease;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.bot {
    background: var(--color-surface);
    padding: 12px 16px;
    border-radius: 14px 14px 14px 4px;
    border: 1px solid var(--color-border);
    align-self: flex-start;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text);
}

.chat-message.bot a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.chat-message.bot a:hover {
    text-decoration: underline;
}

.chat-message.user {
    background: var(--color-accent);
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 14px 14px 4px 14px;
    align-self: flex-end;
    font-size: 13px;
    line-height: 1.5;
}

.chat-input-area {
    padding: 14px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input {
    flex: 1;
    border: 1.5px solid var(--color-border);
    border-radius: 100px;
    padding: 10px 16px;
    font-size: 13px;
    outline: none;
    background: var(--color-bg);
    transition: all 0.2s;
    font-family: var(--font-sans);
    color: var(--color-text);
}

.chat-input:focus {
    border-color: var(--color-accent);
    background: var(--color-surface);
}

.chat-emoji-btn,
.chat-attach-btn {
    background: transparent;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: var(--color-muted);
}

.chat-emoji-btn:hover,
.chat-attach-btn:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

.chat-emoji-btn svg,
.chat-attach-btn svg {
    width: 20px;
    height: 20px;
}

.chat-send-btn {
    background: var(--color-accent);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #FFFFFF;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: var(--color-accent-hover);
    transform: scale(1.05);
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
}

.chat-footer {
    padding: 8px;
    text-align: center;
    font-size: 10px;
    color: var(--color-muted);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

/* ========== BANNER SLIDER ========== */
.banner-slider {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 698;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.25) 100%);
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.slide-content {
    max-width: 600px;
}

.slide-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-dark);
    font-size: 16px;
    font-weight: 800;
    padding: 7px 20px;
    border-radius: 100px;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.slide-title {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slide-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.2s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.slider-prev {
    left: 16px;
}

.slider-next {
    right: 16px;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--color-accent);
    width: 28px;
    border-radius: 5px;
}

/* ========== NEWS SECTION ========== */
.news-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 60px 0;
}

.news-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.25s ease;
    position: relative;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--color-accent);
}

.news-card-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-badge-green {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.news-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-text {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.news-card-date {
    font-size: 12px;
    color: var(--color-muted);
    font-weight: 500;
}

/* ========== REVIEWS SECTION ========== */
.reviews-section {
    max-width: 1280px;
    margin: var(--section-gap) auto 0;
    padding: 0 60px var(--section-gap);
}

.reviews-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.reviews-subheading {
    font-size: 14px;
    color: var(--color-muted);
    text-align: center;
    margin-bottom: 36px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.review-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.25s ease;
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--color-accent);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
    color: #F59E0B;
}

.review-stars svg {
    width: 16px;
    height: 16px;
}

.review-text {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 18px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--color-accent-light);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.review-date {
    font-size: 11px;
    color: var(--color-muted);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-dark);
    color: #FFFFFF;
    padding: 48px 60px 24px;
    margin-top: 0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 32px;
}

.footer-section {
    max-width: 100%;
    word-wrap: break-word;
}

.footer-section h3 {
    color: var(--color-accent);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-size: 13px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 13px;
}

.footer-section ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.social-links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #FFFFFF;
}

.footer-section:last-child {
    display: none;
}

.footer-hotline {
    background: rgba(255, 255, 255, 0.04);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-hotline h3,
.footer-hotline ul li a {
    font-weight: 700;
}

/* ========== PROMO POPUP ========== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay.active {
    display: flex;
}

.popup-box {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 40px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    animation: popupSlideIn 0.4s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.popup-close:hover {
    background: var(--color-border);
    color: var(--color-text);
}

.popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent), #059669);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.popup-amount {
    font-size: 52px;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.popup-amount span {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
}

.popup-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.3;
}

.popup-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.popup-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text);
    font-weight: 500;
}

.popup-feature svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.popup-desc {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .popup-box {
        padding: 28px 24px;
        max-width: 360px;
    }

    .popup-amount {
        font-size: 42px;
    }

    .popup-amount span {
        font-size: 22px;
    }

    .popup-title {
        font-size: 18px;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slider-track {
        aspect-ratio: 1920 / 1396;
    }

    .slide-overlay {
        padding: 0 24px;
    }

    .slide-title {
        font-size: 22px;
    }

    .slide-desc {
        font-size: 13px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .news-section {
        padding: 32px 20px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .reviews-section {
        padding: 36px 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-heading {
        font-size: 20px;
    }

    .header {
        padding: 0 20px;
        height: 64px;
    }

    .logo {
        font-size: 22px;
    }

    .nav {
        display: none;
    }

    .lang-switch {
        display: none;
    }

    .mobile-lang-switch {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 20px;
    }

    .left-section {
        order: 1;
    }

    .calculator {
        order: 2;
        position: static;
        padding: 28px 24px;
    }

    .mobile-cta-text {
        display: block;
    }

    .steps {
        margin-bottom: 24px;
    }

    .step {
        padding: 18px 20px;
        gap: 14px;
    }

    .step-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .step-icon {
        width: 24px;
        height: 24px;
    }

    .step-number {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .step-content .step-title {
        font-size: 14px;
    }

    .step-content .step-desc {
        font-size: 12px;
    }

    .form-popup-content {
        padding: 32px 24px;
        margin: 16px;
        width: calc(100% - 32px);
    }

    .form-heading {
        font-size: 20px;
    }

    .chat-window {
        width: calc(100% - 32px);
        right: 16px;
        bottom: 92px;
        height: 480px;
    }

    .chat-widget {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .chat-box {
        width: calc(100% - 32px);
        right: 16px;
        bottom: 88px;
        height: 480px;
    }

    .chat-toggle {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .footer {
        padding: 36px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-section h3 {
        font-size: 13px;
    }

    .waiting-container {
        padding: 24px 16px 0;
    }

    .waiting-card {
        padding: 24px;
    }

    .waiting-fields-row {
        flex-direction: column;
        gap: 16px;
    }

    .amount-display {
        font-size: 38px;
    }

    .mobile-menu {
        top: 64px;
    }
}

@media (max-width: 480px) {
    .mobile-cta-text {
        font-size: 32px;
    }

    .calculator {
        padding: 24px 20px;
    }

    .amount-display {
        font-size: 34px;
    }

    .period-display {
        font-size: 26px;
    }

    .submit-btn {
        padding: 15px;
        font-size: 14px;
    }

    .debt-check-btn {
        padding: 13px;
        font-size: 14px;
    }
}

/* ========== ADVANTAGES ========== */
.advantages-section {
    width: 100%;
    margin: var(--section-gap) 0 0;
    padding: 56px max(24px, calc((100% - 1280px) / 2 + 24px)) 64px;
    border-radius: 0;
    background: linear-gradient(100deg, #A8FBF0 0%, #8FD9CD 100%);
    text-align: center;
}

.advantages-title {
    font-size: 36px;
    font-weight: 400;
    color: #000;
    margin-bottom: 48px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 28px;
}

.advantage-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 17px;
    color: #111;
}

@media (max-width: 768px) {
    .advantages-section {
        margin: var(--section-gap) 0 0;
        padding: 36px 16px 40px;
    }
    .advantages-title {
        font-size: 26px;
        margin-bottom: 28px;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .advantage-item img {
        width: 96px;
        height: 96px;
        margin-bottom: 14px;
    }
    .advantage-item h3 {
        font-size: 20px;
    }
    .advantage-item p {
        font-size: 15px;
    }
}

/* ========== PAY BY CARD ========== */
.pay-card-section {
    max-width: 1280px;
    margin: var(--section-gap) auto 0;
}

.pay-card-main {
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 32px 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #F7FFD0 0%, #FCFFF0 100%);
    box-shadow: var(--shadow-md);
}

.pay-card-img {
    width: 380px;
    max-width: 38%;
    height: auto;
    flex-shrink: 0;
}

.pay-card-info h2 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.pay-card-info ul {
    list-style: disc;
    padding-left: 20px;
}

.pay-card-info li {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #111;
}

.pay-card-info li strong,
.pay-card-info li span {
    display: block;
}

.pay-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.pay-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(100deg, #A8FBF0 0%, #8FD9CD 100%);
    font-weight: 600;
    font-size: 16px;
    color: #000;
}

.pay-step.active {
    background: linear-gradient(100deg, #D4FF14 0%, #B0D800 100%);
}

.pay-step-num {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #3DD4C3;
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .pay-card-section {
        margin: var(--section-gap) 12px 0;
    }
    .pay-card-main {
        flex-direction: column;
        gap: 20px;
        padding: 24px 20px;
    }
    .pay-card-img {
        width: 260px;
        max-width: 80%;
    }
    .pay-card-info h2 {
        font-size: 20px;
    }
    .pay-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .pay-step {
        padding: 14px 20px;
    }
    .pay-step-num {
        width: 56px;
        height: 56px;
        font-size: 30px;
    }
}

/* ========== FAQ ========== */
.faq-section {
    max-width: 960px;
    margin: var(--section-gap) auto 0;
    padding: 0 24px;
}

.faq-title {
    font-size: 36px;
    font-weight: 400;
    color: #000;
    margin-bottom: 32px;
}

.faq-item {
    background: #F2F2F2;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 24px 36px;
    font-size: 20px;
    font-weight: 500;
    color: #000;
}

.faq-item[open] summary {
    padding-bottom: 12px;
}

.faq-answer {
    padding: 0 36px 28px 60px;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer ul {
    padding-left: 22px;
}

.faq-answer li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .faq-section {
        margin-top: var(--section-gap);
        padding: 0 16px;
    }
    .faq-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .faq-item {
        margin-bottom: 12px;
    }
    .faq-item summary {
        padding: 16px 18px;
        font-size: 16px;
    }
    .faq-answer {
        padding: 0 18px 18px 18px;
        font-size: 14px;
    }
}

/* ========== SECTION SPACING ========== */
#mainPage .container {
    padding-top: var(--section-gap);
    padding-bottom: 0;
}

@media (max-width: 768px) {
    :root {
        --section-gap: 44px;
    }
}

/* ========== SITE FOOTER ========== */
.site-footer {
    background: #000;
    color: #fff;
    padding: 36px 60px 40px;
}

.site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.site-footer .footer-logo {
    display: inline-block;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-bottom: 48px;
}

.site-footer .footer-logo .logo-az,
.site-footer .footer-logo .logo-pul { color: #DAEE67; }
.site-footer .footer-logo .logo-mat { color: #3DD4C3; }

.site-footer-cols {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 22px;
}

.footer-links a,
.site-footer a {
    color: #fff;
    text-decoration: none;
}

.footer-links a {
    font-size: 17px;
}

.footer-links a:hover,
.site-footer-col a:hover {
    color: #3DD4C3;
}

.site-footer-col h4 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.site-footer-col .footer-big {
    display: block;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    color: #3DD4C3;
}

.site-footer-col .footer-big-sm {
    font-size: 28px;
}

.site-footer-col p,
.site-footer-col > a {
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
}

.site-footer-col h4 + p,
.site-footer-col h4 + a {
    display: block;
    margin-bottom: 28px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 16px;
}

.footer-social .ico {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3DD4C3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-social .ico svg {
    width: 26px;
    height: 26px;
}

.site-footer-bottom {
    max-width: 1280px;
    margin: 64px auto 0;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 900px) {
    .site-footer {
        padding: 32px 20px;
    }
    .site-footer-cols {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .site-footer .footer-logo {
        margin-bottom: 28px;
    }
    .footer-links li {
        margin-bottom: 14px;
    }
    .site-footer-bottom {
        margin-top: 36px;
    }
}


/* ========== CHAT ICON IMAGE + BUBBLE ========== */
.chat-widget,
.chat-toggle {
    background: transparent;
    box-shadow: none;
    padding: 0;
    width: 64px;
    height: 64px;
}

.chat-widget:hover,
.chat-toggle:hover {
    box-shadow: none;
}

.chat-widget .chat-icon,
.chat-toggle .chat-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.chat-toggle.active {
    background: var(--color-accent);
    box-shadow: 0 4px 20px var(--color-accent-glow);
}

.chat-toggle.active .chat-icon {
    display: none;
}

.chat-bubble {
    position: fixed;
    right: 24px;
    bottom: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 12px 18px;
    background: #fff;
    color: var(--color-dark);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.18);
    z-index: 9998;
    animation: bubbleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-bubble::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 2px;
}

.chat-bubble.hidden {
    display: none;
}

.chat-bubble-close {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 13px;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
}

.chat-bubble-close:hover {
    color: var(--color-dark);
}

@keyframes bubbleIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .chat-widget,
    .chat-toggle {
        width: 58px;
        height: 58px;
    }

    .chat-bubble {
        right: 16px;
        bottom: 90px;
        font-size: 14px;
        max-width: calc(100% - 32px);
    }
}


/* ========== LOGO IMAGE (header + mobile menu) ========== */
.logo {
    display: flex;
    align-items: center;
}

.logo .logo-img {
    height: 34px;
    width: auto;
    display: block;
}

.mobile-menu-logo {
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-logo .logo-img {
    height: 28px;
    width: auto;
    display: block;
    background: var(--color-dark);
    padding: 8px 12px;
    border-radius: 10px;
    box-sizing: content-box;
}

@media (max-width: 768px) {
    .logo .logo-img {
        height: 28px;
    }
}

/* ========== FOOTER LEGAL TEXT ========== */
.site-footer-bottom {
    padding: 0 16px;
    line-height: 1.6;
}

.site-footer-bottom .footer-license {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 900px;
    margin: 0 auto 10px;
}

.site-footer-bottom .footer-copy {
    display: block;
    font-size: 14px;
    color: #fff;
}

/* ========== SLIDER INFO CARD (blurred) ========== */
.slider-info {
    position: absolute;
    top: 50%;
    right: 90px;
    transform: translateY(-50%);
    z-index: 3;
    width: 570px;
    max-width: 52%;
    padding: 36px 40px;
    background: rgba(15, 23, 42, 0.35);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    color: #fff;
    pointer-events: none;
}

.slider-info-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-dark);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.slider-info-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: slider-title-blink 3.2s ease-in-out infinite;
}

@keyframes slider-title-blink {
    0%, 55%, 100% { opacity: 1; }
    77% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
    .slider-info-title { animation: none; }
}

.slider-info-desc {
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1100px) {
    .slider-info {
        right: 60px;
        width: 46%;
        max-width: 46%;
        padding: 27px 30px;
    }
    .slider-info-title {
        font-size: 27px;
    }
    .slider-info-desc {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .slider-info {
        right: 24px;
        width: 66%;
        max-width: 66%;
        padding: 13px 16px;
        border-radius: 16px;
    }
    .slider-info-badge {
        font-size: 12px;
        padding: 3px 12px;
        margin-bottom: 7px;
    }
    .slider-info-title {
        font-size: 16.5px;
        margin-bottom: 4px;
    }
    .slider-info-desc {
        font-size: 13.5px;
        line-height: 1.35;
    }
}

/* ========== PAYMENT WARNING NOTICE ========== */
.payment-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: -12px;
    margin-bottom: 8px;
    padding: 20px 24px;
    background: #FEF2F2;
    border: 1px solid rgba(220, 38, 38, 0.22);
    border-left: 4px solid #DC2626;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.payment-notice-icon {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #DC2626;
}

.payment-notice-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    font-weight: 400;
    color: #7F1D1D;
}

.payment-notice-alert {
    color: #DC2626;
    font-weight: 900;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    animation: notice-blink 1.1s ease-in-out infinite;
}

@keyframes notice-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.15; }
}

@media (prefers-reduced-motion: reduce) {
    .payment-notice-alert { animation: none; }
}

@media (max-width: 768px) {
    .payment-notice {
        margin-top: 0;
        padding: 14px 16px;
        gap: 12px;
    }
    .payment-notice-text { font-size: 13px; }
}


/* ========== CHAT — Azpulmat style (light, blue accents) ========== */
.chat-window, .chat-box {
    width: 380px;
    height: 540px;
    background: #f4f6fa;
    border-radius: 24px;
    border: none;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22);
}
.chat-header {
    background: #fff;
    color: #0f172a;
    padding: 18px 20px;
    border-bottom: 1px solid #e8ecf2;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-header .status-dot {
    width: 10px; height: 10px; flex-shrink: 0;
    background: #2dd4bf; border-radius: 50%; animation: none;
}
.chat-title { font-size: 16px; font-weight: 700; color: #0f172a; line-height: 1.2; }
.chat-header .chat-status { font-size: 13px; color: #64748b; opacity: 1; margin-top: 2px; display: block; }
.chat-close {
    background: transparent; color: #475569; width: 32px; height: 32px; margin-left: auto;
}
.chat-close:hover { background: #f1f5f9; color: #0f172a; }
.chat-messages { background: #f4f6fa; padding: 16px; gap: 10px; }
.chat-message.bot {
    background: #f1efec;
    border: 1px solid #e7e3de;
    border-radius: 16px;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.5;
    padding: 12px 16px;
}
.chat-message.bot a { color: #2563eb; font-weight: 500; word-break: break-all; }
.chat-message.user {
    background: #2f6fe0; color: #fff; border-radius: 16px; font-size: 15px; padding: 12px 16px;
}
.chat-input-area {
    background: #fff; border-top: 1px solid #e8ecf2; padding: 12px 14px; gap: 10px;
}
.chat-attach-btn { color: #64748b; width: 38px; height: 38px; flex-shrink: 0; }
.chat-attach-btn svg { width: 22px; height: 22px; }
.chat-input {
    border: 1.5px solid #2f6fe0; border-radius: 12px; background: #fff;
    padding: 12px 14px; font-size: 15px; min-width: 0;
}
.chat-input:focus { border-color: #2f6fe0; box-shadow: 0 0 0 3px rgba(47, 111, 224, 0.15); background: #fff; }
.chat-send-btn {
    width: 48px; height: 44px; border-radius: 12px; background: #2f6fe0; color: #fff;
}
.chat-send-btn:hover { background: #2559c0; transform: none; }
.chat-send-btn svg { width: 22px; height: 22px; }
@media (max-width: 768px) {
    .chat-window, .chat-box { width: calc(100% - 32px); height: 480px; }
}

/* ========== TALLER HERO BANNER SLIDER ========== */
/* Make the main banner occupy roughly half of the visible screen. */
.banner-slider .slider-track {
    height: 50vh;
    min-height: 420px;
    max-height: 760px;
    aspect-ratio: auto;
}

.banner-slider .slide img {
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .banner-slider .slider-track {
        height: 50vh;
        min-height: 340px;
        max-height: 560px;
        aspect-ratio: auto;
    }

    .slider-info {
        right: 16px;
        width: 66%;
        max-width: 66%;
    }
}

/* Mobile banner: show the left side of each image, use 75% viewport height,
   and place the caption centered near the bottom. */
@media (max-width: 768px) {
    .banner-slider .slider-track {
        height: 75vh;
        min-height: 480px;
        max-height: none;
    }

    .banner-slider .slide img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        margin: 0;
        object-fit: cover;
        object-position: left center;
    }

    .banner-slider .slider-info {
        top: auto;
        right: auto;
        bottom: 54px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        max-width: 440px;
        padding: 12px 16px;
        text-align: center;
        border-radius: 16px;
    }

    .banner-slider .slider-info-badge {
        margin-bottom: 7px;
    }

    .banner-slider .slider-info-title {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .banner-slider .slider-info-desc {
        font-size: 14px;
        line-height: 1.35;
    }
}


/* Responsive slider images: desktop originals, separate campaign artwork on mobile. */
.banner-slider .slide picture { display: block; width: 100%; height: 100%; }
.banner-slider .slide picture img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Income confirmation demo flow */
.income-step-label{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#159b91;margin:0 0 8px}.income-demo-note{font-size:13px;line-height:1.5;color:#64748b;background:#f1f5f9;border-radius:10px;padding:10px 12px;margin:0 0 18px}.income-flow .form-heading{margin-bottom:16px}.income-flow .form-group{margin-bottom:16px}.income-flow .form-group label{display:block;margin-bottom:7px;font-weight:600;color:var(--color-text)}.income-flow .form-group input:not([type=file]){width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--color-border);border-radius:9px;font:inherit}
/* Keep income confirmation inputs and dropdowns visually consistent. */
.income-flow .form-group input:not([type=file]),
.income-flow .form-group select {
  display: block;
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.income-flow .form-group select {
  appearance: auto;
  -webkit-appearance: menulist;
  cursor: pointer;
}
.income-flow .form-group input:not([type=file]):focus,
.income-flow .form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-surface);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.income-flow .form-group select:disabled,
.income-flow .form-group input:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}.income-flow input[type=file]{display:block;width:100%;max-width:100%;font-size:13px}.income-file-name{font-size:12px;color:#64748b;margin-top:5px;overflow-wrap:anywhere}.income-actions{display:flex;gap:10px}.income-actions .form-btn{flex:1}.income-secondary{background:#e2e8f0!important;color:#1e293b!important}.income-payment-amount{font-size:32px;font-weight:800;text-align:center;padding:18px;margin:10px 0 18px;background:#f8fafc;border-radius:12px;color:#172554}.income-pay-link{display:block;text-align:center;text-decoration:none;box-sizing:border-box}
