:root {
    --bv-navy-950: #102b40;
    --bv-navy-900: #193852;
    --bv-navy-800: #204f73;
    --bv-blue-600: #1e6fa3;
    --bv-cyan-600: #17869f;
    --bv-cyan-500: #22a4ba;
    --bv-surface: #ffffff;
    --bv-canvas: #f3f6fa;
    --bv-border: #dfe7ef;
    --bv-text: #24384c;
    --bv-muted: #6a7b8d;
    --bv-success: #229657;
    --bv-warning: #e9a91d;
    --bv-danger: #d94154;
    --bv-radius-sm: 9px;
    --bv-radius: 14px;
    --bv-radius-lg: 18px;
    --bv-shadow-sm: 0 5px 14px rgba(24, 55, 81, .07);
    --bv-shadow: 0 10px 28px rgba(24, 55, 81, .1);
    --bv-gradient: linear-gradient(125deg, #193852 0%, #1e5f8e 60%, #17869f 100%);
    --bv-sidebar-gradient: linear-gradient(180deg, #193852 0%, #204f73 58%, #176f80 100%);
}

::selection {
    color: #fff;
    background: var(--bv-cyan-600);
}

/* Shared color utilities */
.bg-trinity {
    background-color: var(--bv-navy-900) !important;
    background-image: var(--bv-gradient) !important;
}

.text-trinity,
.text-trinity-gradient {
    color: var(--bv-navy-900) !important;
}

.text-trinity-gradient {
    background: var(--bv-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Public website */
body.site-theme {
    overflow-x: hidden;
    color: var(--bv-text);
    background:
        radial-gradient(circle at 94% 2%, rgba(34, 164, 186, .08), transparent 28rem),
        var(--bv-canvas);
}

.site-theme nav.bg-trinity {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 10px 25px rgba(16, 43, 64, .18);
}

.site-theme nav.bg-trinity a,
.site-theme nav.bg-trinity button {
    transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.site-theme nav.bg-trinity a:hover,
.site-theme nav.bg-trinity button:hover {
    color: #d5f5fb;
}

.site-theme .text-blue-500,
.site-theme .text-blue-600,
.site-theme .text-blue-700,
.site-theme .text-cyan-500 {
    color: var(--bv-cyan-600) !important;
}

.site-theme .bg-blue-600 {
    background-color: var(--bv-blue-600) !important;
}

.site-theme .bg-blue-600:hover,
.site-theme .hover\:bg-blue-700:hover {
    background-color: var(--bv-navy-800) !important;
}

.site-theme input:focus,
.site-theme select:focus,
.site-theme textarea:focus {
    border-color: var(--bv-cyan-500) !important;
    box-shadow: 0 0 0 3px rgba(34, 164, 186, .15) !important;
}

.site-theme .shadow,
.site-theme .shadow-md,
.site-theme .shadow-lg,
.site-theme .shadow-xl {
    box-shadow: var(--bv-shadow) !important;
}

.site-theme #app {
    min-height: 100vh;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: #fff;
    background: rgba(16, 43, 64, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 8px 24px rgba(10, 31, 48, .16);
    backdrop-filter: blur(14px);
}

.site-nav__inner,
.villa-shell,
.site-footer__inner,
.site-footer__bottom {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.site-brand {
    display: inline-flex;
    gap: .65rem;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.site-brand:hover {
    color: #fff !important;
}

.site-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    background: linear-gradient(135deg, #31b6c5, #2585dc);
    border-radius: 12px;
    box-shadow: 0 7px 16px rgba(0, 0, 0, .18);
}

.site-brand strong,
.site-brand small {
    display: block;
    line-height: 1.05;
}

.site-brand strong {
    font-size: 1.02rem;
    letter-spacing: .02em;
}

.site-brand small {
    margin-top: .2rem;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, .68);
    text-transform: uppercase;
}

.site-nav__desktop {
    display: flex;
    gap: .35rem;
    align-items: center;
}

.site-nav__link,
.site-nav__admin-link {
    padding: .6rem .78rem;
    font-size: .86rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    border-radius: 9px;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: #fff !important;
    background: rgba(255, 255, 255, .1);
}

.site-nav__link.is-active {
    box-shadow: inset 0 -2px 0 #36bed0;
}

.site-nav__admin-link {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    margin-left: .35rem;
    color: var(--bv-navy-900);
    background: #fff;
}

.site-nav__admin-link:hover {
    color: var(--bv-navy-900) !important;
    transform: translateY(-1px);
}

.site-nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 11px;
}

.site-profile {
    position: relative;
    margin-left: .35rem;
}

.site-profile summary {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: .58rem .75rem;
    font-size: .84rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, .1);
    border-radius: 9px;
    list-style: none;
}

.site-profile summary::-webkit-details-marker {
    display: none;
}

.site-profile__menu {
    position: absolute;
    top: calc(100% + .7rem);
    right: 0;
    width: 180px;
    padding: .45rem;
    background: #fff;
    border: 1px solid var(--bv-border);
    border-radius: 12px;
    box-shadow: var(--bv-shadow);
}

.site-profile__menu a {
    display: flex;
    gap: .6rem;
    align-items: center;
    padding: .65rem .7rem;
    font-size: .84rem;
    color: var(--bv-text) !important;
    text-decoration: none;
    border-radius: 8px;
}

.site-profile__menu a:hover {
    background: #eef7fa;
}

.site-mobile-menu {
    padding: .25rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-mobile-menu[hidden] {
    display: none;
}

.site-mobile-menu > a,
.site-mobile-menu__account a,
.site-mobile-menu__account span {
    display: block;
    padding: .7rem .8rem;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    border-radius: 8px;
}

.site-mobile-menu > a.is-active,
.site-mobile-menu > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.site-mobile-menu__account {
    padding-top: .5rem;
    margin-top: .5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.villa-hero {
    position: relative;
    display: flex;
    min-height: calc(100vh - 72px);
    overflow: hidden;
    color: #fff;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
}

.villa-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 24, 37, .92) 0%, rgba(12, 37, 54, .7) 45%, rgba(12, 37, 54, .18) 78%),
        linear-gradient(0deg, rgba(9, 28, 42, .48), transparent 45%);
}

.villa-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-block: 5rem;
}

.villa-hero__copy {
    max-width: 690px;
}

.villa-kicker,
.villa-eyebrow {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.villa-kicker {
    padding: .45rem .7rem;
    color: #d5f8fc;
    background: rgba(30, 158, 180, .18);
    border: 1px solid rgba(129, 230, 239, .28);
    border-radius: 999px;
}

.villa-hero h1 {
    margin: 1.2rem 0 1rem;
    font-size: clamp(2.55rem, 6vw, 5.4rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
}

.villa-hero h1 span {
    color: #8fe8f1;
}

.villa-hero__copy > p {
    max-width: 610px;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, .78);
}

.villa-hero__actions,
.villa-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.8rem;
}

.villa-btn {
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem 1.1rem;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 11px;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.villa-btn:hover {
    transform: translateY(-2px);
}

.villa-btn--line {
    color: #fff;
    background: #20b65a;
    box-shadow: 0 10px 24px rgba(32, 182, 90, .25);
}

.villa-btn--line:hover {
    color: #fff;
    background: #18994a;
}

.villa-btn--glass {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .32);
    backdrop-filter: blur(10px);
}

.villa-btn--glass:hover {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.villa-btn--white {
    color: var(--bv-navy-900);
    background: #fff;
    box-shadow: 0 10px 24px rgba(8, 29, 43, .18);
}

.villa-btn--outline-white {
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
}

.villa-btn--outline-white:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.villa-btn--navy {
    color: #fff;
    background: var(--bv-navy-900);
    box-shadow: 0 10px 24px rgba(16, 43, 64, .18);
}

.villa-btn--navy:hover {
    color: #fff;
    background: var(--bv-navy-800);
}

.villa-btn--muted {
    color: var(--bv-text);
    background: #eef3f7;
    border-color: var(--bv-border);
}

.villa-btn--muted:hover {
    color: var(--bv-navy-900);
    background: #e2eaf1;
}

.villa-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    margin-top: 2rem;
    font-size: .83rem;
    color: rgba(255, 255, 255, .72);
}

.villa-hero__highlights span {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
}

.villa-scroll-cue {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    transform: translateX(-50%);
}

.villa-section {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: #fff;
}

.villa-section--light {
    background: #f5f8fa;
}

.villa-story {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.villa-story__media {
    position: relative;
}

.villa-story__media::before {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 45%;
    height: 45%;
    content: '';
    border: 2px solid rgba(34, 164, 186, .45);
    border-radius: 22px;
}

.villa-story__media img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(16, 43, 64, .18);
}

.villa-story__badge {
    position: absolute;
    right: -18px;
    bottom: -18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    color: #fff;
    background: var(--bv-gradient);
    border: 6px solid #f5f8fa;
    border-radius: 50%;
}

.villa-story__badge strong {
    font-size: 1.45rem;
}

.villa-story__badge span {
    font-size: .72rem;
}

.villa-eyebrow {
    color: var(--bv-cyan-600);
}

.villa-story__copy h2,
.villa-section-heading h2,
.villa-cta h2,
.villa-subhero h1 {
    color: var(--bv-navy-900);
    letter-spacing: -.025em;
}

.villa-story__copy h2,
.villa-section-heading h2 {
    margin: .65rem 0 1rem;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
}

.villa-story__copy > p {
    line-height: 1.85;
    color: var(--bv-muted);
}

.villa-story__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .7rem;
    margin-block: 1.6rem;
}

.villa-story__facts div {
    padding: .9rem;
    background: #fff;
    border: 1px solid var(--bv-border);
    border-radius: 12px;
}

.villa-story__facts strong,
.villa-story__facts span {
    display: block;
}

.villa-story__facts strong {
    font-size: 1.15rem;
    color: var(--bv-navy-900);
}

.villa-story__facts span {
    margin-top: .15rem;
    font-size: .72rem;
    color: var(--bv-muted);
}

.villa-text-link {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    font-weight: 700;
    color: var(--bv-blue-600);
    text-decoration: none;
}

.villa-section-heading {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.3rem;
}

.villa-section-heading h2 {
    margin-bottom: 0;
}

.villa-section-heading > p {
    max-width: 390px;
    margin: 0 0 .45rem;
    color: var(--bv-muted);
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.amenity-card {
    padding: 1.4rem;
    background: #f7f9fb;
    border: 1px solid var(--bv-border);
    border-radius: 16px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.amenity-card:hover {
    border-color: rgba(34, 164, 186, .45);
    box-shadow: var(--bv-shadow);
    transform: translateY(-4px);
}

.amenity-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    color: var(--bv-cyan-600);
    background: #e7f5f8;
    border-radius: 12px;
}

.amenity-card h3 {
    margin: 0 0 .4rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bv-navy-900);
}

.amenity-card p {
    margin: 0;
    font-size: .84rem;
    line-height: 1.7;
    color: var(--bv-muted);
}

.villa-gallery-section {
    color: #fff;
    background: #102b40;
}

.villa-section-heading--dark h2,
.villa-section-heading--dark > p {
    color: #fff;
}

.villa-section-heading--dark > p {
    opacity: .65;
}

.villa-section-heading--dark .villa-eyebrow {
    color: #78dce7;
}

.villa-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: .8rem;
}

