/* ==========================================================================
   Medicana Hospital — front-end theme
   Built on Bootstrap 5.3. Everything below is project-specific.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    /* Brand — taken from the hospital logo */
    --mh-brand: #123c7a;
    --mh-brand-deep: #0a2450;
    --mh-brand-soft: #e8f0fb;
    --mh-accent: #b80d40;
    --mh-accent-deep: #8d0930;
    --mh-accent-soft: #fdecf1;
    --mh-cyan: #17a8d4;
    --mh-cyan-soft: #e6f6fc;

    /* Neutrals */
    --mh-ink: #0e1b2a;
    --mh-body: #45566a;
    --mh-muted: #75869a;
    --mh-line: #dde7f0;
    --mh-mist: #f4f8fc;
    --mh-white: #ffffff;

    /* Type */
    --mh-font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    --mh-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Shape */
    --mh-radius-sm: 10px;
    --mh-radius: 16px;
    --mh-radius-lg: 24px;
    --mh-shadow-sm: 0 2px 8px rgba(14, 27, 42, .06);
    --mh-shadow: 0 12px 32px rgba(14, 27, 42, .09);
    --mh-shadow-lg: 0 24px 60px rgba(10, 36, 80, .16);

    --mh-header-h: 82px;
}

/* --------------------------------------------------------------- base --- */

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--mh-font-body);
    color: var(--mh-body);
    background: var(--mh-white);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .mh-display {
    font-family: var(--mh-font-display);
    color: var(--mh-ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.015em;
}

h1 { font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.08rem + .75vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 1.02rem + .4vw, 1.3rem); }
h5 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--mh-brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--mh-accent); }

img { max-width: 100%; }

::selection { background: var(--mh-accent); color: #fff; }

:focus-visible {
    outline: 3px solid var(--mh-cyan);
    outline-offset: 2px;
    border-radius: 4px;
}

.mh-container { width: min(1220px, 100% - 2.5rem); margin-inline: auto; }

@media (max-width: 575.98px) {
    .mh-container { width: calc(100% - 1.75rem); }
}

/* ------------------------------------------------------- section frame --- */

.mh-section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.mh-section--tight { padding: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem) 0; }
.mh-section--mist { background: var(--mh-mist); }
.mh-section--brand { background: var(--mh-brand-deep); color: rgba(255, 255, 255, .82); }
.mh-section--brand h1, .mh-section--brand h2, .mh-section--brand h3, .mh-section--brand h4 { color: #fff; }

/* The "care rail" — the small gradient bar that marks every section eyebrow.
   This is the one repeating signature device of the site. */
.mh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-family: var(--mh-font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mh-accent);
    margin-bottom: .85rem;
}

.mh-eyebrow::before {
    content: '';
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--mh-accent) 0%, var(--mh-cyan) 100%);
}

.mh-section--brand .mh-eyebrow { color: var(--mh-cyan); }

.mh-section-head { max-width: 720px; margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.mh-section-head--center { margin-inline: auto; text-align: center; }
.mh-section-head--center .mh-eyebrow::before { display: none; }
.mh-section-head p { color: var(--mh-muted); margin-top: .75rem; font-size: 1.03rem; }
.mh-section--brand .mh-section-head p { color: rgba(255, 255, 255, .74); }

/* ------------------------------------------------------------ buttons --- */

.mh-btn {
    --btn-bg: var(--mh-brand);
    --btn-fg: #fff;
    --btn-bd: var(--mh-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .78rem 1.5rem;
    font-family: var(--mh-font-display);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 1.5px solid var(--btn-bd);
    border-radius: 999px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.mh-btn:hover {
    color: var(--btn-fg);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(18, 60, 122, .25);
}

.mh-btn:active { transform: translateY(0); }

.mh-btn--accent { --btn-bg: var(--mh-accent); --btn-bd: var(--mh-accent); }
.mh-btn--accent:hover { box-shadow: 0 10px 24px rgba(184, 13, 64, .3); }

.mh-btn--ghost { --btn-bg: transparent; --btn-fg: var(--mh-brand); --btn-bd: var(--mh-line); }
.mh-btn--ghost:hover { --btn-bg: var(--mh-brand); --btn-fg: #fff; --btn-bd: var(--mh-brand); }

.mh-btn--light { --btn-bg: #fff; --btn-fg: var(--mh-brand-deep); --btn-bd: #fff; }
.mh-btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .5); }
.mh-btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--mh-brand-deep); }

.mh-btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.mh-btn--block { width: 100%; }

.mh-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--mh-font-display);
    font-weight: 700;
    font-size: .92rem;
    color: var(--mh-brand);
}

