/* ================================================================
   RESTORATION OF MEN'S POSITION
   Custom Stylesheet — Rebranded from Travisa template
   Author: Restoration of Men's Position
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS Custom Properties / Root Variables
   ---------------------------------------------------------------- */
:root {
    --color-dark:      #111111;
    --color-red:       #D90000;
    --color-bg:        #F7F4EE;
    --color-green:     #2F4A3A;
    --color-sand:      #CDBF9F;
    --color-text:      #222222;
    --color-white:     #FFFFFF;
    --color-primary:   var(--color-dark);
    --color-secondary: var(--color-red);
    --color-gold:      var(--color-sand);
    --color-light:     var(--color-bg);
    --font-heading:    'Oswald', sans-serif;
    --font-body:       'Inter', sans-serif;
    --font-tagline:    'Playfair Display', serif;
    --transition:      0.25s ease;
}

/* ----------------------------------------------------------------
   2. Global Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--color-text); background: var(--color-bg); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--color-dark); letter-spacing: 0.4px; }
h1, .display-1, .display-2, .display-5 { text-transform: uppercase !important; }
a { color: var(--color-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-red); }
.tagline { font-family: var(--font-tagline); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--color-red); }
img { max-width: 100%; height: auto; }

/* ----------------------------------------------------------------
   3. Utilities
   ---------------------------------------------------------------- */
.text-primary   { color: var(--color-primary)   !important; }
.text-secondary { color: var(--color-secondary) !important; }
.bg-primary     { background: var(--color-primary)   !important; }
.bg-secondary   { background: var(--color-secondary) !important; }
.bg-light       { background: var(--color-light)     !important; }

/* ----------------------------------------------------------------
   4. Spinner
   ---------------------------------------------------------------- */
#spinner { opacity: 0; visibility: hidden; transition: opacity .5s ease-out, visibility 0s linear .5s; z-index: 99999; }
#spinner.show { transition: opacity .5s ease-out, visibility 0s linear 0s; visibility: visible; opacity: 1; }

/* ----------------------------------------------------------------
   5. Back-to-Top
   ---------------------------------------------------------------- */