.villa-gallery__item {
    position: relative;
    overflow: hidden;
    background: #1b3b52;
    border-radius: 13px;
}

.villa-gallery__item--1,
.villa-gallery__item--7 {
    grid-column: span 2;
    grid-row: span 2;
}

.villa-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
}

.villa-gallery__item > span {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: rgba(11, 34, 50, .62);
    border-radius: 9px;
    opacity: 0;
    transition: opacity .25s ease;
    backdrop-filter: blur(6px);
}

.villa-gallery__item:hover img {
    filter: brightness(.82);
    transform: scale(1.045);
}

.villa-gallery__item:hover > span {
    opacity: 1;
}

.villa-cta {
    padding-block: clamp(3rem, 6vw, 5rem);
    color: #fff;
    background: var(--bv-gradient);
}

.villa-cta__inner {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.villa-cta .villa-eyebrow,
.villa-cta h2 {
    color: #fff;
}

.villa-cta h2 {
    margin: .5rem 0 .35rem;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 700;
}

.villa-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.villa-cta__actions {
    flex: 0 0 auto;
    margin-top: 0;
}

.site-footer {
    color: rgba(255, 255, 255, .68);
    background: #0b2233;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.6fr .8fr .8fr;
    gap: 3rem;
    padding-block: 3.5rem;
}

.site-brand--footer {
    margin-bottom: 1rem;
}

.site-footer p {
    max-width: 390px;
    margin: 0;
    font-size: .84rem;
    line-height: 1.7;
}

.site-footer__links,
.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.site-footer__links a,
.site-footer__contact a {
    color: rgba(255, 255, 255, .68);
    text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
    color: #8fe8f1;
}

.site-footer__bottom {
    padding-block: 1rem;
    font-size: .75rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Public inner pages */
.villa-subhero {
    position: relative;
    display: flex;
    min-height: 380px;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background-image: var(--subhero-image);
    background-position: center;
    background-size: cover;
}

.villa-subhero::before {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(9, 29, 44, .92), rgba(12, 43, 63, .48));
}

.villa-subhero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-block: 4rem;
}