.mh-link-arrow svg { transition: transform .2s ease; }
.mh-link-arrow:hover svg { transform: translateX(4px); }

/* -------------------------------------------------------------- icons --- */

.mh-icon { width: 1.25em; height: 1.25em; flex: none; }

.mh-icon-chip {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--mh-brand-soft);
    color: var(--mh-brand);
    flex: none;
}

.mh-icon-chip svg { width: 26px; height: 26px; }
.mh-icon-chip--accent { background: var(--mh-accent-soft); color: var(--mh-accent); }
.mh-icon-chip--cyan { background: var(--mh-cyan-soft); color: var(--mh-cyan); }

/* ------------------------------------------------------------- header --- */

.mh-topbar {
    background: var(--mh-brand-deep);
    color: rgba(255, 255, 255, .8);
    font-size: .85rem;
}

.mh-topbar a { color: rgba(255, 255, 255, .85); }
.mh-topbar a:hover { color: #fff; }

.mh-topbar-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 42px;
}

.mh-ticker {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.mh-ticker-label {
    flex: none;
    background: var(--mh-accent);
    color: #fff;
    font-family: var(--mh-font-display);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: .3rem .65rem;
    border-radius: 999px;
}

.mh-ticker-viewport { flex: 1 1 auto; overflow: hidden; min-width: 0; }

.mh-ticker-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: mh-ticker 34s linear infinite;
}

.mh-ticker-viewport:hover .mh-ticker-track { animation-play-state: paused; }
.mh-ticker-track span { white-space: nowrap; }

@keyframes mh-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.mh-topbar-social { display: flex; gap: .5rem; flex: none; }

.mh-topbar-social a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    transition: background .2s ease;
}

.mh-topbar-social a:hover { background: var(--mh-accent); }
.mh-topbar-social svg { width: 15px; height: 15px; }

.mh-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mh-line);
    transition: box-shadow .25s ease;
}

.mh-header.is-stuck { box-shadow: 0 6px 24px rgba(14, 27, 42, .1); }

.mh-header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--mh-header-h);
}

.mh-logo { display: flex; align-items: center; flex: none; }
.mh-logo img { height: 56px; width: auto; }

.mh-nav { margin-left: auto; }

.mh-nav-list {
    display: flex;
    align-items: center;
    gap: .15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mh-nav-link {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .6rem .78rem;
    border-radius: 10px;
    font-family: var(--mh-font-display);
    font-size: .93rem;
    font-weight: 600;
    color: var(--mh-ink);
    background: none;
    border: 0;
    white-space: nowrap;
}

.mh-nav-link:hover,
.mh-nav-item.is-open > .mh-nav-link,
.mh-nav-link.active {
    color: var(--mh-brand);
    background: var(--mh-brand-soft);
}

.mh-nav-link .mh-caret { width: 12px; height: 12px; transition: transform .2s ease; }
.mh-nav-item.is-open > .mh-nav-link .mh-caret { transform: rotate(180deg); }

.mh-nav-item { position: relative; }

.mh-dropdown {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    min-width: 268px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: .5rem;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius);
    box-shadow: var(--mh-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.mh-nav-item.is-open > .mh-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mh-dropdown--end { left: auto; right: 0; }

.mh-dropdown a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .7rem;
    border-radius: 9px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--mh-ink);
}

.mh-dropdown a:hover { background: var(--mh-mist); color: var(--mh-brand); }
.mh-dropdown a svg { width: 17px; height: 17px; color: var(--mh-cyan); flex: none; }

.mh-header-cta { display: flex; align-items: center; gap: .6rem; flex: none; }

.mh-header-phone {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding-right: .2rem;
}

