
:root {
    --dark: #171714;
    --dark-light: #22221e;
    --dark-card: #292923;
    --gold: #c5a46d;
    --gold-light: #ddc394;
    --text: #f3f0e9;
    --muted: #aaa69b;
    --text-light:#f3f0e9;
    --text-muted: #f3f0e9;
    --accent-color: #f3f0e9;
}

html {
    font-size: 16px;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--dark);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* HEADER */

.custom-navbar {
    min-height: 94px;
    background: rgba(23, 23, 20, 0.98);
    border-bottom: 1px solid rgba(197, 164, 109, 0.2);
    padding: 18px 0;
}

.navbar-brand {
    text-decoration: none;
}

.logo-icon {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 600;
}

.logo-title {
    color: #ffffff;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 3px;
}

.logo-subtitle {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 2.5px;
    margin-top: 3px;
}

.navbar-nav {
    gap: 13px;
}

.custom-navbar .nav-link {
    color: #d2cec4;
    font-size: 12px;
    font-weight: 500;
    padding: 10px 8px !important;
    transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
    color: var(--gold-light);
}

.phone-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 13px 21px;
    border: 1px solid var(--gold);
    border-radius: 30px;
    color: var(--gold-light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-button:hover {
    background: var(--gold);
    color: var(--dark);
}

.phone-button span {
    font-size: 16px;
}

/* MOBILE MENU */

.navbar-toggler {
    border: 1px solid var(--gold);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(197, 164, 109, 0.3);
}

.navbar-toggler-icon {
    filter: invert(0.8);
}

/* GENERAL */

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

a {
    transition: 0.3s ease;
}

main {
    min-height: 65vh;
}

/* FOOTER */

.custom-footer {
    background: #11110f;
    border-top: 1px solid rgba(197, 164, 109, 0.2);
    padding: 55px 0 20px;
    margin-top: 80px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--text);
    text-decoration: none;
}

.footer-brand-name {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 3px;
}

.footer-description {
    color: var(--muted);
    font-size: 12px;
    margin-top: 15px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 20px;
}