.villa-subhero h1 {
    margin: .7rem 0 .6rem;
    font-size: clamp(2rem, 5vw, 3.7rem);
    font-weight: 700;
    color: #fff;
}

.villa-subhero p {
    margin: 0;
    line-height: 1.75;
    color: rgba(255, 255, 255, .75);
}

.villa-page {
    padding-block: clamp(3rem, 6vw, 5rem);
    background: #f4f7fa;
}

.villa-panel {
    padding: clamp(1rem, 3vw, 2rem);
    background: #fff;
    border: 1px solid var(--bv-border);
    border-radius: 18px;
    box-shadow: var(--bv-shadow);
}

.villa-calendar-wrap {
    overflow-x: auto;
}

.villa-calendar-wrap #calendar {
    min-width: 720px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 1.3rem;
}

.contact-card,
.map-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--bv-border);
    border-radius: 18px;
    box-shadow: var(--bv-shadow-sm);
}

.contact-card {
    padding: 1.5rem;
}

.contact-list {
    display: grid;
    gap: .75rem;
}

.contact-item {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: .85rem;
    background: #f6f9fb;
    border-radius: 12px;
}

.contact-item > span {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--bv-cyan-600);
    background: #e7f5f8;
    border-radius: 10px;
}

.contact-item strong,
.contact-item a,
.contact-item small {
    display: block;
}