.mh-header-phone .mh-icon-chip { width: 42px; height: 42px; border-radius: 12px; }
.mh-header-phone .mh-icon-chip svg { width: 20px; height: 20px; }
.mh-header-phone small { display: block; font-size: .72rem; color: var(--mh-muted); line-height: 1.2; }
.mh-header-phone strong { font-family: var(--mh-font-display); font-size: .95rem; color: var(--mh-ink); }

.mh-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--mh-line);
    border-radius: 12px;
    background: #fff;
    color: var(--mh-ink);
    place-items: center;
}

.mh-burger svg { width: 22px; height: 22px; }

/* ------------------------------------------------------ mobile drawer --- */

.mh-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 36, 80, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
    z-index: 1039;
}

body.mh-drawer-open .mh-drawer-backdrop { opacity: 1; visibility: visible; }
body.mh-drawer-open { overflow: hidden; }

.mh-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100dvh;
    background: #fff;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transform: translateX(102%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: var(--mh-shadow-lg);
}

body.mh-drawer-open .mh-drawer { transform: translateX(0); }

.mh-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--mh-line);
}

.mh-drawer-head img { height: 44px; }

.mh-drawer-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--mh-line);
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--mh-ink);
}

.mh-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem 1.5rem; }

.mh-drawer-body ul { list-style: none; margin: 0; padding: 0; }

.mh-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .8rem 0;
    border: 0;
    border-bottom: 1px solid var(--mh-line);
    background: none;
    font-family: var(--mh-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--mh-ink);
    text-align: left;
}

.mh-drawer-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.mh-drawer-item.is-open > .mh-drawer-link { color: var(--mh-brand); }
.mh-drawer-item.is-open > .mh-drawer-link svg { transform: rotate(180deg); }

.mh-drawer-sub { display: none; padding: .25rem 0 .6rem .9rem; border-left: 2px solid var(--mh-brand-soft); margin-left: .2rem; }
.mh-drawer-item.is-open > .mh-drawer-sub { display: block; }
.mh-drawer-sub a { display: block; padding: .45rem 0; font-size: .93rem; color: var(--mh-body); }
.mh-drawer-sub a:hover { color: var(--mh-brand); }

.mh-drawer-foot { padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--mh-line); display: grid; gap: .6rem; }

/* --------------------------------------------------------------- hero --- */

.mh-hero { position: relative; background: var(--mh-brand-deep); }
.mh-hero--plain { padding-bottom: 62px; }

.mh-hero .carousel-item { position: relative; }

.mh-hero-media { position: relative; height: clamp(400px, 30vw + 240px, 620px); }
.mh-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.mh-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 36, 80, .92) 0%, rgba(10, 36, 80, .72) 42%, rgba(10, 36, 80, .18) 100%);
}

/* A slide with no headline is treated as finished artwork: shown whole,
   with no crop and no dark scrim over the top of it. */
.mh-hero--plain .mh-hero-media,
.mh-hero-media--plain { height: auto; aspect-ratio: 19 / 6; max-height: 620px; }
.mh-hero-media--plain img { object-fit: contain; }
.mh-hero-media--plain::after { display: none; }