.footer-links a {
    color: #c7c2b7;
    font-size: 12px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-phone {
    color: var(--gold-light);
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
}

.footer-phone:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 20px;
    color: #77746c;
    font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .navbar-nav {
        padding: 20px 0;
        gap: 5px;
    }

    .phone-button {
        margin-bottom: 15px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .custom-navbar {
        min-height: 75px;
    }

    .logo-title {
        font-size: 16px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


/* ==============================
   ГЛАВНАЯ СТРАНИЦА WOODHOME
============================== */

.hero-section {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(15, 15, 12, 0.96) 0%,
        rgba(15, 15, 12, 0.78) 48%,
        rgba(15, 15, 12, 0.25) 100%),
        url('/img/wooden-house-hero.jpg') center / cover no-repeat,
        #24241e;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 100px;
}

.hero-label,
.section-label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-label span {
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.hero-content h1 {
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.12;
    color: white;
    margin-bottom: 25px;
}

.hero-content h1 span,
.section-heading h2 span,
.contact-cta h2 span {
    color: var(--gold-light);
    font-style: italic;
}

.hero-description {
    max-width: 510px;
    color: #c7c3b9;
    font-size: 14px;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.gold-button,
.outline-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.gold-button {
    background: var(--gold);
    color: #171714;
    border: 1px solid var(--gold);
}

.gold-button:hover {
    background: var(--gold-light);
    color: #171714;
}

.outline-button {
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
}

.outline-button:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 75px;
    color: #c5c0b5;
    font-size: 9px;
    letter-spacing: 2px;
}

.hero-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-bottom {
    position: absolute;
    z-index: 2;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    color: #b6ad9d;
    font-size: 10px;
    letter-spacing: 2px;
}

/* ОБЩИЕ СЕКЦИИ */

.home-section {
    padding: 100px 0;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading h2,
.contact-cta h2 {
    margin-top: 15px;
    margin-bottom: 18px;
    color: white;
    font-size: clamp(34px, 5vw, 49px);
}

.section-heading > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* О КОМПАНИИ */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.about-text p {
    color: #bdb9ae;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 22px;
}

.text-link {
    display: inline-block;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
}

.text-link:hover {
    color: white;
}

.about-features {
    display: flex;
    flex-direction: column;
}

.feature-item {
    display: flex;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(197,164,109,0.2);
}

.feature-item > span {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 25px;
}

.feature-item h3 {
    color: white;
    font-size: 18px;
}

.feature-item p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
}

/* УСЛУГИ */

.services-section,
.reviews-section {
    background: #1d1d19;
}

.service-card {
    position: relative;
    height: 100%;
    min-height: 280px;
    padding: 35px 30px;
    background: var(--dark-card);
    border: 1px solid rgba(197,164,109,0.12);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}

.service-number {
    position: absolute;
    right: 25px;
    top: 20px;
    color: #777267;
    font-size: 12px;
}

.service-icon {
    color: var(--gold);
    font-size: 38px;
    margin-bottom: 25px;
}

.service-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.service-card a {
    display: inline-block;
    color: var(--gold-light);
    font-size: 12px;
    text-decoration: none;
    margin-top: 15px;
}

/* ПОРТФОЛИО */

.portfolio-placeholder {
    min-height: 330px;
    display: flex;
    align-items: center;
    padding: 55px;
    background:
        linear-gradient(90deg, rgba(17,17,15,.95), rgba(17,17,15,.55)),
        url('/img/portfolio-house.jpg') center / cover no-repeat,
        #292923;
    border: 1px solid rgba(197,164,109,.2);
}

.portfolio-placeholder span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
}

.portfolio-placeholder h3 {
    color: white;
    font-size: 32px;
    margin-top: 20px;
}

.portfolio-placeholder p {
    color: var(--muted);
    font-size: 13px;
}

/* ОТЗЫВЫ */

.review-placeholder {
    max-width: 650px;
    padding: 40px;
    background: var(--dark-card);
    border: 1px solid rgba(197,164,109,.2);
}

.review-stars {
    color: var(--gold);
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.review-placeholder h3 {
    color: white;
    font-size: 24px;
}

.review-placeholder p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* ПРИЗЫВ К ДЕЙСТВИЮ */

.contact-cta {
    padding: 100px 0;
    text-align: center;
    background:
        linear-gradient(rgba(17,17,15,.92), rgba(17,17,15,.95)),
        url('/img/wooden-house-hero.jpg') center / cover no-repeat,
        #20201b;
}

.contact-cta p {
    max-width: 570px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}



@media (max-width: 768px) {
    .hero-section {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 65px;
        padding-bottom: 80px;
    }

    .hero-note {
        margin-top: 45px;
    }

    .home-section {
        padding: 70px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .portfolio-placeholder {
        padding: 30px;
    }

    .portfolio-placeholder h3 {
        font-size: 25px;
    }

    .contact-cta {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 47px;
    }

    .hero-label {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .review-placeholder {
        padding: 25px;
    }
}





.custom-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
    font-size: 0.85rem;
}
.custom-breadcrumb .breadcrumb-item a {
    color: var(--muted);
    text-decoration: none;
}
.custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--gold);
}
.custom-breadcrumb .breadcrumb-item.active {
    color: var(--gold);
}


.about-section {
    padding: 40px 0 80px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--text);
    margin-bottom: 25px;
}

.about-text {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 90%;
}

.about-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    
    max-width: 100%;      
    height: auto;        
    max-height: 500px;   
    object-fit: cover;    
    
   
    display: block;
    margin: 0 auto;
}

/* Блок гарантий */
.guarantees-section {
    background-color: var(--dark-light);
    padding: 40px 0;
    border-top: 1px solid rgba(197, 164, 109, 0.1);
    border-bottom: 1px solid rgba(197, 164, 109, 0.1);
    margin-top: 60px;
}

.guarantee-item-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 20px;
    border-right: 1px solid rgba(197, 164, 109, 0.2);
}

