/* МигКредит - улучшенные стили */

/* Подключение шрифта Inter для улучшенной типографики */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary-green: #00A651;
    --digital-violet: #5B4A9E;
    --text-black: #1A1A1A;
    --grey02: #4A4A4A;
    --grey03: #9B9B9B;
    --grey04: #666666;
    --error-red: #E94B35;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-black);
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes countUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Promo Banner (Акция дня) */
.promo-banner {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 12px 0;
    text-align: center;
    position: relative;
    z-index: 99;
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.promo-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
    color: #1A1A1A;
}

.promo-icon {
    font-size: 24px;
}

.promo-text {
    font-size: 16px;
}

.promo-highlight {
    color: #E94B35;
    font-size: 18px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.header.has-promo {
    top: 48px;
}

.header .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-green);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.menu a {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--primary-green);
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-black);
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 99;
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

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

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-items a {
    text-decoration: none;
    color: var(--text-black);
    font-size: 18px;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: color 0.3s ease;
}

.mobile-menu-items a:hover {
    color: var(--primary-green);
}

.links {
    display: flex;
    gap: 15px;
}

/* Buttons */
.button {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button:active::before {
    width: 300px;
    height: 300px;
}

.button-big {
    padding: 16px 32px;
    font-size: 18px;
}

.button-bordered {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.button-bordered:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.3);
}

.button:not(.button-bordered) {
    background: var(--primary-green);
    color: white;
}

.button:not(.button-bordered):hover {
    background: #008f45;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.3);
}

/* Main Block */
.main-block {
    margin-top: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.main-block.has-promo {
    margin-top: 128px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-block .zero {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    animation: fadeIn 1s ease-out;
}

.info-block .heading {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 20px;
    animation: slideInLeft 1s ease-out;
}

.info-block .first-loan {
    color: var(--text-black);
}

.info-block .no-percent {
    color: var(--primary-green);
}

/* Calculator */
.calculator {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out;
}

.calculator .item {
    margin-bottom: 30px;
}

.calculator .values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.calculator .name {
    font-size: 16px;
    font-weight: 600;
    color: var(--grey04);
}

.calculator .value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-green);
}

.calculator-slider {
    margin: 20px 0;
}

.calculator-slider input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--primary-green) 0%, var(--primary-green) 30%, #e0e0e0 30%, #e0e0e0 100%);
    outline: none;
    transition: background 0.3s ease;
    -webkit-appearance: none;
}

.calculator-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-green);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 166, 81, 0.4);
    transition: all 0.3s ease;
}

.calculator-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 166, 81, 0.6);
}

.calculator-slider input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-green);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 166, 81, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.calculator-slider input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 166, 81, 0.6);
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--grey03);
}

.calculator .result {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0 20px;
}

.calculator .result .values {
    margin-bottom: 15px;
}

.calculator .result .values:last-child {
    margin-bottom: 0;
}

.payment-types-block {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.payment-types-block .item {
    height: 30px;
    width: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.payment-types-block .item:hover {
    transform: scale(1.1);
}

.sbp-image {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%235B57A2' d='M2.2 5.58L5.13 10.77v3.17L2.2 19.12V5.58z'/%3E%3Cpath fill='%23D90751' d='M13.44 8.88L16.19 7.21h5.61l-8.36 5.08V8.88z'/%3E%3C/svg%3E");
}

.mir-image {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='5' y='20' font-size='18' fill='%2300A651'%3EMIR%3C/text%3E%3C/svg%3E");
}

.mastercard-image {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='30' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='15' cy='15' r='10' fill='%23EB001B'/%3E%3Ccircle cx='25' cy='15' r='10' fill='%23F79E1B'/%3E%3C/svg%3E");
}

.visa-image {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='5' y='20' font-size='16' font-weight='bold' fill='%231A1F71'%3EVISA%3C/text%3E%3C/svg%3E");
}

/* Sections */
.section {
    padding: 80px 0;
}

.heading-h0 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 40px;
}

.heading-h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
}