.back-to-top {
    position: fixed; right: 30px; bottom: 30px;
    display: flex; width: 45px; height: 45px;
    align-items: center; justify-content: center;
    transition: var(--transition); z-index: 99;
    background: var(--color-secondary); color: #fff; border-radius: 50%;
}
.back-to-top:hover { background: var(--color-primary); color: #fff; }

/* ----------------------------------------------------------------
   6. Buttons
   ---------------------------------------------------------------- */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px !important;
    transition: var(--transition);
}
.btn-square { width: 32px; height: 32px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-md-square { width: 44px; height: 44px; }
.btn-lg-square { width: 56px; height: 56px; }
.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square {
    padding: 0; display: inline-flex; align-items: center; justify-content: center;
    font-weight: normal; border-radius: 50%;
}
.btn.btn-primary { background: var(--color-red) !important; color: #fff !important; border: 2px solid var(--color-red) !important; }
.btn.btn-primary:hover { background: var(--color-dark) !important; border-color: var(--color-dark) !important; color: #fff !important; }
.btn.btn-secondary,
.btn.btn-outline { background: transparent !important; color: var(--color-dark) !important; border: 2px solid var(--color-dark) !important; }
.btn.btn-secondary:hover,
.btn.btn-outline:hover { background: var(--color-dark) !important; color: #fff !important; }
.btn.btn-outline-light { background: transparent !important; color: #fff !important; border: 2px solid #fff !important; }
.btn.btn-outline-light:hover { background: #fff !important; color: var(--color-dark) !important; }
.btn-green { background: var(--color-green) !important; color: #fff !important; border: 2px solid var(--color-green) !important; }
.btn-green:hover { background: var(--color-dark) !important; border-color: var(--color-dark) !important; color: #fff !important; }

/* ----------------------------------------------------------------
   7. Section Titles
   ---------------------------------------------------------------- */
.section-title { max-width: 860px; text-align: center; margin: 0 auto; }
.section-title .sub-style {
    position: relative; display: inline-block;
    text-transform: uppercase; color: var(--color-primary); margin-bottom: .5rem;
}
.section-title .sub-style::before {
    content: ""; width: 100px; position: absolute;
    bottom: 50%; right: 0; transform: translateY(-50%);
    margin-bottom: -8px; margin-right: -110px;
    border: 1px solid var(--color-secondary);
}
.section-title .sub-style::after {
    content: ""; width: 50px; position: absolute;
    top: 50%; right: 0; transform: translateY(-50%);
    margin-top: -6px; margin-right: -60px;
    border: 1px solid var(--color-primary);
}
.sub-title {
    position: relative; display: inline-block;
    text-transform: uppercase; color: var(--color-primary);
}
.sub-title::before {
    content: ""; width: 100px; position: absolute;
    bottom: 50%; right: 0; transform: translateY(-50%);
    margin-bottom: -8px; margin-right: -110px;
    border: 1px solid var(--color-secondary);
}
.sub-title::after {
    content: ""; width: 50px; position: absolute;
    top: 50%; right: 0; transform: translateY(-50%);
    margin-top: -6px; margin-right: -60px;
    border: 1px solid var(--color-primary);
}

/* About intro: two outdoor photos, no stretched collage. */
.about-photos { position: relative; padding-bottom: 36px; }
.about-photos .about-main {
    width: 84%; height: 440px; object-fit: cover; object-position: center 30%;
    border-radius: 8px; display: block;
}
.about-photos .about-side {
    position: absolute; right: 0; bottom: 0; width: 52%; height: 220px;
    object-fit: cover; object-position: center 20%;
    border-radius: 8px; border: 6px solid var(--color-bg);
    box-shadow: 0 12px 28px rgba(17, 17, 17, .14);
}
.about-point {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 8px; padding: 14px 16px;
    border: 1px solid rgba(17, 17, 17, .06);
}
.about-point i { color: var(--color-red); font-size: 1.35rem; width: 28px; text-align: center; }
.about-point h5 { margin: 0; font-size: 1rem; }
@media (max-width: 991.98px) {
    .about-photos .about-main { width: 100%; height: 320px; }
    .about-photos .about-side { width: 46%; height: 160px; }
}

/* ----------------------------------------------------------------
   8. Contact strip (sits above the footer)
   ---------------------------------------------------------------- */
.site-contact-bar {
    background: var(--color-light);
    border-top: 1px solid #e3ebf3;
    padding: 16px 0;
}
.site-contact-bar a {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 500;
}
.site-contact-bar a i { color: var(--color-secondary); }
.site-contact-bar a:hover { color: var(--color-secondary); }
.site-contact-bar .social-icons a {
    width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
    margin-left: 6px; border-radius: 50%; background: #fff;
    border: 1px solid #d5e0ec; color: var(--color-primary); font-size: .8rem;
}
.site-contact-bar .social-icons a i { color: inherit; }
.site-contact-bar .social-icons a:hover {
    background: var(--color-secondary); border-color: var(--color-secondary); color: #fff;
}

/* ----------------------------------------------------------------
   9. Navbar
   ---------------------------------------------------------------- */
.nav-bar,
.nav-bar.sticky-top {
    position: fixed; top: 0; left: 0; right: 0; width: 100%;
    z-index: 1030; background: transparent;
}
.navbar.navbar-light,
.navbar.bg-white,
.sticky-top.navbar-light,
.sticky-top .navbar-light,
.nav-bar.sticky-top .navbar {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(4px) saturate(1.05);
    -webkit-backdrop-filter: blur(4px) saturate(1.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
}
.nav-bar.sticky-top .navbar {
    background: rgba(247, 244, 238, 0.94) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body:has(.carousel-header) .nav-bar:not(.sticky-top) .navbar {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
body:has(.carousel-header) .nav-bar:not(.sticky-top) .navbar-light .navbar-nav .nav-link {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
body:has(.carousel-header) .nav-bar:not(.sticky-top) .navbar-light .navbar-nav .nav-link:hover,
body:has(.carousel-header) .nav-bar:not(.sticky-top) .navbar-light .navbar-nav .nav-link.active {
    color: #D90000 !important;
}
body:has(.carousel-header) .nav-bar:not(.sticky-top) .navbar-toggler {
    color: #fff;
    border-color: rgba(255, 255, 255, .7) !important;
}
body:has(.nav-bar) { padding-top: 64px; }
body:has(.carousel-header) { padding-top: 0; }
.navbar-light .navbar-nav .nav-link {
    font-family: var(--font-heading); position: relative; margin-right: 20px;
    padding: 10px 0; color: var(--color-dark) !important;
    font-size: .9rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
    outline: none; transition: var(--transition);
}
.sticky-top .navbar-light .navbar-nav .nav-link { padding: 8px 0; color: var(--color-dark) !important; }
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active { color: var(--color-red) !important; }
.navbar-light .navbar-brand img { max-height: 42px; transition: var(--transition); }
.sticky-top .navbar-light .navbar-brand img { max-height: 38px; }
.navbar .dropdown-toggle::after {
    border: none; content: "\f107";
    font-family: "Font Awesome 5 Free"; font-weight: 600; vertical-align: middle;
}
@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block; visibility: hidden; top: 100%;
        transform: rotateX(-75deg); transform-origin: 0% 0%;
        border: 0; border-radius: 10px; transition: var(--transition); opacity: 0;
    }
}
.dropdown .dropdown-menu a:hover { background: var(--color-dark); color: var(--color-white); }
@media (min-width: 992px) {
    .sticky-top .navbar-light { background: rgba(247, 244, 238, 0.94) !important; }
    .navbar-light .navbar-nav .nav-link::before,
    .navbar-light .navbar-nav .nav-link::after {
        position: absolute; content: ""; top: 6px; bottom: 6px; left: 0;
        width: 100%; height: 2px; background: var(--color-secondary); opacity: 0; transition: all .5s;
    }
    .navbar-light .navbar-nav .nav-link::before { bottom: auto; }
    .navbar-light .navbar-nav .nav-link::after  { top: auto; }
    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before { top: 2px; opacity: 1; }
    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after  { bottom: 2px; opacity: 1; }
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg); visibility: visible;
        background: var(--color-white) !important; transition: var(--transition); opacity: 1;
    }
}
@media (max-width: 991.98px) {
    .navbar.navbar-expand-lg .navbar-toggler { padding: 8px 18px; border: 1px solid var(--color-dark) !important; color: var(--color-dark); }
    .navbar-light .navbar-collapse {
        margin-top: 8px; padding: 8px 12px 12px;
        background: rgba(247, 244, 238, 0.94);
        border-radius: 12px;
    }
    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link { padding: 10px 0; margin-left: 0; color: var(--color-dark) !important; }
    .navbar-light .navbar-brand img { max-height: 40px; }
}
#searchModal .modal-content { background: rgba(240,245,251,.95); }

/* ----------------------------------------------------------------
   10. Hero Carousel
   ---------------------------------------------------------------- */
.carousel-header .carousel-control-prev,
.carousel-header .carousel-control-next { width: 8%; opacity: 1; z-index: 5; }
.carousel-nav-btn {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--color-secondary); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem; box-shadow: 0 8px 20px rgba(0,0,0,.25);
    transition: background .3s ease, transform .3s ease;
}
.carousel-header .carousel-control-prev:hover .carousel-nav-btn,
.carousel-header .carousel-control-next:hover .carousel-nav-btn {
    background: var(--color-primary); transform: scale(1.06);
}
.carousel-header .carousel .carousel-indicators { padding-bottom: 0; transition: var(--transition); }
.carousel-header .carousel .carousel-indicators li {
    width: 8px; height: 8px; border: 8px solid var(--color-primary);
    border-radius: 50%; margin-right: 30px; transition: var(--transition);
}
.carousel-header .carousel .carousel-indicators li.active { border-color: var(--color-secondary); }
.carousel-header .carousel-inner .carousel-item { position: relative; min-height: 100vh; }
.carousel-header .carousel-inner .carousel-item img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.55));
}
@media (max-width: 768px) {
    .carousel-nav-btn { width: 42px; height: 42px; font-size: .95rem; }
}

/* ----------------------------------------------------------------
   11. Breadcrumb Hero (inner pages)
   ---------------------------------------------------------------- */
.bg-breadcrumb {
    background: linear-gradient(rgba(17,17,17,.88), rgba(47,74,58,.72)), url('../assets/img/breadcrumb.png');
    background-position: center; background-repeat: no-repeat; background-size: cover;
    padding: 100px 0 60px;
}

/* ----------------------------------------------------------------
   12. Stats / Counter
   ---------------------------------------------------------------- */
.counter-facts {
    background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.85)), url('../assets/img/breadcrumb.png');
    background-size: cover; background-attachment: fixed; background-position: center;
}
.counter-facts .counter {
    position: relative; text-align: center; width: 200px; min-height: 215px;
    padding: 10px 15px; margin: 0 auto; border-radius: 100px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15); background: var(--color-white);
}
.counter-facts .counter::before {
    content: ""; position: absolute; height: 105px; width: 100%; left: 0; top: 0;
    border-radius: 10px 10px 0 0; background: var(--color-primary);
}
.counter-facts .counter .counter-icon {
    position: relative; width: 120px; height: 100px; margin: 0 auto 10px;
    border-radius: 10px 10px 0 0; transform: translateY(-20px);
    font-size: 50px; line-height: 90px; color: var(--color-white);
    background: var(--color-green);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon::before {
    content: ""; position: absolute; width: 120px; height: 90px;
    top: 0; left: 50%; transform: translateX(-50%);
    border-radius: 10px 10px 0 0; background: var(--color-dark);
    z-index: -1; clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i { transform: rotate(360deg); transition: all .4s ease; }
.counter-facts .counter h3 {
    color: var(--color-primary); font-size: .9rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; margin: 0 0 5px;
}
.counter-facts .counter .counter-value { font-size: 2rem; font-weight: 700; display: block; color: var(--color-secondary); }
@media (max-width: 1200px) { .counter-facts .counter { margin-bottom: 40px; } }

/* ----------------------------------------------------------------
   13. Programmes / Services
   ---------------------------------------------------------------- */
.service { background: var(--color-sand); }
.service .service-item { position: relative; overflow: hidden; border-radius: 10px; }
.service .service-item .service-inner .service-title { position: relative; margin-top: -30px; text-align: center; transition: var(--transition); }
.service .service-item .service-inner .service-title .service-content {
    position: absolute; bottom: -100%; left: 0; margin: 0 30px;
    text-align: center; border-radius: 10px; background: var(--color-primary);
    opacity: 0; transition: var(--transition);
}
.service .service-item:hover .service-inner .service-title .service-content { bottom: 0; opacity: 1; }
.service .service-item .service-inner .service-title .service-content a h4 { border-bottom: 1px solid rgba(255,255,255,.15); }
.service .service-item .service-inner .service-title .service-title-name { transition: var(--transition); }
.service .service-item:hover .service-inner .service-title .service-title-name { opacity: 0; }
.service .service-item .service-inner .service-img { position: relative; border-radius: 10px; overflow: hidden; }
.service .service-item .service-inner .service-img::after {
    content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 0;
    border-radius: 10px; background: rgba(255,255,255,.4); transition: var(--transition); opacity: 0;
}
.service .service-item:hover .service-inner .service-img::after { height: 100%; opacity: 1; }
.service .service-item .service-inner .service-img img {
    width: 100%; height: 340px; object-fit: cover; object-position: center 18%;
    transition: var(--transition);
}
.service .service-item:hover .service-inner .service-img img { transform: scale(1.2); }

/* ----------------------------------------------------------------
   14. Why Join / Features
   ---------------------------------------------------------------- */
.features .feature-item {
    position: relative; box-shadow: 0 0 40px rgba(0,0,0,.08);
    border-radius: 12px; overflow: hidden;
}
.features .feature-item::after {
    content: ""; position: absolute; width: 100%; height: 0;
    bottom: 0; left: 0; border-radius: 12px;
    background: rgba(47,74,58,.08); z-index: -1; transition: var(--transition);
}
.features .feature-item:hover::after { height: 100%; }
.features .feature-item .feature-icon {
    width: 110px; height: 110px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-light); transition: var(--transition);
}
.features .feature-item:hover .feature-icon { border-radius: 50%; background: var(--color-white) !important; }
.features .feature-item .feature-icon i { transition: var(--transition); }
.features .feature-item:hover .feature-icon i { color: var(--color-secondary) !important; transform: rotate(360deg); transition: all .5s ease; }

/* ----------------------------------------------------------------
   15. Events Cards
   ---------------------------------------------------------------- */
.event-card {
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    transition: var(--transition); background: #fff;
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(17,17,17,.18); }
.event-card .event-img { position: relative; overflow: hidden; }
.event-card .event-img img { transition: var(--transition); width: 100%; height: 220px; object-fit: cover; object-position: center 18%; }
.event-card:hover .event-img img { transform: scale(1.08); }
.event-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--color-secondary); color: #fff;
    font-size: .75rem; font-weight: 600; padding: 4px 12px;
    border-radius: 20px; text-transform: uppercase; letter-spacing: .5px;
}
.event-date-badge {
    position: absolute; bottom: 14px; right: 14px;
    background: var(--color-primary); color: #fff;
    text-align: center; padding: 8px 14px; border-radius: 8px;
    font-family: var(--font-heading);
}
.event-date-badge .day { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-date-badge .month { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; }

/* ----------------------------------------------------------------
   16. Gallery
   ---------------------------------------------------------------- */
.gallery-item { position: relative; overflow: hidden; border-radius: 10px; cursor: pointer; }
.gallery-item img { width: 100%; height: 230px; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(47,74,58,.72); display: flex;
    align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-overlay i { font-size: 2rem; color: #fff; }

/* ----------------------------------------------------------------
   17. Testimonials
   ---------------------------------------------------------------- */
.testimonial .owl-carousel.testimonial-carousel { position: relative; }
.testimonial .owl-carousel .testimonial-item .testimonial-content {
    position: relative; border-radius: 10px;
    background: var(--color-light); padding: 1.5rem;
}
.testimonial .owl-carousel .testimonial-item .testimonial-content::after {
    position: absolute; content: ""; width: 45px; height: 45px;
    bottom: -18px; left: 30px; transform: rotate(45deg);
    background: var(--color-light); z-index: -1;
}
.testimonial .owl-carousel .owl-nav {
    position: absolute; top: -55px; right: 0;
    display: flex; font-size: 2.2rem; color: var(--color-primary);
}
.testimonial .owl-carousel .owl-nav .owl-prev { margin-right: 35px; }
.testimonial .owl-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel .owl-nav .owl-next:hover { color: var(--color-secondary); }

/* ----------------------------------------------------------------
   18. Activities / Training
   ---------------------------------------------------------------- */
.training .training-item .training-inner { position: relative; }
.training .training-item .training-inner img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center 18%;
}
.training .training-item .training-inner .training-title-name {
    position: absolute; width: 100%; height: 100%; bottom: 0; left: 0;
    padding: 20px; border-radius: 10px; background: rgba(0,0,0,.45);
    display: flex; flex-direction: column; justify-content: flex-end;
    text-align: center; transition: var(--transition);
}
.training .training-item:hover .training-inner .training-title-name { background: rgba(47,74,58,.88); }

/* ----------------------------------------------------------------
   19. Footer
   ---------------------------------------------------------------- */
.footer {
    background: var(--color-bg);
    color: var(--color-text);
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.footer .footer-item img {
    display: block;
    width: 168px;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    margin-bottom: 16px;
}
.footer .footer-item h4 {
    color: var(--color-dark); font-size: 1.1rem;
    margin-bottom: 1.2rem; padding-bottom: .5rem;
    border-bottom: 2px solid rgba(17, 17, 17, 0.12);
}
.footer .footer-item a {
    display: block; color: var(--color-text); font-size: .9rem;
    margin-bottom: 8px; transition: var(--transition);
}
.footer .footer-item a:hover { color: var(--color-red); padding-left: 5px; }
.footer .footer-item p { color: var(--color-text); font-size: .9rem; }
.footer .footer-social a {
    width: 36px; height: 36px; display: inline-flex;
    align-items: center; justify-content: center;
    border: 1px solid rgba(17, 17, 17, 0.2); border-radius: 50%;
    color: var(--color-dark); margin: 2px; transition: var(--transition);
}
.footer .footer-social a:hover { background: var(--color-secondary); border-color: var(--color-secondary); color: #fff; }

/* ----------------------------------------------------------------
   20. Copyright
   ---------------------------------------------------------------- */
.copyright { background: var(--color-sand); color: var(--color-text); font-size: .875rem; padding: 16px 0; }
.copyright a { color: var(--color-dark); text-decoration: underline; }
.copyright a:hover { color: var(--color-red); }

/* ----------------------------------------------------------------
   21. Member sign-in / join forms
   ---------------------------------------------------------------- */
.member-page { background: var(--color-light); }
.member-form {
    background: #fff;
    border: 1px solid #dde5ee;
    border-top: 4px solid var(--color-primary);
    padding: 28px 28px 22px;
    margin: 36px auto 56px;
    max-width: 460px;
}
.member-form.wide { max-width: 680px; }
.member-form h1 { font-size: 1.85rem; margin-bottom: 8px; }
.wait-card { text-align: center; padding-top: 36px; padding-bottom: 32px; }
.wait-mark { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #f7f4ee; color: var(--color-secondary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.member-form .intro { color: #556270; margin-bottom: 22px; font-size: 1rem; line-height: 1.55; }
.member-form label { font-weight: 600; color: var(--color-primary); font-size: .92rem; margin-bottom: 6px; }
.member-form .field-label { display: flex; justify-content: space-between; align-items: baseline; }
.member-form .form-control,
.member-form select.form-control {
    border: 1px solid #c5d0dc; border-radius: 4px;
    padding: 10px 12px; background: #fff; font-size: .98rem;
}
.member-form .form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(217,0,0,.15);
}
.member-form .hint { display: block; margin-top: 5px; color: #6b7785; font-size: .82rem; }
.member-form .show-pass {
    background: none; border: 0; padding: 0;
    color: var(--color-secondary); font-size: .85rem; font-family: var(--font-body);
}
.member-form .show-pass:hover { text-decoration: underline; }
.member-form .form-check-label { font-weight: 400; color: #444; }
.member-form .form-foot {
    margin-top: 18px; padding-top: 14px;
    border-top: 1px solid #e6edf4; color: #556270;
}

/* ----------------------------------------------------------------
   22. Dashboards — member and admin share this office layout
   ---------------------------------------------------------------- */
.site-flash {
    margin: 0 0 16px; padding: 12px 14px;
    background: #f3eee4; color: var(--color-text);
    border: 1px solid #e0d5bc; border-left: 4px solid var(--color-red);
}
.site-flash.is-error { background: #f8ecec; border-color: #e7c8c8; border-left-color: var(--color-red); }
body > .site-flash { margin: 0; border-width: 0 0 1px; border-left: 0; text-align: center; }

.app-shell { min-height: 100vh; background: var(--color-bg); }
.sidebar-toggle {
    width: 36px; height: 36px; border: 1px solid #d9d0c0; background: #fff;
    border-radius: 4px; color: var(--color-dark); flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
.sidebar-toggle:hover { background: var(--color-dark); color: #fff; }

.dashboard-sidebar,
.admin-sidebar {
    width: 248px; flex-shrink: 0; overflow-x: hidden; overflow-y: auto;
    min-height: 100vh; background: #fff; border-right: 1px solid #e4ddd0;
    transition: width .2s ease;
}
.dashboard-sidebar .sidebar-brand,
.admin-sidebar .sidebar-brand {
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 18px 16px 14px; border-bottom: 1px solid #e4ddd0; background: var(--color-sand);
}
.dashboard-sidebar .sidebar-brand img,
.admin-sidebar .sidebar-brand img {
    width: 108px; height: auto; display: block; background: transparent; padding: 0;
}
.dashboard-sidebar .sidebar-brand span,
.admin-sidebar .sidebar-brand span {
    font-family: var(--font-heading); font-size: .72rem; font-weight: 600;
    letter-spacing: 1.4px; text-transform: uppercase; color: #6d6456;
}
.dashboard-sidebar nav,
.admin-sidebar nav { padding-bottom: 28px; }
.dashboard-sidebar .nav-section-title,
.admin-sidebar .nav-section-title {
    font-size: .68rem; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase;
    color: #8a8172; padding: 16px 18px 4px; margin: 0;
}
.dashboard-sidebar .nav-link,
.admin-sidebar .nav-link {
    color: #222; font-family: var(--font-body); font-size: .94rem; font-weight: 500;
    padding: 9px 16px; border-left: 3px solid transparent;
    display: flex; align-items: center; gap: 10px;
}
.dashboard-sidebar .nav-link i,
.admin-sidebar .nav-link i { width: 18px; text-align: center; color: var(--color-red); font-size: .9rem; }
.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #111; background: var(--color-bg); border-left-color: var(--color-red);
}
.nav-count {
    margin-left: auto; background: transparent; color: var(--color-red);
    font-size: .78rem; font-weight: 700; padding: 0;
}

.app-shell.is-collapsed .dashboard-sidebar,
.app-shell.is-collapsed .admin-sidebar { width: 74px; }
.app-shell.is-collapsed .sidebar-brand span,
.app-shell.is-collapsed .nav-section-title,
.app-shell.is-collapsed .nav-link .badge,
.app-shell.is-collapsed .nav-count { display: none; }
.app-shell.is-collapsed .sidebar-brand { align-items: center; padding-left: 8px; padding-right: 8px; }
.app-shell.is-collapsed .sidebar-brand img { width: 46px; }
.app-shell.is-collapsed .nav-link {
    font-size: 0; justify-content: center; gap: 0; padding-left: 0; padding-right: 0;
}
.app-shell.is-collapsed .nav-link i { font-size: 1rem; }

.dashboard-content,
.admin-content { background: var(--color-bg); min-height: 100vh; min-width: 0; flex: 1; }
.topbar-dash,
.admin-topbar {
    background: #fff; padding: 14px 28px; border-bottom: 1px solid #e4ddd0;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    position: sticky; top: 0; z-index: 40;
}
.dash-title {
    font-size: 1.35rem; line-height: 1.1; margin: 0; letter-spacing: .6px;
}
.dash-who { text-align: right; line-height: 1.25; }
.dash-who strong { display: block; font-size: .92rem; font-weight: 600; color: #111; }
.dash-who span { font-size: .78rem; color: #7a7368; }
.dash-pad { padding: 22px 28px 48px; }
.dash-lead { color: #6d675c; margin: 0 0 14px; }
.dash-hello {
    background: var(--color-sand); padding: 22px 24px 18px; margin-bottom: 18px;
    box-shadow: 0 8px 22px rgba(17, 17, 17, .08);
}
.dash-hello h2 { margin: 0 0 6px; font-size: 1.7rem; text-transform: uppercase; }
.dash-hello p:last-child { margin: 0; max-width: 40rem; }
.dash-split { display: grid; grid-template-columns: 1.35fr .85fr; gap: 16px; align-items: start; }
.fig-ico {
    width: 46px; height: 46px; flex-shrink: 0; background: var(--color-sand); color: var(--color-red);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.spot {
    display: grid; grid-template-columns: 132px 1fr; background: #fff; color: inherit;
    border: 1px solid #eadfce; margin: 12px 0;
}
.spot:hover { color: inherit; }
.spot img { width: 132px; height: 104px; object-fit: cover; display: block; }
.spot div { padding: 10px 12px; }
.spot h3 { font-size: 1rem; margin: 0 0 2px; text-transform: uppercase; }
.spot p { margin: 0; color: #5c564c; font-size: .88rem; }
.spot-date {
    font-family: var(--font-heading); letter-spacing: .6px; text-transform: uppercase;
    color: var(--color-red) !important; font-size: .75rem !important; margin-bottom: 2px !important;
}
.spot-slim { grid-template-columns: 92px 1fr; }
.spot-slim img { width: 92px; height: 78px; }
.note-line { display: block; padding: 10px 0; border-bottom: 1px solid #eee6d8; color: inherit; }
.note-line strong { display: block; }
.note-line span { color: #6d6456; font-size: .86rem; }
.panel-body .page-actions { margin: 8px 0 12px; }
.access-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
    padding: 12px 0; border-bottom: 1px solid #eee6d8;
}
.access-ticks { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .86rem; }
.access-ticks label { margin: 0; font-weight: 500; }

.topbar-end { display: flex; align-items: center; gap: 18px; }
.wallet-chip {
    display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
    min-width: 112px; padding: 6px 12px 7px; text-decoration: none; color: inherit;
    background: var(--color-sand); border-left: 3px solid var(--color-red);
}
.wallet-chip:hover { color: inherit; }
.wallet-chip.is-on { background: #fff; box-shadow: inset 0 0 0 1px #e4ddd0; }
.wallet-chip span {
    font-size: .68rem; font-weight: 700; letter-spacing: .8px;
    text-transform: uppercase; color: #6d6456; line-height: 1;
}
.wallet-chip strong {
    margin-top: 3px; font-family: var(--font-heading); font-weight: 600;
    font-size: 1.35rem; line-height: 1; color: var(--color-red);
}
.wallet-panel { margin-bottom: 16px; }
.wallet-balance {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 18px 16px;
}
.wallet-kicker {
    margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .8px;
    text-transform: uppercase; color: #6d6456;
}
.wallet-amount {
    margin: 4px 0 0; font-family: var(--font-heading); font-weight: 600;
    font-size: 2.6rem; line-height: 1; color: var(--color-red);
}
.panel > .data-table { box-shadow: none; }
.panel > .data-table .table thead th { background: #fff; border-bottom: 1px solid #eee6d8; }
.wallet-form { max-width: none; padding: 0; margin-bottom: 16px; overflow: hidden; }
.wallet-form .panel-head { margin: 0; }
.wallet-body { padding: 16px 18px 18px; }
.wallet-note { margin: 0 0 14px; color: #5c564c; max-width: 38rem; }
.wallet-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.wallet-picks button {
    border: 1px solid #e4dccb; background: #fff; color: #111;
    font-family: var(--font-heading); letter-spacing: .4px;
    padding: 8px 16px; font-weight: 600; cursor: pointer;
}
.wallet-picks button:hover,
.wallet-picks button.is-on { border-color: var(--color-red); color: var(--color-red); background: #fff; }
.wallet-form .form-control { max-width: 280px; margin-bottom: 14px; }
.wallet-methods { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.wallet-methods label { margin: 0; cursor: pointer; }
.wallet-methods input { position: absolute; opacity: 0; pointer-events: none; }
.wallet-methods span {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid #e4dccb; background: #fff; padding: 10px 14px;
    font-weight: 600; color: #222;
}
.wallet-methods input:checked + span { border-color: var(--color-red); color: var(--color-red); }
a.filter-btn { display: inline-block; text-decoration: none; cursor: pointer; border-radius: 20px; padding: 6px 20px; border: 2px solid var(--color-secondary); color: var(--color-secondary); background: transparent; font-family: var(--font-heading); font-weight: 500; margin: 4px; }
a.filter-btn.active, a.filter-btn:hover { background: var(--color-secondary); color: #fff; }
.shop-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 220px; background: var(--color-sand); color: var(--color-red); font-size: 2.4rem; }
.shop-kicker { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--color-red); }
.shop-price { font-family: var(--font-heading); font-size: 2rem; line-height: 1; color: #111; margin: 0 0 12px; }
.shop-stock { margin: 0 0 12px; color: #5c564c; font-size: .92rem; }
.shop-stock.is-out { color: var(--color-red); font-weight: 600; }
.shop-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.shop-steps li { font-family: var(--font-heading); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 20px; border: 1px solid #e4dfd4; color: #8a8478; background: #fff; }
.shop-steps li.is-done { color: #222; border-color: var(--color-sand); background: #f3efe6; }
.shop-steps li.is-now { color: #fff; border-color: var(--color-red); background: var(--color-red); }
.shop-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(17,17,17,.06); box-shadow: 0 10px 28px rgba(17,17,17,.08); transition: .25s ease; }
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(17,17,17,.14); }
.shop-card-photo { position: relative; display: block; background: #efeae1; aspect-ratio: 4 / 3; overflow: hidden; }
.shop-card-photo img, .shop-card-photo .shop-fallback { width: 100%; height: 100%; object-fit: cover; transition: .45s ease; }
.shop-card:hover .shop-card-photo img { transform: scale(1.04); }
.shop-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.shop-card-name { margin: 0 0 6px; font-family: var(--font-heading); font-size: 1.35rem; letter-spacing: .3px; text-transform: uppercase; color: #111; }
.shop-card-name a { color: inherit; text-decoration: none; }
.shop-card-blurb { margin: 0 0 12px; color: #5c564c; font-size: .94rem; line-height: 1.45; }
.shop-card-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.shop-card-sizes span { font-size: .72rem; font-weight: 700; letter-spacing: .4px; border: 1px solid #e4dfd4; border-radius: 999px; padding: 3px 8px; color: #222; background: #fff; }
.shop-card-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
.shop-card-price { font-family: var(--font-heading); font-size: 1.7rem; line-height: 1; color: #111; }
.shop-card .shop-stock { margin: 4px 0 0; }
.shop-card .btn { margin-top: 14px; }
.shop-size-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-size-picks label { margin: 0; cursor: pointer; }
.shop-size-picks input { position: absolute; opacity: 0; pointer-events: none; }
.shop-size-picks span { display: inline-flex; min-width: 46px; justify-content: center; border: 1px solid #e4dccb; background: #fff; padding: 8px 12px; font-family: var(--font-heading); font-weight: 600; letter-spacing: .4px; color: #222; }
.shop-size-picks input:checked + span { background: var(--color-red); border-color: var(--color-red); color: #fff; }
.shop-size-picks input:focus-visible + span { box-shadow: 0 0 0 3px rgba(217,0,0,.15); }
.shop-detail-photo { border-radius: 16px; overflow: hidden; background: #efeae1; box-shadow: 0 10px 28px rgba(17,17,17,.08); }
.shop-detail-photo img, .shop-detail-photo .shop-fallback { width: 100%; height: 460px; object-fit: cover; display: block; }
.shop-copy { max-width: 36rem; color: #333; line-height: 1.65; margin: 0 0 16px; }
@media (max-width: 767px) {
    .shop-detail-photo img, .shop-detail-photo .shop-fallback { height: 280px; }
}
.wallet-methods input:focus + span { box-shadow: 0 0 0 3px rgba(217, 0, 0, .12); }

.figures {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    background: transparent; border: 0; margin-bottom: 22px;
}
.figures > div {
    background: #fff; padding: 16px; border-right: 0;
    border-left: 4px solid var(--color-red);
    box-shadow: 0 8px 22px rgba(17, 17, 17, .08);
    display: flex; align-items: center; gap: 12px;
}
.figures .num {
    display: block; font-family: var(--font-heading); font-weight: 600;
    font-size: 1.85rem; line-height: 1; color: var(--color-red);
}
.figures .lbl {
    display: block; margin-top: 6px; font-size: .72rem; font-weight: 600;
    letter-spacing: .7px; text-transform: uppercase; color: #6d6456;
}

.panel { background: #fff; border: 0; margin-bottom: 18px; box-shadow: 0 8px 22px rgba(17, 17, 17, .08); }
.panel-head {
    padding: 12px 16px; border-bottom: 0; background: var(--color-sand); color: #111;
    font-family: var(--font-heading); font-size: 1rem; letter-spacing: .4px;
    text-transform: uppercase; margin: 0;
}
.panel-body { padding: 4px 16px 12px; }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li {
    display: grid; grid-template-columns: 52px 1fr auto; gap: 14px;
    align-items: center; padding: 12px 0; border-bottom: 1px solid #eee6d8;
}
.agenda li:last-child { border-bottom: 0; }
.agenda .when { text-align: center; background: var(--color-sand); padding: 6px 0 4px; }
.agenda .when b { display: block; font-family: var(--font-heading); font-size: 1.1rem; line-height: 1; font-weight: 600; color: var(--color-red); }
.agenda .when span { font-size: .65rem; letter-spacing: .8px; text-transform: uppercase; color: #6d675c; }
.agenda .where { display: block; color: #6d675c; font-size: .86rem; }
.empty-note { color: #6d675c; margin: 8px 0; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.data-table { background: #fff; border: 0; border-radius: 0; box-shadow: 0 8px 22px rgba(17, 17, 17, .08); overflow: auto; }
.data-table .table { margin: 0; }
.data-table .table thead th {
    background: var(--color-sand); color: #111; font-family: var(--font-body);
    font-size: .72rem; font-weight: 600; letter-spacing: .7px; text-transform: uppercase;
    border: 0; border-bottom: 0; padding: 11px 14px;
}
.data-table .table tbody td { padding: 12px 14px; vertical-align: middle; border-color: #eee6d8; font-size: .94rem; }
.data-table .table tbody tr:hover { background: #fbf9f4; }
.row-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.dash-link {
    background: none; border: 0; padding: 0; color: #111;
    font-weight: 600; font-size: .88rem; font-family: var(--font-body);
}
.dash-link:hover { color: var(--color-red); }
.dash-link-danger { color: #8d2a2a; }
.dash-select {
    width: auto; display: inline-block; border: 1px solid #d5cbb8; border-radius: 4px;
    background: #fff; font-size: .85rem; padding: 4px 8px; color: #222;
}

.mark { font-size: .84rem; color: #333; white-space: nowrap; }
.mark::before {
    content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px;
    border-radius: 50%; background: #b5ad9e; vertical-align: 1px;
}
.mark-ok::before { background: #111; }
.mark-wait::before { background: #b0893e; }
.mark-bad::before { background: var(--color-red); }
.mark-admin::before { background: #111; }

.dash-form {
    max-width: 680px; background: #fff; border: 1px solid #e4ddd0; padding: 20px 20px 16px;
}
.dash-form .form-label { font-weight: 600; font-size: .88rem; margin-bottom: 4px; color: #222; }
.dash-pad .form-control,
.dash-pad .form-select,
.dash-pad textarea.form-control {
    border: 1px solid #d5cbb8; border-radius: 4px; background: #fff;
    padding: 8px 10px; font-size: .95rem; color: #222;
}
.dash-pad .form-control:focus,
.dash-pad .form-select:focus {
    border-color: var(--color-red); box-shadow: 0 0 0 3px rgba(217, 0, 0, .12);
}

.ticket-stack { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.admit {
    display: grid; grid-template-columns: 1fr 188px; color: #fff; position: relative;
    box-shadow: 0 12px 28px rgba(17,17,17,.16);
}
.admit-main { padding: 18px 18px 14px; background: var(--color-green); border-radius: 10px 0 0 10px; }
.admit-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.admit-brand img { width: 58px; height: auto; background: #fff; padding: 4px; border-radius: 4px; }
.admit-org {
    margin: 0; font-family: var(--font-heading); font-size: .78rem; letter-spacing: .8px;
    text-transform: uppercase; color: #fff;
}
.admit-kicker {
    margin: 0; font-family: var(--font-tagline); font-style: italic; font-weight: 500;
    text-transform: none; letter-spacing: 0; color: var(--color-sand); font-size: .95rem;
}
.admit h2 { color: #fff; font-size: 1.55rem; line-height: 1.15; margin: 0 0 4px; }
.admit-place { margin: 0 0 12px; color: rgba(255,255,255,.82); }
.admit-facts { display: flex; gap: 22px; margin-bottom: 14px; }
.admit-facts span {
    display: block; font-size: .68rem; letter-spacing: .8px; text-transform: uppercase; color: var(--color-sand);
}
.admit-facts strong { display: block; color: #fff; font-weight: 600; }
.admit-code { background: #fff; padding: 8px 8px 4px; }
.admit-code p {
    margin: 2px 0 0; text-align: center; color: #111; font-family: var(--font-heading);
    letter-spacing: 1px; font-size: .95rem;
}
.admit-barcode { width: 100%; height: 48px; display: block; }
.admit-barcode rect { fill: #111; }
.admit-stub {
    background: var(--color-sand); color: #111; text-align: center; border-radius: 0 10px 10px 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 16px 12px; position: relative;
    border-left: 2px dashed rgba(17,17,17,.45);
}
.admit-stub::before,
.admit-stub::after {
    content: ""; position: absolute; left: -11px; width: 20px; height: 20px;
    border-radius: 50%; background: var(--color-bg);
}
.admit-stub::before { top: -10px; }
.admit-stub::after { bottom: -10px; }
.admit-stamp {
    margin: 0; font-family: var(--font-heading); font-size: 1rem; letter-spacing: .6px;
    text-transform: uppercase; color: var(--color-red);
}
.admit-valid .admit-stamp { color: var(--color-green); }
.admit-qr { background: #fff; padding: 6px; line-height: 0; }
.admit-qr svg { width: 118px; height: 118px; display: block; }
.admit-num { margin: 0; font-family: var(--font-heading); font-size: .82rem; letter-spacing: .4px; }
.admit-hint { margin: 0; font-size: .72rem; letter-spacing: .6px; text-transform: uppercase; color: #3d3424; }
.admit-used { filter: grayscale(.35); }
.admit-cancelled { opacity: .72; }
.gate-box {
    background: #fff; border: 1px solid #e4ddd0; border-top: 3px solid var(--color-red);
    padding: 16px 16px 14px; margin-bottom: 18px; max-width: 760px;
}
.gate-box p { margin: 0 0 12px; color: #444; }
.gate-row { display: flex; gap: 8px; flex-wrap: wrap; }
.gate-row .form-control { max-width: 280px; }
.gate-result { margin-top: 16px; }
.gate-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
@media print {
    .no-print { display: none !important; }
    body { background: #fff; }
    .admit { box-shadow: none; break-inside: avoid; }
    .admit-stub::before, .admit-stub::after { background: #fff; }
}

.inbox { display: flex; flex-direction: column; gap: 12px; }
.inbox-note { background: #fff; border: 1px solid #e4ddd0; padding: 16px 18px 14px; }
.inbox-note.is-new { border-left: 4px solid var(--color-red); }
.inbox-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.inbox-top h2 {
    font-family: var(--font-body); font-size: 1.05rem; font-weight: 600;
    text-transform: none; letter-spacing: 0; margin: 0;
}
.inbox-top time { color: #7a7368; font-size: .82rem; white-space: nowrap; }
.inbox-from { color: #6d675c; font-size: .88rem; margin: 4px 0 8px; }
.inbox-body { margin: 0 0 12px; }
.chat-line { margin: 0 0 10px; padding: 10px 12px; background: #fff; border: 1px solid #e4ddd0; }
.chat-line.is-office { background: #f7f4ee; }
.chat-line p { margin: 0; }
.chat-line .chat-who { margin-bottom: 4px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6d675c; }
.inbox-actions { display: flex; gap: 16px; }
.gallery-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery-admin article { background: #fff; border: 1px solid #e4ddd0; }
.gallery-admin img { width: 100%; height: 148px; object-fit: cover; display: block; }
.gallery-admin div { padding: 10px 12px 12px; }
.gallery-admin .cap { font-size: .88rem; margin-bottom: 8px; }

/* ----------------------------------------------------------------
   23. Booking page card
   ---------------------------------------------------------------- */
.booking-card { background: #fff; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.1); overflow: hidden; }
.booking-card .booking-header { background: var(--color-primary); color: #fff; padding: 1.5rem; }

/* ----------------------------------------------------------------
   25. Responsive
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
    .figures { grid-template-columns: 1fr 1fr; }
    .dash-split { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .member-form { padding: 22px 16px 18px; margin: 16px 12px 40px; }
    .figures .num { font-size: 1.45rem; }
    .admit { grid-template-columns: 1fr; }
    .admit-main { border-radius: 10px 10px 0 0; }
    .admit-stub { border-left: 0; border-top: 2px dashed rgba(17,17,17,.45); border-radius: 0 0 10px 10px; }
    .admit-stub::before, .admit-stub::after { display: none; }
}

/* ----------------------------------------------------------------
   26. Phones and small tablets
   Desktop layout above 992px is left as it is.
   ---------------------------------------------------------------- */
@media (max-width: 991.98px) {
    html, body { overflow-x: hidden; }
    .sub-title::before, .sub-title::after { display: none; }

    .navbar { padding-left: 16px !important; padding-right: 16px !important; }
    .navbar-brand img { max-height: 40px !important; }
    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 14px 2px;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    }
    .navbar .dropdown-menu {
        position: static;
        float: none;
        border: 0;
        box-shadow: none;
        background: var(--color-bg);
        padding: 0 0 8px 8px;
    }
    .navbar .dropdown-item { padding: 12px 8px; }
    .navbar-collapse > .btn,
    .navbar-collapse > a.btn {
        display: block;
        width: 100%;
        margin: 14px 0 4px !important;
        text-align: center;
    }

    .navbar-toggler {
        width: 46px; height: 46px;
        display: inline-flex !important; align-items: center; justify-content: center;
        border: 1px solid var(--color-dark) !important;
    }
    .navbar-toggler .fa-bars { font-size: 0; line-height: 0; }
    .navbar-toggler .fa-bars::before {
        content: ""; display: block; width: 22px; height: 2px;
        background: var(--color-dark);
        box-shadow: 0 -7px 0 var(--color-dark), 0 7px 0 var(--color-dark);
    }

    .carousel-header, .carousel, .carousel-inner, .carousel-item { max-width: 100%; }
    .carousel-header .carousel-inner .carousel-item { min-height: 88vh; }
    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        left: 0; right: 0; width: auto; padding: 20px 16px 72px; box-sizing: border-box;
    }
    .carousel-caption .text-center { max-width: 100% !important; }
    .carousel-caption .p-4 { padding: 8px !important; }
    .carousel-caption h1, .carousel-caption p { overflow-wrap: break-word; white-space: normal; }
    .carousel-caption .display-1,
    .carousel-caption .display-2 { font-size: 1.85rem !important; line-height: 1.2; margin-bottom: 12px !important; }
    .carousel-caption .fs-5 { font-size: 1rem !important; line-height: 1.5; margin-bottom: 16px !important; }
    .carousel-caption h5 { font-size: .78rem; letter-spacing: .04em; }
    .carousel-header .carousel .carousel-indicators { margin-bottom: 8px; }
    .carousel-header .carousel .carousel-indicators li { margin-right: 8px; border-width: 4px; width: 8px; height: 8px; }

    .bg-breadcrumb { padding: 56px 0 36px; }
    .bg-breadcrumb h1, .display-5 { font-size: 1.85rem; }
    .container.py-5, .container.py-4 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }

    .counter-facts { background-attachment: scroll; }
    .site-contact-bar .container > .d-flex { justify-content: center; }
    .site-contact-bar a { overflow-wrap: anywhere; }
    .copyright .row > div { text-align: center !important; }
    .copyright a { overflow-wrap: anywhere; }

    .footer .footer-item a:hover { padding-left: 0; }

    body > .d-flex { flex-direction: column; }
    .dashboard-sidebar,
    .admin-sidebar {
        width: 100% !important;
        min-height: 0 !important;
        flex-shrink: 0 !important;
        overflow: visible !important;
    }
    .dashboard-sidebar nav,
    .admin-sidebar nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .dashboard-sidebar .sidebar-brand,
    .admin-sidebar .sidebar-brand { flex-direction: row; align-items: center; padding: 12px 16px; }
    .dashboard-sidebar .sidebar-brand img,
    .admin-sidebar .sidebar-brand img { width: 52px; }
    .dashboard-sidebar hr,
    .admin-sidebar .nav-section-title,
    .dashboard-sidebar .nav-section-title { display: none; }
    .dashboard-sidebar .nav-link,
    .admin-sidebar .nav-link {
        white-space: nowrap;
        border-left: 0;
        border-bottom: 3px solid transparent;
        padding: 14px 16px;
    }
    .dashboard-sidebar .nav-link.active,
    .dashboard-sidebar .nav-link:hover,
    .admin-sidebar .nav-link.active,
    .admin-sidebar .nav-link:hover {
        border-left-color: transparent;
        border-bottom-color: var(--color-red);
    }
    .app-shell.is-collapsed .dashboard-sidebar,
    .app-shell.is-collapsed .admin-sidebar { display: none; }
    .dashboard-content, .admin-content { min-height: 0; width: 100%; }
    .topbar-dash, .admin-topbar { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
    .topbar-end { width: 100%; justify-content: space-between; }
    .wallet-balance { flex-wrap: wrap; align-items: flex-start; }
    .wallet-amount { font-size: 2.1rem; }
    .dashboard-content > .p-4, .admin-content > .p-4 { padding: 16px !important; }
    .dash-pad { padding: 16px !important; }
    .data-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .data-table .table { min-width: 640px; }
    .agenda li { grid-template-columns: 48px 1fr; }
    .agenda li .mark { grid-column: 2; }

    input, select, textarea { font-size: 16px; }
}

@media (max-width: 575.98px) {
    .carousel-header .carousel-inner .carousel-item { min-height: 100svh; }
    .carousel-caption .text-center > .btn,
    .text-center .wow > .btn {
        display: flex;
        width: 100%;
        max-width: 320px;
        margin: 8px auto !important;
        justify-content: center;
    }
    .service .mx-5 { margin-left: .75rem !important; margin-right: .75rem !important; }
    .service .btn { white-space: normal; }
    .col-4.col-md-3, .col-8.col-md-9 { flex: 0 0 100%; max-width: 100%; }
    .back-to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
    .event-card .p-4, .feature-item .p-4 { padding: 1rem !important; }
    .gallery-item img { height: 200px; }
}

/* ----------------------------------------------------------------
   27. Design brief — header, outdoor sections, buttons
   ---------------------------------------------------------------- */
.carousel-caption h5 {
    font-family: var(--font-tagline);
    font-style: italic;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0;
    color: var(--color-red) !important;
}
.carousel-nav-btn { background: var(--color-dark); border-radius: 4px; }
.carousel-header .carousel-control-prev:hover .carousel-nav-btn,
.carousel-header .carousel-control-next:hover .carousel-nav-btn { background: var(--color-red); }
.service .btn.bg-light {
    background: transparent !important;
    color: var(--color-dark) !important;
    border: 2px solid var(--color-dark) !important;
}
.service .btn.bg-light:hover { background: var(--color-dark) !important; color: #fff !important; }
.copyright { border-top: 1px solid rgba(17, 17, 17, 0.08); }
#searchModal .modal-content { background: rgba(247,244,238,.97); }
.site-contact-bar { border-top-color: #e4dccb; }
.dropdown-menu .dropdown-item { color: var(--color-text); text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
