/* styles.css */
:root {
    --primary-color: #201f1f;
    --secondary-color: #222121fb;;
    --accent-color: #2c2c2c;
    --light-color: #ecf0f1;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 5px 15px rgb(75, 75, 75);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background-color:#424242a1;;
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* box-shadow: var(--shadow); */
}

.underline {
    position: relative;
    display: inline-block;
}

.underline::after {
    content: '';
    position: absolute;
    bottom: -0.5px; /* Отступ от текста */
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #ffffff;
    transition: width 0.3s ease-out;
}

.underline:hover::after {
    width: 100%;
}
.phone {
    
    font-size: 22px;
    margin-bottom: 5px;
    color: #ffffff;
    text-decoration: none;
}
.phone>a{
    color: #ffffff;
    text-decoration: none;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color);
}

.header-contacts {
    text-align: right;
    
}

.header-contacts p:first-child {
    font-weight: 500;
    font-size: 1.1rem;
}

.header-contacts p:last-child {
    font-size: 0.9rem;
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Герой секция */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('hero5.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 180px 0 100px;
    /* margin-top: 80px; */
}

.hero-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color:#222222;
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Секции */
.section-title {
    font-family:  'Times New Roman', Times, serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.services, .about, .prices, .contacts {
    padding: 100px 0;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* О нас */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--accent-color);
    margin-right: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Цены */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.price-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-card.popular {
    border-top: 5px solid var(--accent-color);
}

.price-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 500;
}

.price-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 600;
}

.price-features {
    padding: 30px;
    list-style: none;
}

.price-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.price-features i {
    margin-right: 10px;
}

.price-features .fa-check {
    color: #2ecc71;
}

.price-features .fa-times {
    color: #e74c3c;
}

