@charset "UTF-8";

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные переменные */
:root {
    --primary-color: #1a3a53;
    --secondary-color: #2c5f8b;
    --text-light: #f6f6f4;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: #333;
}

/* Контейнер для центрирования */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Герой-секция */
.hero {
    height: 100vh;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Основные секции */
.section {
    padding: 80px 0;
    background: #f9f9f9;
}

/* Сетка информации */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.info-card p {
    margin-bottom: 15px;
}

/* Контактная секция */
.contact-section {
    background: var(--secondary-color);
    color: var(--text-light);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.contact-item {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    justify-content: center;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-card i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Кнопка "Наверх" */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Футер */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
        padding: 0 15px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
    
    .info-card {
        padding: 20px;
    }
}

@media (pointer: coarse) {
    .contact-link {
        min-height: 44px;
        padding: 8px 12px;
        display: inline-block;
    }
}