.contact-item strong {
    font-size: .83rem;
    color: var(--bv-navy-900);
}

.contact-item a,
.contact-item small {
    margin-top: .15rem;
    font-size: .8rem;
    line-height: 1.55;
    color: var(--bv-muted);
    text-decoration: none;
}

.map-card iframe {
    display: block;
    width: 100%;
    min-height: 550px;
    border: 0;
}

.policy-layout {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: 1.5rem;
    align-items: start;
}

.policy-aside {
    position: sticky;
    top: 96px;
}

.policy-aside img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--bv-shadow);
}

.policy-card h2 {
    margin: 0 0 1rem;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--bv-navy-900);
}

.policy-points {
    display: grid;
    gap: .75rem;
    margin-bottom: 1.2rem;
}

.policy-point {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: .85rem;
    background: #f6f9fb;
    border-radius: 12px;
}

.policy-point span {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    background: var(--bv-gradient);
    border-radius: 50%;
}

.policy-point strong {
    color: var(--bv-navy-900);
}

.policy-point p {
    margin: .2rem 0 0;
    font-size: .84rem;
    line-height: 1.65;
    color: var(--bv-muted);
}

.policy-note {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: 1rem;
    color: #27627a;
    background: #eaf7f9;
    border: 1px solid #cae9ee;
    border-radius: 12px;
}

.policy-note i {
    margin-top: .2rem;
    color: var(--bv-cyan-600);
}

.policy-note p {
    margin: 0;
    font-size: .84rem;
    line-height: 1.7;
}

/* Login and booking confirmation */
.villa-login {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
    min-height: 100vh;
    background: #eef3f7;
}

.villa-login__media {
    position: relative;
    background-position: center;
    background-size: cover;
}

.villa-login__media::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(140deg, rgba(10, 31, 47, .88), rgba(21, 111, 131, .42));
}