.col-md-4:last-child .guarantee-item-horizontal {
    border-right: none;
}

.guarantee-icon-svg {
    color: var(--gold);
    flex-shrink: 0;
}

.guarantee-text h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
    text-align: left;
}


@media (max-width: 768px) {
    .guarantee-item-horizontal {
        border-right: none;
        border-bottom: 1px solid rgba(197, 164, 109, 0.2);
        padding: 20px 0;
        justify-content: flex-start;
    }
    .col-md-4:last-child .guarantee-item-horizontal {
        border-bottom: none;
    }
    .page-title {
        font-size: 2.5rem;
    }
    .about-text {
        max-width: 100%;
    }
}


/* =========================================
   СТРАНИЦА "УСЛУГИ"
   ========================================= */
.services-section {
    padding: 20px 0 80px;
}

.service-card {
    background-color: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.1);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-category {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-title {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-link {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--gold-light);
}
/* =========================================
   СТРАНИЦА "УСЛУГИ" (КАТЕГОРИИ)
   ========================================= */
.services-section {
    padding: 20px 0 80px;
}

.category-card {
    background-color: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.15);
    border-radius: 10px;
    padding: 35px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 15px;
}

.category-desc {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.category-services-list li {
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}


.category-services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background-color: var(--gold);
    border-radius: 50%;
}

.service-link {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    color: var(--gold-light);
}


/* =========================================
   ГЛАВНАЯ — БЛОК НАШИ ПРОЕКТЫ
========================================= */

.portfolio-section {
    background-color: var(--dark);
}

.portfolio-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.18);
    border-radius: 12px;
    transition: transform 0.35s ease, border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.portfolio-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.portfolio-image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.04);
}

.portfolio-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 25px;
}

.portfolio-card-content h3 {
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.portfolio-card-content p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 9px;
}

.portfolio-card-content p:last-child {
    margin-bottom: 0;
}

.portfolio-card-content p:nth-last-child(-n+2) {
    color: var(--gold-light);
}

.portfolio-section .section-more {
    margin-top: 35px;
    text-align: center;
}

@media (max-width: 768px) {
    .portfolio-image {
        height: 230px;
    }

    .portfolio-card-content {
        padding: 22px;
    }
}


/* =========================================
   СЛАЙДЕР ГЛАВНОГО ЭКРАНА
========================================= */

.hero-carousel {
    width: 100%;
}

.hero-carousel .carousel-item {
    min-height: 720px;
}

.hero-slide {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
}

.hero-slide .hero-bottom {
    position: absolute;
    z-index: 2;
    bottom: 30px;
    left: 0;
    right: 0;
}

.hero-carousel .carousel-indicators {
    z-index: 5;
    margin-bottom: 25px;
}

.hero-carousel .carousel-indicators button {
    width: 30px;
    height: 3px;
    border: 0;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

.hero-carousel .carousel-indicators button.active {
    background-color: var(--gold);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 4;
    width: 8%;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 35px;
    height: 35px;
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: 620px;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 10%;
    }
}

/* =========================================
   СТРАНИЦЫ АВТОРИЗАЦИИ (LOGIN / REGISTER)
   ========================================= */
.auth-card {
    background-color: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.2);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.auth-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
}

