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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #1a3a6c 0%, #2a5a9c 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0f2752 0%, #1a3a6c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 58, 108, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Шапка */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo img {
    height: 70px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #1a3a6c;
}

.header__contacts {
    text-align: right;
}

.phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1a3a6c;
    text-decoration: none;
    margin-bottom: 5px;
}

.worktime {
    font-size: 14px;
    color: #666;
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* Герой-баннер */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center/cover;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero__title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.feature p {
    font-size: 16px;
    opacity: 0.9;
}

/* Промо-акция */
.promo {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 40px 0;
}

.promo__card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.promo__card h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.promo__card p {
    font-size: 20px;
    margin-bottom: 25px;
}

/* Секции */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a3a6c;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Услуги */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card h3 {
    color: #1a3a6c;
    margin-bottom: 15px;
    font-size: 22px;
}

/* Цены */
.prices {
    padding: 80px 0;
}

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

.price-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s;
}

.price-card:hover {
    border-color: #1a3a6c;
}

.price-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: #1a3a6c;
    margin: 15px 0;
}

.prices__note {
    background: #e8f4ff;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #1a3a6c;
}

.prices__note p {
    margin-bottom: 10px;
}

/* Преимущества */
.advantages {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.advantage {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.advantage__icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.advantage h3 {
    color: #1a3a6c;
    margin-bottom: 15px;
    font-size: 22px;
}

/* Команда */
.team {
    padding: 80px 0;
}

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

.team-member {
    text-align: center;
}

.team-member h3 {
    margin: 20px 0 5px;
    color: #333;
}

.team-member p {
    color: #666;
}

/* Отзывы */
.reviews {
    padding: 80px 0;
    background: #f8f9fa;
}

.reviews__slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.review__author {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.review__author strong {
    display: block;
    font-size: 18px;
    color: #333;
}

.review__author span {
    color: #666;
    font-size: 14px;
}

/* Форма бронирования */
.booking {
    padding: 80px 0;
}

.booking-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a3a6c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 108, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-note {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.booking-result {
    background: #e8f5e8;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
    border-left: 5px solid #4caf50;
}

.booking-result h3 {
    color: #2e7d32;
    margin-bottom: 15px;
}

#orderNumber {
    color: #1a3a6c;
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin: 10px 0;
}

/* Контакты */
.contacts {
    padding: 80px 0;
    background: #f8f9fa;
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacts__info h3 {
    color: #1a3a6c;
    margin-bottom: 25px;
    font-size: 28px;
}

.contacts__info p {
    margin-bottom: 15px;
    font-size: 16px;
}

.contacts__info a {
    color: #1a3a6c;
    text-decoration: none;
    font-weight: 600;
}

.contacts__info a:hover {
    text-decoration: underline;
}

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

.social-link {
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.social-link.vk { background: #4c75a3; }
.social-link.tg { background: #2aabee; }
.social-link.inst { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }

.social-note {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

/* Футер */
.footer {
    background: #1a3a6c;
    color: white;
    padding: 60px 0 30px;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.footer__logo img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer__menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.menu-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.menu-column ul {
    list-style: none;
}

.menu-column li {
    margin-bottom: 10px;
}

.menu-column a {
    color: #b0c4ff;
    text-decoration: none;
    transition: color 0.3s;
}

.menu-column a:hover {
    color: white;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal__content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.modal__content h3 {
    color: #2e7d32;
    margin-bottom: 20px;
    font-size: 28px;
}

#modalOrderNumber {
    color: #1a3a6c;
    font-size: 24px;
    font-weight: 700;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero__title { font-size: 36px; }
    .hero__subtitle { font-size: 20px; }
    .section-title { font-size: 30px; }
    .contacts__grid { grid-template-columns: 1fr; }
    .footer__content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .burger { display: flex; }
    .header__contacts { display: none; }
    .form-row { flex-direction: column; }
    .hero__features { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: 1fr; }
    .advantages__grid { grid-template-columns: 1fr; }
    .footer__menu { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero { padding: 80px 0; }
    .hero__title { font-size: 28px; }
    .section-title { font-size: 24px; }
    .booking-form { padding: 20px; }
}