.villa-login__media {
    display: flex;
    align-items: flex-end;
}

.villa-login__back {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2;
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.villa-login__back:hover {
    color: #fff;
}

.villa-login__brand {
    position: relative;
    z-index: 1;
    max-width: 460px;
    padding: 3rem;
    color: #fff;
}

.villa-login__brand h1 {
    margin: 1rem 0 .6rem;
    font-size: 2.4rem;
    font-weight: 700;
}

.villa-login__brand p {
    color: rgba(255, 255, 255, .72);
}

.villa-login__features {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.4rem;
}

.villa-login__features span {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    padding: .5rem .65rem;
    font-size: .76rem;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 9px;
}

.villa-login__form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.villa-login__card {
    width: 100%;
    max-width: 430px;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--bv-border);
    border-radius: 18px;
    box-shadow: var(--bv-shadow);
}

.villa-login__heading {
    margin-bottom: 1.7rem;
}

.villa-login__heading h2 {
    margin: .5rem 0 .25rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bv-navy-900);
}

.villa-login__heading p {
    margin: 0;
    font-size: .86rem;
    color: var(--bv-muted);
}

.villa-form {
    display: grid;
    gap: 1rem;
}

.villa-field label {
    display: block;
    margin-bottom: .4rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--bv-text);
}

.villa-field__control {
    position: relative;
}

.villa-field__control > i {
    position: absolute;
    top: 50%;
    left: .9rem;
    color: #8b9aaa;
    transform: translateY(-50%);
}

.villa-login__card input {
    width: 100%;
    min-height: 46px;
    padding: .7rem .85rem .7rem 2.65rem;
    color: var(--bv-text);
    background: #fbfcfd;
    border: 1px solid #d9e2ea;
    border-radius: 10px;
}

.villa-login__card input[type="checkbox"] {
    width: 16px;
    min-height: 16px;
    padding: 0;
    accent-color: var(--bv-cyan-600);
}

.villa-field label.is-invalid {
    display: block;
    margin-top: .35rem;
    margin-bottom: 0;
    color: var(--bv-danger);
}

.villa-field input.is-invalid {
    border-color: var(--bv-danger) !important;
}

.villa-remember {
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    width: fit-content;
    font-size: .8rem;
    color: var(--bv-muted);
    cursor: pointer;
}

.villa-login__card button,
.villa-login__card .google-login {
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
}

.villa-login__submit {
    color: #fff;
    background: var(--bv-gradient);
    box-shadow: 0 8px 18px rgba(30, 111, 163, .2);
}

.villa-login__submit:disabled {
    cursor: wait;
    opacity: .7;
}

.google-login {
    color: var(--bv-text);
    background: #fff;
    border: 1px solid var(--bv-border);
}

.google-login:hover {
    color: var(--bv-navy-900);
    background: #f7fafc;
}

.villa-login__divider {
    display: flex;
    gap: .7rem;
    align-items: center;
    color: #9aa7b4;
    font-size: .72rem;
}

.villa-login__divider::before,
.villa-login__divider::after {
    flex: 1;
    height: 1px;
    content: '';
    background: var(--bv-border);
}

.villa-login__help {
    margin: 1.5rem 0 0;
    font-size: .72rem;
    line-height: 1.6;
    color: #93a0ad;
    text-align: center;
}

.villa-subhero--compact {
    min-height: 310px;
}

.confirmation-shell {
    max-width: 900px;
}

.confirmation-card__heading {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.confirmation-card__heading h2 {
    margin: .4rem 0 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bv-navy-900);
}

.confirmation-status {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    padding: .45rem .65rem;
    font-size: .74rem;
    font-weight: 600;
    color: #916b08;
    background: #fff7dc;
    border-radius: 999px;
}

.confirmation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.confirmation-item {
    padding: .9rem;
    background: #f6f9fb;
    border-radius: 11px;
}

.confirmation-item small,
.confirmation-item strong {
    display: block;
}

.confirmation-item small {
    color: var(--bv-muted);
}

.confirmation-item small i {
    width: 18px;
    color: var(--bv-cyan-600);
}

.confirmation-item strong {
    margin-top: .25rem;
    color: var(--bv-navy-900);
}

