/* ===================================
   POSADITA SAN MIGUEL - TEMA PREMIUM
   Azul marino + dorado + marfil
   =================================== */

:root {
    --navy: #0B1B33;
    --navy-2: #13294B;
    --navy-3: #1B3A66;
    --gold: #D4AF37;
    --gold-soft: #E7CB6A;
    --gold-dark: #8A6B14;
    --ivory: #F7F5EF;
    --ink: #1E2937;
    --muted: #55606E;
    --line: #E6E1D3;

    --color-primary: var(--navy);
    --color-gold: var(--gold);
    --color-neutral-light: var(--ivory);
    --color-text: var(--ink);
    --color-text-light: var(--muted);
    --color-border: var(--line);
}

/* ===================================
   BASE
   =================================== */

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
    background-color: var(--ivory);
    color: var(--ink);
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    font-weight: 700;
}

p { color: var(--muted); }

a { color: var(--gold-dark); transition: color .25s ease, background-color .25s ease; }
a:hover { color: var(--navy); text-decoration: none; }

img { max-width: 100%; }

:focus-visible { outline: 3px solid rgba(212, 175, 55, .55); outline-offset: 2px; }

/* ===================================
   ENCABEZADO PÚBLICO (siempre azul marino)
   =================================== */

.header-area,
.background-header {
    background: var(--navy) !important;
    height: 96px !important;
    border-bottom: 2px solid var(--gold) !important;
    box-shadow: 0 6px 24px rgba(11, 27, 51, .35) !important;
}

.header-area .main-nav,
.background-header .main-nav { min-height: 94px; }

.header-area .main-nav a.logo,
.background-header .main-nav a.logo {
    background: none !important;
    width: auto !important;
    height: auto !important;
    margin-top: 8px !important;
    display: inline-block;
}

.header-area .main-nav a.logo img,
.background-header .main-nav a.logo img {
    height: 78px;
    width: auto;
    display: block;
}

.header-area .main-nav .nav,
.background-header .main-nav .nav { margin-top: 28px !important; }

.header-area .main-nav .nav li a,
.background-header .main-nav .nav li a {
    color: #F3ECD3 !important;
    font-size: 13px;
    letter-spacing: 1.4px;
    font-weight: 600;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active,
.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
    color: var(--gold) !important;
}

.header-area .main-nav .nav li:last-child a,
.background-header .main-nav .nav li:last-child a { color: #F3ECD3 !important; padding: 0 !important; }

.header-area .main-nav .nav li:last-child a:hover,
.header-area .main-nav .nav li:last-child a.active,
.background-header .main-nav .nav li:last-child a:hover,
.background-header .main-nav .nav li:last-child a.active { background: transparent !important; color: var(--gold) !important; }

.main-white-button a,
.background-header .main-nav .nav li:last-child .main-white-button a,
.header-area .main-nav .nav li:last-child .main-white-button a {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%) !important;
    color: var(--navy) !important;
    font-weight: 700;
    border-radius: 6px;
    padding: 0 22px !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, .3);
}

.main-white-button a i,
.background-header .main-nav .nav li:last-child .main-white-button a i {
    background: var(--navy) !important;
    color: var(--gold) !important;
}

.main-white-button a:hover { background: #fff !important; color: var(--navy) !important; }

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after,
.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
    background-color: var(--gold) !important;
}

.header-area .main-nav .menu-trigger.active span { background-color: transparent !important; }

.main-nav ul li .dropdown-menu {
    background: var(--navy-2);
    border: 1px solid rgba(212, 175, 55, .35);
    border-radius: 8px;
    padding: 6px 0;
}

.main-nav ul li .dropdown-menu a,
.main-nav ul li .dropdown-menu button {
    color: #F3ECD3 !important;
    background: transparent;
    height: auto !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 14px !important;
}

.main-nav ul li .dropdown-menu a:hover,
.main-nav ul li .dropdown-menu button:hover {
    background: rgba(212, 175, 55, .12) !important;
    color: var(--gold) !important;
}

@media (max-width: 767px) {
    .header-area, .background-header { background: var(--navy) !important; height: auto !important; min-height: 96px; padding: 0 15px; }
    .header-area .main-nav .menu-trigger { top: 28px !important; right: 20px; }
    .header-area .logo { margin-left: 0 !important; }
    .header-area .main-nav .nav,
    .background-header .main-nav .nav { margin-top: 96px !important; }
    .header-area .main-nav .nav li { background: var(--navy-2) !important; border-bottom: 1px solid rgba(212, 175, 55, .2) !important; }
    .header-area .main-nav .nav li a,
    .header-area.header-sticky .nav li a {
        background: transparent !important;
        color: #F3ECD3 !important;
        padding: 0 20px !important;
        text-align: left;
    }
    .header-area .main-nav .nav li a:hover { background: rgba(212, 175, 55, .12) !important; color: var(--gold) !important; }
    .header-area .main-nav .nav li:last-child { display: block !important; padding: 12px 20px !important; }
}

/* ===================================
   HERO / BANNERS
   =================================== */

.main-banner {
    background-image: linear-gradient(180deg, rgba(11, 27, 51, .88) 0%, rgba(11, 27, 51, .78) 100%), url(../images/banner-bg.jpg) !important;
    padding: 210px 0 120px !important;
}

