/**
 * HMS Public Website — Premium teal design system
 */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow: 0 8px 30px rgba(15, 118, 110, 0.1);
    --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.18);
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --nav-h: 76px;
    --ribbon-h: 0px;
}

@media (min-width: 992px) {
    :root {
        --ribbon-h: 38px;
    }
}

/* ─── Base ─── */
body.hms-front-site {
    font-family: var(--font-body);
    color: var(--slate-600);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.hms-front-site .btn {
    border-radius: 12px !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

body.hms-front-site .btn-primary {
    background: var(--teal-700) !important;
    border: 1px solid var(--teal-800) !important;
    box-shadow: none;
}

body.hms-front-site .btn-primary:hover {
    background: var(--teal-800) !important;
    transform: none;
    box-shadow: none;
}

body.hms-front-site .btn-outline-primary {
    color: var(--teal-700) !important;
    border: 2px solid var(--teal-500) !important;
    background: transparent !important;
}

body.hms-front-site .btn-outline-primary:hover {
    background: var(--teal-50) !important;
}

body.hms-front-site .text-primary {
    color: var(--teal-600) !important;
}

/* HMS buttons */
.hms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
    cursor: pointer;
}

.hms-btn--sm { padding: 0.55rem 1rem; font-size: 0.8125rem; }
.hms-btn--lg { padding: 0.9rem 1.75rem; font-size: 1rem; }

.hms-btn--primary {
    background: var(--teal-700);
    color: var(--white) !important;
    border: 1px solid var(--teal-800);
    box-shadow: none;
}

.hms-btn--primary:hover {
    background: var(--teal-800);
    transform: none;
    box-shadow: none;
    color: var(--white) !important;
}

.hms-btn--outline {
    background: transparent;
    color: var(--teal-700) !important;
    border: 2px solid var(--teal-500);
}

.hms-btn--outline:hover {
    background: var(--teal-50);
}

.hms-btn--ghost {
    background: var(--slate-100);
    color: var(--slate-700) !important;
}

.hms-btn--ghost:hover {
    background: var(--teal-50);
    color: var(--teal-800) !important;
}

.hms-btn--white {
    background: var(--white);
    color: var(--teal-800) !important;
    box-shadow: var(--shadow-sm);
}

.hms-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ─── Navigation ─── */
.hms-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.hms-nav__ribbon {
    background: linear-gradient(90deg, var(--teal-800), var(--teal-900));
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hms-nav__ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    min-height: var(--ribbon-h);
    padding: 0.4rem 0;
}

.hms-nav__ribbon-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.2s;
}

a.hms-nav__ribbon-item:hover {
    color: var(--teal-200);
}

.hms-nav__ribbon-item i {
    color: var(--teal-300);
    font-size: 0.75rem;
}

.hms-nav__container--main {
    height: var(--nav-h);
}

.hms-nav--scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--slate-200);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.hms-nav__container {
    height: 100%;
    max-width: 1280px;
}

.hms-nav__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
    position: relative;
}

.hms-nav__brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.hms-nav__logo {
    height: 56px;
    width: auto;
    max-height: 56px;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
}

.hms-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--white);
    align-items: center;
    justify-content: center;
}

.hms-nav__toggle-icon,
.hms-nav__toggle-icon::before,
.hms-nav__toggle-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--slate-800);
    border-radius: 2px;
    position: relative;
    transition: transform 0.25s;
}

.hms-nav__toggle-icon::before,
.hms-nav__toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.hms-nav__toggle-icon::before { top: -6px; }
.hms-nav__toggle-icon::after { top: 6px; }

.hms-nav__collapse {
    flex-grow: 1;
}

.hms-nav__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    width: 100%;
}

.hms-nav__links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hms-nav__link {
    color: var(--slate-600) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 10px !important;
    transition: color 0.2s, background 0.2s !important;
}