.confirmation-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem;
    margin-top: 1rem;
    color: #fff;
    background: var(--bv-gradient);
    border-radius: 13px;
}

.confirmation-total span {
    color: rgba(255, 255, 255, .75);
}

.confirmation-total strong {
    font-size: 1.55rem;
}

.confirmation-total small {
    font-size: .76rem;
}

.confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.3rem;
}

@media (max-width: 900px) {
    .site-nav__desktop {
        display: none;
    }

    .site-nav__toggle {
        display: inline-flex;
    }

    .villa-story,
    .contact-layout,
    .policy-layout {
        grid-template-columns: 1fr;
    }

    .amenity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .villa-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 190px;
    }

    .policy-aside {
        position: static;
    }

    .villa-login {
        grid-template-columns: 1fr;
    }

    .villa-login__media {
        min-height: 350px;
    }

    .policy-aside img {
        max-height: 520px;
        aspect-ratio: auto;
        object-position: center 30%;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__inner > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .site-theme [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }

    .site-nav__inner,
    .villa-shell,
    .site-footer__inner,
    .site-footer__bottom {
        width: min(100% - 1.25rem, 1180px);
    }

    .site-nav__inner {
        min-height: 64px;
    }

    .villa-hero {
        min-height: calc(100svh - 64px);
        background-position: 62% center;
    }

    .villa-hero__overlay {
        background: linear-gradient(0deg, rgba(8, 24, 37, .95) 0%, rgba(10, 34, 50, .72) 65%, rgba(10, 34, 50, .35));
    }

    .villa-hero__content {
        align-items: flex-end;
        padding-block: 4rem 5.5rem;
    }

    .villa-hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.5rem);
    }

    .villa-hero__actions,
    .villa-btn,
    .villa-cta__actions {
        width: 100%;
    }

    .villa-story__media::before,
    .villa-story__badge {
        display: none;
    }

    .villa-story__facts,
    .amenity-grid,
    .confirmation-grid {
        grid-template-columns: 1fr;
    }

    .villa-section-heading,
    .villa-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .villa-gallery {
        grid-auto-rows: 150px;
    }

    .villa-gallery__item--1,
    .villa-gallery__item--7 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .site-footer__inner > :first-child {
        grid-column: auto;
    }

    .villa-subhero {
        min-height: 320px;
    }

    .villa-panel,
    .contact-card {
        padding: 1rem;
        border-radius: 14px;
    }

    .map-card iframe {
        min-height: 420px;
    }

    .villa-login__form-wrap {
        padding: 1rem;
    }

    .villa-login__media {
        min-height: 300px;
    }

    .villa-login__brand {
        padding: 1.5rem;
    }

    .villa-login__brand h1 {
        font-size: 2rem;
    }

    .villa-login__back {
        top: 1.25rem;
        left: 1.25rem;
    }

    .villa-login__card {
        padding: 1.3rem;
    }

    .confirmation-card__heading,
    .confirmation-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .confirmation-actions .villa-btn {
        width: 100%;
    }
}

/* Admin shell */
body.admin-theme {
    font-family: 'Kanit', sans-serif;
    color: var(--bv-text);
    background: var(--bv-canvas);
}

.admin-theme .content-wrapper {
    min-height: calc(100vh - 64px) !important;
    background:
        radial-gradient(circle at 92% 4%, rgba(30, 139, 166, .08), transparent 23rem),
        var(--bv-canvas);
}

.admin-theme .content-header {
    padding: 1.25rem 1.5rem .65rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bv-navy-900);
}

.admin-theme .admin-page-title {
    display: flex;
    gap: .6rem;
    align-items: center;
}

.admin-theme .admin-page-title::before {
    width: 9px;
    height: 9px;
    content: '';
    background: var(--bv-cyan-500);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(34, 164, 186, .12);
}

.admin-theme .content {
    padding: .35rem 1.25rem 1.5rem !important;
}

.admin-theme .footer-widget {
    display: none;
}

.admin-theme .main-header {
    min-height: 64px;
    background: rgba(255, 255, 255, .96) !important;
    border: 0;
    box-shadow: 0 1px 0 rgba(26, 55, 82, .08);
    backdrop-filter: blur(10px);
}