.auth-card .form-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-card .form-control {
    background-color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.auth-card .form-control:focus {
    background-color: var(--dark);
    color: var(--text);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(197, 164, 109, 0.25);
}

.auth-card .form-check-label {
    color: var(--muted);
    font-size: 0.85rem;
}

.text-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.text-link:hover {
    color: var(--gold-light);
}

/* =========================================
   ЛИЧНЫЙ КАБИНЕТ
   ========================================= */
.profile-avatar {
    width: 100px;
    height: 100px;
    background-color: var(--dark);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.auth-card .table {
    color: #f3f0e9 !important; 
}
.auth-card .table th {
    color: var(--gold) !important;
    border-bottom: 2px solid var(--gold) !important;
}

.auth-card .table th {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}


.auth-card .text-muted {
    color: #d2cec4 !important;
}

/* =========================================
   АДМИН-ПАНЕЛЬ
   ========================================= */
.admin-card {
    background-color: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.admin-card h3 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.admin-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}


/* =========================================
   СТРАНИЦА КОНТАКТОВ
========================================= */

.page-heading {
    padding: 90px 0 65px;
    background: var(--dark-light);
    text-align: center;
    border-bottom: 1px solid rgba(197, 164, 109, 0.15);
}

.page-heading .hero-label {
    justify-content: center;
}

.page-heading h1 {
    color: var(--text);
    font-size: clamp(36px, 5vw, 54px);
    margin: 22px 0 15px;
}

.page-heading p {
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 14px;
}

.contacts-section {
    padding: 75px 0;
    background: var(--dark);
}

.contact-card {
    height: 100%;
    padding: 35px 25px;
    text-align: center;
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.18);
    border-radius: 10px;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.contact-icon {
    color: var(--gold);
    font-size: 32px;
    margin-bottom: 18px;
}

.contact-card h3 {
    color: var(--text);
    font-size: 21px;
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--gold-light);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.contact-card p a {
    color: var(--gold-light);
    text-decoration: none;
}

.contact-card p a:hover {
    color: white;
}

.contact-card > span {
    color: var(--muted);
    font-size: 12px;
}

.contacts-map-section {
    margin-top: 90px;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-label {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
}

.section-heading h2,
.contacts-form-section h2 {
    color: var(--text);
    font-size: 36px;
    margin: 15px 0;
}

.section-heading p,
.contacts-form-section p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.contacts-map {
    overflow: hidden;
    border: 1px solid rgba(197, 164, 109, 0.3);
    border-radius: 12px;
    background: var(--dark-card);
}

.contacts-map iframe {
    display: block;
    border: 0;
}

.contacts-form-section {
    margin-top: 90px;
    padding: 55px;
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.2);
    border-radius: 12px;
}

.contacts-form-section h2 {
    line-height: 1.3;
}

.contacts-form label {
    display: block;
    color: var(--text);
    font-size: 12px;
    margin-bottom: 9px;
}

.contacts-form .form-control {
    background: #1b1b18;
    color: var(--text);
    border: 1px solid rgba(197, 164, 109, 0.25);
    border-radius: 6px;
    padding: 13px 15px;
    font-size: 13px;
}

.contacts-form .form-control:focus {
    background: #1b1b18;
    color: white;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(197, 164, 109, 0.15);
}

.contacts-form .form-control::placeholder {
    color: #77746c;
}

.contacts-form .gold-button {
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .page-heading {
        padding: 65px 15px 45px;
    }

    .contacts-section {
        padding: 45px 0;
    }

    .contacts-map-section,
    .contacts-form-section {
        margin-top: 55px;
    }

    .contacts-form-section {
        padding: 30px 20px;
    }

    .section-heading h2,
    .contacts-form-section h2 {
        font-size: 29px;
    }
}



/* PORTFOLIO PAGE */


.portfolio-page {
    background: var(--dark);
    color: var(--text);
}

.portfolio-page-heading {
    padding: 145px 0 75px;
    text-align: center;
    background: linear-gradient(
        rgba(15, 15, 13, 0.92),
        rgba(15, 15, 13, 0.97)
    );
    border-bottom: 1px solid rgba(197, 164, 109, 0.2);
}

.portfolio-page-heading h1 {
    margin: 15px 0;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #fff;
}

.portfolio-page-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: #b9b5ac;
    line-height: 1.8;
}

.portfolio-page-content {
    padding-top: 75px;
    padding-bottom: 90px;
}

.portfolio-intro {
    max-width: 700px;
    margin-bottom: 45px;
}

.portfolio-intro h2,
.portfolio-bottom h2 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 34px;
    margin-bottom: 15px;
}

.portfolio-intro p,
.portfolio-bottom p {
    color: #aaa69e;
    line-height: 1.8;
}

