/* HMS corporate site — navy + gold modern theme */

@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap");

:root {
    --hms-navy: #20394f;
    --hms-navy-deep: #152736;
    --hms-navy-soft: #2c4a63;
    --hms-gold: #bead8e;
    --hms-gold-soft: #d4c6ae;
    --hms-gold-deep: #a08f6f;
    --hms-white: #ffffff;
    --hms-bg: #f7f5f2;
    --hms-bg-alt: #eeeae4;
    --hms-text: #20394f;
    --hms-muted: #5a6b7a;
    --hms-border: #e2ddd4;
    --hms-radius: 4px;
    --hms-header-height: 76px;
    --hms-transition: 0.28s ease;
    --hms-section-pad: clamp(4rem, 8vw, 6.5rem);
}

/* ---- Base ---- */
body.hms-site {
    font-family: "Archivo", sans-serif;
    color: var(--hms-muted);
    background-color: var(--hms-white);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

body.hms-site.backgrounImageSaphire {
    background: var(--hms-white) !important;
}

body.hms-site h1,
body.hms-site h2,
body.hms-site h3,
body.hms-site h4,
body.hms-site h5,
body.hms-site h6,
body.hms-site h1 a,
body.hms-site h2 a,
body.hms-site h3 a,
body.hms-site h4 a {
    font-family: "Fraunces", Georgia, serif;
    color: var(--hms-navy);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

body.hms-site a {
    color: var(--hms-navy);
    transition: color var(--hms-transition);
}

body.hms-site a:hover {
    color: var(--hms-gold-deep);
}

body.hms-site .activeheader {
    color: var(--hms-gold) !important;
    border-bottom: 2px solid var(--hms-gold);
    padding-bottom: 2px;
}

/* ---- Header ---- */
body.hms-site header.hms-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--hms-navy-deep);
    box-shadow: 0 1px 0 rgba(190, 173, 142, 0.25);
}

body.hms-site header.hms-header.header-absolute,
body.hms-site header.hms-header.sticky-header.sticky-active {
    top: 0;
    background-color: var(--hms-navy-deep);
    animation: none;
}

body.hms-site header.hms-header .nav-container {
    padding: 0 1.5rem;
    min-height: var(--hms-header-height);
    max-width: 1200px;
    margin: 0 auto;
}

body.hms-site header.hms-header .nav-container .toggle a,
body.hms-site header.hms-header .nav-container .menu-items ul li a,
body.hms-site header.hms-header.sticky-header.sticky-active .nav-container .toggle a,
body.hms-site header.hms-header.sticky-header.sticky-active .nav-container .menu-items ul li a {
    color: var(--hms-white) !important;
    font-family: "Archivo", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: var(--hms-header-height);
    padding: 0 2px;
    transition: color var(--hms-transition);
}

body.hms-site header.hms-header .nav-container .menu-items ul li a:hover,
body.hms-site header.hms-header.sticky-header.sticky-active .nav-container .menu-items ul li a:hover {
    color: var(--hms-gold) !important;
}

body.hms-site header.hms-header .nav-container .menu-items ul li {
    margin: 0 14px;
    padding: 0 !important;
    font-weight: 600 !important;
}

body.hms-site header.hms-header .nav-container .menu-items ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

body.hms-site header.hms-header .nav-container .navbar-toggler span {
    background-color: var(--hms-white) !important;
}

body.hms-site header.hms-header .site-logo {
    margin-right: 0 !important;
}

body.hms-site header.hms-header .site-logo img {
    height: 56px !important;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    background: transparent !important;
}

body.hms-site header.hms-header .nav-container .site-logo .main-logo,
body.hms-site header.hms-header.sticky-header.sticky-active .nav-container .site-logo .main-logo {
    display: block;
}

body.hms-site header.hms-header.sticky-header.sticky-active .nav-container .site-logo .sticky-logo {
    display: none;
}

@media (min-width: 992px) {
    body.hms-site header.hms-header .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    body.hms-site header.hms-header .site-logo {
        order: 1;
        margin-right: auto !important;
    }

    body.hms-site header.hms-header .nav-menu {
        order: 2;
        margin-left: auto;
    }

    body.hms-site header.hms-header .hms-menu-btn {
        display: none !important;
    }
}