.admin-theme .main-header .nav-link[data-widget="pushmenu"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: .35rem;
    color: #31516e;
    background: #eef3f8;
    border-radius: 11px;
}

.admin-theme .main-sidebar.custom-sidebar-color {
    background: var(--bv-sidebar-gradient) !important;
    box-shadow: 8px 0 30px rgba(15, 43, 65, .16) !important;
}

.admin-theme .custom-sidebar-color .brand-link {
    display: flex;
    gap: .65rem;
    align-items: center;
    min-height: 64px;
    padding: .8rem 1rem;
    background: rgba(10, 31, 48, .26) !important;
    border-bottom-color: rgba(255, 255, 255, .08);
}

.admin-theme .custom-sidebar-color .brand-link::before {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-family: 'Font Awesome 6 Free';
    font-size: .92rem;
    font-weight: 900;
    color: #fff;
    content: '\f594';
    background: linear-gradient(135deg, #31b6c5, #2585dc);
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(14, 29, 44, .24);
}

.admin-theme .custom-sidebar-color .brand-text {
    font-size: 1rem;
    font-weight: 700 !important;
    letter-spacing: .01em;
}

.admin-theme .custom-sidebar-color .sidebar {
    padding: 0 .7rem;
}

.admin-theme .custom-sidebar-color .user-panel {
    padding: .85rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 12px;
}

.admin-theme .custom-sidebar-color .user-panel .info {
    padding: 0;
    font-size: .86rem;
}

.admin-theme .custom-sidebar-color .nav-header {
    padding: .6rem .75rem .45rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .46);
    text-transform: uppercase;
}

.admin-theme .custom-sidebar-color .nav-sidebar .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .65rem .75rem;
    margin-bottom: .25rem;
    border-radius: 10px;
    transition: background-color .2s ease, transform .2s ease;
}

.admin-theme .custom-sidebar-color .nav-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, .1) !important;
    transform: translateX(2px);
}

.admin-theme .custom-sidebar-color .nav-sidebar .nav-link.active {
    color: var(--bv-navy-900) !important;
    background: #fff !important;
    box-shadow: 0 8px 18px rgba(10, 35, 55, .18);
}

.admin-theme .custom-sidebar-color .nav-sidebar .nav-link.active .nav-icon {
    color: var(--bv-cyan-600) !important;
}

.admin-theme .custom-sidebar-color .nav-sidebar .nav-icon {
    width: 1.4rem;
    margin-right: .55rem;
    font-size: .92rem;
}

/* Admin components */
.admin-theme .card {
    overflow: hidden;
    border: 1px solid var(--bv-border);
    border-radius: var(--bv-radius);
    box-shadow: var(--bv-shadow-sm);
}

.admin-theme .card-header {
    padding: .9rem 1.1rem;
    color: var(--bv-navy-900);
    background: #fff;
    border-bottom: 1px solid var(--bv-border);
}

.admin-theme .card-header.bg-primary,
.admin-theme .bg-primary,
.admin-theme .bg-blue-600,
.admin-theme .bg-grad-5,
.admin-theme .btn-primary {
    color: #fff !important;
    background-color: var(--bv-blue-600) !important;
    background-image: var(--bv-gradient) !important;
    border-color: var(--bv-blue-600) !important;
}

.admin-theme .text-blue,
.admin-theme .text-blue-600,
.admin-theme .text-blue-700 {
    color: var(--bv-blue-600) !important;
}

.admin-theme .bg-blue-50 {
    background-color: #edf7fb !important;
}