.main-banner .top-text h6 {
    color: var(--gold) !important;
    letter-spacing: 3px;
    font-weight: 600;
}

.main-banner .top-text h2 { color: #fff !important; text-transform: none; font-weight: 700; }

#search-form {
    background: #fff;
    border-radius: 12px;
    padding: 26px 24px 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    border-top: 4px solid var(--gold);
}

#search-form .row > div { margin-bottom: 16px; }
#search-form .form-select,
#search-form .form-control { height: 52px; line-height: 1.3; padding: 12px 16px; }

.site-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    padding: 150px 0 60px;
    border-bottom: 3px solid var(--gold);
    position: relative;
}

.site-hero .page-heading {
    background: none !important;
    padding: 0 !important;
    overflow: visible;
}

.site-hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: 12px; }
.site-hero p { color: #E9E2C8; font-size: 1.1rem; max-width: 720px; }

/* ===================================
   SECCIONES PÚBLICAS
   =================================== */

.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading h2 { color: var(--navy); font-size: 2rem; }
.section-heading p { color: var(--muted); }
.section-heading h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--gold);
    margin: 14px auto 0;
}

.latest-listings,
.listings-section,
.categories-section,
.listings-by-category,
.contact-section,
.listing-detail-section,
.create-listing-section { padding: 70px 0 30px; }

.listing-item,
.category-item,
.filters,
.listing-form,
.listing-detail,
.listing-sidebar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(11, 27, 51, .07);
    overflow: hidden;
}

.listing-item { height: 100%; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.listing-item:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(11, 27, 51, .16); }

.listing-item > a { display: block; overflow: hidden; }
.listing-item > a img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}
.listing-item:hover > a img { transform: scale(1.05); }

.listing-content { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.listing-content h3 { font-size: 1.2rem; margin-bottom: 8px; }
.listing-location { color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.listing-location i { color: var(--gold-dark); margin-right: 6px; }
.listing-description { font-size: .95rem; flex: 1; }

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 14px;
}
.listing-footer .price { color: var(--navy); font-weight: 700; font-size: 1.25rem; }

.view-btn {
    background: var(--navy);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
}
.view-btn:hover { background: var(--gold); color: var(--navy) !important; }

.badge, .badge-primary { background: rgba(212, 175, 55, .18); color: var(--gold-dark); font-weight: 600; padding: 5px 10px; border-radius: 20px; }

.category-item { padding: 36px 28px; text-align: center; height: 100%; transition: transform .3s, box-shadow .3s; }
.category-item:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(11, 27, 51, .16); }
.category-icon {
    width: 76px; height: 76px; border-radius: 50%;
    background: var(--navy); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem; margin: 0 auto 18px;
}
.category-link { font-weight: 700; color: var(--gold-dark); }

.filters { padding: 22px; overflow: visible; }
.filters .form-control, .filters .form-select, .filters .btn { height: 48px; }

.listing-form { padding: 40px; overflow: visible; }
.listing-form h3 { font-size: 1.2rem; margin: 22px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.listing-detail { padding-bottom: 10px; }
.listing-main-image { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.listing-details-content { padding: 28px; }
.no-image { background: var(--ivory); color: var(--muted); padding: 80px 20px; text-align: center; }
.spec-item { background: var(--ivory); border-radius: 10px; padding: 14px; text-align: center; margin-bottom: 12px; color: var(--ink); }
.spec-item i { color: var(--gold-dark); margin-right: 8px; }
.listing-sidebar { padding: 28px; overflow: visible; }
.price-box .price { color: var(--navy); font-weight: 700; }
.btn-block { display: block; width: 100%; }

.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
    padding: 80px 0;
    margin-top: 40px;
    text-align: center;
    border-top: 3px solid var(--gold);
}
.cta-section h2 { color: #fff; }
.cta-section p { color: #E9E2C8; margin-bottom: 26px; }
.cta-section .main-button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
    color: var(--navy) !important;
    display: inline-block;
}
.cta-section .main-button:hover { background: #fff; }

.pagination-section { text-align: center; margin: 30px 0; }

/* ===================================
   BOTONES
   =================================== */

.btn-primary, .main-button {
    background: var(--navy);
    color: #fff;
    border: 1px solid var(--navy);
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: all .25s ease;
}

#search-form .main-button { width: 100%; height: 52px; display: block; }

.btn-primary:hover, .btn-primary:focus, .main-button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: 0 8px 20px rgba(212, 175, 55, .35);
}

.btn-secondary, .btn-outline-primary {
    background: #fff;
    color: var(--navy);
    border: 2px solid var(--gold);
    border-radius: 8px;
    font-weight: 600;
}
.btn-secondary:hover, .btn-outline-primary:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.btn-sm { padding: 7px 14px; font-size: .88rem; }

/* Mismo tamaño para botones primario y secundario (p. ej. pie de los modales) */
.btn-primary, .btn-secondary, .btn-outline-primary {
    border-width: 2px;
    border-style: solid;
    padding: 10px 26px;
    font-size: 1rem;
    line-height: 1.5;
}
.btn-primary.btn-sm, .btn-secondary.btn-sm { padding: 7px 14px; font-size: .88rem; }
.btn-lg.btn-primary { padding: 12px 28px; }
.modal-footer .btn { min-width: 120px; }

/* ===================================
   FORMULARIOS
   =================================== */

.form-control, .form-select {
    border: 1px solid #CFC9B8;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    color: var(--ink);
    background-color: #fff;
}

.form-control::placeholder { color: #7C8591; }

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .18);
}

.form-label, .contact-form label {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: .95rem;
}

.form-group { margin-bottom: 20px; }

/* ===================================
   CONTACTO
   =================================== */

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(11, 27, 51, .08);
}

