/* ===== Базовые стили и сброс ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Кнопки ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #3366ff;
    color: white;
}

.btn-primary:hover {
    background-color: #2952cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 102, 255, 0.3);
}

.btn-accent {
    background-color: #00cc88;
    color: white;
}

.btn-accent:hover {
    background-color: #00b377;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 204, 136, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-demo {
    display: inline-block;
    margin-top: 15px;
    color: #3366ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-demo:hover {
    text-decoration: underline;
}

.btn-demo i {
    margin-right: 5px;
}

/* ===== Шапка ===== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: #222;
    text-decoration: none;
}

.logo img {
    margin-right: 10px;
}

.logo-highlight {
    color: #3366ff;
}

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

.nav-menu li {
    margin-left: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3366ff;
}

/* ===== Главный баннер ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://web.srgut.ru/images/001.jpg') center/cover no-repeat;
    padding: 200px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 25px;
}

.hero-tagline {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 40px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0px;
    display: inline-block;
}

.hero-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.phone-icon {
    font-size: 1.5rem;
    color: #3366ff;
    font-weight: 700;
}

.phone-icon i {
    margin-right: 10px;
}

/* ===== Секции ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: #222;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ===== О нас ===== */
.about {
    background-color: #fff;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ===== Услуги ===== */
.services {
    background-color: #f9fbfd;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    padding-bottom: 25px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #222;
    margin: 20px 20px 10px;
}

.service-card p {
    color: #666;
    padding: 0 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* ===== Форма обратной связи ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3366ff;
}

.contact-form button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.contact-form button i {
    font-size: 1.1rem;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background-color: #e6fff2;
    color: #00a866;
    border: 1px solid #00cc88;
}

.form-message.error {
    background-color: #ffe6e6;
    color: #ff3333;
    border: 1px solid #ff6666;
}

/* ===== Подвал сайта ===== */
.footer {
    background-color: #222;
    color: #bbb;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.footer-info p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #3366ff;
}

.footer-contact h4,
.footer-legal h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-contact p,
.footer-legal p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i,
.footer-legal i {
    margin-right: 10px;
    color: #00cc88;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 0.9rem;
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Для мобильных можно добавить бургер-меню позже */
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .contact-form {
        padding: 25px;
    }
}