.hms-nav__link:hover,
.hms-nav__link.is-active {
    color: var(--teal-700) !important;
    background: var(--teal-50) !important;
}

.hms-nav__dropdown-menu {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem !important;
}

.hms-nav__dropdown-menu .dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hms-nav__dropdown-menu .dropdown-item i {
    color: var(--teal-600);
    width: 1rem;
}

.hms-nav__dropdown-menu .dropdown-item:hover,
.hms-nav__dropdown-menu .dropdown-item.active {
    background: var(--teal-50);
    color: var(--teal-800);
}

.hms-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--slate-200);
}

.hms-nav__lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-700);
}

.hms-nav__flag {
    border-radius: 3px;
    object-fit: cover;
}

/* Push content below fixed nav */
body.hms-front-site {
    padding-top: calc(var(--nav-h) + var(--ribbon-h));
}

/* ─── Reveal animation ─── */
[data-hms-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-hms-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-hms-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-hms-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-hms-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-hms-reveal][data-delay="4"] { transition-delay: 0.4s; }

/* ─── Section utilities ─── */
.hms-home .hms-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 0.85rem;
}

.hms-home .hms-eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
    border-radius: 2px;
}

.hms-home .hms-section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.12;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

.hms-home .hms-section-lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--slate-500);
    max-width: 38rem;
    margin: 0.75rem auto 0;
}

.hms-home .hms-section-head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3.5rem;
}

.hms-home .container {
    max-width: 1200px;
}

/* ─── Hero ─── */
.hms-home__hero {
    position: relative;
    padding: 4rem 0 7rem;
    min-height: calc(100vh - var(--nav-h) - var(--ribbon-h));
    min-height: calc(100dvh - var(--nav-h) - var(--ribbon-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--slate-50);
}

.hms-home__hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hms-home__hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(20, 184, 166, 0.15), transparent),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(13, 148, 136, 0.08), transparent),
        linear-gradient(180deg, var(--teal-50) 0%, var(--white) 55%, var(--slate-50) 100%);
}

.hms-home__hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 148, 136, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, black 30%, transparent 95%);
}

.hms-home__hero-inner {
    position: relative;
    z-index: 1;
}

.hms-home__hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem 0.45rem 0.45rem;
    background: var(--white);
    border: 1px solid var(--teal-100);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--teal-800);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.hms-home__hero-badge i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
}

.hms-home__hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.08;
    color: var(--slate-900);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hms-home__hero-title em {
    font-style: italic;
    color: var(--teal-700);
}

.hms-home__hero-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--slate-500);
    margin-bottom: 2rem;
    max-width: 34rem;
}

.hms-home__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.75rem;
}

.hms-home__hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 24rem;
}

.hms-home__stat {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.125rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    transition: transform 0.25s, box-shadow 0.25s;
}

.hms-home__stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.hms-home__stat-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
    color: var(--teal-700);
    border-radius: 12px;
    font-size: 1.125rem;
}

.hms-home__stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.1;
    margin: 0;
}

.hms-home__stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    margin: 0;
}

.hms-home__hero-visual {
    position: relative;
}

.hms-home__hero-frame {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    background: linear-gradient(145deg, var(--white), var(--teal-50));
    box-shadow: var(--shadow-lg);
}

.hms-home__hero-img {
    width: 100%;
    display: block;
    border-radius: calc(var(--radius-xl) - 4px);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.hms-home__float-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: hms-float 5s ease-in-out infinite;
    z-index: 2;
}

@keyframes hms-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hms-home__float-card--tl { top: 8%; left: -4%; }
.hms-home__float-card--br { bottom: 12%; right: -4%; animation-delay: 2.5s; }

.hms-home__float-card i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    color: var(--teal-600);
    border-radius: 50%;
    flex-shrink: 0;
}

.hms-home__float-card strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-900);
}

.hms-home__float-card span {
    font-size: 0.75rem;
    color: var(--slate-500);
}