.contact-info-item {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: 14px;
    height: 100%;
    box-shadow: 0 4px 18px rgba(11, 27, 51, .06);
    transition: transform .3s, box-shadow .3s;
}
.contact-info-item:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(11, 27, 51, .14); }

.contact-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--navy); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 14px;
}
.contact-info-item h4 { color: var(--navy); margin: 8px 0 10px; }
.contact-info-item p { color: var(--muted); margin: 0; }
.contact-info-item p a { color: var(--navy) !important; font-weight: 700; }

.map-wrapper {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 30px rgba(11, 27, 51, .12);
    background: #fff;
}
.map-wrapper iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-caption { padding: 14px 20px; background: var(--navy); color: #F3ECD3; font-size: .95rem; }
.map-caption i { color: var(--gold); margin-right: 8px; }
.map-caption a { color: var(--gold) !important; font-weight: 600; margin-left: 8px; }

/* ===================================
   ALERTAS
   =================================== */

.alert { border: none; border-radius: 8px; border-left: 4px solid var(--gold); }
.alert-success { background: #E7F4EC; color: #14532D; border-left-color: #16A34A; }
.alert-danger { background: #FDECEC; color: #7F1D1D; border-left-color: #DC2626; }
.alert-info { background: #EAF1FB; color: #1E3A8A; border-left-color: #3B6FD4; }
.alert-warning { background: #FBF3DA; color: #5C4509; }
.alert p { color: inherit; margin: 0; }

/* ===================================
   PIE DE PÁGINA
   =================================== */

footer {
    background: var(--navy) !important;
    border-top: 3px solid var(--gold) !important;
    padding-top: 64px;
    margin-top: 70px;
    color: #E9E2C8;
}
footer h4 { color: var(--gold) !important; font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
footer p, footer li { color: #D5D9E2; }
footer a { color: #E9E2C8 !important; }
footer a:hover { color: var(--gold) !important; border-bottom: 0 !important; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 10px; }
footer .footer-logo { height: 120px; width: auto; margin-bottom: 14px; }
footer .sub-footer { background: rgba(0, 0, 0, .25); border-top: 1px solid rgba(212, 175, 55, .25) !important; margin-top: 40px; padding: 22px 0; }
footer .sub-footer p { margin: 0; color: #B9C0CE; font-size: .9rem; }

.cta-section + footer, .listings-section + footer { margin-top: 0; }

/* ===================================
   PANEL (DASHBOARD)
   =================================== */

body.dashboard-body { background: var(--ivory); }

.dashboard-navbar {
    background: var(--navy) !important;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 6px 24px rgba(11, 27, 51, .3) !important;
    padding: 10px 0 !important;
    margin-bottom: 0 !important;
    color: #fff;
}

.navbar-brand { display: flex; align-items: center; margin: 0; padding: 0; }
.navbar-brand img { height: 68px; width: auto; }

.navbar-user { display: flex; align-items: center; gap: 20px; }
.user-info { display: flex; flex-direction: column; align-items: flex-end; border-right: 1px solid rgba(212, 175, 55, .3); padding-right: 20px; }
.user-name { color: #fff; font-weight: 600; margin: 0; }
.user-email { color: var(--gold-soft); font-size: .85rem; margin: 0; }

.logout-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%) !important;
    color: var(--navy) !important;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(212, 175, 55, .25);
}
.logout-btn:hover { background: #fff !important; }

.dashboard-container { background: var(--ivory); min-height: calc(100vh - 100px); padding: 50px 0; }
.dashboard-header { text-align: center; margin-bottom: 20px; }
.dashboard-header h1 { color: var(--navy) !important; font-size: 2.3rem; }
.dashboard-header h1::after { content: ''; display: block; width: 70px; height: 3px; background: var(--gold); margin: 14px auto 0; }
.dashboard-header p { color: var(--muted) !important; font-size: 1.1rem; margin-top: 12px; }

.dashboard-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold) !important;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(11, 27, 51, .07);
    padding: 36px 28px !important;
    color: var(--ink) !important;
    transition: transform .3s, box-shadow .3s;
}
.dashboard-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(11, 27, 51, .16); color: var(--navy) !important; }
.dashboard-card h3 { color: var(--navy); }
.dashboard-card p { color: var(--muted) !important; }
.card-icon {
    width: 84px; height: 84px; border-radius: 50%;
    background: var(--navy); color: var(--gold) !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem !important; margin: 0 auto 14px;
}

.tenants-container, .waiting-list-container { padding: 40px 0 !important; }

.card { background: #fff; border: 1px solid var(--line) !important; border-radius: 14px; box-shadow: 0 4px 18px rgba(11, 27, 51, .07) !important; overflow: hidden; }
.card-header { background: var(--navy); color: #fff; border-bottom: 2px solid var(--gold); }

.dashboard-body .page-header {
    background: #fff !important;
    border: 1px solid var(--line);
    border-left: 5px solid var(--gold);
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(11, 27, 51, .07) !important;
    padding: 24px 28px !important;
}
.dashboard-body .page-header h1 { color: var(--navy); font-size: 1.8rem !important; }
.dashboard-body .page-header p { margin: 4px 0 0; }

.table { background: #fff; color: var(--ink); }
.table thead th { background: var(--navy) !important; color: #fff !important; font-weight: 600; border: none; padding: 14px 15px; }
.table tbody td { border-bottom: 1px solid var(--line); padding: 12px 15px; vertical-align: middle; color: var(--ink); }
.table-striped > tbody > tr:nth-of-type(odd) > * { background-color: #FBFAF6; --bs-table-accent-bg: transparent; }
.table tbody tr:hover > * { background-color: rgba(212, 175, 55, .1) !important; }

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select { border: 1px solid #CFC9B8; border-radius: 8px; padding: 6px 12px; }
.page-item.active .page-link { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-link { color: var(--navy); }

.modal-content { border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 60px rgba(11, 27, 51, .35); overflow: hidden; }
.modal-header { background: var(--navy); color: #fff; border: none; border-bottom: 2px solid var(--gold); }
.modal-header .modal-title { color: #fff; }
.modal-header .btn-close { filter: brightness(0) invert(1); }

.breadcrumb-nav { background: #fff; border-radius: 10px; }

/* ===================================
   LOGIN (Breeze)
   =================================== */

body.auth-body { background: var(--navy); }
.auth-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 16px; background: radial-gradient(circle at 50% 0%, var(--navy-3) 0%, var(--navy) 65%); }
.auth-shell .auth-logo { height: 170px; width: auto; margin-bottom: 18px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 14px; border-top: 4px solid var(--gold); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); padding: 30px 32px; }

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 991px) {
    .main-banner { padding: 170px 0 80px !important; }
    .main-banner .top-text h2 { font-size: 34px; }
    .site-hero h1 { font-size: 2.1rem; }
}

@media (max-width: 767px) {
    .header-area .main-nav a.logo img { height: 66px; }
    .navbar-brand img { height: 56px; }
    .navbar-user { gap: 10px; }
    .user-info { display: none; }
    .site-hero { padding: 130px 0 40px; }
    .site-hero h1 { font-size: 1.7rem; }
    .map-wrapper iframe { height: 320px; }
    .listing-form { padding: 24px; }
    .auth-card { padding: 24px 20px; }
}

/* ===================================
   ANIMACIONES
   =================================== */

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.dashboard-card { animation: fadeIn .5s ease-out both; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Ajustes del buscador de la plantilla */
form#search-form button { background-color: var(--navy); color: #fff; border-radius: 8px; }
form#search-form button:hover { background-color: var(--gold); color: var(--navy); }
form#search-form select, form#search-form input { color: var(--ink); border-color: #CFC9B8; }
form#search-form input::placeholder { color: #7C8591; }

/* Redes sociales */
.social-links { display: flex; justify-content: center; gap: 16px; margin-top: 18px; }
.social-link {
    width: 54px; height: 54px; min-width: 54px; flex: 0 0 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy); color: var(--gold) !important;
    transition: transform .25s, background-color .25s, color .25s, box-shadow .25s;
}
.social-link svg { width: 26px; height: 26px; }
.social-link:hover { background: var(--gold); color: var(--navy) !important; transform: translateY(-4px); box-shadow: 0 8px 18px rgba(212, 175, 55, .4); }

/* Portada: texto de presentación (reemplaza al buscador) */
.main-banner { padding: 190px 0 110px !important; }
.main-banner .top-text h2 { margin-bottom: 28px; }

.hero-about { text-align: center; max-width: 1000px; margin: 0 auto; }
.hero-lead, .hero-claim { text-wrap: balance; }
.hero-lead { color: #E9E2C8; font-size: 1.2rem; line-height: 1.8; margin: 0 auto 30px; max-width: 800px; }

.hero-tags { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-tags li {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 20px; border-radius: 40px;
    border: 1px solid rgba(212, 175, 55, .55);
    background: rgba(255, 255, 255, .06);
    color: #F3ECD3; font-size: .92rem; font-weight: 600; letter-spacing: .5px;
}
.hero-tags li i { color: var(--gold); font-size: 1rem; }

.hero-claim {
    color: #fff; font-size: 1.15rem; line-height: 1.8; margin: 0 auto 34px;
    padding-top: 28px; position: relative; max-width: 800px;
}
.hero-claim::before { content: ''; position: absolute; top: 0; left: 50%; width: 70px; height: 3px; margin-left: -35px; background: var(--gold); }
.hero-claim strong { display: block; color: var(--gold); font-weight: 700; font-size: 1.35rem; margin-top: 4px; text-wrap: balance; }

.hero-cta {
    display: inline-block; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%) !important;
    border-color: var(--gold) !important; color: var(--navy) !important; padding: 14px 36px; font-weight: 700;
    box-shadow: 0 8px 24px rgba(212, 175, 55, .3);
}
.hero-cta:hover { background: #fff !important; border-color: #fff !important; transform: translateY(-2px); }

@media (max-width: 767px) {
    .main-banner { padding: 150px 0 70px !important; }
    .hero-lead, .hero-claim { font-size: 1.05rem; }
    .hero-claim strong { font-size: 1.2rem; }
    .hero-tags li { padding: 8px 14px; font-size: .85rem; }
}

/* ===================================
   PANEL: MENÚ Y PANTALLAS DE CATÁLOGOS
   =================================== */

.dashboard-menu { background: var(--navy-2); border-bottom: 1px solid rgba(212, 175, 55, .35); }
.dashboard-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.dashboard-menu a {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 16px; color: #E9E2C8 !important;
    font-size: .9rem; font-weight: 600; letter-spacing: .3px;
    border-bottom: 3px solid transparent;
}
.dashboard-menu a i { color: var(--gold); }
.dashboard-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
.dashboard-menu a.active { border-bottom-color: var(--gold); color: #fff !important; background: rgba(212, 175, 55, .1); }

.admin-page { padding: 40px 0; }
.dashboard-body .page-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.dashboard-body .page-header h1 { margin: 0; }
.dashboard-body .card-body { padding: 22px; overflow-x: auto; }

.admin-thumb { width: 92px; height: 62px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.admin-thumb-empty { display: flex; align-items: center; justify-content: center; background: var(--ivory); color: #A8A294; font-size: 1.3rem; }
.admin-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); display: block; }
.admin-avatar-lg { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.admin-preview { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); margin-top: 8px; }

.btn-info { background: var(--navy-3); border-color: var(--navy-3); color: #fff; }
.btn-info:hover, .btn-info:focus { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.btn-link { color: var(--gold-dark); font-weight: 600; }

.admin-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; margin-bottom: 14px; }
.admin-gallery-item { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--ivory); }
.admin-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-gallery-item button {
    position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%;
    border: 0; background: rgba(11, 27, 51, .85); color: #fff; display: flex; align-items: center; justify-content: center;
}
.admin-gallery-item button:hover { background: #DC2626; }
.admin-gallery-badge { position: absolute; left: 6px; bottom: 6px; background: var(--gold); color: var(--navy); font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; }

.admin-dropzone {
    display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
    padding: 22px 16px; border: 2px dashed #CFC9B8; border-radius: 12px; background: #FBFAF6;
    color: var(--navy); font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.admin-dropzone:hover { border-color: var(--gold); background: #FBF3DA; }
.admin-dropzone i { font-size: 1.8rem; color: var(--gold-dark); }
.admin-dropzone small { font-weight: 400; color: var(--muted); }
.progress-bar { background-color: var(--gold); }

div.dataTables_wrapper div.dataTables_filter input { margin-left: 8px; }
div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper label { color: var(--muted); }
.swal2-popup { font-family: 'Montserrat', sans-serif; border-radius: 14px; }
.swal2-title { color: var(--navy); }

/* ===================================
   INICIO: EVENTOS
   =================================== */

.events-section { padding: 80px 0 70px; background: #fff; }
.events-carousel { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(11, 27, 51, .18); background: var(--navy); }

.event-slide { display: grid; grid-template-columns: 1.45fr 1fr; min-height: 460px; }
.event-media { position: relative; overflow: hidden; background: var(--navy-2); }
.event-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-body {
    padding: 56px 48px 96px; display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); border-left: 3px solid var(--gold);
}
.event-count { color: var(--gold); font-weight: 700; letter-spacing: 3px; font-size: .85rem; margin-bottom: 18px; }
.event-body h3 { color: #fff; font-size: 1.9rem; line-height: 1.25; margin-bottom: 16px; }
.event-body p { color: #E3DDC8; font-size: 1.02rem; line-height: 1.8; margin: 0; }

.events-controls { position: absolute; right: 48px; bottom: 34px; display: flex; align-items: center; gap: 14px; z-index: 3; }
.events-controls > button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .7);
    background: transparent; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: background-color .2s, color .2s;
}
.events-controls > button:hover { background: var(--gold); color: var(--navy); }
.events-indicators { position: static; margin: 0; gap: 6px; }
.events-indicators button { width: 22px !important; height: 3px !important; border: 0 !important; margin: 0 !important; background-color: #fff !important; opacity: .35; }
.events-indicators button.active { background-color: var(--gold) !important; opacity: 1; }

/* ===================================
   INICIO: VISTA PREVIA DE HABITACIONES
   =================================== */

.rooms-preview { padding: 80px 0; }
.room-card {
    display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(11, 27, 51, .07); transition: transform .3s, box-shadow .3s;
}
.room-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(11, 27, 51, .16); }
.room-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.room-card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.room-card:hover .room-card-media > img { transform: scale(1.05); }
.room-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--gold); }
.room-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.room-card-body p { font-size: .93rem; flex: 1; margin-bottom: 14px; }
.room-card-link { color: var(--gold-dark); font-weight: 700; font-size: .9rem; }
.room-card-link i { margin-left: 6px; transition: transform .25s; }
.room-card:hover .room-card-link i { transform: translateX(5px); }

.room-placeholder {
    width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #E9E2C8;
}
.room-placeholder img { width: 64px; height: auto; opacity: .9; }
.room-placeholder-lg { aspect-ratio: 4 / 3; border-radius: 18px; font-size: .95rem; letter-spacing: 1px; }
.room-placeholder-lg img { width: 96px; }

/* ===================================
   INICIO: OPINIONES
   =================================== */

.opinions-section { padding: 80px 0 30px; }
.opinions-carousel .owl-stage { display: flex; padding: 8px 0 12px; }
.opinions-carousel .owl-item { display: flex; }
.opinion-card {
    position: relative; margin: 0; width: 100%; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 14px;
    padding: 34px 30px 28px; box-shadow: 0 4px 18px rgba(11, 27, 51, .07);
}
.opinion-quote { color: var(--gold); font-size: 1.8rem; margin-bottom: 14px; }
.opinion-card blockquote { color: var(--ink); font-size: 1rem; line-height: 1.8; margin: 0 0 24px; flex: 1; font-style: italic; }
.opinion-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.opinion-card figcaption img { width: 56px !important; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex: 0 0 56px; }
.opinion-card figcaption span { color: var(--navy); font-weight: 700; }
.opinions-carousel .owl-dots { text-align: center; margin-top: 22px; }
.opinions-carousel .owl-dots .owl-dot { width: 26px; height: 4px; margin: 0 4px; border-radius: 2px; background: #CFC9B8; transition: background-color .25s; }
.opinions-carousel .owl-dots .owl-dot.active { background: var(--gold-dark); }

/* ===================================
   HABITACIONES: CATÁLOGO
   =================================== */

.rooms-catalog { padding: 30px 0 20px; }
.room-section-reverse { grid-template-columns: 1fr 1.25fr !important; }
.room-section { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; padding: 70px 0; scroll-margin-top: 110px; }
.room-section + .room-section { border-top: 1px solid var(--line); }
.room-section-reverse .room-gallery { order: 2; }

.room-gallery { min-width: 0; }
.room-carousel { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(11, 27, 51, .2); background: var(--navy); }
.room-carousel .carousel-item { aspect-ratio: 4 / 3; }
.room-zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.room-zoom img { width: 100%; height: 100%; object-fit: cover; display: block; }

.room-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: rgba(11, 27, 51, .78); color: var(--gold); font-size: 1.5rem; line-height: 1; z-index: 2;
    transition: background-color .2s, color .2s;
}
.room-nav:hover { background: var(--gold); color: var(--navy); }
.room-nav-prev { left: 16px; }
.room-nav-next { right: 16px; }
.room-counter { position: absolute; right: 16px; bottom: 16px; z-index: 2; background: rgba(11, 27, 51, .82); color: #fff; font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 30px; }
.room-counter i { color: var(--gold); margin-right: 6px; }

.room-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 4px 2px 8px; }
.room-thumbs button { flex: 0 0 84px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; opacity: .6; transition: opacity .2s, border-color .2s; }
.room-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-thumbs button:hover { opacity: 1; }
.room-thumbs button.active { opacity: 1; border-color: var(--gold); }

.room-info { position: relative; }
.room-number { display: block; font-size: 4.2rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 14px; }
.room-eyebrow { display: block; color: var(--gold-dark); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: .82rem; margin-bottom: 8px; }
.room-info h2 { font-size: 2.1rem; line-height: 1.2; margin-bottom: 18px; padding-bottom: 18px; position: relative; }
.room-info h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 70px; height: 3px; background: var(--gold); }
.room-info p { font-size: 1.05rem; line-height: 1.85; margin-bottom: 28px; }
.room-info .main-button { display: inline-block; }

.room-lightbox .modal-content { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.room-lightbox img { width: 100%; max-height: 86vh; object-fit: contain; border-radius: 12px; }
.room-lightbox .btn-close { position: absolute; top: -14px; right: -6px; z-index: 5; background-color: #fff; opacity: 1; border-radius: 50%; padding: 12px; }

@media (max-width: 991px) {
    .event-slide { grid-template-columns: 1fr; min-height: 0; }
    .event-media { aspect-ratio: 16 / 10; }
    .event-body { padding: 34px 26px 92px; border-left: 0; border-top: 3px solid var(--gold); }
    .event-body h3 { font-size: 1.5rem; }
    .events-controls { right: 26px; bottom: 26px; }
    .room-section, .room-section-reverse { grid-template-columns: 1fr !important; gap: 30px; padding: 50px 0; }
    .room-section-reverse .room-gallery { order: 0; }
    .room-number { font-size: 3.2rem; }
    .room-info h2 { font-size: 1.7rem; }
    .dashboard-menu a { padding: 12px; font-size: .85rem; }
}


/* ===================================
   AJUSTES DEL REPASO DE DISEÑO
   =================================== */

.section-heading h2 { text-transform: none; }
.section-heading p { max-width: 640px; margin: 14px auto 0; }
.dashboard-card { text-align: center; }
.dashboard-card:nth-child(n) { animation-delay: 0s; }
.row > div:nth-child(2) > .dashboard-card { animation-delay: .08s; }
.row > div:nth-child(3) > .dashboard-card { animation-delay: .16s; }
.row > div:nth-child(4) > .dashboard-card { animation-delay: .24s; }
.row > div:nth-child(5) > .dashboard-card { animation-delay: .32s; }
.fw-semibold { font-weight: 600; }
.table td.fw-semibold { color: var(--navy); }
.me-2 { margin-right: .5rem; }

/* Encabezado que se compacta al bajar */
@media (min-width: 768px) {
    .header-area, .header-area .main-nav a.logo img, .header-area .main-nav .nav { transition: all .35s ease !important; }
    .background-header { height: 76px !important; }
    .background-header .main-nav { min-height: 74px; }
    .background-header .main-nav a.logo { margin-top: 6px !important; }
    .background-header .main-nav a.logo img { height: 62px; }
    .background-header .main-nav .nav { margin-top: 18px !important; }
}

/* Subrayado animado en el menú */
@media (min-width: 768px) {
    .header-area .main-nav .nav > li > a:not(.dropdown-toggle) { position: relative; }
    .header-area .main-nav .nav > li > a:not(.dropdown-toggle)::after {
        content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--gold);
        transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
    }
    .header-area .main-nav .nav > li > a:hover::after,
    .header-area .main-nav .nav > li > a.active::after { transform: scaleX(1); }
}

/* Entrada de los encabezados principales */
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.main-banner .top-text h6, .main-banner .top-text h2, .hero-lead, .hero-tags li, .hero-claim, .hero-cta,
.site-hero h1, .site-hero p { animation: heroUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.main-banner .top-text h6 { animation-delay: .1s; }
.main-banner .top-text h2 { animation-delay: .22s; }
.hero-lead { animation-delay: .36s; }
.hero-tags li:nth-child(1) { animation-delay: .50s; }
.hero-tags li:nth-child(2) { animation-delay: .57s; }
.hero-tags li:nth-child(3) { animation-delay: .64s; }
.hero-tags li:nth-child(4) { animation-delay: .71s; }
.hero-tags li:nth-child(5) { animation-delay: .78s; }
.hero-tags li:nth-child(6) { animation-delay: .85s; }
.hero-claim { animation-delay: .98s; }
.hero-claim::before { animation: heroLine .7s ease 1.1s both; }
.hero-cta { animation-delay: 1.12s; }
.site-hero h1 { animation-delay: .1s; }
.site-hero p { animation-delay: .25s; }
.hero-tags li { transition: background-color .25s, border-color .25s, transform .25s; }
.hero-tags li:hover { background: rgba(212, 175, 55, .16); border-color: var(--gold); transform: translateY(-3px); }

/* Aparición al hacer scroll (solo con JavaScript activo) */
.js .reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1) !important;
    transition-delay: var(--reveal-delay, 0ms) !important;
}
.js .reveal.reveal-left { transform: translateX(-48px); }
.js .reveal.reveal-right { transform: translateX(48px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .section-heading.reveal h2::after { transform: scaleX(0); transition: transform .7s ease .35s; }
.js .section-heading.reveal.is-visible h2::after { transform: scaleX(1); }

/* Brillo al pasar sobre los botones dorados */
.hero-cta, .cta-section .main-button, .logout-btn { position: relative; overflow: hidden; }
.hero-cta::after, .cta-section .main-button::after {
    content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg);
}
.hero-cta:hover::after, .cta-section .main-button:hover::after { left: 130%; transition: left .7s ease; }

/* Botones flotantes */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90; height: 56px; min-width: 56px; padding: 0 16px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 30px;
    background: var(--navy); color: var(--gold) !important; border: 2px solid var(--gold); font-weight: 700;
    box-shadow: 0 10px 28px rgba(11, 27, 51, .35); transition: transform .25s, background-color .25s, color .25s;
}
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s ease; margin-left: -10px; }
.wa-float:hover { background: var(--gold); color: var(--navy) !important; transform: translateY(-3px); }
.wa-float:hover span { max-width: 110px; margin-left: 0; }
.wa-float::before {
    content: ''; position: absolute; inset: -2px; border-radius: 30px; border: 2px solid var(--gold);
    animation: waPulse 2.6s ease-out infinite; pointer-events: none;
}
@keyframes waPulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }

.to-top {
    position: fixed; right: 28px; bottom: 92px; z-index: 89; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 1.4rem; line-height: 1;
    box-shadow: 0 6px 18px rgba(11, 27, 51, .18); opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s, transform .3s, visibility .3s, background-color .2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; }
    .wa-float::before { display: none; }
}


/* ===================================
   PANEL: BITÁCORA
   =================================== */

.bitacora-tabs { list-style: none; padding: 0; margin: 0 0 -1px; display: flex; gap: 6px; }
.bitacora-tabs a {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px 12px 0 0;
    background: #ECE8DC; color: var(--muted) !important; font-weight: 600; border: 1px solid var(--line); border-bottom: 0;
}
.bitacora-tabs a.active { background: var(--navy); color: #fff !important; border-color: var(--navy); }
.bitacora-tabs a.active i { color: var(--gold); }
.bitacora-tabs + .card { border-top-left-radius: 0; }
.bitacora-filtros .btn { height: 50px; padding-left: 16px; padding-right: 16px; }

.bitacora-insignia { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.bitacora-alta { background: #E7F4EC; color: #14532D; }
.bitacora-edicion { background: #EAF1FB; color: #1E3A8A; }
.bitacora-baja { background: #FDECEC; color: #7F1D1D; }
.bitacora-neutro { background: #ECE8DC; color: var(--ink); }
.bitacora-navegador { font-size: .85rem; color: var(--muted) !important; }
.bitacora-detalle th { background: var(--ivory) !important; color: var(--navy) !important; }
.bitacora-detalle td { word-break: break-word; }
.pagination { margin: 0; }

.dashboard-menu a { padding: 14px 11px; font-size: .84rem; gap: 6px; }
@media (max-width: 1199px) { .dashboard-menu a { padding: 12px 10px; } }


/* ===================================
   SEO: título principal de la portada
   =================================== */
.hero-heading { margin: 0 0 28px; text-align: center; font-size: inherit; }
.hero-heading .hero-eyebrow {
    display: block; color: var(--gold); font-size: 15px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
    animation: heroUp .8s cubic-bezier(.2, .7, .2, 1) .1s both;
}
.hero-heading .hero-title {
    display: block; color: #fff; font-size: 45px; font-weight: 700; line-height: 1.2; margin-top: 15px;
    animation: heroUp .8s cubic-bezier(.2, .7, .2, 1) .22s both;
}
@media (max-width: 991px) { .hero-heading .hero-title { font-size: 34px; } }
.header-area .main-nav a.logo img, .background-header .main-nav a.logo img { width: auto; }
footer .footer-logo { width: auto; }
.header-area .main-nav .nav > li:last-child > a:not(.dropdown-toggle) { text-transform: uppercase; font-weight: 600; }


/* ===================================
   INICIO: HABITACIONES DISPONIBLES
   =================================== */

@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .75); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.pulse-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulseDot 1.8s ease-out infinite; flex: 0 0 9px; }

.hero-available {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 22px; padding: 9px 20px; border-radius: 40px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%); color: var(--navy) !important;
    font-weight: 700; font-size: .92rem; letter-spacing: .3px; box-shadow: 0 6px 22px rgba(212, 175, 55, .45);
    animation: heroUp .8s cubic-bezier(.2, .7, .2, 1) both; transition: transform .25s, box-shadow .25s;
}
.hero-available .pulse-dot { background: var(--navy); animation-name: pulseDotNavy; }
@keyframes pulseDotNavy { 0% { box-shadow: 0 0 0 0 rgba(11, 27, 51, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(11, 27, 51, 0); } }
.hero-available:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212, 175, 55, .6); }
.main-banner .top-text { text-align: center; }

.availability-section {
    padding: 64px 0 70px; scroll-margin-top: 90px; position: relative;
    background: linear-gradient(135deg, #C9A227 0%, var(--gold) 45%, var(--gold-soft) 100%);
    border-top: 4px solid var(--navy); border-bottom: 4px solid var(--navy);
}
.availability-heading { text-align: center; margin-bottom: 36px; }
.availability-label {
    display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff;
    padding: 7px 18px; border-radius: 30px; font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.availability-heading h2 { color: var(--navy); font-size: 2.3rem; font-weight: 800; margin: 16px 0 8px; }
.availability-heading p { color: #3A2C05; font-size: 1.08rem; font-weight: 500; margin: 0; }

.availability-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.availability-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.availability-grid[data-count="1"] { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }

.availability-card {
    background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 18px 44px rgba(11, 27, 51, .28); transition: transform .3s, box-shadow .3s;
}
.availability-card:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(11, 27, 51, .36); }
.availability-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.availability-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.availability-when {
    position: absolute; left: 14px; bottom: 14px; background: rgba(11, 27, 51, .9); color: var(--gold);
    padding: 6px 14px; border-radius: 30px; font-size: .8rem; font-weight: 700;
}
.availability-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.availability-body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.availability-price { color: var(--navy); font-size: 1.7rem; font-weight: 800; margin: 0 0 8px; line-height: 1.2; }
.availability-price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.availability-note { font-size: .95rem; margin: 0 0 6px; }
.availability-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; }
.availability-cta {
    display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff !important;
    padding: 12px 26px; border-radius: 8px; font-weight: 700; transition: background-color .25s, color .25s, transform .25s;
}
.availability-cta:hover { background: var(--gold-dark); transform: translateY(-2px); }
.availability-more { color: var(--gold-dark) !important; font-weight: 700; font-size: .92rem; }
.availability-more:hover { color: var(--navy) !important; }

.availability-grid[data-count="1"] .availability-card { flex-direction: row; }
.availability-grid[data-count="1"] .availability-media { flex: 0 0 48%; aspect-ratio: auto; min-height: 300px; }
.availability-grid[data-count="1"] .availability-body { justify-content: center; padding: 34px 36px; }
.availability-grid[data-count="1"] .availability-actions { margin-top: 18px; }

.form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.form-switch .form-check-input { width: 2.6em; height: 1.35em; margin-right: 10px; cursor: pointer; }

@media (max-width: 991px) {
    .availability-grid, .availability-grid[data-count="2"] { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .availability-grid[data-count="1"] .availability-card { flex-direction: column; }
    .availability-grid[data-count="1"] .availability-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
    .availability-heading h2 { font-size: 1.7rem; }
    .availability-section { padding: 46px 0 52px; }
}
@media (prefers-reduced-motion: reduce) { .pulse-dot { animation: none; } }

.dashboard-menu a { padding: 14px 9px; font-size: .82rem; }
.dashboard-menu ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.dashboard-menu li { flex: 0 0 auto; }