@media (max-width: 991px) {
    body.hms-site header.hms-header .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    body.hms-site header.hms-header .site-logo {
        order: 1;
        margin-right: auto !important;
    }

    body.hms-site header.hms-header .hms-menu-btn {
        order: 2;
        display: inline-flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        margin: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        z-index: 5;
        -webkit-appearance: none;
        appearance: none;
    }

    body.hms-site header.hms-header .hms-menu-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #ffffff !important;
        border-radius: 1px;
    }
}

/* Explicit three-line burger (CSS, no icon font) */
body.hms-site header.hms-header .hms-menu-btn {
    display: none;
}

/* Offcanvas — must sit above fixed header (z-index 1000) */
body.hms-site .offcanvas-wrapper {
    padding-top: 0;
    z-index: 1100 !important;
    width: min(320px, 86vw);
    margin-left: calc(-1 * min(320px, 86vw));
}

body.hms-site .offcanvas-wrapper.show-offcanvas {
    margin-left: 0;
}

body.hms-site .offcanvas-wrapper .offcanvas-overly {
    z-index: 1100 !important;
}

body.hms-site .offcanvas-wrapper .offcanvas-widget {
    z-index: 1101 !important;
    padding: 56px 28px 40px;
}

body.hms-site .offcanvas-widget.bkSaphireDarkBlue,
body.hms-site .offcanvas-widget {
    background-color: var(--hms-navy-deep) !important;
    background-image: none !important;
}

body.hms-site .offcanvas-widget .widget.about-widget img {
    height: 56px !important;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    background: transparent !important;
}

body.hms-site .offcanvas-widget .nav-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.hms-site .offcanvas-widget .nav-widget ul li {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(190, 173, 142, 0.2);
}

body.hms-site .offcanvas-widget .nav-widget ul li a {
    display: block;
    padding: 14px 0;
    color: var(--hms-white) !important;
    font-family: "Archivo", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.hms-site .offcanvas-widget .nav-widget ul li a:hover,
body.hms-site .offcanvas-widget .nav-widget ul li a.activeheader {
    color: var(--hms-gold) !important;
    border-bottom: none;
    padding-bottom: 14px;
}

/* ---- Buttons / CTAs ---- */
body.hms-site .hms-btn,
body.hms-site .main-btn {
    display: inline-block;
    font-family: "Archivo", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--hms-radius);
    line-height: 48px;
    padding: 0 28px;
    border: none;
    text-decoration: none !important;
    transition: background-color var(--hms-transition), color var(--hms-transition), transform var(--hms-transition), border-color var(--hms-transition);
}

body.hms-site .hms-btn:hover,
body.hms-site .main-btn:hover {
    transform: translateY(-1px);
}

body.hms-site .hms-btn-primary,
body.hms-site .main-btn.btn-filled {
    background-color: var(--hms-gold);
    color: var(--hms-navy-deep) !important;
}

body.hms-site .hms-btn-primary:hover,
body.hms-site .main-btn.btn-filled:hover {
    background-color: var(--hms-gold-soft);
    color: var(--hms-navy-deep) !important;
}