.portfolio-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.portfolio-project-card {
    overflow: hidden;
    background: #1c1c19;
    border: 1px solid rgba(197, 164, 109, 0.17);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.portfolio-project-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.portfolio-project-image {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: #292823;
}

.portfolio-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-project-card:hover .portfolio-project-image img {
    transform: scale(1.04);
}

.portfolio-no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    letter-spacing: 5px;
    font-family: 'Playfair Display', serif;
    font-size: 25px;
}

.portfolio-featured {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 13px;
    background: rgba(20, 20, 18, 0.9);
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-project-info {
    padding: 28px;
}

.portfolio-project-info h3 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    margin-bottom: 15px;
}

.portfolio-project-description {
    color: #aaa69e;
    font-size: 14px;
    line-height: 1.8;
    min-height: 50px;
}

.portfolio-project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    padding: 22px 0;
    margin-top: 15px;
    border-top: 1px solid rgba(197, 164, 109, 0.2);
    border-bottom: 1px solid rgba(197, 164, 109, 0.2);
}

.portfolio-project-details div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.portfolio-project-details span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 1.2px;
}

.portfolio-project-details strong {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.portfolio-project-more {
    margin-top: 20px;
    color: #c8c3b9;
    font-size: 14px;
}

.portfolio-project-more summary {
    color: var(--gold);
    cursor: pointer;
}

.portfolio-project-more p {
    margin-top: 12px;
    line-height: 1.8;
}

.portfolio-project-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 23px;
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease;
}

.portfolio-project-link:hover {
    color: #fff;
    gap: 18px;
}

.portfolio-empty {
    padding: 60px 20px;
    text-align: center;
    border: 1px solid rgba(197, 164, 109, 0.2);
}

.portfolio-empty h3 {
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.portfolio-empty p {
    color: #aaa69e;
}

.portfolio-bottom {
    padding: 75px 0;
    text-align: center;
    background: #1c1c19;
    border-top: 1px solid rgba(197, 164, 109, 0.2);
}

.portfolio-bottom p {
    max-width: 600px;
    margin: 0 auto 28px;
}

@media (max-width: 768px) {
    .portfolio-page-heading {
        padding: 120px 0 55px;
    }

    .portfolio-page-heading h1 {
        font-size: 36px;
    }

    .portfolio-page-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-project-image {
        height: 260px;
    }

    .portfolio-intro h2,
    .portfolio-bottom h2 {
        font-size: 28px;
    }
}


.portfolio-bottom .btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #171714;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.portfolio-bottom .btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: #171714;
}

.portfolio-bottom .btn-gold:visited {
    color: #171714;
}


/* REVIEWS PAGE */

.reviews-page {
    background: var(--dark);
    color: var(--text);
    padding: 70px 0 100px;
    min-height: 80vh;
}

.reviews-page .page-heading {
    max-width: 750px;
    margin: 0 auto 65px;
}

.reviews-page .page-heading h1 {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    margin: 15px 0;
}

.reviews-page .page-heading p,
.reviews-intro-text p {
    color: var(--muted);
    line-height: 1.8;
}

.section-subtitle {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
}

.reviews-intro {
    display: flex;
    align-items: center;
    gap: 45px;
    padding: 35px;
    margin-bottom: 45px;
    background: var(--dark-light);
    border: 1px solid rgba(197, 164, 109, 0.2);
}

.reviews-intro-number {
    min-width: 170px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

.reviews-intro-number span {
    display: block;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 48px;
}

.reviews-intro-text h2,
.review-form-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    margin-bottom: 12px;
}

.reviews-intro-text p {
    margin: 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.review-card {
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.17);
    padding: 30px;
    transition: border-color .3s ease;
}

.review-card:hover {
    border-color: var(--gold);
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.review-author h3 {
    font-size: 15px;
    margin: 0 0 5px;
}

.review-author span {
    color: var(--muted);
    font-size: 12px;
}

.review-stars {
    margin: 22px 0 15px;
    font-size: 19px;
    letter-spacing: 3px;
}

.star-active {
    color: var(--gold);
}

.star-muted {
    color: #55554d;
}

.review-text {
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
    overflow-wrap: anywhere;
}

.reviews-empty {
    grid-column: 1 / -1;
    padding: 45px 20px;
    text-align: center;
    background: var(--dark-light);
    border: 1px solid rgba(197, 164, 109, 0.2);
}

.reviews-empty h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
}