.heading-h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.heading-h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
}

/* Advantages Section (Преимущества) */
.advantages-section {
    background: white;
}

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

.advantage-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.advantage-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.advantage-desc {
    font-size: 16px;
    color: var(--grey04);
}

/* Trust Block (Нам доверяют) */
.trust-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #008f45 100%);
    color: white;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.trust-stat {
    padding: 30px;
}

.trust-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.trust-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Trust Badges */
.badges-section {
    background: white;
    text-align: center;
}

.badges-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    min-width: 200px;
}

.badge-icon {
    font-size: 48px;
}

.badge-text {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

/* How to get loan cards */
.flex-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.how-get-loan-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    min-height: 280px;
    transition: all 0.3s ease;
}

.how-get-loan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.how-get-loan-card .name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.how-get-loan-card .type {
    font-size: 16px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.how-get-loan-card .description {
    font-size: 16px;
    color: var(--grey04);
    line-height: 1.6;
}

.how-get-loan-card .number {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 72px;
    font-weight: 800;
    color: #f0f0f0;
}

/* Condition cards */
.condition-card {
    background: var(--primary-green);
    color: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.condition-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.3);
}

.condition-card .name {
    font-size: 24px;
    font-weight: 600;
}

.condition-card .name span {
    font-size: 48px;
    font-weight: 800;
    display: block;
    margin-top: 10px;
}

.condition-card .big-name {
    font-size: 36px;
    font-weight: 800;
    margin-top: 10px;
}

/* Loan cards */
.loan-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, #008f45 100%);
    color: white;
    border-radius: 16px;
    padding: 40px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.loan-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loan-card:hover::before {
    opacity: 1;
}

.loan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 166, 81, 0.3);
}

.loan-card .name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.loan-card .description {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.loan-card .price {
    font-size: 48px;
    font-weight: 800;
}

.loan-card .price span {
    font-size: 72px;
}

/* Reviews Slider */
.reviews-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-slide {
    min-width: 100%;
    padding: 0 10px;
}

.reviews .item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.reviews .comment {
    font-size: 16px;
    line-height: 1.8;
    color: var(--grey04);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background: white;
    color: var(--primary-green);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-green);
    width: 30px;
    border-radius: 6px;
}

/* FAQ Section */
.faq-section {
    background: var(--light-bg);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: white;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-green);
}

.faq-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--grey04);
    line-height: 1.8;
}

/* Quick Form Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.quick-form-modal {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: fadeInUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--grey03);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-black);
}

.quick-form-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-green);
}

.quick-form-subtitle {
    font-size: 16px;
    color: var(--grey04);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-black);
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.1);
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: #008f45;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.3);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 90;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #008f45;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 166, 81, 0.4);
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 60px 0 30px;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.7;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.copyright-block {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 12px;
    line-height: 1.8;
    opacity: 0.7;
}

/* Mobile CTA Button in Header */
.mobile-cta-btn {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 98;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.mobile-cta-btn .button {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 14px;
}

/* Show mobile CTA on scroll */
.mobile-cta-btn.visible {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .footer-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .flex-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-menu {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .burger {
        display: flex;
    }
    
    .menu {
        display: none;
    }
    
    .links {
        display: none;
    }
    
    /* Add padding to body for mobile CTA */
    body.has-mobile-cta {
        padding-bottom: 70px;
    }
}

@media (max-width: 768px) {
    .info-block .zero {
        font-size: 80px;
    }
    
    .info-block .heading {
        font-size: 32px;
    }
    
    .heading-h0 {
        font-size: 32px;
    }
    
    .calculator {
        padding: 30px 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .promo-text {
        font-size: 14px;
    }
    
    .promo-highlight {
        font-size: 16px;
    }
    
    .advantages-grid {
        gap: 20px;
    }
    
    .footer-menu {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .trust-number {
        font-size: 42px;
    }
    
    .quick-form-modal {
        padding: 30px 20px;
    }
}

/* Loading Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