@keyframes hms-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Trust strip */
.hms-home__trust {
    background: var(--white);
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
    padding: 1.25rem 0;
}

.hms-home__trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}

.hms-home__trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-600);
}

.hms-home__trust-item i {
    color: var(--teal-600);
    font-size: 1.1rem;
}

/* Booking */
.hms-home__booking {
    margin-top: -3.5rem;
    position: relative;
    z-index: 10;
    padding-bottom: 2rem;
}

.hms-home__booking-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
}

.hms-home__booking-card .form-label {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--slate-700);
    margin-bottom: 0.4rem;
}

.hms-home__booking-card .form-select,
.hms-home__booking-card .form-control {
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.9375rem;
    background: var(--slate-50);
}

.hms-home__booking-card .form-select:focus,
.hms-home__booking-card .form-control:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
    background: var(--white);
}

/* Steps */
.hms-home__steps {
    padding: 5.5rem 0;
    background: var(--white);
}

.hms-home__steps-track {
    position: relative;
}

@media (min-width: 992px) {
    .hms-home__steps-track::before {
        content: "";
        position: absolute;
        top: 52px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient(90deg, var(--teal-200), var(--teal-400), var(--teal-200));
        z-index: 0;
    }
}

.hms-home__step-card {
    height: 100%;
    padding: 2rem 1.5rem 1.75rem;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.hms-home__step-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.hms-home__step-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.hms-home__step-icon {
    width: 72px;
    height: 72px;
    margin: 1rem auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    color: var(--teal-700);
    border-radius: 50%;
    font-size: 1.5rem;
}

.hms-home__step-card h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.65rem;
}

.hms-home__step-card p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.65;
    margin: 0;
}

/* About */
.hms-home__about {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}

.hms-home__bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    min-height: 360px;
}

.hms-home__bento-item {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hms-home__bento-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

.hms-home__bento-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
.hms-home__bento-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.hms-home__bento-item:nth-child(3) { grid-column: 1 / 6; grid-row: 2; }
.hms-home__bento-item:nth-child(4) { grid-column: 6 / 13; grid-row: 2; }

.hms-home__bento-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--teal-700);
    line-height: 1;
}

.hms-home__bento-label {
    font-size: 0.9rem;
    color: var(--slate-500);
    margin: 0.35rem 0 0;
}

.hms-home__about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.hms-home__about-content p {
    color: var(--slate-500);
    line-height: 1.85;
    font-size: 1.05rem;
}

/* Services */
.hms-home__services {
    padding: 5.5rem 0;
}

.hms-home__service-card {
    height: 100%;
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.hms-home__service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.hms-home__service-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-50), var(--white));
    border: 1px solid var(--teal-100);
    border-radius: var(--radius);
}

.hms-home__service-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.hms-home__service-card h5 {
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.65rem;
}

.hms-home__service-card p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.65;
    margin: 0;
}

/* Quality */
.hms-home__quality {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 50%, #0a3d38 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hms-home__quality::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hms-home__quality .hms-eyebrow { color: var(--teal-200); }
.hms-home__quality .hms-eyebrow::before { background: var(--teal-400); }

.hms-home__quality h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.hms-home__quality p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
    font-size: 1.05rem;
}

.hms-home__quality-img-wrap {
    position: relative;
}

.hms-home__quality-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.hms-home__quality-badge {
    position: absolute;
    bottom: 1.5rem;
    left: -1.5rem;
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 280px;
}

.hms-home__quality-badge i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    color: var(--teal-700);
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hms-home__quality-badge h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0 0 0.2rem;
}

.hms-home__quality-badge p {
    font-size: 0.8125rem;
    color: var(--slate-500) !important;
    margin: 0;
}

/* Doctors */
.hms-home__doctors {
    padding: 5.5rem 0;
    background: var(--slate-50);
}

.hms-home__doctors .slide {
    padding: 1.5rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    margin: 0 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hms-home__doctors .slick-center .slide {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--teal-200);
}