.mh-hero-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.mh-hero-text { max-width: 640px; color: #fff; }

.mh-hero-text .mh-eyebrow { color: #fff; }
.mh-hero-text .mh-eyebrow::before { background: linear-gradient(180deg, #fff 0%, var(--mh-cyan) 100%); }

.mh-hero-text h1 { color: #fff; margin-bottom: 1rem; }
.mh-hero-text p { color: rgba(255, 255, 255, .85); font-size: 1.08rem; max-width: 34em; }
.mh-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.mh-hero .carousel-indicators {
    margin-bottom: 1.5rem;
    justify-content: flex-start;
    left: 50%;
    transform: translateX(-50%);
    width: min(1220px, 100% - 2.5rem);
    margin-left: 0;
    margin-right: 0;
}

.mh-hero .carousel-indicators [data-bs-target] {
    width: 26px;
    height: 4px;
    border-radius: 4px;
    border: 0;
    background: rgba(255, 255, 255, .4);
    opacity: 1;
}

.mh-hero .carousel-indicators .active { background: var(--mh-accent); width: 44px; }

.mh-hero .carousel-control-prev,
.mh-hero .carousel-control-next { width: 6%; opacity: .55; }
.mh-hero .carousel-control-prev:hover,
.mh-hero .carousel-control-next:hover { opacity: 1; }

/* Quick-action tiles that overlap the bottom of the hero. */
.mh-quick { position: relative; z-index: 5; margin-top: -56px; }

.mh-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--mh-line);
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    box-shadow: var(--mh-shadow);
}

.mh-quick-tile {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.4rem 1.25rem;
    background: #fff;
    transition: background .2s ease, transform .2s ease;
}

.mh-quick-tile:hover { background: var(--mh-mist); }
.mh-quick-tile strong { display: block; font-family: var(--mh-font-display); font-size: 1rem; color: var(--mh-ink); }
.mh-quick-tile span { font-size: .84rem; color: var(--mh-muted); line-height: 1.4; display: block; }
.mh-quick-tile--accent { background: var(--mh-accent); }
.mh-quick-tile--accent:hover { background: var(--mh-accent-deep); }
.mh-quick-tile--accent strong, .mh-quick-tile--accent span { color: #fff; }
.mh-quick-tile--accent span { color: rgba(255, 255, 255, .8); }
.mh-quick-tile--accent .mh-icon-chip { background: rgba(255, 255, 255, .2); color: #fff; }

/* --------------------------------------------------------- page banner --- */

.mh-banner { position: relative; background: var(--mh-brand-deep); }
.mh-banner-media { height: clamp(210px, 10vw + 170px, 320px); }
.mh-banner-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }

.mh-banner-body {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.mh-banner h1 { color: #fff; margin: 0; }

.mh-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    list-style: none;
    margin: .75rem 0 0;
    padding: 0;
    font-size: .88rem;
    color: rgba(255, 255, 255, .65);
}

.mh-crumbs a { color: rgba(255, 255, 255, .85); }
.mh-crumbs li + li::before { content: '/'; margin-right: .4rem; opacity: .5; }

/* -------------------------------------------------------------- cards --- */

.mh-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.mh-card:hover { transform: translateY(-5px); box-shadow: var(--mh-shadow); border-color: transparent; }

.mh-card-media { position: relative; background: var(--mh-mist); }
.mh-card-clip { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.mh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mh-card:hover .mh-card-media img { transform: scale(1.06); }
.mh-card-body { padding: 1.35rem; }
.mh-card-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.mh-card-body p { font-size: .93rem; color: var(--mh-muted); margin-bottom: 1rem; }

/* Department card: icon chip lifted over the image edge. */
.mh-dept-card .mh-icon-chip {
    position: absolute;
    left: 1.35rem;
    bottom: -26px;
    background: #fff;
    box-shadow: var(--mh-shadow-sm);
    color: var(--mh-brand);
    border: 1px solid var(--mh-line);
}

.mh-dept-card .mh-card-body { padding-top: 2.4rem; }
.mh-dept-card:hover .mh-icon-chip { background: var(--mh-brand); color: #fff; border-color: var(--mh-brand); }

/* Doctor card */
.mh-doctor-card { text-align: center; }
.mh-doctor-card .mh-card-clip { aspect-ratio: 1 / 1; }
.mh-doctor-card .mh-card-body { padding: 1.15rem 1rem 1.35rem; }
.mh-doctor-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.mh-doctor-tag { font-size: .85rem; font-weight: 600; color: var(--mh-accent); }
.mh-doctor-card small { display: block; font-size: .82rem; color: var(--mh-muted); margin-top: .35rem; }

.mh-doctor-slot {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .7rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: var(--mh-cyan-soft);
    color: #0d6d8c;
    font-size: .78rem;
    font-weight: 600;
}

.mh-doctor-slot svg { width: 13px; height: 13px; }

/* Feature card */
.mh-feature {
    display: flex;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: var(--mh-radius);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    height: 100%;
}

.mh-feature .mh-icon-chip { background: rgba(255, 255, 255, .12); color: #fff; }
.mh-feature h4 { color: #fff; font-size: 1.02rem; margin-bottom: .35rem; }
.mh-feature p { font-size: .9rem; color: rgba(255, 255, 255, .7); }

.mh-feature--plain { background: #fff; border-color: var(--mh-line); }
.mh-feature--plain h4 { color: var(--mh-ink); }
.mh-feature--plain p { color: var(--mh-muted); }
.mh-feature--plain .mh-icon-chip { background: var(--mh-brand-soft); color: var(--mh-brand); }

/* Stats */
.mh-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--mh-line);
    border-radius: var(--mh-radius);
    overflow: hidden;
    border: 1px solid var(--mh-line);
}

.mh-stat { background: #fff; padding: 1.5rem 1.25rem; text-align: center; }
.mh-stat-value { font-family: var(--mh-font-display); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 800; color: var(--mh-brand); line-height: 1; }
.mh-stat-value span { color: var(--mh-accent); }
.mh-stat-label { font-size: .88rem; color: var(--mh-muted); margin-top: .5rem; }

/* Package card */
.mh-package { display: flex; flex-direction: column; }
.mh-package-price { font-family: var(--mh-font-display); font-size: 1.6rem; font-weight: 800; color: var(--mh-brand); }
.mh-package-price del { font-size: 1rem; font-weight: 500; color: var(--mh-muted); margin-left: .5rem; }
.mh-package ul { list-style: none; margin: 1rem 0 1.25rem; padding: 0; display: grid; gap: .55rem; }
.mh-package li { display: flex; gap: .55rem; font-size: .92rem; color: var(--mh-body); }
.mh-package li svg { width: 17px; height: 17px; color: var(--mh-cyan); flex: none; margin-top: .22rem; }

/* Testimonial */
.mh-quote { height: 100%; padding: 1.6rem; border-radius: var(--mh-radius); background: #fff; border: 1px solid var(--mh-line); }
.mh-quote-stars { display: flex; gap: .15rem; color: #f5a524; margin-bottom: .8rem; }
.mh-quote-stars svg { width: 16px; height: 16px; }
.mh-quote p { font-size: .96rem; color: var(--mh-body); }
.mh-quote-person { display: flex; align-items: center; gap: .75rem; margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--mh-line); }
.mh-quote-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.mh-quote-person strong { display: block; font-family: var(--mh-font-display); font-size: .95rem; color: var(--mh-ink); }
.mh-quote-person span { font-size: .82rem; color: var(--mh-muted); }

/* Gallery */
.mh-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }

.mh-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--mh-radius-sm);
    overflow: hidden;
    background: var(--mh-mist);
}

.mh-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.mh-gallery-item:hover img { transform: scale(1.07); }

.mh-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 36, 80, .6) 100%);
    opacity: 0;
    transition: opacity .3s ease;
}

.mh-gallery-item:hover::after { opacity: 1; }

/* Contact panel: address block on top, map filling the rest of the card. */
.mh-contact-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mh-map {
    flex: 1 1 auto;
    min-height: 320px;
    background: var(--mh-mist);
    border-top: 1px solid var(--mh-line);
}

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

@media (max-width: 991.98px) {
    .mh-map, .mh-map iframe { min-height: 280px; }
}

/* Video card */
.mh-video { border-radius: var(--mh-radius); overflow: hidden; border: 1px solid var(--mh-line); background: #000; }
.mh-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* Filter chips */
.mh-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }

.mh-chip {
    padding: .45rem 1rem;
    border-radius: 999px;
    border: 1.5px solid var(--mh-line);
    background: #fff;
    font-family: var(--mh-font-display);
    font-size: .88rem;
    font-weight: 600;
    color: var(--mh-body);
}

.mh-chip:hover { border-color: var(--mh-brand); color: var(--mh-brand); }
.mh-chip.is-active { background: var(--mh-brand); border-color: var(--mh-brand); color: #fff; }

/* ---------------------------------------------------------- rich text --- */

.mh-prose { color: var(--mh-body); font-size: 1.02rem; }
.mh-prose h2 { margin: 2rem 0 .9rem; font-size: 1.55rem; }
.mh-prose h3 { margin: 1.85rem 0 .8rem; font-size: 1.28rem; color: var(--mh-brand-deep); }
.mh-prose h3:first-child, .mh-prose h2:first-child { margin-top: 0; }
.mh-prose p { margin-bottom: 1.05rem; }
.mh-prose strong { color: var(--mh-ink); font-weight: 700; }
.mh-prose ul, .mh-prose ol { padding-left: 1.15rem; margin-bottom: 1.1rem; }
.mh-prose li { margin-bottom: .5rem; }
.mh-prose a { text-decoration: underline; }
.mh-prose img { border-radius: var(--mh-radius); margin: 1rem 0; }

.mh-prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--mh-cyan);
    background: var(--mh-cyan-soft);
    border-radius: 0 var(--mh-radius-sm) var(--mh-radius-sm) 0;
}

/* --------------------------------------------------------------- forms --- */

.mh-form-panel {
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    box-shadow: var(--mh-shadow);
    padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
}

.mh-form-panel--sticky { position: sticky; top: calc(var(--mh-header-h) + 1.25rem); }

.mh-label {
    display: block;
    font-family: var(--mh-font-display);
    font-size: .84rem;
    font-weight: 600;
    color: var(--mh-ink);
    margin-bottom: .35rem;
}

.mh-input,
.mh-select,
.mh-textarea {
    width: 100%;
    padding: .72rem .9rem;
    font-family: var(--mh-font-body);
    font-size: .95rem;
    color: var(--mh-ink);
    background: var(--mh-mist);
    border: 1.5px solid var(--mh-line);
    border-radius: var(--mh-radius-sm);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.mh-input:focus,
.mh-select:focus,
.mh-textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--mh-brand);
    box-shadow: 0 0 0 3px rgba(18, 60, 122, .12);
}

.mh-textarea { resize: vertical; min-height: 118px; }

.mh-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2375869a'%3E%3Cpath d='M8 11 3.5 6.5 4.6 5.4 8 8.8l3.4-3.4 1.1 1.1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    background-size: 16px;
    padding-right: 2.2rem;
}

.mh-field { margin-bottom: 1rem; }
.mh-error { display: block; margin-top: .3rem; font-size: .82rem; color: var(--mh-accent); font-weight: 500; }
.mh-input.is-invalid, .mh-select.is-invalid, .mh-textarea.is-invalid { border-color: var(--mh-accent); }
.mh-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.mh-alert {
    display: flex;
    gap: .7rem;
    padding: .9rem 1.1rem;
    border-radius: var(--mh-radius-sm);
    font-size: .93rem;
    margin-bottom: 1.25rem;
}

.mh-alert svg { width: 20px; height: 20px; flex: none; margin-top: .1rem; }
.mh-alert--success { background: #e8f7ee; color: #14683a; }
.mh-alert--error { background: var(--mh-accent-soft); color: var(--mh-accent-deep); }

/* ---------------------------------------------------------- accordion --- */

.mh-accordion { display: grid; gap: .75rem; }

.mh-accordion-item {
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius);
    background: #fff;
    overflow: hidden;
}

.mh-accordion-item.is-open { border-color: var(--mh-brand); box-shadow: var(--mh-shadow-sm); }

.mh-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.05rem 1.25rem;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--mh-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--mh-ink);
}

