:root {
    --primary-blue: #0B203D;
    --accent-red: #e60000;
    --text-dark: #222222;
    --text-light: #ffffff;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: url("images/Logo9.jpg") no-repeat center center fixed;
    background-size: cover;
    color: var(--text-dark);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main { flex: 1; }

/* --- ШАПКА САЙТА --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

.header-right { 
    display: flex; 
    align-items: center; 
    gap: 22px; 
}

.contact-info { 
    font-weight: 700; 
    font-size: 14px; 
    color: var(--primary-blue); 
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 32, 61, 0.06);
    padding: 8px 16px;
    border-radius: 30px;
}

.lang-switch a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    margin: 0 3px;
    transition: var(--transition);
}

.lang-switch a.active-lang, .lang-switch a:hover {
    color: var(--accent-red);
}

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

.nav-menu a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: var(--accent-red); }

.menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    color: var(--primary-blue); 
    font-size: 28px; 
    cursor: pointer; 
}

/* --- ГЛАВНЫЙ ЭКРАН (HERO) --- */
.hero {
    height: 80vh;
    min-height: 520px;
    background: linear-gradient(rgba(11, 32, 61, 0.82), rgba(11, 32, 61, 0.90)), url('images/veranda1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 20px;
}

.hero-content {
    max-width: 850px;
}

.hero h1 { 
    font-size: clamp(30px, 4.5vw, 52px); 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    line-height: 1.25;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero p { 
    font-size: clamp(16px, 2.2vw, 20px); 
    margin-bottom: 35px; 
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.cta-button {
    background: var(--accent-red);
    color: var(--text-light);
    padding: 16px 38px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.35);
    letter-spacing: 0.5px;
}

.cta-button:hover { 
    background: #cc0000; 
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.5);
}

/* --- СЕКЦИИ --- */
.info-section { 
    padding: 85px 5%; 
    text-align: center; 
}

.dark-bg { 
    background: rgba(11, 32, 61, 0.94); 
    backdrop-filter: blur(12px);
    color: var(--text-light); 
}

.light-bg { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(12px);
    color: var(--text-dark); 
}

.section-title { 
    font-size: clamp(28px, 3.5vw, 38px); 
    margin-bottom: 50px; 
    text-transform: uppercase; 
    letter-spacing: 1.5px;
    font-weight: 800;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* КАРТОЧКИ ПРЕИМУЩЕСТВ (УЛУЧШЕННЫЕ ИКОНКИ) */
.card {
    padding: 45px 30px;
    border-radius: 18px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dark-bg .card { 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.light-bg .card { 
    background: #ffffff; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06); 
    border: 1px solid rgba(0,0,0,0.04);
}

.card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Контейнер для крупных премиальных иконок */
.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(230, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.card:hover .icon-box {
    background: var(--accent-red);
    transform: scale(1.08);
}

.card:hover .icon-box svg {
    stroke: #ffffff;
}

.card-icon-svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-red);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition);
}

.card h3 { font-size: 22px; margin-bottom: 14px; font-weight: 700; }
.card p { font-size: 15px; opacity: 0.85; line-height: 1.6; }

/* ПРЕМИАЛЬНЫЕ ПРОФИЛЬНЫЕ СИСТЕМЫ */
.profile-card {
    position: relative;
    overflow: hidden;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: var(--transition);
    border-top: 6px solid #ccc;
    text-align: center;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.profile-card h3 { 
    font-size: 30px; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.profile-card h4 { 
    color: #555; 
    font-size: 15px; 
    font-weight: 650; 
    letter-spacing: 0.5px;
}

/* ГАЛЕРЕЯ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item img:hover {
    transform: scale(1.06);
}

/* ФОРМА ОБРАТНОЙ СВЯЗИ */
.form-wrapper { 
    max-width: 700px; 
    margin: 0 auto; 
    background: rgba(255, 255, 255, 0.96); 
    padding: 45px; 
    border-radius: 18px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.12); 
}

.modern-form { display: flex; flex-direction: column; gap: 20px; text-align: left; }
.modern-form label { font-weight: 700; color: var(--primary-blue); font-size: 14px; }
.modern-form input, .modern-form textarea {
    width: 100%; padding: 15px; border: 1px solid #dcdcdc; border-radius: 8px; font-size: 15px; font-family: inherit; transition: var(--transition);
    background: #fbfbfb;
}
.modern-form input:focus, .modern-form textarea:focus { 
    border-color: var(--primary-blue); 
    outline: none; 
    background: #fff; 
    box-shadow: 0 0 0 4px rgba(11, 32, 61, 0.08); 
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

footer { 
    background: rgba(5, 16, 31, 0.96); 
    backdrop-filter: blur(10px);
    color: #8892a0; 
    text-align: center; 
    padding: 30px 20px; 
    font-size: 14px; 
}
.legal-links { margin-top: 10px; }
.legal-links a { color: #8892a0; text-decoration: none; margin: 0 12px; transition: var(--transition); }
.legal-links a:hover { color: var(--text-light); }

/* МОБИЛЬНАЯ АДАПТИВНОСТЬ */
@media (max-width: 900px) {
    .site-header { padding: 12px 20px; flex-wrap: wrap; }
    .header-right { width: 100%; justify-content: space-between; margin-top: 12px; display: flex; flex-direction: row-reverse;}
    .contact-info { font-size: 13px; padding: 6px 12px; }
    
    .nav-menu {
        display: none; 
        flex-direction: column; 
        width: 100%; 
        background: var(--primary-blue); 
        padding: 25px; 
        text-align: center; 
        gap: 18px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }
    .nav-menu.active { display: flex; }
    .nav-menu a { color: var(--text-light); font-size: 16px; }
    .nav-menu a::after { display: none; }
    .menu-toggle { display: block; order: 1; }
    
    .hero { height: auto; padding: 60px 20px; }
    .form-wrapper { padding: 25px 20px; }
}