.btn-price {
    display: block;
    margin: 0 30px 30px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-price:hover {
    background-color: var(--primary-color);
}

/* Контакты */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Футер */
.footer {
    background: #3a3a3a;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    padding: 50px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content, .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .header-contacts {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}


/* Стили для панели мессенджеров */
.messenger-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.messenger-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.messenger-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.messenger-buttons {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.messenger-widget.active .messenger-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.messenger-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

.messenger-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.messenger-btn.telegram {
    background: #0088cc;
}

.messenger-btn.viber {
    background: #8f5db7;
}

.messenger-btn .tooltip {
    position: absolute;
    right: 60px;
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.messenger-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.messenger-btn .tooltip:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

/* Демо-контент */
.demo-text {
    margin-bottom: 30px;
}

.demo-text p {
    color: #666;
    max-width: 800px;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.option-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-top: 4px solid #0088cc;
}

.option-card:nth-child(2) {
    border-top-color: #8f5db7;
}

.option-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-card h3:before {
    font-family: "Font Awesome 6 Brands";
    font-size: 20px;
}

.option-card:nth-child(1) h3:before {
    content: "\f3fe";
    color: #0088cc;
}

.option-card:nth-child(2) h3:before {
    content: "\f409";
    color: #8f5db7;
}

.option-card p {
    color: #666;
    margin-bottom: 15px;
}

.code-block {
    background: #f5f5f5;
    padding: 12px 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
    color: #333;
    border-left: 3px solid #ddd;
}

.note {
    background: #e8f4fc;
    padding: 20px;
    border-radius: 5px;
    margin-top: 40px;
    border-left: 4px solid #0088cc;
}

.note p {
    color: #2c3e50;
    margin: 0;
}

.demo-space {
    height: 800px;
    margin-top: 40px;
    background: linear-gradient(to bottom, transparent, #f0f0f0);
    border-radius: 5px;
}

/* Адаптивность */
@media (max-width: 768px) {
  
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .content {
        padding: 25px 20px;
    }
    
    .messenger-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .messenger-toggle {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .messenger-buttons {
        bottom: 65px;
    }
    
    .messenger-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .option-card {
        padding: 20px;
    }
    
    .demo-space {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .messenger-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .messenger-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .messenger-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .messenger-btn .tooltip {
        font-size: 12px;
        padding: 4px 8px;
        right: 50px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 20px;
    }
}


/* Стили для мобильного номера телефона */
.mobile-phone {
    display: none;
    margin-right: 15px;
    font-size: 15px;
}

.mobile-phone a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-phone a:hover {
    color: var(--accent-color);
}

/* Адаптивность */
@media (max-width: 768px) {
    /* Показываем мобильный номер телефона */
    .mobile-phone {
        display: flex;
        align-items: center;
    }
    
    /* Скрываем контакты для десктопа */
    .header-contacts {
        display: none;
    }
    
    /* Обновляем верстку шапки для мобильных */
    .header-content {
        justify-content: space-between;
        gap: 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
        white-space: nowrap;
    }
    
    /* Уменьшаем отступы для меню */
    .menu-toggle {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    /* Для очень маленьких экранов можно скрыть иконку */
    .mobile-phone a {
        font-size: 0.9rem;
    }
    
    .mobile-phone a i {
        font-size: 0.9rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
}


/* Обновленные стили для логотипа с номером телефона */
.logo {
    display: flex;
    flex-direction: column;
    font-family:Georgia, 'Times New Roman', Times, serif;
    
    
    
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.logo-link:hover {
    color: var(--accent-color);
}

.logo-link h1 {
    font-family:  'Times New Roman', Times, serif;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--white);
    transition: var(--transition);
}

.logo-link:hover h1 {
    color: var(--accent-color);
}

.logo-phone {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    opacity: 0.9;
    transition: var(--transition);
}

.logo-link:hover .logo-phone {
    opacity: 1;
    color: var(--accent-color);
}

/* Скрываем дополнительный блок контактов на мобильных */
@media (max-width: 768px) {
    .header-contacts {
        display: none;
    }
    
    /* Делаем логотип более компактным на мобильных */
    .logo-link h1 {
        font-size: 1.5rem;
        margin-bottom: 3px;
    }
    
    .logo-phone {
        font-size: 0.8rem;
    }
    
    /* Убедимся, что номер можно нажать для звонка */
    .logo-link {
        position: relative;
    }
    
    /* Делаем весь блок логотипа кликабельным для index.html,
       но номер телефона - для звонка */
    .logo-phone::after {
        content: '';
        position: absolute;
        top: 60%;
        left: 0;
        width: 100%;
        height: 40%;
        z-index: 2;
    }
}

@media (max-width: 480px) {
    .logo-link h1 {
        font-size: 1.rem;
    }
    
    .logo-phone {
        font-size: 1rem;
    }
}

/* Чтобы иконка голубя тоже наследовала цвет при наведении */
.logo-link:hover .fa-dove {
    color: var(--accent-color);
}


/* Обновленные стили для логотипа с номером телефона */
.logo {
    display: flex;
    flex-direction: column;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.logo-link:hover {
    color: var(--accent-color);
}

.logo-link h1 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo-link:hover h1 {
    color: var(--accent-color);
}

/* Номер телефона для мобильных (скрыт по умолчанию) */
.mobile-phone-label {
    display: none;
    
}

.mobile-phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 5px;
    opacity: 0.9;
    transition: var(--transition);
}

.mobile-phone-link:hover {
    opacity: 1;
    
    
}

.mobile-phone-link i {
    font-size: 1.2rem;
}

/* Скрываем дополнительный блок контактов на мобильных */
@media (max-width: 768px) {
    .header-contacts {
        display: none;
    }
    
    /* Показываем номер под логотипом на мобильных */
    .mobile-phone-label {
        display: block;
        
        
    }
    
    /* Делаем логотип более компактным на мобильных */
    .logo-link h1 {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    /* Настройка верстки шапки для мобильных */
    .header-content {
        justify-content: space-between;
        gap: 15px;
    }
    
    /* Уменьшаем размер номера телефона на очень маленьких экранах */
    @media (max-width: 480px) {
        .logo-link h1 {
            font-size: 1.8rem;
        }
        
        .mobile-phone-link {
            font-size: 1.2rem;
        }
        
        .mobile-phone-link i {
            font-size: 0.75rem;
        }
    }
}

/* Чтобы иконка голубя тоже наследовала цвет при наведении */
.logo-link:hover .fa-dove {
    color: var(--accent-color);
}

/* Мобильное меню */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-left: 0;
       
    }
    
    .nav {
        position: fixed;
        top: 105px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn {
        width: auto;
        max-width: auto;
    }
}


/* стили для step.html */
/* .container {
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
            padding: 40px;
        }

        header {
            text-align: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 2px solid #eee;
        } */

        h1 {
            color: #4d372b;
            font-size: 2.5rem;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .subtitle {
            color: #666;
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
        }

        .section {
            margin-bottom: 50px;
            background: #f8f9fa;
            border-radius: 8px;
            padding: 30px;
            border-left: 4px solid #462c0f;
        }

        .section h2 {
            color: #462c0f;
            font-size: 1.8rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eaeaea;
        }

        .section p {
            color: #444;
            font-size: 1.1rem;
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .points-container {
            background: white;
            border-radius: 8px;
            padding: 25px;
            margin-top: 20px;
            box-shadow: 0 1px 5px rgba(0,0,0,0.05);
        }

        .point {
            margin-bottom: 25px;
            padding-bottom: 25px;
            border-bottom: 1px solid #eee;
        }

        .point:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .point h3 {
            color: #462c0f;
            font-size: 1.4rem;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }

        .point h3:before {
            content: "•";
            color: #462c0f;
            font-size: 2rem;
            margin-right: 10px;
            line-height: 1;
        }

        .point p {
            color: #555;
            font-size: 1.05rem;
            margin-bottom: 10px;
            padding-left: 20px;
        }

        .point ul {
            padding-left: 40px;
            margin-top: 10px;
        }

        .point li {
            margin-bottom: 8px;
            color: #555;
        }

        .highlight-box {
            background: #e8f4fc;
            border-left: 4px solid #46280f;
            padding: 20px;
            margin: 25px 0;
            border-radius: 4px;
        }

        .highlight-box h4 {
            color: #462c0f;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .contact-info {
            background: #555555;
            color: white;
            padding: 25px;
            border-radius: 8px;
            text-align: center;
            margin-top: 30px;
        }

        .contact-info h3 {
            margin-bottom: 15px;
            font-size: 1.5rem;
        }

        .phone-number {
            font-size: 1.8rem;
            font-weight: bold;
            color: #462c0f;
            margin: 15px 0;
        }

        .emergency {
            background: #ffeaea;
            border: 2px solid #e74c3c;
            padding: 20px;
            border-radius: 8px;
            margin: 25px 0;
        }

        .emergency h3 {
            color: #e74c3c;
            margin-bottom: 15px;
        }

        .emergency-numbers {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 15px;
        }

        .emergency-number {
            background: white;
            padding: 15px;
            border-radius: 6px;
            flex: 1;
            min-width: 200px;
            text-align: center;
        }

        .emergency-number h4 {
            color: #e74c3c;
            margin-bottom: 5px;
        }

        .documents-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .document-card {
            background: white;
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 20px;
        }

        .document-card h4 {
            color: #462c0f;
            margin-bottom: 10px;
        }

        .document-card p {
            color: #666;
            font-size: 0.95rem;
        }

        @media (max-width: 768px) {
            
            
            h1 {
                font-size: 2rem;
            }
            
            .section {
                padding: 20px;
            }
            
            .section h2 {
                font-size: 1.5rem;
            }
            
            .point h3 {
                font-size: 1.2rem;
            }
            
            .emergency-numbers {
                flex-direction: column;
            }
            
            .emergency-number {
                min-width: 100%;
            }
            
            .phone-number {
                font-size: 1.5rem;
            }
        }

        .step-number {
            display: inline-block;
            background: #462c0f;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            text-align: center;
            line-height: 30px;
            margin-right: 10px;
            font-weight: bold;
        }

        h5{
            margin-bottom: 15px;
        }

        /* Добавьте эти стили в ваш styles.css файл */

/* Виджет мессенджеров */
.messenger-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.messenger-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #686868;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.messenger-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(143, 93, 183, 0.6);
}

.messenger-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.messenger-widget.active .messenger-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.messenger-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.messenger-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.messenger-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.messenger-btn.viber {
    background: linear-gradient(135deg, #8f5db7, #6b3e9c);
}

.tooltip {
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.messenger-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .messenger-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .messenger-toggle {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    
    .messenger-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .tooltip {
        right: 55px;
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .messenger-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .messenger-toggle {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
    
    .messenger-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .messenger-buttons {
        gap: 12px;
    }
    
    .tooltip {
        right: 50px;
        font-size: 12px;
    }
}

/* Дополнительные улучшения для очень маленьких экранов */
@media (max-width: 360px) {
    .messenger-widget {
        bottom: 10px;
        right: 10px;
    }
    
    .tooltip {
        display: none; /* Скрываем подсказки на очень маленьких экранах */
    }
}

.developed-links {
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.developed-links>a{
    text-decoration: none;
    color: #525252;
}

/* Убираем подчеркивание у всех ссылок с иконками в футере */
.footer-social a {
    text-decoration: none;
    margin-left: 5px;
}

/* Или более конкретно для иконок */
.footer-social .social-icons a {
    text-decoration: none;
   
    
}

/* Или для всех ссылок в футере */
.footer a {
    text-decoration: none;
    
}

/* Чтобы при наведении тоже не было подчеркивания */
.footer a:hover {
    text-decoration: none;
    
}

.footer-social{
    display: flex;
    justify-content: flex-start; 
    align-content: space-between;
    margin-top: 20px;
    
    
    
}

.contacts a{
    text-decoration: none;
    background-color: #00000000;
    
}

/* БЕСШОВНАЯ бегущая строка */
.ticker-container {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    /* ВАЖНО: используем translateX на 50% ширины одного элемента */
    animation: ticker 20s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 400;
    flex-shrink: 0;
    min-width: max-content; /* Чтобы текст не переносился */
}

/* КЛЮЧЕВОЙ МОМЕНТ: Анимация двигает на 50% ширины контента */
@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Двигаем на половину всей ширины */
    }
}

/* Градиенты по краям для плавности */
.ticker-container::before,
.ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-container::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-color) 80%, transparent 100%);
}

.ticker-container::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-color) 80%, transparent 100%);
}

/* МОБИЛЬНАЯ ВЕРСИЯ - БЕСШОВНАЯ */
@media (max-width: 768px) {
    .ticker-container {
        padding: 6px 0;
    }
    
    .ticker-item {
        padding: 0 15px;
        font-size: 0.75rem;
        font-weight: 300;
        letter-spacing: -0.1px;
    }
    
    /* 10 СЕКУНД НА МОБИЛЬНЫХ */
    .ticker-content {
        animation: ticker 10s linear infinite;
    }
    
    .ticker-container::before,
    .ticker-container::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .ticker-item {
        padding: 0 10px;
        font-size: 0.7rem;
    }
    
    /* Можно сделать быстрее если нужно */
    .ticker-content {
        animation: ticker 10s linear infinite;
    }
    
    .ticker-container::before,
    .ticker-container::after {
        width: 30px;
    }
}
@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-115%); /* Вместо -50% */
    }
}