body.hms-site .hms-btn-ghost,
body.hms-site .main-btn.btn-border {
    background-color: transparent;
    color: var(--hms-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: none;
}

body.hms-site .hms-btn-ghost:hover,
body.hms-site .main-btn.btn-border:hover {
    background-color: var(--hms-gold);
    border-color: var(--hms-gold) !important;
    color: var(--hms-navy-deep) !important;
    box-shadow: none;
}

body.hms-site .hms-btn-outline {
    background: transparent;
    color: var(--hms-navy) !important;
    border: 1px solid var(--hms-navy) !important;
}

body.hms-site .hms-btn-outline:hover {
    background: var(--hms-navy);
    color: var(--hms-white) !important;
}

body.hms-site .banner-area .banner-content .main-btn.btn-border {
    background-color: transparent;
    color: var(--hms-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
}

body.hms-site .banner-area .banner-content .main-btn.btn-border:hover {
    background-color: var(--hms-gold);
    border-color: var(--hms-gold) !important;
    color: var(--hms-navy-deep) !important;
}

/* ---- Heroes ---- */
body.hms-site .banner-area.banner-style-two {
    margin-top: 0;
}

body.hms-site .hms-hero,
body.hms-site .banner-area.banner-style-two .single-banner {
    height: 88vh !important;
    min-height: 520px;
    max-height: 820px;
    position: relative;
}

body.hms-site .hms-page-hero .single-banner,
body.hms-site .banner-area.hms-page-hero .single-banner {
    height: 42vh !important;
    min-height: 280px;
    max-height: 420px;
}

body.hms-site .banner-area.banner-style-two .single-banner .banner-overly,
body.hms-site .hms-hero .banner-overly {
    background: linear-gradient(
        105deg,
        rgba(21, 39, 54, 0.82) 0%,
        rgba(21, 39, 54, 0.45) 55%,
        rgba(21, 39, 54, 0.25) 100%
    ) !important;
    opacity: 1 !important;
}

body.hms-site .banner-area .banner-content,
body.hms-site .hms-hero-content {
    text-align: left !important;
    position: relative;
    z-index: 2;
    max-width: 640px;
    animation: hmsFadeUp 0.9s ease both;
}

body.hms-site .banner-area .banner-content .promo-tag,
body.hms-site .hms-eyebrow {
    display: inline-block;
    font-family: "Archivo", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hms-gold) !important;
    margin-bottom: 1rem;
    border: none;
    background: none;
    padding: 0;
}

body.hms-site .banner-area .banner-content .title,
body.hms-site .hms-hero-title {
    font-family: "Fraunces", Georgia, serif !important;
    color: var(--hms-white) !important;
    font-size: clamp(2.25rem, 5vw, 3.75rem) !important;
    font-weight: 600;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    margin-bottom: 1rem;
}

body.hms-site .hms-hero-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

body.hms-site .banner-area .banner-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.hms-site .hms-brand-mark {
    display: block;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--hms-gold);
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

/* ---- Sections ---- */
body.hms-site .hms-section {
    padding: var(--hms-section-pad) 0;
}

/* Anchor links clear the fixed header */
body.hms-site .hms-section[id],
body.hms-site section[id] {
    scroll-margin-top: calc(var(--hms-header-height) + 16px);
}

body.hms-site .hms-section--tint {
    background-color: var(--hms-bg);
}

body.hms-site .hms-section--navy {
    background-color: var(--hms-navy);
    color: rgba(255, 255, 255, 0.85);
}

body.hms-site .hms-section--navy h2,
body.hms-site .hms-section--navy h3 {
    color: var(--hms-white);
}

body.hms-site .hms-section-label {
    font-family: "Archivo", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hms-gold-deep);
    margin-bottom: 0.75rem;
}

body.hms-site .hms-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}

body.hms-site .hms-section-title a {
    text-decoration: none !important;
    color: inherit;
}

body.hms-site .hms-section-title a:hover {
    color: var(--hms-gold-deep);
}

body.hms-site .hms-section-lead {
    font-size: 1.05rem;
    color: var(--hms-muted);
    max-width: 40rem;
    margin-bottom: 0;
}

body.hms-site .hms-section-lead.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

body.hms-site .hms-section--navy .hms-section-lead {
    color: rgba(255, 255, 255, 0.8);
}

body.hms-site .text-block,
body.hms-site .room-section {
    padding: var(--hms-section-pad) 0 !important;
}

body.hms-site .block-text p,
body.hms-site .hms-prose {
    font-size: 1.05rem;
    color: var(--hms-muted);
}

body.hms-site .hms-media img,
body.hms-site .text-img img {
    width: 100%;
    height: auto;
    border-radius: var(--hms-radius);
    display: block;
    object-fit: cover;
}

body.hms-site .hms-media {
    overflow: hidden;
    border-radius: var(--hms-radius);
}

/* Feature / offering rows — not hotel room cards */
body.hms-site .hms-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

@media (max-width: 767px) {
    body.hms-site .hms-feature-grid {
        grid-template-columns: 1fr;
    }
}

body.hms-site .hms-feature {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none !important;
    color: inherit;
}

body.hms-site .hms-feature:hover h3 {
    color: var(--hms-gold-deep);
}

body.hms-site .hms-feature img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    background: var(--hms-bg);
    border-radius: var(--hms-radius);
    padding: 1rem;
}