.mh-accordion-trigger:hover { color: var(--mh-brand); }

.mh-accordion-icon {
    width: 30px;
    height: 30px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mh-brand-soft);
    color: var(--mh-brand);
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.mh-accordion-icon svg { width: 15px; height: 15px; }
.mh-accordion-item.is-open .mh-accordion-icon { transform: rotate(45deg); background: var(--mh-accent); color: #fff; }

.mh-accordion-panel { display: none; padding: 0 1.25rem 1.15rem; color: var(--mh-body); font-size: .95rem; }
.mh-accordion-item.is-open .mh-accordion-panel { display: block; }

/* ------------------------------------------------------------ cta band --- */

.mh-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--mh-brand-deep) 0%, var(--mh-brand) 60%, #16528f 100%);
    border-radius: var(--mh-radius-lg);
    padding: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
    color: #fff;
}

.mh-cta::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(23, 168, 212, .22);
}

.mh-cta > * { position: relative; z-index: 1; }
.mh-cta h2 { color: #fff; }
.mh-cta p { color: rgba(255, 255, 255, .8); }

/* ------------------------------------------------------------- footer --- */

.mh-footer { background: var(--mh-brand-deep); color: rgba(255, 255, 255, .72); padding-top: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.mh-footer h5 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; }
.mh-footer a { color: rgba(255, 255, 255, .72); }
.mh-footer a:hover { color: #fff; }
.mh-footer-logo { height: 60px; background: #fff; padding: .5rem .7rem; border-radius: 12px; margin-bottom: 1.1rem; }
.mh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.mh-footer ul a { font-size: .93rem; }

.mh-footer-contact { display: grid; gap: .9rem; }
.mh-footer-contact li { display: flex; gap: .7rem; font-size: .93rem; align-items: flex-start; }
.mh-footer-contact svg { width: 18px; height: 18px; color: var(--mh-cyan); flex: none; margin-top: .2rem; }

.mh-footer-social { display: flex; gap: .55rem; margin-top: 1.25rem; }

.mh-footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    transition: background .2s ease, transform .2s ease;
}

.mh-footer-social a:hover { background: var(--mh-accent); transform: translateY(-2px); }
.mh-footer-social svg { width: 17px; height: 17px; }

.mh-footer-bottom {
    margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .87rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    justify-content: space-between;
    align-items: center;
}

/* Sticky action bar for phones. */
.mh-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    display: none;
    background: #fff;
    border-top: 1px solid var(--mh-line);
    box-shadow: 0 -6px 24px rgba(14, 27, 42, .12);
    padding-bottom: env(safe-area-inset-bottom);
}

.mh-action-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .18rem;
    padding: .6rem .35rem;
    font-family: var(--mh-font-display);
    font-size: .72rem;
    font-weight: 600;
    color: var(--mh-ink);
}

