@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ===== ОСНОВНЫЕ СТИЛИ ===== */
body {
    background: #e0f2f1 url('uploads/back.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: "Roboto", sans-serif;
    color: #263238;
    position: relative;
    animation: body-fadein 1.5s ease;
}

@keyframes body-fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(224,242,241,0.85);
    z-index: 0;
    pointer-events: none;
}

/* ===== ОБЩИЕ СТИЛИ КОМПОНЕНТОВ ===== */
.is-container, .is-block, .row, .column, p, h1, h2, h3, h4, h5, h6, li {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ===== ТИПОГРАФИКА ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", sans-serif;
    color: #00695c;
}

h6 {
    font-size: 0.8em;
}

h5 {
    font-size: 1em;
}

h4 {
    font-size: 1.2em;
}

h3 {
    font-size: 1.7em;
}

h2 {
    font-size: 2.1em;
}

h1 {
    font-size: 2.5em;
}

.highlight-text {
    color: rgb(0, 105, 92);
}

.card-text {
    font-size: 20px;
    color: #111;
}

.service-description {
    color: #111;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    border-radius: 1.5em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-bottom: 1px solid #b2dfdb;
    margin: 1.5em auto;
    background-color: #e0f2f1 !important;
    position: relative;
    z-index: 1000;
    max-width: calc(100vw - 200px);
}

.navbar-brand {
    color: #00695c !important;
    font-weight: bold;
    letter-spacing: 1px;
}

.navbar-brand-text {
    font-family: "Roboto", sans-serif;
    font-size: 1.5em;
    color: #db9c13;
}

.nav-link {
    color: #00695c !important;
    font-size: 1.4em;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-btn-custom {
    background-color: #00695c !important;
    color: #dda62e !important;
    font-size: 1.4em;
}

.nav-btn-custom:hover {
    background-color: #004d40 !important;
}

.dropdown-menu-dark-theme {
    --bs-dropdown-color: #dee2e6;
    --bs-dropdown-bg: #e0f2f1;
    --bs-dropdown-border-radius: 0.5rem;
    --bs-dropdown-border-color: rgba(255, 255, 255, 0.1);
    --bs-dropdown-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
    --bs-dropdown-link-color: #00695c;
    --bs-dropdown-link-hover-color: #00695c;
    --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);
    --bs-dropdown-link-active-color: #00695c;
    --bs-dropdown-link-active-bg: #e0f2f1;
    --bs-dropdown-divider-bg: rgba(255, 255, 255, 0.2);
    --bs-dropdown-box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.3);
    --bs-dropdown-border-color: rgba(0, 0, 0, .15);
    --bs-dropdown-border-radius: 0.5rem;
    --bs-dropdown-border-width: 1px;
}

.dropdown-menu-dark-theme .dropdown-item {
        font-size: 1.2em;
        font-weight: 700;
}

/* ===== ИЗОБРАЖЕНИЯ И МЕДИА ===== */
.rounded-img {
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    border: 4px solid #b2dfdb;
    border-radius: 500px;
    max-width: 100%;
    margin: 1em auto;
    display: block;
}

figcaption {
    text-align: center;
    color: #263238;
}

.size-125 > i, .size-96 > i {
    font-size: 98px;
    line-height: 1;
}

.size-125 > i.bi-patch-check {
    color: #28a745;
}

/* ===== СПИСКИ ===== */
.is-block ol {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}

.list-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    display: block;
}

.custom-list {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
}

.is-block ol.list-left,
.is-block ul.list-left {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    list-style-type: disc;
    padding-left: 1.2em;
}

.is-block ol.list-left {
    list-style-type: none;
    counter-reset: none;
}

.is-block ol.list-left li,
.is-block ul.list-left li {
    text-align: center;
    display: list-item;
}

/* ===== РАЗДЕЛИТЕЛИ ===== */
hr {
    border-top: 2px solid #b2dfdb;
    margin: 2em 0;
}

/* ===== ОТСТУПЫ ===== */
.padding-20 {
    padding: 20px;
}

