* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
body {
    line-height: 1.6;
    color: #1e1e2f;
    background: #f9fafc;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.top-bar {
    background: #0b2b40;
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.top-bar a {
    color: #ffd966;
    text-decoration: none;
    font-weight: 500;
}
.hero {
    background: linear-gradient(rgba(0, 40, 60, 0.85), rgba(0, 20, 30, 0.9)), url('/img/wedding.webp');
    background-size: cover;
    background-position: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}
.legal-note {
    background: #e7f0f5;
    border-left: 6px solid #0b2b40;
    padding: 25px;
    border-radius: 12px;
    margin: 40px 0;
    font-weight: 500;
}
.legal-note strong {
    color: #b22222;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.btn {
    display: inline-block;
    background: #0b2b40;
    color: white;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: #1a4b66;
}
.quick-form {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0,40,60,0.2);
    max-width: 500px;
    margin: 40px auto 0;
}
.quick-form input, .quick-form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
}
.footer {
    background: #0b2b40;
    color: white;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
}

/* ===== МОБИЛЬНЫЕ ПРАВКИ ===== */
@media (max-width: 768px) {
    /* Слоган в две строки */
    .slogan-bar .slogan-part {
        display: block;
        line-height: 1.3;
    }
    .slogan-part2 {
        font-size: 1.8rem !important; /* делаем вторую часть крупнее */
        margin-top: 4px;
    }

    /* Увеличиваем вторую часть слогана */
    .slogan-highlight {
        font-size: 1.8rem !important;
        display: block;
        margin-top: 4px;
    }

    /* Выравниваем все кнопки в шапке — единый размер */
    .top-bar .container .top-contacts a,
    .top-bar .container .top-contacts .top-btn {
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
        border-width: 2px !important; /* чтобы рамка не меняла размер */
    }
}
}