/*
Theme Name: Лендінг АвтоЮрист 130
Author: AutoYrist
Description: Кастомна тема для лендингу по ст. 130, оновлена до нового дизайну.
Version: 2.2
*/

/* ===== Глобальні стилі та філософія "Повітря" ===== */
:root {
    --primary-color: #38bdcb;
    --text-color: #2c3e50;
    --secondary-text-color: #7f8c8d;
    --background-light: #f8f9fa;
    --border-color: #ecf0f1;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Компоненти Дизайну ===== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header, .site-footer {
    padding: 25px 0;
}

.site-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.site-header .logo img {
    max-height: 70px;
    width: auto;
}

/* Типографіка: Ясність та Простота */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}
.lp-h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.lp-section-title {
    font-size: 2rem;
    margin-bottom: 20px;
}
.lp-subtitle, .lp-trust-elements, .lp-section-intro {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}

/* Секції: структура та відступи */
.lp-section {
    padding: 40px 0; /* ЗМЕНШЕНО ВІДСТУП */
    text-align: center;
}
.lp-section-light {
    background-color: var(--background-light);
}

/* Блок з пропозицією */
.lp-price-offer {
    background-color: #f0f8ff;
    padding: 25px 30px;
    margin: 40px auto;
    max-width: 600px;
    border-radius: 8px;
    border: 1px solid #d9e8f5;
    text-align: center;
}
.lp-price-offer h3 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
}
.lp-price-offer p {
    margin: 0;
    color: var(--secondary-text-color);
}

/* Стиль для акцентної ціни */
.price-highlight {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1em;
}

.lp-social-links {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.lp-social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}
.lp-social-icon:hover {
    transform: scale(1.1);
}

/* Кнопки: очевидна дія */
.lp-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}
.lp-button {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}
.lp-button-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}
.lp-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.lp-button-secondary {
    background-color: #fff;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
.lp-button-secondary:hover {
    background-color: var(--background-light);
    transform: translateY(-2px);
}

/* Списки: структура і вигоди */
.lp-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 650px;
    text-align: left;
}
.lp-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.lp-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-color);
    font-size: 1.2rem;
}
.lp-list strong {
    font-weight: 600;
    color: var(--text-color);
}

/* Кроки */
.lp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}
.lp-step-item {
    padding: 20px;
}
.lp-step-number {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}
.lp-step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}
.lp-step-item p {
    margin: 0;
    color: var(--secondary-text-color);
    font-size: 0.95rem;
}

/* Модальні вікна */
.messenger-modal, #advisorModal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(44, 62, 80, 0.85);
}
.messenger-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
}
.messenger-close, .advisor-close {
    color: #bdc3c7;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
}
.messenger-modal-content h2 {
    font-size: 1.5rem;
    margin: 0 0 25px 0;
}
.messenger-modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.messenger-modal-content ul li {
    margin-bottom: 10px;
}
.messenger-modal-content ul li a {
    display: block;
    padding: 15px;
    background-color: var(--background-light);
    color: var(--text-color);
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.messenger-modal-content ul li a:hover {
    background-color: #e8ecf0;
}

/* Модальне вікно радника (специфічні стилі) */
.advisor-modal-content {
    max-width: 520px;
    margin: 10% auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    position: relative;
}
.advisor-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 20px auto;
    display: block;
    border: 3px solid var(--border-color);
}
.advisor-name {
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    text-align: center;
}
.advisor-title {
    font-size: 1rem;
    color: var(--secondary-text-color);
    margin: 0 auto 20px auto;
    font-style: italic;
    text-align: center;
}
.advisor-description {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
}

/* Футер */
.site-footer {
    background-color: var(--background-light);
    color: var(--secondary-text-color);
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
}
.site-footer a {
    color: var(--text-color);
    text-decoration: none;
}
.site-footer a:hover {
    text-decoration: underline;
}
.footer-links {
    margin-top: 10px;
}
.footer-links a {
    margin: 0 10px;
}

/* Адаптивність */
@media (max-width: 768px) {
    .lp-h1 { font-size: 1.8rem; }
    .lp-section-title { font-size: 1.6rem; }
    .lp-section { padding: 30px 0; } /* ЗМЕНШЕНО ВІДСТУП НА МОБІЛЬНИХ */
    .lp-steps-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .lp-step-item {
        padding-bottom: 30px;
        border-bottom: 1px solid var(--border-color);
    }
    .lp-step-item:last-child {
        border-bottom: none;
    }
    .messenger-modal-content, .advisor-modal-content {
        margin: 10% auto;
    }
}
