/* ========== БАЗОВЫЕ СТИЛИ ========== */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.56;
    background-color: #2f1704;
    color: #fcd484;
}

a {
    color: #ff9900;
    text-decoration: none;
}
a:hover {
    color: #ffa423;
}

h1, h2, h3, h4, h5 {
    color: #ffffff;
}
h1 {
    font-family: 'Overlock SC', sans-serif;
}
h2, h3, h4 {
    font-family: 'Noto Sans', sans-serif;
}

/* ========== TOP BAR ========== */
#sp-top-bar {
    background-color: #2d1605;
    padding: 8px 0;
    font-size: 14px;
}
.sp-contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sp-contact-info li {
    display: inline-block;
    margin: 0 10px;
    color: #aaaaaa;
}
.sp-contact-info li a {
    color: #aaaaaa;
}
.sp-contact-info li i {
    margin-right: 5px;
    color: #ff9900;
}

/* ========== HEADER ========== */
#sp-header {
    background-color: #2f1704;
    padding: 10px 0;
}

.sp-megamenu-wrapper {
    justify-content: flex-end !important;
}

.sp-megamenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.sp-megamenu a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.sp-megamenu .active a {
    color: #ff9900;
}

/* Гамбургер */
.offcanvas-toggler {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}
.offcanvas-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ff9900;
    border-radius: 2px;
}

/* Offcanvas */
.offcanvas-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}
.offcanvas-overlay.active {
    display: block;
}
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #2f1704;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}
.offcanvas-menu.active {
    right: 0;
}
.close-offcanvas {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}
.offcanvas-inner a {
    color: #fcd484;
}

/* ========== SECTIONS ========== */
section {
    padding: 30px 0;
}

.hero-section {
    padding: 0;
}

.section-title {
    font-weight: bold;
    color: #ffa423;
    margin-bottom: 25px;
}

.table-title {
    color: #ffd594;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 15px;
}

/* Таблица */
.tftable {
    font-size: 12px;
    color: #333333;
    width: 100%;
    border-collapse: collapse;
}
.tftable th {
    background-color: #ff6b00;
    color: #fff;
    padding: 8px;
    border: 1px solid #729ea5;
    text-align: left;
}
.tftable td {
    background-color: #fbbd91;
    padding: 8px;
    border: 1px solid #729ea5;
}

/* Кнопки */
.btn-danger {
    background-color: #dc3545;
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    color: #fff;
}
.btn-danger:hover {
    background-color: #c82333;
}
.btn-success {
    background-color: #28a745;
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    color: #fff;
}
.btn-success:hover {
    background-color: #218838;
}

/* Отзыв */
.section-testimonial {
    background-color: #2f1704;
    text-align: center;
}
.testimonial-block {
    max-width: 700px;
    margin: 0 auto;
}
.quote-icon {
    font-size: 48px;
    color: #EDEEF2;
    margin-bottom: 15px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.testimonial-author .avatar {
    width: 81px;
    height: 81px;
    border-radius: 50%;
    object-fit: cover;
}

/* Форма */
.contact-form input,
.contact-form textarea {
    background: #8d827f;
    color: #fcfcfc;
    border: none;
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #fad3a0;
}
.contact-form .form-check-label {
    color: #ff9900;
    font-size: 13px;
}
.contact-form .form-check-label a {
    color: #ff0000;
    text-decoration: underline;
}
.form-status {
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
}

.contact-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-form .form-check-input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-form .form-check-label {
    color: orange;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
}


/* Контактная информация */
.contact-info h5 {
    color: #ffa423;
    margin-top: 15px;
}
.contact-info p,
.contact-info a {
    color: #ff9900;
}

/* ========== FOOTER ========== */
#sp-footer {
    background-color: #171717;
    color: #ffffff;
    padding: 15px 0;
    font-size: 14px;
}

/* Кнопка наверх */
.sp-scroll-up {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ff9900;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.sp-scroll-up:hover {
    opacity: 1;
    color: #fff;
}

/* ========== COOKIE POPUP ========== */
#cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 420px;
    background: #333;
    color: #eee;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 11000;
    display: none;
}
#cookie-popup p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
}
.cookie-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 12px;
}
#cookie-accept {
    background: #2ea44f;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}
#cookie-accept:hover {
    background: #238a1f;
}
#cookie-decline {
    background: #d73a49;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}
#cookie-decline:hover {
    background: #a42a2f;
}
#cookie-popup > a {
    color: #ff7300;
    text-decoration: none;
    font-size: 13px;
    display: block;
    text-align: center;
    font-weight: 700;
}
#cookie-popup > a:hover {
    color: #ff5000;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 767px) {
    body {
        font-size: 13px;
    }
    .tftable th,
    .tftable td {
        font-size: 10px;
        padding: 6px;
    }
    #cookie-popup {
        width: 90%;
        right: 5%;
        bottom: 10px;
    }
    .sp-contact-info li {
        display: block;
        margin: 3px 0;
        font-size: 12px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    body {
        font-size: 14px;
    }
}