/* 
 * Credit Online 24/7 - Main Styles
 * Site: credit-online-24-7.ro
 * Light theme with green accents
 */

/* Reset and base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #22c55e;
    --primary-green-dark: #16a34a;
    --primary-green-light: #86efac;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.header-cta {
    display: inline-block;
    background: var(--primary-green);
    color: white !important;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

.header-cta:hover {
    background: var(--primary-green-dark);
    color: white !important;
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.hero-text h1 span {
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.hero-feature svg {
    width: 20px;
    height: 20px;
    color: var(--primary-green);
}

.hero-list {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.hero-list li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* Calculator Section */
.calculator-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.calculator-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calculator-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.calc-left {
    padding: 2rem;
    border-right: 1px solid var(--border-color);
}

.calc-right {
    padding: 2rem;
    background: var(--bg-gray);
}

.calc-slider-group {
    margin-bottom: 2rem;
}

.calc-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calc-slider-label span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.calc-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
}

/* Custom Range Slider */
.calc-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border-color);
    border-radius: 4px;
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--primary-green-dark);
}

.calc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.calc-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.calc-cta-btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-green);
    color: white;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-top: 1.5rem;
    transition: var(--transition);
}

.calc-cta-btn:hover {
    background: var(--primary-green-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.calc-disclaimer {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

/* Calculator Results */
.calc-results h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.calc-result-row:last-of-type {
    border-bottom: none;
}

.calc-result-row span:first-child {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.calc-result-row span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.calc-result-row.total {
    background: var(--primary-green);
    color: white;
    margin: 1rem -2rem -2rem;
    padding: 1rem 2rem;
    border-radius: 0 0 var(--radius-lg) 0;
}

.calc-result-row.total span {
    color: white;
    font-size: 1rem;
}

.calc-promo {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-sm);
}

.calc-promo p {
    color: var(--primary-green-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calc-promo a {
    font-size: 0.9rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header p {
    font-size: 1.1rem;
}

/* Info Block */
.info-block {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-block h2 {
    margin-bottom: 1.5rem;
}

.info-block ul {
    list-style: none;
    margin: 1.5rem 0;
}

.info-block ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-block ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.advantage-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.advantage-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.advantage-icon {
    width: 48px;
    height: 48px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-green);
}

.advantage-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.advantage-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Eligibility Section */
.eligibility-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.eligibility-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-green);
}

.eligibility-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-green);
    flex-shrink: 0;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-green);
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-green-dark);
}
.cta-section1 {
    background: #22c55e !important;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-section1 h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section1 p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-section1 .btn-primary {
    background: white;
    color: var(--primary-green);
}

.cta-section1 .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-green-dark);
}

/* Article Section */
.article-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-content h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
    color: var(--text-dark);
}

.article-content p {
    font-size: 1rem;
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-gray);
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: var(--bg-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--primary-green);
}

.footer-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs-list li:not(:last-child)::after {
    content: "/";
    color: var(--text-light);
}

.breadcrumbs-list a {
    color: var(--text-gray);
}

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

.breadcrumbs-list li:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-list {
        display: inline-block;
        text-align: left;
    }

    .calculator-inner {
        grid-template-columns: 1fr;
    }

    .calc-left {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .calc-result-row.total {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

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

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

    .eligibility-list {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 2.5rem 0;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .calc-amount {
        font-size: 1.5rem;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }
}
/* Адаптация таблиц для мобильных */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto; /* Включает горизонтальную прокрутку */
    -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
}

/* Стили самой таблицы */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    /* Минимальная ширина заставляет таблицу растягиваться, 
       активируя скролл на контейнере .table-responsive */
    min-width: 600px; 
}

.comparison-table th, 
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.comparison-table th {
    background-color: var(--bg-gray);
    color: var(--text-dark);
    font-weight: 600;
    white-space: nowrap; /* Заголовки в одну строку */
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Чередование цветов строк для лучшей читаемости */
.comparison-table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}
/* --- Стили для секции с картинкой справа --- */

/* Контейнер Flexbox */
.info-split {
    display: flex;
    align-items: center; /* Выравнивание по вертикали по центру */
    justify-content: space-between;
    gap: 3rem; /* Расстояние между текстом и картинкой */
}

/* Блок текста (левая часть) */
.info-text {
    flex: 1; /* Занимает доступное пространство */
}

/* Блок картинки (правая часть) */
.info-image {
    flex: 1; /* Также занимает пространство */
    display: flex;
    justify-content: center;
    max-width: 500px; /* Ограничение ширины картинки, чтобы не была гигантской */
}

/* Сама картинка */
.info-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md); /* Скругление углов (берем из ваших переменных) */
    box-shadow: var(--shadow-md); /* Тень для красоты */
    object-fit: cover;
}

/* --- Адаптация для мобильных (планшеты и телефоны) --- */
@media (max-width: 991px) {
    .info-split {
        flex-direction: column; /* Элементы встают друг под другом */
        gap: 2rem;
    }

    .info-image {
        max-width: 100%; /* На мобильном картинка на всю ширину */
        order: -1; /* Если хотите картинку НАД текстом, раскомментируйте эту строку. 
                      Если хотите ПОД текстом - удалите эту строку. */
    }
}
/* Контейнер для двух колонок */
.hero-content {
    display: flex;
    align-items: center; /* Центрируем по вертикали */
    justify-content: space-between;
    gap: 4rem; /* Расстояние между текстом и картинкой */
    padding: 2rem 0;
}

/* Левая колонка (текст) */
.hero-text {
    flex: 1; /* Текст чуть шире */
    text-align: left;
}

/* Правая колонка (визуал) */
.hero-visual {
    flex: 0.8; /* Картинка чуть уже */
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
   
  
}

/* Адаптация для мобильных */
@media (max-width: 991px) {
    .hero-content {
        flex-direction: column; /* Ставим друг под другом */
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        order: 2; /* Текст идет вторым */
    }

    .hero-visual {
        order: 1; /* Картинка или калькулятор сверху */
        width: 100%;
    }

    .hero-text h1, .hero-text h2 {
        text-align: center;
    }

    .hero-list {
        display: inline-block;
        text-align: left;
    }

    .hero-features {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
}