.hms-home__doctors .slide img {
    width: 140px !important;
    height: 140px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--teal-100);
    box-shadow: 0 0 0 4px var(--white), var(--shadow);
    margin: 0 auto;
}

.hms-home__doctors .slide-desc h6 {
    font-weight: 700;
    color: var(--slate-900);
    margin-top: 1rem;
    font-size: 1.05rem;
}

/* Testimonials */
.hms-home__testimonials {
    padding: 5.5rem 0;
}

.hms-home__testimonials .testimonial-desc {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2rem !important;
}

.hms-home__testimonials .testimonial-desc h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--teal-800);
    margin-bottom: 0.75rem;
}

.hms-home__testimonials .testimonial-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* CTA band */
.hms-home__cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
    position: relative;
    overflow: hidden;
}

.hms-home__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hms-home__cta-inner {
    position: relative;
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
}

.hms-home__cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.hms-home__cta p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hms-home__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.hms-home__cta .hms-btn--ghost-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.45);
    color: var(--white) !important;
}

.hms-home__cta .hms-btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white) !important;
}

/* Footer */
body.hms-front-site .footer {
    background: linear-gradient(180deg, var(--teal-900) 0%, #082f2b 100%) !important;
    margin-top: 0 !important;
    padding-top: 4rem !important;
}

body.hms-front-site .footer h4 {
    font-weight: 700;
    letter-spacing: 0.02em;
}

body.hms-front-site .footer a:hover {
    color: var(--teal-300) !important;
}

body.hms-front-site .go-top {
    background: var(--teal-500) !important;
    border-radius: 12px !important;
    width: 44px;
    height: 44px;
}

/* ─── Responsive nav ─── */
@media (max-width: 1199.98px) {
    .hms-nav__toggle {
        display: flex;
    }

    .hms-nav__collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        padding: 1rem 1.25rem 1.5rem;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }

    .hms-nav__menu {
        flex-direction: column;
        align-items: stretch;
    }

    .hms-nav__links {
        flex-direction: column;
        width: 100%;
        gap: 0.25rem;
    }

    .hms-nav__link {
        padding: 0.75rem 1rem !important;
    }

    .hms-nav__actions {
        flex-direction: column;
        margin: 1rem 0 0;
        padding: 1rem 0 0;
        border-left: none;
        border-top: 1px solid var(--slate-200);
        width: 100%;
    }

    .hms-nav__actions .hms-btn {
        width: 100%;
        justify-content: center;
    }

    .hms-nav__lang {
        width: 100%;
    }

    .hms-nav__lang-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .hms-home__hero {
        min-height: auto;
        padding: 3rem 0 5rem;
    }

    .hms-home__hero-text { max-width: none; }

    .hms-home__hero-stats { max-width: none; }

    .hms-home__float-card { display: none !important; }

    .hms-home__bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }

    .hms-home__bento-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .hms-home__quality-badge {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 1.5rem;
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .hms-home__booking-card { padding: 1.5rem; }

    .hms-home__bento { grid-template-columns: 1fr; }

    .hms-home__hero-stats { grid-template-columns: 1fr; }

    .hms-home__trust-grid { gap: 1rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    [data-hms-reveal],
    .hms-home__float-card {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Footer premium */
body.hms-front-site .footer.hms-footer {
    position: relative;
    overflow: hidden;
}

body.hms-front-site .footer.hms-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at 100% 0%, rgba(45, 212, 191, 0.12), transparent 60%);
    pointer-events: none;
}

body.hms-front-site .footer .social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    margin-right: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}

body.hms-front-site .footer .social-links a:hover {
    background: var(--teal-600);
    transform: translateY(-2px);
}

body.hms-front-site .footer .newsletter-form .form-control {
    border-radius: 12px 0 0 12px !important;
}

body.hms-front-site .footer .newsletter-form .btn-primary {
    border-radius: 0 12px 12px 0 !important;
}