/* ===== КОНТЕЙНЕРЫ И СЕТКИ ===== */
.main-content-limiter {
    max-width: calc(100vw - 200px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    border-radius: 1.5em;
    border: 2px solid #b2dfdb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background-color: #ffffff;
    padding: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.contacts-row {
    display: flex;
    gap: 1.5em;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.contacts-info {
    flex: 1 1 calc(50% - 0.75em - 10px);
    min-width: 450px;
    min-height: 450px;
    border-radius: 1.5em;
    border: 2px solid #b2dfdb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 1.5em;
    box-sizing: border-box;
    background-color: #e0f2f1 !important;
}

.contacts-map {
    flex: 1 1 calc(50% - 0.75em - 5px);
    min-width: 450px;
    min-height: 450px;
    border-radius: 1.5em;
    border: 2px solid #b2dfdb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 0;
    box-sizing: border-box;
    background-color: #e0f2f1 !important;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 1.5em;
}

/* Remove padding from map container when it has process-block class */
.contacts-map.process-block {
    padding: 0 !important;
}

.info-block-outer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30px;
    height: 30px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.info-block-centered {
    text-align: center;
    max-width: 900px;
    font-family: "Roboto", sans-serif;
    font-size: 1.15em;
    letter-spacing: 1px;
    color: #222 !important;
    background: none !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    font-weight: normal !important;
    box-shadow: none !important;
    border: none !important;
}

/* ===== ТАБЛИЦЫ ===== */
.table-responsive {
    margin: 0 auto;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 10;
    background-color: #ffffff !important;
    border-radius: 1em;
}

.price-table {
    background-color: #ffffff !important;
    border-radius: 1em;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.price-table th,
.price-table td {
    vertical-align: middle !important;
    overflow-wrap: break-word;
    max-width: 600px;
}

.price-table tbody tr {
    height: auto;
    margin: 0;
    padding: 0;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.modal.fade .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0 auto;
    width: 90%;
    max-width: 500px;
    height: auto;
    max-height: 90vh;
    box-sizing: border-box;
}

.modal-content {
    background-color: #e0f2f1;
    border: 2px solid #b2dfdb;
    border-radius: 1.5em;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    font-family: "Roboto", sans-serif;
    color: #263238;
    padding: 1em;
    z-index: 10001;
    width: 100%;
    height: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal-backdrop {
    background-color: rgba(0, 105, 92, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-header {
    border-bottom: 1px solid #b2dfdb;
    padding: 0.8em 1em;
}

/*.btn-close {
    background-color: #00695c;
    border-radius: 50%;
    color: #fff;
    opacity: 1;
    padding: 0.3em;
    transition: background-color 0.2s;
	width: 1.5em;
    height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

/*button.btn-close {
    border-radius: 100% !important;
}*/

.modal-body {
    padding: 1em;
    flex-grow: 1;
    overflow-y: auto;
}

.form-label {
    color: #000000;
    font-size: 0.9em;
    font-weight: bold;
}

.form-control {
    border: 2px solid #b2dfdb;
    border-radius: 0.5em;
    font-family: "Roboto", sans-serif;
    font-size: 0.9em;
    color: #263238;
    background-color: #fff;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #db9c13;
    box-shadow: 0 0 8px rgba(219, 156, 19, 0.3);
    outline: none;
}

.modal-footer {
    border-top: 1px solid #b2dfdb;
    padding: 0.8em 1em;
}

/*.btn-secondary {
    background-color: #00695c;
    border: none;
    border-radius: 0.5em;
    font-family: 'Prosto One', cursive, Arial, sans-serif;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #004d40;
}*/

.btn-primary {
    background-color: #db9c13;
    color: #004d40;
    border: none;
    border-radius: 0.5em;
    font-family: "Roboto", sans-serif;
    font-size: 1.4em;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #b3810f;
    color: #004d40;
}

/* ===== БЛОКИ ПРОЦЕССА РАБОТЫ ===== */
.process-block {
    /*border: 2px solid #b2dfdb;**/
    border-radius: 1.5em;
    padding: 1.5em;
    margin: 1em 0;
    background-color: #fffbf2;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.process-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-color: #db9c13;
}

.process-block .size-96 > i {
    font-size: 98px;
    color: #28a745;
    margin-bottom: 0.5em;
    display: block;
}

.process-block h3 {
    color: #00695c;
    margin-bottom: 0.8em;
    font-size: 1.7em;
}

.process-block .card-text {
    font-size: 20px;
    font-style: bold;
    color: #000000;
    margin-bottom: 1em;
    line-height: 1.5;
}


/* ===== ФУТЕР ===== */
.footer-section {
    background: linear-gradient(135deg, #00695c 0%, #004d40 100%);
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-radius: 1.5em 1.5em 1.5em 1.5em;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    border-radius: 50%;
    /*border: 3px solid #db9c13;*/
    box-shadow: 0 4px 15px rgba(219, 156, 19, 0.3);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-logo h3 {
    color: #db9c13;
    font-size: 1.8em;
    margin: 0;
    font-weight: bold;
    border-bottom: 2px solid #db9c13;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-info {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
}

.footer-block {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.footer-block h4 {
    color: #db9c13;
    font-size: 1.8em;
    margin-bottom: 1rem;
    font-weight: bold;
    border-bottom: 2px solid #db9c13;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-block p {
    margin: 0.5rem 0;
    line-height: 1.6;
    font-size: 1.1em;
}

.footer-block strong {
    color: #db9c13;
}

.footer-block i {
    color: #db9c13;
    margin-right: 0.5rem;
    font-size: 1.2em;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #db9c13;
    color: #004d40 !important;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3em;
}

.social-link:hover {
    background: #ffffff;
    color: #00695c !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(219, 156, 19, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(219, 156, 19, 0.3);
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 0;
    color: #b2dfdb;
    font-size: 1em;
}

/* ===== ВСПОМОГАТЕЛЬНЫЕ КЛАССЫ ===== */
.display-none {
    display: none;
}

.footer, .footer *, .footer-title, .footer h2, .footer .fw-bold {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

.is-block h4, .is-block .padding-20 h4 {
    color: #111 !important;
}

/* ===== АДАПТИВНЫЕ СТИЛИ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ===== */

/* Для экранов от 1200px до 1103px - исправление проблемы с кнопкой навигации */
@media (max-width: 1200px) and (min-width: 1103px) {
    .navbar {
        max-width: calc(100vw - 160px);
        padding: 0.7em 1em;
    }
    
    .navbar-nav .nav-item.me-2 {
        margin-right: 0.7rem !important;
    }
    
    .nav-link {
        font-size: 1.1em;
        padding: 0.6em 0.9em !important;
    }
    
    .nav-btn-custom {
        font-size: 1.1em;
        padding: 0.6em 1em !important;
        white-space: nowrap;
    }
    
    .navbar-brand-text {
        font-size: 1.3em;
    }
    
    .main-content-limiter {
        max-width: calc(100vw - 160px);
    }
}

/* Для экранов от 1102px до 992px - исправление проблемы с кнопкой навигации */
@media (max-width: 1102px) and (min-width: 992px) {
    .navbar {
        max-width: calc(100vw - 100px);
        padding: 0.6em 1em;
    }
    
    .navbar-nav .nav-item.me-2 {
        margin-right: 0.6rem !important;
    }
    
    .nav-link {
        font-size: 1.1em;
        padding: 0.5em 0.9em !important;
    }
    
    .nav-btn-custom {
        font-size: 1.1em;
        padding: 0.5em 1.1em !important;
        white-space: nowrap;
    }
    
    .navbar-brand-text {
        font-size: 1.3em;
    }
    
    .main-content-limiter {
        max-width: calc(100vw - 100px);
    }
}

/* Для планшетов и небольших ноутбуков (992px - 768px) */
@media (max-width: 991px) {
    .navbar {
        max-width: calc(100vw - 60px);
        margin: 1em auto;
        border-radius: 1em;
    }
    
    .main-content-limiter {
        max-width: calc(100vw - 60px);
    }
    
    .navbar-brand {
        margin-right: 0.5rem;
    }
    
    .navbar-brand img {
        width: 50px;
        height: 50px;
    }
    
    .navbar-brand-text {
        font-size: 1.2em;
    }
    
    .navbar-collapse {
        background-color: #e0f2f1;
        border-radius: 0 0 1em 1em;
        padding: 1em;
        margin-top: 0.5em;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5em 0;
    }
    
    .nav-link {
        font-size: 1.1em;
        padding: 0.8em 1em !important;
        display: block;
    }
    
    .nav-btn-custom {
        font-size: 1em;
        padding: 0.6em 1.2em !important;
        margin: 0.5em auto;
        display: block;
        max-width: 200px;
    }
    
    .dropdown-menu-dark-theme {
        text-align: center;
    }
}

/* Для мобильных устройств (768px - 576px) */
@media (max-width: 767px) {
    .main-content-limiter {
        max-width: calc(100vw - 40px);
        padding: 1em;
        margin: 1em auto;
        border-radius: 1em;
    }
    
    .navbar {
        max-width: calc(100vw - 40px);
        border-radius: 1em;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    h3 {
        font-size: 1.5em;
    }
    
    .card-text {
        font-size: 18px;
    }
    
    .rounded-img {
        max-width: 280px;
        border-width: 3px;
    }
    
    .contacts-row {
        flex-direction: column;
        gap: 1em;
    }
    
    .contacts-info,
    .contacts-map {
        min-width: unset;
        width: 100%;
        flex: 1 1 100%;
    }
    
    .size-125 > i, .size-96 > i {
        font-size: 80px !important;
    }
    
    .padding-20 {
        padding: 15px;
    }
    
    .nav-btn-custom {
        font-size: 1em;
        padding: 0.6em 1.2em !important;
    }
    
    /* Адаптивные стили для блоков процесса работы */
    .process-block {
        padding: 1em;
        margin: 0.8em 0;
        border-radius: 1em;
    }
    
    .process-block .size-96 > i {
        font-size: 70px !important;
    }
    
    .process-block h3 {
        font-size: 1.4em;
    }
    
    .process-block .card-text {
        font-size: 16px;
    }
    
    /* Адаптивные стили для футера */
    .footer-section {
        padding: 2.5rem 0 1rem;
        margin-top: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        align-items: center;
    }
    
    .footer-block {
        min-width: unset;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
        align-items: center;
    }
    
    .footer-logo h3 {
        font-size: 1.6em;
        text-align: center;
        margin: 0 auto 1rem auto;
        display: block;
    }
    
    .footer-logo img {
        display: block;
        margin: 0 auto;
    }
    
    .footer-block h4 {
        font-size: 1.6em;
        text-align: center;
        margin: 0 auto 1rem auto;
        display: block;
    }
    
    .footer-block p {
        font-size: 1em;
        text-align: center;
        margin: 0.5rem auto;
        line-height: 1.4;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 1.5rem;
    }
    
    .footer-bottom p {
        text-align: center;
        margin: 0 auto;
    }
    
}

/* Для маленьких мобильных устройств (до 576px) */
@media (max-width: 575px) {
    .navbar {
        max-width: calc(100vw - 20px);
        margin: 0.5em auto;
    }
    
    .main-content-limiter {
        max-width: calc(100vw - 20px);
        padding: 0.8em;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.6em;
    }
    
    h3 {
        font-size: 1.3em;
    }
    
    .card-text {
        font-size: 16px;
    }
    
    .navbar-brand-text {
        font-size: 1.1em;
    }
    
    .nav-link {
        font-size: 1em;
        padding: 0.6em 0.8em !important;
    }
    
    .nav-btn-custom {
        font-size: 1em;
        padding: 0.6em 1.2em !important;
    }
    
    .rounded-img {
        max-width: 240px;
        border-width: 2px;
    }
    
    .size-125 > i, .size-96 > i {
        font-size: 70px !important;
    }
    
    .modal-dialog {
        width: 95%;
        margin: 0.5em auto;
    }
    
    .modal-content {
        padding: 0.8em;
    }
    
    .form-control {
        font-size: 0.8em;
    }
}

/* Для очень маленьких устройств (до 400px) */
@media (max-width: 400px) {
    .navbar-brand {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar-brand img {
        margin-right: 0;
        margin-bottom: 0.3em;
    }
    
    .navbar-brand-text {
        font-size: 1em;
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    h2 {
        font-size: 1.4em;
    }
    
    .card-text {
        font-size: 15px;
    }
    
    .rounded-img {
        max-width: 200px;
    }
    
    .size-125 > i, .size-96 > i {
        font-size: 60px !important;
    }
    
    /* Адаптивные стили для футера */
    .footer-section {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-logo {
        min-width: unset;
    }
    
    .footer-logo h3 {
        font-size: 1.5em;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-block {
        min-width: unset;
    }
    
    .footer-block h4 {
        font-size: 1.2em;
        text-align: center;
        margin: 0 auto 0.8rem auto;
        display: block;
    }
    
    .footer-block p {
        font-size: 0.95em;
        text-align: center;
        margin: 0.4rem auto;
        line-height: 1.3;
    }
    
    .footer-logo h3 {
        font-size: 1.4em;
        text-align: center;
        margin: 0 auto 0.8rem auto;
    }
    
    .footer-logo img {
        width: 100px;
        height: 100px;
        display: block;
        margin: 0 auto;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    
    .footer-bottom p {
        font-size: 0.9em;
        text-align: center;
        margin: 0 auto;
        line-height: 1.3;
    }
}

/* Исправление для выпадающего меню на мобильных устройствах */
@media (max-width: 991px) {
    .dropdown-menu-dark-theme {
        --bs-dropdown-color: #dee2e6;
        --bs-dropdown-bg: #00695c;
        --bs-dropdown-border-radius: 0.5rem;
        --bs-dropdown-border-color: rgba(255, 255, 255, 0.1);
        --bs-dropdown-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
        --bs-dropdown-link-color: #db9c13;
        --bs-dropdown-link-hover-color: #daa32d;
        --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);
        --bs-dropdown-link-active-color: #db9c13;
        --bs-dropdown-link-active-bg: #00695c;
        --bs-dropdown-divider-bg: rgba(255, 255, 255, 0.2);
        --bs-dropdown-box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.3);
        background-color: #00695c !important;
        border: 1px solid #7c7c7c;
        text-align: center;
    }
    
    .dropdown-menu-dark-theme .dropdown-item {
        color: #db9c13 !important;
        padding: 0.8em 1em;
    }
    
    .dropdown-menu-dark-theme .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
}

/* Плавные переходы для всех изменений */
.navbar,
.navbar-brand,
.nav-link,
.nav-btn-custom,
.rounded-img,
.main-content-limiter {
    transition: all 0.3s ease;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ ===== */
.policy-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 1.5em;
    box-shadow: 0 4px 20px rgba(0, 105, 92, 0.1);
    text-align: left;
}

.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4,
.policy-content h5,
.policy-content h6,
.policy-content p,
.policy-content li {
    text-align: left;
}

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #b2dfdb;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h2 {
    color: #00695c;
    font-size: 2.2em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #db9c13;
    display: inline-block;
}

.policy-section h3 {
    color: #004d40;
    font-size: 1.5em;
    margin: 1.5rem 0 0.8rem 0;
    font-weight: bold;
}

.policy-section p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #263238;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-section ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-section ul li {
    font-size: 1.1em;
    line-height: 1.6;
    color: #263238;
    margin-bottom: 0.5rem;
    text-align: left;
}

.policy-section ul li strong {
    color: #00695c;
}

/* Адаптивные стили для политики конфиденциальности */
@media (max-width: 991px) {
    .policy-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .policy-section h2 {
        font-size: 1.8em;
    }
    
    .policy-section h3 {
        font-size: 1.3em;
    }
    
    .policy-section p {
        font-size: 1em;
        text-align: left;
    }
    
    .policy-section ul {
        padding-left: 1.5rem;
    }
    
    .policy-section ul li {
        font-size: 1em;
    }
}

@media (max-width: 767px) {
    .policy-content {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.6em;
    }
    
    .policy-section h3 {
        font-size: 1.2em;
    }
    
    .policy-section p {
        font-size: 0.95em;
    }
    
    .policy-section ul {
        padding-left: 1.2rem;
    }
    
    .policy-section ul li {
        font-size: 0.95em;
    }
}

@media (max-width: 575px) {
    .policy-content {
        padding: 0.8rem;
        margin: 0;
    }
    
    .policy-section h2 {
        font-size: 1.4em;
    }
    
    .policy-section h3 {
        font-size: 1.1em;
    }
    
    .policy-section p {
        font-size: 0.9em;
    }
    
    .policy-section ul {
        padding-left: 1rem;
    }
    
    .policy-section ul li {
        font-size: 0.9em;
    }
}