.mh-action-bar a svg { width: 20px; height: 20px; color: var(--mh-brand); }
.mh-action-bar a.is-accent { color: var(--mh-accent); }
.mh-action-bar a.is-accent svg { color: var(--mh-accent); }

/* Floating WhatsApp button */
.mh-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 1034;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
    transition: transform .2s ease;
}

.mh-whatsapp:hover { transform: scale(1.08); color: #fff; }
.mh-whatsapp svg { width: 27px; height: 27px; }

/* --------------------------------------------------------- pagination --- */

.pagination { --bs-pagination-color: var(--mh-body); --bs-pagination-active-bg: var(--mh-brand); --bs-pagination-active-border-color: var(--mh-brand); --bs-pagination-border-color: var(--mh-line); --bs-pagination-hover-color: var(--mh-brand); --bs-pagination-border-radius: 10px; gap: .35rem; }
.pagination .page-link { border-radius: 10px; font-weight: 600; font-family: var(--mh-font-display); }

/* -------------------------------------------------------- empty state --- */

.mh-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    border: 1.5px dashed var(--mh-line);
    border-radius: var(--mh-radius);
    background: var(--mh-mist);
    color: var(--mh-muted);
}

.mh-empty svg { width: 44px; height: 44px; color: var(--mh-line); margin-bottom: .75rem; }
.mh-empty h3 { font-size: 1.15rem; margin-bottom: .4rem; }