.reviews-empty p {
    color: var(--muted);
    margin: 10px 0 0;
}

.review-form-section {
    max-width: 750px;
    margin: 85px auto 0;
}

.review-form-heading {
    text-align: center;
    margin-bottom: 30px;
}

.review-form-heading h2 {
    margin-top: 12px;
    font-size: 34px;
}

.review-form-heading p {
    color: var(--muted);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 35px;
    background: var(--dark-light);
    border: 1px solid rgba(197, 164, 109, 0.2);
}

.review-form label {
    color: var(--text);
    font-size: 13px;
    margin-top: 8px;
}

.review-form .form-control {
    background: var(--dark-card);
    border: 1px solid #494940;
    color: var(--text);
    border-radius: 0;
    padding: 13px;
}

.review-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(197, 164, 109, 0.15);
}

.review-form select option {
    background: var(--dark-card);
    color: var(--text);
}

.review-form textarea {
    resize: vertical;
}

.review-form .gold-button {
    margin-top: 15px;
    cursor: pointer;
}

.review-login-message {
    text-align: center;
    padding: 30px;
    background: var(--dark-light);
    border: 1px solid rgba(197, 164, 109, 0.2);
}

.review-login-message p {
    color: var(--muted);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .reviews-page .page-heading h1 {
        font-size: 34px;
    }

    .reviews-intro {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-form {
        padding: 22px;
    }
}


.services-section img,
.services-page img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

.services-section,
.services-page {
    max-width: 100%;
    overflow-x: hidden;
}

/* Футер всегда внизу страницы */
html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.custom-footer {
    flex-shrink: 0;
}





.services-page {
    padding: 65px 0 80px;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}

.services-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.services-heading .page-title {
    margin: 12px 0;
}

.services-intro {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    max-width: 600px;
}

/* Сетка категорий */

.services-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 28px;
}

.service-category-block {
    min-width: 0;
}

.category-heading {
    margin-bottom: 16px;
    padding-left: 3px;
}

.category-label {
    display: block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 7px;
}

.service-category-title {
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    margin: 0 0 8px;
}

.service-category-description {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}

/* Карточки услуг */

.service-items-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.service-item-card {
    min-width: 0;
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.13);
    border-radius: 9px;
    transition: border-color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

.service-item-card:hover {
    border-color: rgba(197, 164, 109, 0.65);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Фотографии */

.service-item-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #22221e;
}

.service-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item-card:hover .service-item-image img {
    transform: scale(1.04);
}

.service-item-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    letter-spacing: 3px;
}

/* Содержимое карточек */

.service-item-content {
    padding: 20px 21px 22px;
}

.service-item-title {
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    margin: 0 0 10px;
}

.service-item-description {
    min-height: 38px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 17px;
}

.service-item-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.service-item-link span {
    transition: transform 0.3s ease;
}

.service-item-link:hover {
    color: var(--gold-light);
}

.service-item-link:hover span {
    transform: translateX(5px);
}

/* Пустые категории */

.services-page .services-empty {
    color: var(--muted);
    font-size: 13px;
    padding: 20px;
    background: var(--dark-card);
    border-radius: 8px;
}

/* Нижний блок */

.services-page-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 75px;
    padding: 35px 40px;
    background: var(--dark-light);
    border: 1px solid rgba(197, 164, 109, 0.25);
    border-radius: 9px;
}

.services-page-bottom h2 {
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-size: 29px;
    margin: 12px 0 8px;
}

