* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: radial-gradient(circle at 20% 30%, #0a0f1f, #03060e);
    color: #eef2ff;
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.bg-glow, .bg-glow-2 {
    position: fixed;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    top: -20vh;
    right: -20vw;
    z-index: -2;
    filter: blur(90px);
    pointer-events: none;
}
.bg-glow-2 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    bottom: -15vh;
    left: -15vw;
    top: auto;
    right: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 2;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0 24px;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, #3b82f6, #1e40af);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 26px;
    color: white;
    box-shadow: 0 12px 20px -8px rgba(59, 130, 246, 0.4);
    transition: all 0.2s;
}

.logo-text h1 {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #b9d0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}

.logo-text span {
    font-size: 0.85rem;
    color: #7e8bb6;
}

.nav {
    display: flex;
    gap: 8px;
    background: rgba(15, 25, 45, 0.6);
    backdrop-filter: blur(16px);
    padding: 6px;
    border-radius: 80px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    padding: 10px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 60px;
    color: #b4c2f0;
    transition: all 0.25s;
    font-size: 0.9rem;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
}

.nav-link:hover {
    color: white;
    background: rgba(59, 130, 246, 0.2);
}

.nav-link.active {
    background: linear-gradient(120deg, #2563eb, #1e40af);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #a7f3d0;
}

.contact-btn:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #fff;
}

.page-section {
    display: none;
    animation: fadeUp 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.page-section.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.city-banner {
    background: rgba(12, 20, 35, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 44px;
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 56px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.5);
}

.city-info {
    text-align: left;
}

.city-info h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.city-info p {
    color: #b9c8ff;
}

.city-advantages {
    display: flex;
    gap: 40px;
}

.advantage {
    text-align: center;
}

.advantage-number {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(145deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
}

.advantage-text {
    font-size: 0.85rem;
    color: #94a3b8;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 4px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.product-card {
    background: rgba(15, 25, 45, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:has(.card-badge) {
    padding-top: 50px;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 30px 40px -20px rgba(59, 130, 246, 0.5);
    background: rgba(20, 32, 55, 0.85);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    z-index: 2;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-badge.loyalty {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    padding-right: 0;
}

.card-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #60a5fa;
    text-align: center;
}

.card-percent, .card-rate {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    margin: 10px 0;
    text-align: center;
}

.card-period {
    color: #94a3b8;
    font-size: 0.9rem;
    text-align: center;
}

.card-features {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 24px;
    padding: 16px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-label {
    color: #94a3b8;
}

.feature-value {
    font-weight: 600;
}

.feature-value.highlight {
    color: #10b981;
}

.card-btn {
    background: linear-gradient(95deg, #2563eb, #1e3a8a);
    border: none;
    padding: 14px 0;
    border-radius: 60px;
    font-weight: 700;
    color: white;
    width: 100%;
    margin-top: auto;
    transition: 0.2s;
    cursor: pointer;
    font-size: 1rem;
}

.card-btn:hover {
    transform: scale(1.02);
    background: linear-gradient(95deg, #3b82f6, #2563eb);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-item-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: background 0.3s ease;
}

.feature-item-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.25);
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.feature-item-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    text-align: center;
}

.feature-item-card p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-align: center;
}

.loan-detail-header {
    text-align: center;
    margin-bottom: 48px;
}

.detail-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.detail-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.detail-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    text-align: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.detail-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 28px 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(20, 32, 55, 0.85);
}

.detail-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.detail-card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.detail-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    text-align: center;
    color: #fff;
    width: 100%;
}

.info-block {
    flex: 1;
    width: 100%;
}

.info-row-big {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row-big:last-child {
    border-bottom: none;
}

.info-row-big span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.info-row-big strong {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.info-row-big.highlight strong {
    color: #10b981;
    font-size: 1.2rem;
}

.requirements-list {
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    padding: 14px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.advantage-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.requirements-list li span.emoji {
    font-size: 18px;
    min-width: 28px;
}

.detail-card .requirements-list {
    text-align: left;
    width: 100%;
}

.check-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.requirements-list li:last-child {
    border-bottom: none;
}


.requirements-list li::before {
    content: none;
}

.requirements-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.requirements-list li {
    justify-content: center;
    text-align: center;
}

.calculator-section {
    background: rgba(10, 18, 30, 0.7);
    backdrop-filter: blur(14px);
    border-radius: 48px;
    padding: 36px;
    margin: 40px 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.calculator-section h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    text-align: center;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 780px) {
    .calculator-content {
        grid-template-columns: 1fr;
    }
}

.slider-group {
    margin-bottom: 28px;
}

.slider-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    text-align: center;
}

.slider-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    -webkit-appearance: none;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #64748b;
    font-size: 0.8rem;
}

.calculator-result {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 28px;
    padding: 28px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-row.total {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 8px;
}

.result-value {
    font-weight: 600;
}

.result-value.big {
    font-size: 1.6rem;
    color: #3b82f6;
}

.result-value.green {
    color: #10b981;
}

.calculator-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: all 0.2s;
}

.calculator-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px #10b981;
}

.forms-section {
    margin: 60px 0;
}

.form-card {
    background: rgba(17, 27, 45, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    padding: 40px;
    max-width: 620px;
    margin: 0 auto;
    display: none;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.form-card.active {
    display: block;
    animation: slideScale 0.3s ease;
}

@keyframes slideScale {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 28px;
}

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.loan-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: #94a3b8;
}

.form-group input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 14px 18px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-agreement {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 14px;
    border-radius: 20px;
}

.form-agreement input {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.form-agreement label {
    font-size: 0.85rem;
    color: #94a3b8;
}

.submit-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    padding: 16px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.modal-text {
    color: #9ca3af;
    margin-bottom: 28px;
}

.modal-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    cursor: pointer;
}

.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-content {
    background: linear-gradient(145deg, #0f172a, #080e1a);
    border-radius: 56px;
    padding: 40px 44px;
    max-width: 680px;
    width: 90%;
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 50px 70px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(59, 130, 246, 0.2) inset;
    position: relative;
}

.contact-modal-close {
    position: absolute;
    top: 28px;
    right: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    transform: rotate(90deg);
}

.contact-modal-header {
    text-align: center;
    margin-bottom: 36px;
}

.contact-modal-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 18px 30px -8px rgba(3, 69, 175, 0.4);
}

.contact-modal-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.contact-modal-header h2 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(120deg, #fff, #a5c9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.contact-modal-header p {
    color: #9bb3e0;
}

.contact-modal-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 28px 0 32px;
}

.contact-modal-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 38px;
    padding: 18px 26px;
    text-decoration: none;
    transition: all 0.25s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.contact-modal-card:hover {
    transform: translateX(8px);
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 12px 24px -12px #3b82f6;
}

.contact-modal-card-icon {
    width: 58px;
    height: 58px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.contact-modal-card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.contact-modal-card-info {
    flex: 1;
}

.contact-modal-card-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.contact-modal-card-info p {
    color: #b9d0ff;
    font-size: 0.9rem;
    margin: 4px 0;
}

.contact-modal-card-info span {
    font-size: 0.75rem;
    color: #7e8bb6;
}

.contact-modal-card-arrow {
    font-size: 1.6rem;
    color: #3b82f6;
    opacity: 0.6;
    transition: 0.2s;
}

.contact-modal-card:hover .contact-modal-card-arrow {
    opacity: 1;
    transform: translateX(6px);
}

.contact-modal-card.instagram:hover {
    border-color: #e1306c;
}

.contact-modal-card.telegram:hover {
    border-color: #2aabee;
}

.contact-modal-card.email:hover {
    border-color: #ea4335;
}

.contact-modal-card.feedback:hover {
    border-color: #10b981;
}

.contact-modal-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px dashed rgba(59, 130, 246, 0.3);
}

.contact-modal-response {
    background: rgba(16, 185, 129, 0.12);
    display: inline-block;
    padding: 10px 28px;
    margin-top: 8px;
    border-radius: 60px;
    font-size: 0.85rem;
    color: #6ee7b7;
    font-weight: 500;
    backdrop-filter: blur(4px);
}


.footer {
    margin-top: 80px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer > div:first-child {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-contact-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 24px;
    border-radius: 25px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.footer-contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        justify-content: center;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 40px;
        padding: 8px;
    }

    .nav-link {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .city-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .city-info {
        text-align: center;
    }

    .city-advantages {
        justify-content: center;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .detail-title {
        font-size: 1.8rem;
    }

    .detail-icon {
        width: 70px;
        height: 70px;
    }

    .detail-icon img {
        width: 38px;
        height: 38px;
    }

    .contact-modal-content {
        padding: 32px 24px;
    }

    .contact-modal-card {
        padding: 14px 18px;
    }

    .contact-modal-card-icon {
        width: 48px;
        height: 48px;
    }

    .contact-modal-card-icon img {
        width: 26px;
        height: 26px;
    }

    .contact-modal-icon {
        width: 70px;
        height: 70px;
    }

    .contact-modal-icon img {
        width: 36px;
        height: 36px;
    }

    .contact-modal-card-info h3 {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer {
        margin-top: 60px;
        padding: 25px 15px;
    }
    
    .footer > div:first-child {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .footer-contact-btn {
        padding: 6px 20px;
        font-size: 13px;
    }
    .product-card {
        padding: 28px 20px;
    }
    
    .card-badge {
        top: 15px;
        right: 15px;
        padding: 4px 12px;
        font-size: 0.7rem;
    }
    
    .card-title {
        font-size: 1.5rem;
        padding-right: 0;
        margin-top: 5px;
    }
    
    .card-amount {
        font-size: 1.6rem;
    }
    
    .card-percent, .card-rate {
        font-size: 1.3rem;
    }

    .detail-grid {
        gap: 20px;
    }
    
    .detail-card {
        padding: 22px 18px;
    }
    
    .detail-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .detail-card-icon img {
        width: 34px;
        height: 34px;
    }
    
    .detail-card h3 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }
    
    .info-row-big {
        padding: 10px 0;
    }
    
    .info-row-big span,
    .info-row-big strong {
        font-size: 13px;
    }
    
    .requirements-list li {
        padding: 10px 0;
        font-size: 13px;
        gap: 10px;
    }
    
    .advantage-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
     .product-card {
        padding: 24px 16px;
    }
    
    .card-badge {
        top: 12px;
        right: 12px;
        padding: 3px 10px;
        font-size: 0.65rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-amount {
        font-size: 1.4rem;
    }
    
    .card-percent, .card-rate {
        font-size: 1.2rem;
    }
    
    .card-features {
        padding: 12px;
    }
    
    .feature-item {
        padding: 6px 0;
    }
    
    .feature-label, .feature-value {
        font-size: 0.85rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .detail-card {
        padding: 18px 16px;
    }
    
    .detail-card-icon {
        width: 55px;
        height: 55px;
    }
    
    .detail-card-icon img {
        width: 30px;
        height: 30px;
    }
    
    .detail-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .info-row-big {
        padding: 8px 0;
    }
    
    .info-row-big span,
    .info-row-big strong {
        font-size: 12px;
    }
    
    .requirements-list li {
        padding: 8px 0;
        font-size: 12px;
        gap: 8px;
    }
    
    .advantage-icon {
        width: 18px;
        height: 18px;
    }
}