body.hms-site .hms-feature h3,
body.hms-site .hms-feature .title {
    font-size: 1.35rem;
    margin: 0;
}

body.hms-site .hms-feature p {
    margin: 0;
    color: var(--hms-muted);
}

body.hms-site .hms-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
}

@media (max-width: 991px) {
    body.hms-site .hms-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    body.hms-site .hms-tech-grid {
        grid-template-columns: 1fr;
    }
}

body.hms-site .hms-tech-item {
    padding-top: 0.5rem;
    border-top: 2px solid var(--hms-gold);
}

body.hms-site .hms-tech-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 1rem;
}

body.hms-site .hms-tech-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border: 1px solid var(--hms-gold);
    color: var(--hms-gold-deep);
    font-size: 1.35rem;
    line-height: 1;
}

body.hms-site .hms-tech-item a:hover .hms-tech-icon {
    background: var(--hms-navy);
    border-color: var(--hms-navy);
    color: var(--hms-gold);
}

body.hms-site .hms-tech-item a {
    text-decoration: none !important;
}

body.hms-site .hms-tech-item a:hover h3 {
    color: var(--hms-gold-deep);
}

body.hms-site .hms-tech-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

body.hms-site .hms-tech-item p {
    font-size: 0.95rem;
    color: var(--hms-muted);
    margin: 0;
}

/* Lists */
body.hms-site .hms-list,
body.hms-site ul.a {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.hms-site .hms-list li,
body.hms-site ul.a li {
    position: relative;
    padding: 0.85rem 0 0.85rem 1.35rem;
    border-bottom: 1px solid var(--hms-border);
    color: var(--hms-muted);
    font-size: 1.02rem;
}

body.hms-site .hms-list li::before,
body.hms-site ul.a li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.2rem;
    width: 8px;
    height: 8px;
    background: var(--hms-gold);
    border-radius: 1px;
}

body.hms-site .hms-list li:last-child,
body.hms-site ul.a li:last-child {
    border-bottom: none;
}

/* Split rows */
body.hms-site .hms-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

body.hms-site .hms-split--flip {
    direction: rtl;
}

body.hms-site .hms-split--flip > * {
    direction: ltr;
}

@media (max-width: 991px) {
    body.hms-site .hms-split,
    body.hms-site .hms-split--flip {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }
}

/* Contact */
body.hms-site .hms-contact-panel {
    background: var(--hms-bg);
    padding: clamp(2rem, 5vw, 3.5rem);
    border-left: 3px solid var(--hms-gold);
}

body.hms-site .hms-contact-panel h2 {
    margin-bottom: 0.75rem;
}

body.hms-site .hms-contact-meta {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

body.hms-site .hms-contact-meta li {
    margin-bottom: 0.75rem;
    color: var(--hms-muted);
}

body.hms-site .hms-contact-meta strong {
    display: block;
    font-family: "Archivo", sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hms-navy);
    margin-bottom: 0.2rem;
}

/* Footer */
body.hms-site footer.footer-two,
body.hms-site footer.hms-footer {
    background: var(--hms-navy-deep) !important;
    margin-top: 0;
}

body.hms-site footer .copyright-area {
    padding: 2rem 0 !important;
    border-top: 1px solid rgba(190, 173, 142, 0.25);
}

body.hms-site footer .copyright-text,
body.hms-site .hms-footer-copy {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
    margin: 0;
}

body.hms-site .hms-footer-brand {
    font-family: "Fraunces", Georgia, serif;
    color: var(--hms-gold);
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

/* Back to top */
body.hms-site #backToTop {
    background: var(--hms-navy) !important;
    color: var(--hms-gold) !important;
    border-radius: var(--hms-radius);
}

/* Motion */
@keyframes hmsFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.hms-site .hms-reveal {
    animation: hmsFadeUp 0.75s ease both;
}

body.hms-site .hms-media img {
    transition: transform 0.6s ease;
}

body.hms-site .hms-media:hover img {
    transform: scale(1.03);
}

/* Kill legacy room-box chrome when still present */
body.hms-site .room-box {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

body.hms-site .room-box .room-desc {
    padding: 0;
    text-align: left;
}

/* Utility */
body.hms-site .container-hms {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