.services-page-bottom p {
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

.services-page-bottom .gold-button {
    flex-shrink: 0;
}

/* Адаптация */

@media (max-width: 768px) {
    .services-page {
        padding: 45px 0 55px;
    }

    .services-category-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .service-item-image {
        height: 210px;
    }

    .services-page-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 27px 23px;
        margin-top: 50px;
    }

    .services-page-bottom h2 {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .service-item-image {
        height: 175px;
    }

    .service-item-content {
        padding: 17px;
    }

}

/* ADMIN PROJECTS */

.admin-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.admin-project-card {
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.2);
    border-radius: 9px;
}

.admin-project-photo {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--dark-light);
}

.admin-project-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.admin-project-featured,
.admin-project-status {
    position: absolute;
    top: 12px;
    padding: 7px 10px;
    font-size: 10px;
    border-radius: 3px;
}

.admin-project-featured {
    left: 12px;
    background: var(--gold);
    color: var(--dark);
}

.admin-project-status {
    right: 12px;
}

.admin-project-status.active {
    background: #294b37;
    color: #b8e0c5;
}

.admin-project-status.inactive {
    background: #51402b;
    color: #e7c58e;
}

.admin-project-no-photo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    letter-spacing: 3px;
}

.admin-project-content {
    padding: 23px;
}

.admin-project-content h3 {
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-size: 21px;
}

.admin-project-content p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.admin-project-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--muted);
    font-size: 11px;
    padding: 15px 0;
    border-top: 1px solid rgba(197, 164, 109, 0.15);
}

.admin-project-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid rgba(197, 164, 109, 0.15);
    padding-top: 17px;
}

.admin-project-actions form {
    margin: 0;
}

.admin-project-edit,
.admin-project-delete {
    background: none;
    border: none;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.admin-project-edit {
    color: var(--gold);
}

.admin-project-delete {
    color: #d98282;
}

.admin-project-edit:hover {
    color: var(--gold-light);
}

.admin-project-delete:hover {
    color: #ffaaaa;
}

.admin-projects-empty {
    text-align: center;
    padding: 65px 20px;
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.2);
    border-radius: 9px;
}

.admin-projects-empty h3 {
    color: var(--text);
    font-family: 'Playfair Display', serif;
}

.admin-projects-empty p {
    color: var(--muted);
    margin: 12px 0 25px;
}

@media (max-width: 768px) {
    .admin-projects-grid {
        grid-template-columns: 1fr;
    }
}


/* ADMIN PROJECT FORM */

.admin-project-form {
    max-width: 900px;
    padding: 30px;
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, 0.2);
    border-radius: 9px;
}

.admin-form-section {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(197, 164, 109, 0.15);
}

.admin-form-section:last-of-type {
    border-bottom: none;
}

.admin-form-section h3 {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 22px;
}

.admin-project-form .form-label {
    color: var(--text);
    font-size: 13px;
    margin-bottom: 9px;
}

.admin-project-form .form-control {
    background: var(--dark-light);
    color: var(--text);
    border: 1px solid rgba(197, 164, 109, 0.25);
    border-radius: 4px;
    padding: 11px 13px;
    font-size: 13px;
}

.admin-project-form .form-control:focus {
    background: var(--dark-light);
    color: var(--text);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.15rem rgba(197, 164, 109, 0.15);
}

.admin-project-form .form-control::placeholder {
    color: #858176;
}

.admin-project-form input[type="file"] {
    padding: 9px;
}

.admin-project-form input[type="file"]::file-selector-button {
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 3px;
    padding: 7px 12px;
    margin-right: 12px;
    cursor: pointer;
}

.admin-form-hint {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 8px;
}

.admin-project-form .form-check-input {
    background-color: var(--dark-light);
    border-color: var(--gold);
}

.admin-project-form .form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.admin-project-form .form-check-label {
    color: var(--text);
    font-size: 13px;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 5px;
}

.admin-form-cancel {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
}

.admin-form-cancel:hover {
    color: var(--gold);
}

@media (max-width: 576px) {
    .admin-project-form {
        padding: 20px 15px;
    }

    .admin-form-actions {
        align-items: stretch;
        flex-direction: column;
    }
}


/* ADMIN PROJECT EDIT PHOTOS */

.admin-edit-main-photo {
    width: 100%;
    max-width: 420px;
    height: 230px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(197, 164, 109, 0.25);
}

