/* --- GLOBAL STYLES & VARIABLES --- */
:root {
    --primary-color: #008080; /* Teal Green */
    --secondary-color: #2F4F4F; /* Dark Slate Gray */
    --accent-color: #20B2AA; /* Light Sea Green */
    --text-color: #333;
    --light-bg: #f7f9f8;
    --white-color: #fff;
    --border-color: #e0e0e0;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5em;
    line-height: 1.2;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 1em; }
h3 { font-size: 1.5rem; }
a { color: var(--primary-color); text-decoration: none; }
p { margin-bottom: 1rem; }

/* --- HEADER --- */
.header {
    background: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}
.navigation { display: flex; gap: 2rem; }
.navigation a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s;
}
.navigation a:hover { color: var(--primary-color); }
.header-controls { display: flex; align-items: center; gap: 1.5rem; }
.lang-switcher { display: flex; }
.lang-btn {
    background: none;
    border: none;
    padding: 0.3rem 0.5rem;
    cursor: pointer;
    font-weight: 700;
    color: #aaa;
    transition: color 0.3s;
}
.lang-btn:hover { color: var(--secondary-color); }
.lang-btn.active { color: var(--primary-color); }
.burger-menu { display: none; }

/* --- HERO SECTION --- */
.hero {
    background: var(--light-bg);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}
.hero-container { display: flex; align-items: center; gap: 2rem; }
.hero-text { flex: 1; }
.hero-text .subtitle { font-size: 1.2rem; color: #555; margin-bottom: 2rem; }
.cta-button {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
}
.cta-button:hover { background: var(--accent-color); transform: translateY(-3px); }
.hero-image { flex: 1; text-align: center; }
.hero-image img { max-width: 100%; height: auto; }

/* --- BENEFITS SECTION --- */
.benefits { padding: 4rem 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.benefit-item { text-align: center; }
.benefit-icon {
    margin-bottom: 1rem;
    /* Стили для иконок Font Awesome */
    font-size: 3.5rem; /* Размер иконки */
    color: var(--primary-color); /* Цвет иконки */
}
.benefit-item h3 { color: var(--primary-color); }
.benefit-item p { color: #555; }

/* --- PROCESS STEPS --- */
.process-steps { padding: 4rem 0; background: var(--light-bg); }
.steps-timeline { display: flex; justify-content: space-between; position: relative; }
.steps-timeline::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: 5%;
    width: 90%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}
.step { flex: 1; text-align: center; padding: 0 1rem; }
.step-content { position: relative; z-index: 2; }
.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border: 3px solid var(--light-bg);
}
.step p { font-size: 0.9rem; }

/* --- WARNING SECTION --- */
.warning { padding: 2rem 0; background: #FFF3CD; text-align: center; }
.warning h2 { color: #856404; font-size: 1.8rem; }
.warning p { max-width: 800px; margin: 0 auto; color: #856404; }

/* --- PRICING SECTION --- */
.services-pricing { padding: 4rem 0; }
.pricing-table {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto 0;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
}
.pricing-table th, .pricing-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.pricing-table th {
    background: var(--secondary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
}
.pricing-table td:last-child { text-align: center; font-weight: 700; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr.highlighted { background: #e8f3f3; }
.highlighted strong { color: var(--primary-color); }

/* --- RATING SECTION --- */
.rating-section { padding: 4rem 0; background: var(--light-bg); text-align: center; }
.rating-box { display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.rating-stars {
    --star-size: 3rem;
    --star-color: #ccc;
    --star-background: #ffc107;
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times; 
    line-height: 1;
}
.rating-stars::before {
    content: '★★★★★';
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.rating-text { font-size: 1.2rem; }

/* --- CONTACT SECTION --- */
.contact-section { padding: 4rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.contact-card {
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    background: var(--white-color);
}
.branch-name { font-size: 1.8rem; color: var(--primary-color); border-bottom: 2px solid var(--primary-color); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.branch-address { font-weight: 700; margin-bottom: 1rem; }
.branch-phones { list-style: none; margin-bottom: 1rem; }
.branch-phones li { margin-bottom: 0.5rem; }
.branch-phones a, .branch-email a { color: var(--text-color); transition: color 0.3s; }
.branch-phones a:hover, .branch-email a:hover { color: var(--primary-color); }
.map-container { margin-top: 1rem; border-radius: 5px; overflow: hidden; }
.disclaimer { text-align: center; margin-top: 3rem; color: #721c24; background: #f8d7da; padding: 1rem; border-radius: 5px; }

/* --- FOOTER & COOKIE BANNER --- */
.footer { background: var(--secondary-color); color: var(--white-color); text-align: center; padding: 1.5rem 0; }
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background-color: rgba(47, 79, 79, 0.95);
    color: var(--white-color);
    padding: 1rem;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 2000;
    text-align: center;
}
.cookie-banner p { margin: 0; }
.cookie-btn {
    background: var(--accent-color);
    color: var(--white-color);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s;
}
.cookie-btn:hover { background: var(--primary-color); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .navigation {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white-color);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0;
    }
    .navigation.active { display: flex; }
    .navigation a { padding: 0.5rem 5%; }
    .burger-menu {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }
    .burger-menu span { width: 25px; height: 3px; background: var(--secondary-color); }
    .hero-container { flex-direction: column; }
    .hero-text { text-align: center; }
    .hero-image { display: none; } /* Hide image on smaller screens for simplicity */
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .steps-timeline { flex-direction: column; gap: 1rem; }
    .steps-timeline::before { display: none; }
    .step { padding: 0; }
}