.admin-theme .bg-info,
.admin-theme .btn-info {
    color: #fff !important;
    background-color: var(--bv-cyan-600) !important;
    background-image: linear-gradient(135deg, #27a5b9, #177b92) !important;
    border-color: var(--bv-cyan-600) !important;
}

.admin-theme .bg-success,
.admin-theme .btn-success {
    color: #fff !important;
    background-color: var(--bv-success) !important;
    background-image: linear-gradient(135deg, #2eaf68, #188447) !important;
    border-color: var(--bv-success) !important;
}

.admin-theme .bg-danger,
.admin-theme .btn-danger {
    color: #fff !important;
    background-color: var(--bv-danger) !important;
    background-image: linear-gradient(135deg, #e3515f, #be3143) !important;
    border-color: var(--bv-danger) !important;
}

.admin-theme .bg-warning,
.admin-theme .btn-warning {
    color: #443006 !important;
    background-color: var(--bv-warning) !important;
    background-image: linear-gradient(135deg, #f8c13c, #e79b13) !important;
    border-color: var(--bv-warning) !important;
}

.admin-theme .btn {
    font-weight: 600;
    border-radius: var(--bv-radius-sm);
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.admin-theme .btn:hover {
    filter: brightness(.97);
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(22, 55, 80, .12);
}

.admin-theme .btn-outline-primary {
    color: var(--bv-blue-600);
    border-color: var(--bv-blue-600);
}

.admin-theme .btn-outline-primary:hover {
    color: #fff;
    background: var(--bv-gradient);
}

.admin-theme .btn-trinity,
.admin-theme .btn-history {
    color: #fff !important;
    background: var(--bv-gradient) !important;
    border-color: var(--bv-blue-600) !important;
}

.admin-theme .small-box {
    min-height: 115px;
    overflow: hidden;
    border-radius: var(--bv-radius);
    box-shadow: var(--bv-shadow-sm);
}

.admin-theme .small-box .inner {
    position: relative;
    z-index: 2;
    padding: 1rem;
}

.admin-theme .small-box h3 {
    font-size: 1.7rem;
}

.admin-theme .small-box .icon {
    top: 12px;
    right: 14px;
    color: rgba(16, 43, 64, .18);
}

.admin-theme .table {
    color: var(--bv-text);
}

.admin-theme .table thead th {
    padding: .8rem .7rem;
    color: var(--bv-navy-900) !important;
    background: #f2f6fa;
    border-top: 0;
    border-bottom: 1px solid var(--bv-border);
}

.admin-theme .table tbody td {
    padding: .72rem;
    vertical-align: middle;
    border-color: #e9eef3;
}

.admin-theme .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(224, 234, 243, .46);
}

.admin-theme .table-hover tbody tr:hover {
    background-color: rgba(34, 164, 186, .08);
}

.admin-theme .form-control,
.admin-theme .form-select,
.admin-theme .custom-select,
.admin-theme .select2-container--default .select2-selection--single {
    color: var(--bv-text);
    background-color: #fff;
    border-color: #d6e0e9;
    border-radius: var(--bv-radius-sm);
}

.admin-theme .form-control:focus,
.admin-theme .form-select:focus,
.admin-theme .custom-select:focus,
.admin-theme .select2-container--focus .select2-selection--single {
    border-color: var(--bv-cyan-500) !important;
    box-shadow: 0 0 0 3px rgba(34, 164, 186, .14) !important;
}

.admin-theme .badge {
    padding: .38em .62em;
    font-weight: 600;
    border-radius: 999px;
}

.admin-theme .page-link {
    color: var(--bv-blue-600);
}

.admin-theme .page-item.active .page-link {
    background: var(--bv-gradient);
    border-color: var(--bv-blue-600);
}

.admin-theme .dataTables_filter input,
.admin-theme .dataTables_length select {
    min-height: 38px;
    border: 1px solid #d6e0e9;
    border-radius: var(--bv-radius-sm);
}

.admin-theme .fc .fc-button-primary {
    color: #40546a;
    background: #f2f6fa;
    border-color: #dce4ed;
}

.admin-theme .fc .fc-button-primary:hover,
.admin-theme .fc .fc-button-primary:not(:disabled).fc-button-active {
    color: #fff;
    background: var(--bv-gradient);
    border-color: var(--bv-blue-600);
}

@media (max-width: 576px) {
    .admin-theme .content-header {
        padding: 1rem .75rem .45rem;
        font-size: 1.05rem;
    }

    .admin-theme .content {
        padding: .25rem .75rem 1rem !important;
    }

    .admin-theme .small-box h3 {
        font-size: 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-theme .custom-sidebar-color .nav-sidebar .nav-link,
    .admin-theme .btn,
    .site-theme nav.bg-trinity a,
    .site-theme nav.bg-trinity button {
        transition: none;
    }
}