.admin-edit-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-edit-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-edit-gallery-item {
    min-width: 0;
    padding: 10px;
    background: var(--dark-light);
    border: 1px solid rgba(197, 164, 109, 0.2);
    border-radius: 6px;
}

.admin-edit-gallery-item img {
    display: block;
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.admin-edit-gallery-item .form-check-label {
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 768px) {
    .admin-edit-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .admin-edit-gallery {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ЧЕКБОКСЫ (ГАЛОЧКИ)
   ========================================= */
.form-check-input {
    background-color: var(--dark);
    border: 2px solid var(--gold) !important;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
}

.form-check-label {
    color: var(--text);
    cursor: pointer;
    margin-left: 5px;
}

/* =========================================
   ФИЛЬТРАЦИЯ УСЛУГ
   ========================================= */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.btn-filter {
    background-color: transparent;
    border: 1px solid rgba(197, 164, 109, 0.3);
    color: var(--muted);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-filter.active {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.bg-gold {
    background-color: var(--gold) !important;
    color: var(--dark) !important;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
}


/* ==============================
   ADMIN REQUESTS
============================== */

.admin-requests-page {
    color: var(--text);
}

.admin-requests-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.admin-requests-heading p {
    color: var(--muted);
    font-size: 13px;
}

.admin-request-back {
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.admin-request-back:hover {
    color: var(--gold-light);
}

.admin-request-statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-request-stat {
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, .2);
    border-radius: 7px;
    padding: 22px;
}

.admin-request-stat span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 10px;
}

.admin-request-stat strong {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 30px;
}

.admin-requests-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-request-card {
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, .2);
    border-radius: 8px;
    padding: 25px;
}

.admin-request-card.is-processed {
    opacity: .8;
}

.admin-request-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(197, 164, 109, .15);
}

.admin-request-card-header h3 {
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 7px;
}

.admin-request-date {
    color: var(--muted);
    font-size: 12px;
}

.admin-request-status {
    font-size: 11px;
    padding: 7px 12px;
    border-radius: 3px;
    white-space: nowrap;
}

.admin-request-status.new {
    color: var(--gold-light);
    background: rgba(197, 164, 109, .15);
}

.admin-request-status.processed {
    color: #a9c7a3;
    background: rgba(100, 150, 90, .15);
}

.admin-request-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
}

.admin-request-contacts span,
.admin-request-message > span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-request-contacts a,
.admin-request-contacts p {
    color: var(--text);
    font-size: 13px;
    text-decoration: none;
    margin: 0;
    overflow-wrap: anywhere;
}

.admin-request-contacts a:hover {
    color: var(--gold);
}

.admin-request-message {
    padding: 18px;
    background: var(--dark-light);
    border-radius: 5px;
}

.admin-request-message p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 0;
}

.admin-request-message .admin-request-no-message {
    color: var(--muted);
    font-style: italic;
}

.admin-request-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.admin-request-actions form {
    margin: 0;
}

.admin-request-process,
.admin-request-delete {
    border: 1px solid var(--gold);
    border-radius: 3px;
    padding: 9px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

.admin-request-process {
    background: var(--gold);
    color: var(--dark);
}

.admin-request-process:hover {
    background: var(--gold-light);
}

.admin-request-delete {
    background: transparent;
    color: #d58c83;
    border-color: rgba(213, 140, 131, .5);
}

.admin-request-delete:hover {
    background: rgba(213, 140, 131, .12);
}

.admin-requests-empty {
    padding: 60px 25px;
    text-align: center;
    background: var(--dark-card);
    border: 1px solid rgba(197, 164, 109, .2);
    border-radius: 8px;
}

.admin-requests-empty h3 {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    margin-bottom: 12px;
}

.admin-requests-empty p {
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 768px) {
    .admin-requests-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-request-statistics {
        grid-template-columns: 1fr;
    }

    .admin-request-contacts {
        grid-template-columns: 1fr;
    }

    .admin-request-card-header {
        flex-direction: column;
    }
}