/* -------------------------------------------------------------- utils --- */

.mh-media-frame { position: relative; border-radius: var(--mh-radius-lg); overflow: hidden; box-shadow: var(--mh-shadow); }
.mh-media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mh-media-badge {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem 1.1rem;
    border-radius: var(--mh-radius);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(6px);
    box-shadow: var(--mh-shadow-sm);
}

.mh-media-badge strong { display: block; font-family: var(--mh-font-display); color: var(--mh-ink); font-size: .98rem; }
.mh-media-badge span { font-size: .8rem; color: var(--mh-muted); }

.mh-check-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .65rem; }
.mh-check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.mh-check-list svg { width: 20px; height: 20px; color: var(--mh-cyan); flex: none; margin-top: .15rem; }

.mh-scroller { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: thin; }
.mh-scroller > * { flex: 0 0 clamp(230px, 24vw, 285px); scroll-snap-align: start; }

/* ------------------------------------------------------- lightbox ------- */

.mh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(6, 18, 34, .93);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.mh-lightbox.is-open { display: flex; }
.mh-lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; border-radius: var(--mh-radius); }

.mh-lightbox-close,
.mh-lightbox-prev,
.mh-lightbox-next {
    position: absolute;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.mh-lightbox-close:hover,
.mh-lightbox-prev:hover,
.mh-lightbox-next:hover { background: var(--mh-accent); }

.mh-lightbox-close { top: 1.25rem; right: 1.25rem; }
.mh-lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.mh-lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.mh-lightbox svg { width: 22px; height: 22px; }

/* -------------------------------------------------------- responsive --- */

@media (max-width: 1199.98px) {
    .mh-nav-link { padding: .55rem .6rem; font-size: .88rem; }
    .mh-header-phone { display: none; }
}

@media (max-width: 991.98px) {
    :root { --mh-header-h: 70px; }
    .mh-nav { display: none; }
    .mh-burger { display: grid; }
    .mh-header-cta .mh-btn { display: none; }
    .mh-logo img { height: 46px; }
    .mh-quick-grid { grid-template-columns: repeat(2, 1fr); }
    .mh-quick { margin-top: -40px; }
    .mh-topbar-social { display: none; }
    .mh-form-panel--sticky { position: static; }
}

@media (max-width: 767.98px) {
    body { padding-bottom: 62px; }
    .mh-action-bar { display: flex; }
    .mh-whatsapp { bottom: 76px; right: 14px; }
    .mh-hero-media { height: 440px; }
    .mh-hero--plain .mh-hero-media, .mh-hero-media--plain { height: auto; }
    .mh-hero--plain { padding-bottom: 40px; }
    .mh-hero-caption { align-items: flex-end; padding-bottom: 3.5rem; }
    .mh-hero .carousel-control-prev, .mh-hero .carousel-control-next { display: none; }
    .mh-hero-actions .mh-btn { flex: 1 1 auto; }
    .mh-footer-bottom { justify-content: center; text-align: center; }
    .mh-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
}

@media (max-width: 575.98px) {
    .mh-quick-grid { grid-template-columns: 1fr; }
    .mh-quick { margin-top: -28px; }
    .mh-ticker-label { display: none; }
    .mh-hero-media { height: 400px; }
    .mh-hero-text p { font-size: 1rem; }
    .mh-lightbox-prev { left: .5rem; }
    .mh-lightbox-next { right: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .mh-topbar, .mh-header, .mh-action-bar, .mh-whatsapp, .mh-footer, .mh-quick { display: none !important; }
}

/* ==========================================================================
   Mobile refinements
   Desktop and tablet layouts are unchanged; these only apply on phones.
   ========================================================================== */

@media (max-width: 991.98px) {
    /* With the nav hidden there was nothing pushing the menu button across,
       so it sat next to the logo. Send it to the right edge. */
    .mh-header-cta { margin-left: auto; }
}

@media (max-width: 575.98px) {
    /* Four full-width quick tiles pushed the rest of the page far down.
       Two per row, in a compact stacked form. */
    .mh-quick { margin-top: -20px; }

    .mh-quick-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        border-radius: 16px;
    }

    .mh-quick-tile {
        flex-direction: column;
        align-items: flex-start;
        gap: .45rem;
        padding: .8rem .75rem;
        min-height: 100%;
    }

    .mh-quick-tile .mh-icon-chip {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .mh-quick-tile .mh-icon-chip svg { width: 17px; height: 17px; }

    .mh-quick-tile strong {
        font-size: .82rem;
        line-height: 1.25;
    }

    .mh-quick-tile > span:last-child > span {
        font-size: .72rem;
        line-height: 1.35;
    }
}

/* --------------------------------------------------------------------------
   Quick tile icon centring
   .mh-quick-tile span { display: block } also matched the icon chip (a span),
   which knocked out its grid centring and pinned the icon to the top-left.
   This wins on specificity and restores it.
   -------------------------------------------------------------------------- */
.mh-quick-tile .mh-icon-chip {
    display: grid;
    place-items: center;
}

/* Hero slider: keep it auto-playing, just hide the position dots. */
.mh-hero .carousel-indicators { display: none; }
