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

:root,
:host {
    --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
    --color-red-100: oklch(93.6% .032 17.717);
    --color-red-200: oklch(88.5% .062 18.334);
    --color-red-300: oklch(80.8% .114 19.571);
    --color-red-400: oklch(70.4% .191 22.216);
    --color-red-500: oklch(63.7% .237 25.331);
    --color-red-600: oklch(57.7% .245 27.325);
    --color-red-800: oklch(44.4% .177 26.899);
    --color-red-900: oklch(39.6% .141 25.723);
    --color-red-950: oklch(25.8% .092 26.042);
    --color-amber-50: oklch(98.7% .022 95.277);
    --color-amber-100: oklch(96.2% .059 95.617);
    --color-amber-500: oklch(76.9% .188 70.08);
    --color-amber-600: oklch(66.6% .179 58.318);
    --color-amber-700: oklch(55.5% .163 48.998);
    --color-amber-800: oklch(47.3% .137 46.201);
    --color-emerald-50: oklch(97.9% .021 166.113);
    --color-emerald-100: oklch(95% .052 163.051);
    --color-emerald-300: oklch(84.5% .143 164.978);
    --color-emerald-400: oklch(76.5% .177 163.223);
    --color-emerald-500: oklch(69.6% .17 162.48);
    --color-emerald-600: oklch(59.6% .145 163.225);
    --color-emerald-700: oklch(50.8% .118 165.612);
    --color-teal-50: oklch(98.4% .014 180.72);
    --color-teal-100: oklch(95.3% .051 180.801);
    --color-teal-200: oklch(91% .096 180.426);
    --color-teal-300: oklch(85.5% .138 181.071);
    --color-teal-400: oklch(77.7% .152 181.912);
    --color-teal-500: oklch(70.4% .14 182.503);
    --color-teal-600: oklch(60% .118 184.704);
    --color-teal-700: oklch(51.1% .096 186.391);
    --color-teal-800: oklch(43.7% .078 188.216);
    --color-teal-900: oklch(38.6% .063 188.416);
    --color-teal-950: oklch(27.7% .046 192.524);
    --color-sky-50: oklch(97.7% .013 236.62);
    --color-sky-100: oklch(95.1% .026 236.824);
    --color-sky-500: oklch(68.5% .169 237.323);
    --color-sky-600: oklch(58.8% .158 241.966);
    --color-sky-700: oklch(50% .134 242.749);
    --color-indigo-50: oklch(96.2% .018 272.314);
    --color-indigo-100: oklch(93% .034 272.788);
    --color-indigo-600: oklch(51.1% .262 276.966);
    --color-indigo-700: oklch(45.7% .24 277.023);
    --color-rose-50: oklch(96.9% .015 12.422);
    --color-rose-100: oklch(94.1% .03 12.58);
    --color-rose-500: oklch(64.5% .246 16.439);
    --color-rose-600: oklch(58.6% .253 17.585);
    --color-slate-50: oklch(98.4% .003 247.858);
    --color-slate-100: oklch(96.8% .007 247.896);
    --color-slate-200: oklch(92.9% .013 255.508);
    --color-slate-300: oklch(86.9% .022 252.894);
    --color-slate-400: oklch(70.4% .04 256.788);
    --color-slate-500: oklch(55.4% .046 257.417);
    --color-slate-600: oklch(44.6% .043 257.281);
    --color-slate-700: oklch(37.2% .044 257.287);
    --color-slate-800: oklch(27.9% .041 260.031);
    --color-slate-900: oklch(20.8% .042 265.755);
    --color-slate-950: oklch(12.9% .042 264.695);
    --color-black: #000;
    --color-white: #fff;
    --spacing: .25rem;
    --container-xs: 20rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-4xl: 56rem;
    --container-7xl: 80rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-base--line-height: 1.5;
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: 1.2;
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --tracking-tighter: -.05em;
    --tracking-tight: -.025em;
    --tracking-wide: .025em;
    --tracking-wider: .05em;
    --tracking-widest: .1em;
    --leading-tight: 1.25;
    --leading-relaxed: 1.625;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --animate-ping: ping 1s cubic-bezier(0, 0, .2, 1) infinite;
    --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
    --animate-bounce: bounce 1s infinite;
    --blur-xs: 4px;
    --blur-md: 12px;
    --blur-3xl: 64px;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --font-display: "Outfit", "Space Grotesk", sans-serif;
    --content-padding: calc(var(--spacing) * 6);
    --content-max-width: 1280px;

    /* Lovelder brand — matched to logo */
    --brand-blue: #18416F;
    --brand-blue-footer: #041a33;
    --brand-blue-accent: #324DA1;
    --brand-blue-accent-hover: #283f85;
    --brand-blue-dark: #14355a;
    --brand-blue-darker: #0e2744;
    --brand-blue-light: #021831;
    --brand-blue-muted: rgba(24, 65, 111, 0.08);
    --brand-blue-surface: #eef3f9;
    --brand-blue-surface-alt: #e4ecf6;
    --brand-blue-accent-muted: rgba(50, 77, 161, 0.12);
    --brand-green: #2EBE5A;
    --brand-green-dark: #26a34e;
    --brand-green-darker: #1f8a41;
    --brand-green-light: #56d47f;
    --brand-green-muted: #d3fbe0;
    --brand-red: #E53935;

    /* Project semantic mappings */
    --top-bar-bg: var(--brand-blue);
    --emergency-red: var(--color-red-500);
    --teal: var(--brand-blue-accent);
    --teal-accent: var(--brand-blue-accent);
    --teal-dark: var(--brand-blue-dark);
    --navy: var(--brand-blue);
    --mint: var(--color-emerald-300);
    --nav-text: #3d5270;
    --hero-bg: var(--brand-blue-surface);
    --section-light-bg: linear-gradient(180deg, var(--brand-blue-surface) 0%, #fff 55%, var(--brand-blue-surface-alt) 100%);
    --header-offset: 8.5rem;
}

@keyframes blink-dot {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
    }
    50% {
        opacity: 0.15;
        box-shadow: 0 0 0 4px rgba(255, 77, 77, 0);
    }
}

body {
    padding-top: var(--header-offset);
    font-family: var(--default-font-family);
    color: var(--color-slate-700);
    background-color: var(--brand-blue-surface);
}

.top-bar .container-fluid,
.main-nav .container-fluid,
main .container-fluid,
.emergency-banner .container-fluid,
.site-footer .container-fluid,
.portal-topbar .container-fluid,
.portal-nav .container-fluid,
.portal-content .container-fluid {
    width: 100%;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--content-padding) !important;
    padding-right: var(--content-padding) !important;
}

/* Align section starts with header edges */
main > section > .container-fluid {
    padding: 18px 18px !important;
}

main > section > .container-fluid > .row {
    --bs-gutter-x: calc(var(--spacing) * 6);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
}

.site-header {
    z-index: 1030;
}

/* ---- Top announcement bar ---- */
.top-bar {
    background-color: var(--top-bar-bg);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.blink-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--emergency-red);
    animation: blink-dot 1.2s ease-in-out infinite;
}

.emergency-label {
    color: var(--emergency-red);
    font-weight: 700;
    text-transform: uppercase;
}

.emergency-phone {
    color: #d1d5db;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    text-decoration: none;
    letter-spacing: 0.04em;
}

.emergency-phone:hover {
    color: #fff;
}

.partner-text {
    font-size: 0.7rem;
    white-space: nowrap;
}

.partner-muted {
    color: #94a3b8;
}

.partner-names {
    color: #fff;
    font-weight: 500;
}

.btn-portals{
  background: var(--brand-blue);
  border: 1px solid var(--brand-green);
  color: var(--brand-green-light);

  padding: 6px 12px;   /* decreased height & width */

  border-radius: 9px;

  display: inline-flex;
  align-items: center;
  gap: 4px;

  text-decoration: none;

  font-size: 12px;     /* decreased font size */
  font-weight: 500;

  transition: 0.3s ease;
}

.btn-portals:hover{
  background: var(--brand-green);
  color: #fff;
}

.btn-portals__icon {
    font-size: 0.75rem;
    line-height: 1;
}

/* ---- Main navigation ---- */
.main-nav {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.main-nav .navbar-brand.brand-block {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin-right: auto;
    line-height: 0;
    flex-shrink: 0;
}

.brand-logo-img {
    display: block;
    width: auto;
    height: 4.75rem;
    max-width: min(340px, 48vw);
    object-fit: contain;
    object-position: left center;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green-darker));
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: -0.02em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.brand-name--accent {
    color: var(--teal);
}

.brand-tagline {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #9ca3af;
    text-transform: uppercase;
}

.main-nav .nav-link {
    position: relative;
    color: var(--nav-text);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.65rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 2px;
    background-color: var(--brand-blue-accent);
    transform: scaleX(0);
    transform-origin: center center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav .nav-link:hover {
    color: var(--brand-blue-accent);
}

.main-nav .nav-link:hover::after {
    transform: scaleX(1);
}

.nav-actions .btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 0.4rem;
    white-space: nowrap;
}

.btn-demo {
    color: var(--nav-text);
    background-color: #fff;
    border: 1px solid #d1d5db;
}

.btn-demo:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    color: var(--brand-blue);
}

.btn-book {
    color: #fff;
    background-color: var(--brand-blue-accent);
    border: 1px solid var(--brand-blue-accent);
}

.btn-book:hover {
    background-color: var(--brand-blue-accent-hover);
    border-color: var(--brand-blue-accent-hover);
    color: #fff;
}

@media (max-width: 991px) {
    :root {
        --header-offset: 11rem;
    }

    .main-nav .navbar-collapse {
        padding-bottom: 1rem;
    }

    .brand-logo-img {
        height: 4rem;
        max-width: min(280px, 62vw);
    }

    .site-footer__logo-img {
        height: 4rem;
        max-width: min(280px, 100%);
    }

    .hero__badge{
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    :root {
        --header-offset: 12.5rem;
    }

    .brand-logo-img {
        height: 3.5rem;
        max-width: min(240px, 72vw);
    }

    .site-footer__logo-img {
        height: 3.5rem;
        max-width: min(240px, 100%);
    }

    .partner-text {
        display: none !important;
    }

    .btn-portals {
        font-size: 0.62rem;
        padding: 0.2rem 0.55rem;
    }
}

/* ---- Image placeholders ---- */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #cbd5e1 0%, #94a3b8 50%, #64748b 100%);
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    border: 2px dashed #94a3b8;
}

.img-placeholder__label {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0.5rem;
}

.img-placeholder--circle {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    border-radius: 50%;
    font-size: 0.55rem;
}

.img-placeholder--hero {
    position: relative;
    width: 100%;
    min-height: 20rem;
    border-radius: 1.75rem;
    border: none;
    overflow: hidden;
    background: transparent;
}

@media (min-width: 992px) {
    .img-placeholder--hero {
        min-height: 23.5rem;
    }
}

/* ---- Hero section ---- */
.hero {
    background-color: var(--hero-bg);
    overflow-x: clip;
}

.hero > .container-fluid {
    padding-top: calc(var(--spacing) * 4) !important;
    padding-bottom: calc(var(--spacing) * 10) !important;
}

.hero__trust-badge {
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand-blue);
    background-color: var(--brand-blue-accent-muted);
    border: 1px solid rgba(50, 77, 161, 0.22);
    border-radius: 999px;
}

.hero__trust-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background-color: #22c55e;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
}

.hero__title {
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    max-width: 34rem;
}

.hero__title-line {
    display: block;
    color: var(--brand-blue);
}

.hero__title-line--accent {
    color: var(--brand-green-dark);
}

.hero__desc {
    max-width: 34rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.hero-feature-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    height: 100%;
}

.hero-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--brand-green-muted);
    color: var(--brand-green-dark);
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-feature-card strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1.2;
}

.hero-feature-card span {
    display: block;
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.2;
}

.hero__actions .btn {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.7rem 1.25rem;
    border-radius: 0.5rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.35s ease;
}

.btn-hero-primary::before,
.btn-hero-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
    z-index: -1;
}

.btn-hero-primary {
    color: #fff;
    background-color: var(--brand-green);
    border: 1px solid var(--brand-green);
}

.btn-hero-primary::before {
    background-color: var(--brand-green-dark);
}

.btn-hero-primary:hover {
    color: #fff;
    border-color: var(--brand-green-dark);
}

.btn-hero-primary:hover::before {
    transform: scaleX(1);
}

.btn-hero-secondary {
    color: #fff;
    background-color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
}

.btn-hero-secondary::before {
    background-color: var(--brand-blue-dark);
}

.btn-hero-secondary:hover {
    color: #fff;
    border-color: var(--brand-blue-dark);
}

.btn-hero-secondary:hover::before {
    transform: scaleX(1);
}

.hero-btn-icon {
    margin-right: 0.35rem;
    font-size: 0.9rem;
}

.hero-chairman-card {
    max-width: 34rem;
    padding: 0.85rem 1rem;
    background-color: #ece8f8;
    border-radius: 0.75rem;
    margin-top: 0.5rem;
}

.hero-chairman-card__photo {
    overflow: hidden;
}

.hero-chairman-card__photo-img {
    display: block;
    width: 5.25rem;
    height: 5.25rem;
    min-width: 5.25rem;
    object-fit: cover;
    object-position: center top;
    border-radius: 0.65rem;
    flex-shrink: 0;
}

.hero-chairman-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1.25;
}

.hero-chairman-card__title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-blue-accent);
    line-height: 1.35;
}

.hero-chairman-card__subtitle {
    font-size: 0.72rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.4;
}

.hero__compliance {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0;
}

.hero__compliance-check {
    color: #22c55e;
    font-weight: 800;
    margin-right: 0.2rem;
}

.hero-testimonial {
    position: relative;
    max-width: 100%;
    padding: 1.15rem 2.25rem;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.hero-testimonial__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background-color: #fff;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.hero-testimonial__nav:hover {
    border-color: var(--brand-green-dark);
    color: var(--brand-green-dark);
}

.hero-testimonial__nav--prev {
    left: 0.5rem;
}

.hero-testimonial__nav--next {
    right: 0.5rem;
}

.hero-testimonial__rating {
    font-size: 0.72rem;
    color: #f59e0b;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.hero-testimonial__quote {
    font-size: 0.84rem;
    font-style: italic;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 0.35rem;
}

.hero-testimonial__meta {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
}

.hero-testimonial__avatar-img {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.hero__partners {
    padding-top: 0.5rem;
}

.hero__partners-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero__partner-logo {
    font-size: 0.78rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.02em;
}

.hero__partner-badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-green-darker);
    background-color: #ecfdf5;
    border: 1px solid #99f6e4;
    border-radius: 0.3rem;
    padding: 0.2rem 0.45rem;
}

/* Hero visual (right column) */
.hero-visual {
    position: relative;
    max-width: 100%;
    margin-bottom: 1.25rem;
}

.hero-visual__image {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    transition: box-shadow 0.4s ease;
}

.hero-visual__img {
    width: 100%;
    height: 100%;
    min-height: 22rem;
    object-fit: cover;
    display: block;
    border-radius: 1.25rem;
    transition: filter 0.45s ease, transform 0.45s ease;
}

.hero-visual__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    background-color: var(--brand-blue);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(24, 65, 111, 0.35);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.hero-visual__badge-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    flex-shrink: 0;
    animation: blinkDot 1.2s ease-in-out infinite;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
}

.hero-visual__badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-visual__badge-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}

.hero-visual__badge-sub {
    font-size: 0.58rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.hero-vitals-card {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    z-index: 3;
    width: min(14rem, 42%);
    padding: 0.85rem 1rem;
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.hero-vitals-card__title {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}

.hero-vitals-card__title small {
    display: block;
    font-size: 0.58rem;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 0.1rem;
}

.hero-vitals-card__list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.15rem 0.5rem;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.68rem;
}

.hero-vitals-card__list li:last-child {
    border-bottom: none;
}

.hero-vitals-card__label {
    grid-column: 1;
    color: #64748b;
    font-weight: 600;
}

.hero-vitals-card__value {
    grid-column: 1;
    font-weight: 800;
    color: var(--brand-blue);
    font-size: 0.75rem;
}

.hero-vitals-card__status {
    grid-column: 2;
    grid-row: 1 / 3;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    align-self: center;
}

.hero-vitals-card__status--ok {
    color: #15803d;
    background-color: rgba(220, 252, 231, 0.85);
}

.hero-visual__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.25rem 1.25rem 1.35rem;
    background-color: transparent;
    background-image: linear-gradient(
        to top,
        rgba(24, 65, 111, 0.82) 0%,
        rgba(24, 65, 111, 0.45) 40%,
        rgba(24, 65, 111, 0.12) 70%,
        rgba(24, 65, 111, 0) 100%
    );
    pointer-events: none;
    transition: background-image 0.45s ease;
}

.hero-visual__overlay > * {
    pointer-events: auto;
}

.hero-visual__overlay-tag {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 8px rgba(15, 23, 42, 0.45);
    transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.4s ease;
}

.hero-visual__overlay-headline {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    max-width: 22rem;
    text-shadow: 0 2px 12px rgba(15, 23, 42, 0.55);
    transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.4s ease;
}

.hero-visual__overlay-desc {
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    max-width: 24rem;
    text-shadow: 0 1px 8px rgba(15, 23, 42, 0.5);
}

.hero-visual__overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-blue);
    background-color: #fff;
    border: none;
    border-radius: 0.45rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.hero-visual__image:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.hero-visual__image:hover .hero-visual__img {
    filter: blur(5px);
    transform: scale(1.04);
}

.hero-visual__image:hover .hero-visual__overlay {
    background-image: linear-gradient(
        to top,
        rgba(14, 39, 68, 0.95) 0%,
        rgba(24, 65, 111, 0.78) 45%,
        rgba(24, 65, 111, 0.35) 100%
    );
}

.hero-visual__image:hover .hero-visual__overlay-tag {
    color: #86efac;
    text-shadow: 0 0 14px rgba(134, 239, 172, 0.85);
    transform: translateY(-3px);
}

.hero-visual__image:hover .hero-visual__overlay-headline {
    color: #fff;
    text-shadow:
        0 0 18px rgba(255, 255, 255, 0.55),
        0 2px 16px rgba(15, 23, 42, 0.65);
    transform: translateY(-3px) scale(1.02);
    transform-origin: left bottom;
}

.hero-visual__image:hover .hero-visual__overlay-btn {
    background-color: #fff;
    color: var(--brand-blue);
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
}

.hero-visual__image:hover .hero-visual__badge {
    box-shadow: 0 10px 30px rgba(24, 65, 111, 0.55);
    transform: scale(1.04);
}

.hero-visual__image:hover .hero-visual__badge-title {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.hero-visual__overlay-btn:hover {
    background-color: var(--brand-blue-surface-alt);
    color: var(--brand-blue);
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual__image:hover .hero-visual__img {
        filter: none;
        transform: none;
    }

    .hero-visual__image:hover .hero-visual__overlay-tag,
    .hero-visual__image:hover .hero-visual__overlay-headline,
    .hero-visual__image:hover .hero-visual__overlay-btn {
        transform: none;
    }
}

.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hero-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.35rem;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
}

.hero-service-item__icon {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.hero-service-item strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1.2;
}

.hero-service-item span {
    font-size: 0.58rem;
    color: #64748b;
    line-height: 1.2;
}

.hero-contact-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.hero-contact-bar__phone {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.hero-contact-bar__phone-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.hero-contact-bar__phone-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-contact-bar__phone-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-blue);
    text-decoration: none;
    line-height: 1.2;
}

.hero-contact-bar__phone-number:hover {
    color: var(--brand-green-dark);
}

.hero-contact-bar__phone-hours {
    display: block;
    font-size: 0.65rem;
    color: #22c55e;
    font-weight: 600;
}

.hero-contact-bar__trust {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    max-width: 16rem;
}

.hero-contact-bar__shield {
    font-size: 1.35rem;
    color: #22c55e;
}

.hero-contact-bar__trust strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1.3;
}

.hero-contact-bar__trust span {
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.35;
}

@media (max-width: 991.98px) {
    .hero-vitals-card {
        right: 0.75rem;
        width: 11.5rem;
    }

    .hero-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .hero > .container-fluid {
        padding-top: calc(var(--spacing) * 6) !important;
        padding-bottom: calc(var(--spacing) * 6) !important;
    }

    .hero__title {
        font-size: 1.65rem;
    }

    .hero-visual__img {
        min-height: 18rem;
    }

    .hero-vitals-card {
        right: 0.5rem;
        width: 10.5rem;
        padding: 0.65rem 0.75rem;
    }

    .hero-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-contact-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-chairman-card {
        margin-top: 1rem;
    }

    .hero-testimonial {
        padding: 1rem 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero__partners {
        flex-direction: column;
        align-items: flex-start;
    }
}

@keyframes blinkDot {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

/* ---- Healthcare services section ---- */
.services {
    background-color: #fff;
}

.partners-bar {
    background-color: var(--brand-blue-surface-alt);
    border-top: 1px solid rgba(24, 65, 111, 0.08);
    border-bottom: 1px solid rgba(24, 65, 111, 0.08);
}

.partners-bar__label,
.partners-bar__list li {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b5b6b8;
    transition: color 0.3s ease;
}

.partners-bar__label:hover,
.partners-bar__list li:hover {
    color: #4b5563; /* dark gray */
}

.partners-bar__label {
    white-space: nowrap;
}

.partners-bar__list li {
    white-space: nowrap;
}

.services__label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.services__title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--navy);
    margin-bottom: 1rem;
}

.services__desc {
    max-width: 36rem;
    font-size: 0.95rem;
    line-height: 1;
    color: #6b7280;
}

.services-audit {
    padding: 1.2rem 1.5rem;
    background-color: var(--navy);
    border-radius: 0.85rem;
    height: 100%;
    width: 100%;

}

.services-audit__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    color: #fff;
    background-color: var(--teal-accent);
    border-radius: 50%;
}

.services-audit__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.services-audit__text {
    font-size: 0.8rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.service-card.card,
.tier-card,
.subscription-card,
.coverage-card,
.service-catalog-card,
.why-card,
.team-card {
    border-radius: 0.85rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.service-card {
    border-radius: 0.85rem !important;
}

.service-card.card:hover,
.tier-card:hover,
.subscription-card:hover,
.service-catalog-card:hover,
.why-card:hover,
.team-card:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
    transform: translateY(-5px);
}

.service-card .card-body {
    padding: 1.5rem 1.35rem;
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
}

.service-card__icon--teal {
    background-color: var(--brand-blue-accent-muted);
}

.service-card__icon--blue {
    background-color: #dbeafe;
}

.service-card__icon--amber {
    background-color: #fef3c7;
}

.service-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.65rem;
}

.service-card__text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #6b7280;
}

@media (max-width: 500.98px) {
    .partners-bar__list {
        justify-content: flex-start;
    }
}

/* ---- Plan builder section ---- */
.plan-builder {
    background-color: #f1f5f9;
}

.plan-builder__panel {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    color: #475569;
    box-shadow: none;
}

.plan-builder__chip {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--brand-blue-accent);
    background-color: rgba(50, 77, 161, 0.1);
    border: none;
}

.plan-builder__title {
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--brand-blue);
    margin-bottom: 0.6rem;
}

.plan-builder__subtitle {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    max-width: 38rem;
}

.plan-builder__group {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.plan-builder__group-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--brand-green-dark);
    margin-bottom: 0.75rem;
}

.tier-card {
    border: 1px solid #e2e8f0;
    background-color: #fff;
    border-radius: 0.65rem;
    padding: 0.9rem 1rem;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tier-card--active {
    border-color: var(--brand-blue-accent);
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(50, 77, 161, 0.15);
}

.tier-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.tier-card__radio {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background-color: #fff;
}

.tier-card__radio--checked {
    border-color: var(--brand-blue-accent);
    background-color: var(--brand-blue-accent);
    box-shadow: inset 0 0 0 2px #fff;
}

.tier-card__price {
    color: var(--brand-blue);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
}

.tier-card__price span {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
}

.tier-card__list {
    padding-left: 1rem;
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.5;
}

.tier-card__list li + li {
    margin-top: 0.3rem;
}

.plan-option-check,
.visit-option,
.test-option {
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    background-color: #fff;
}

.plan-option-check {
    padding: 0.75rem 0.85rem;
}

.plan-option-check .form-check-input,
.test-option .form-check-input {
    background-color: #fff;
    border-color: #cbd5e1;
    width: 1.05rem;
    height: 1.05rem;
}

.plan-option-check .form-check-input:checked,
.test-option .form-check-input:checked {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
}

.plan-option-check:has(.form-check-input:checked) {
    border-color: rgba(46, 190, 90, 0.3);
    background-color: rgba(46, 190, 90, 0.03);
}

.plan-option-check__label strong {
    display: block;
    font-size: 0.88rem;
    color: var(--brand-blue);
}

.plan-option-check__label small {
    display: block;
    color: #64748b;
    font-size: 0.7rem;
    line-height: 1.45;
    margin-top: 0.15rem;
}

.plan-option-check__price {
    color: var(--brand-green-dark);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.visit-option {
    padding: 0.75rem 0.85rem;
}

.visit-option__head strong {
    font-size: 0.88rem;
    color: var(--brand-blue);
}

.visit-option__head span {
    font-size: 0.72rem;
    color: var(--brand-green-dark);
    font-weight: 700;
}

.visit-pill {
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 0.45rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.74rem;
    color: #64748b;
    background-color: #f8fafc;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.visit-pill:focus-visible {
    outline: 2px solid var(--brand-blue-accent);
    outline-offset: 2px;
}

.tier-card:focus-visible {
    outline: 2px solid var(--brand-blue-accent);
    outline-offset: 2px;
}

.visit-pill--active {
    border-color: var(--brand-blue-accent);
    color: var(--brand-blue);
    background-color: rgba(50, 77, 161, 0.08);
    font-weight: 600;
}

.test-option {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    height: 100%;
}

.test-option span {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 0.12rem;
}

.test-option small {
    display: block;
    font-size: 0.68rem;
    color: var(--brand-green-dark);
    font-weight: 600;
}

.test-option:has(.form-check-input:checked) {
    border-color: rgba(46, 190, 90, 0.35);
    background-color: rgba(46, 190, 90, 0.04);
}

.plan-summary {
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 1.15rem 1.1rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(24, 65, 111, 0.08);
}

@media (min-width: 1200px) {
    .plan-summary {
        position: sticky;
        top: 5.5rem;
        align-self: flex-start;
    }
}

.plan-summary__heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1.2;
}

.plan-summary__price {
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1;
    color: var(--brand-green-dark);
}

.plan-summary__price span {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 600;
}

.plan-summary__monthly {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
}

.plan-summary__checks {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.45;
}

.plan-summary__checks li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.plan-summary__checks li + li {
    margin-top: 0.45rem;
}

.plan-summary__check-icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.05rem;
    border-radius: 50%;
    background-color: var(--brand-green);
    position: relative;
}

.plan-summary__check-icon::after {
    content: "";
    position: absolute;
    left: 0.32rem;
    top: 0.18rem;
    width: 0.22rem;
    height: 0.42rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.plan-summary__breakdown {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.85rem;
    margin-bottom: 0;
}

.plan-summary__breakdown-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.65rem;
}

.plan-summary__breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.plan-summary__breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.72rem;
}

.plan-summary__breakdown-row dt {
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

.plan-summary__breakdown-row dd {
    color: var(--brand-blue);
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.plan-summary__breakdown-row--muted dd {
    color: #94a3b8;
    font-weight: 600;
}

.plan-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.82rem;
    color: var(--brand-blue);
    font-weight: 700;
}

.plan-summary__total strong {
    color: var(--brand-green-dark);
    font-size: 1rem;
    font-weight: 800;
}

.plan-summary__footer {
    padding-top: 1rem;
}

.plan-summary__cta {
    background-color: var(--brand-blue-accent);
    border: 1px solid var(--brand-blue-accent);
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.5rem;
}

.plan-summary__cta:hover {
    background-color: var(--brand-blue-accent-hover);
    border-color: var(--brand-blue-accent-hover);
    color: #fff;
}

.plan-summary__footnote {
    margin-top: 0.65rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.62rem;
    line-height: 1.45;
}

@media (max-width: 1199.98px) {
    .plan-summary {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .plan-builder__panel {
        padding: 0;
    }

    .tier-card__price {
        font-size: 1.35rem;
    }

    .plan-option-check,
    .visit-option,
    .test-option {
        padding: 0.62rem;
    }

    .plan-option-check {
        flex-direction: column;
    }

    .plan-summary__price {
        font-size: 1.85rem;
    }
}

/* ---- Standard plan subscriptions section ---- */
.plan-subscriptions {
    background-color: var(--brand-green-muted);
}

.plan-subscriptions__panel {
    background: transparent;
    border-radius: 0;
    padding: 0;
    color: #475569;
}

.plan-subscriptions__head {
    max-width: 42rem;
    margin: 0 auto 1.5rem;
}

.plan-subscriptions__chip {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-blue-accent);
    border: 1px solid rgba(50, 77, 161, 0.28);
    background-color: var(--brand-blue-accent-muted);
}

.plan-subscriptions__title {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.2;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}

.plan-subscriptions__subtitle {
    color: #64748b;
    font-size: 0.83rem;
    line-height: 1.55;
}

.subscription-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(24, 65, 111, 0.06);
}

.subscription-card--highlight {
    border-color: var(--brand-blue-accent);
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(50, 77, 161, 0.12);
}

.subscription-card__tag {
    margin-bottom: 0.45rem;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #94a3b8;
}

.subscription-card__offer {
    font-size: 0.53rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background-color: var(--brand-green);
    border-radius: 999px;
    padding: 0.2rem 0.45rem;
}

.subscription-card__title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.55rem;
}

.subscription-card__price {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--brand-blue);
    margin-bottom: 0.65rem;
}

.subscription-card__price span {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
}

.subscription-card__desc {
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.55;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.subscription-card__list {
    margin-bottom: 0.85rem;
    padding-left: 1rem;
    color: #475569;
    font-size: 0.74rem;
    line-height: 1.55;
}

.subscription-card__list li + li {
    margin-top: 0.25rem;
}

.subscription-card__btn {
    border: 1px solid #cbd5e1;
    background-color: #fff;
    color: var(--brand-blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.subscription-card__btn:hover {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.subscription-card__btn--teal {
    background-color: var(--brand-green);
    color: #fff;
    border-color: var(--brand-green);
}

.subscription-card__btn--teal:hover {
    background-color: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: #fff;
}

.plan-subscriptions__divider {
    border-color: #e2e8f0;
    margin: 0.5rem 0 1.2rem;
}

.plan-subscriptions__coverage-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-blue);
}

.coverage-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #e2e8f0;
    border-radius: 0.7rem;
    background-color: #fff;
    padding: 0.95rem;
    box-shadow: 0 2px 10px rgba(24, 65, 111, 0.05);
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.coverage-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brand-blue);
    transform: scale(0);
    transform-origin: top left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.coverage-card:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 12px 28px rgba(24, 65, 111, 0.22);
    transform: translateY(-4px);
}

.coverage-card:hover::before {
    transform: scale(1);
}

.coverage-card__icon,
.coverage-card__title,
.coverage-card__desc,
.coverage-card__points {
    position: relative;
    z-index: 1;
}

.coverage-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background-color: var(--brand-blue-accent-muted);
    color: var(--brand-blue-accent);
    font-weight: 700;
    margin-bottom: 0.55rem;
    transition: background-color 0.35s ease, color 0.35s ease;
}

.coverage-card__title {
    font-size: 0.98rem;
    color: var(--brand-blue);
    font-weight: 800;
    margin-bottom: 0.35rem;
    transition: color 0.35s ease;
}

.coverage-card__desc {
    color: #64748b;
    font-size: 0.73rem;
    line-height: 1.5;
    margin-bottom: 0.45rem;
    transition: color 0.35s ease;
}

.coverage-card__points {
    margin: 0;
    padding-left: 0.95rem;
    color: var(--brand-green-dark);
    font-size: 0.66rem;
    line-height: 1.45;
    transition: color 0.35s ease;
}

.coverage-card:hover .coverage-card__icon {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.coverage-card:hover .coverage-card__title {
    color: #fff;
}

.coverage-card:hover .coverage-card__desc {
    color: rgba(255, 255, 255, 0.82);
}

.coverage-card:hover .coverage-card__points {
    color: rgba(255, 255, 255, 0.92);
}

.coverage-card:hover .coverage-card__points li::marker {
    color: var(--brand-green-light);
}

.coverage-card__points li + li {
    margin-top: 0.16rem;
}

@media (max-width: 991.98px) {
    .plan-subscriptions__panel {
        padding: 1.2rem;
    }

    .subscription-card__title {
        font-size: 1.35rem;
    }

    .subscription-card__price {
        font-size: 1.65rem;
    }
}

@media (max-width: 575.98px) {
    .plan-subscriptions__panel {
        padding: 1rem 0.85rem;
    }

    .plan-subscriptions__head {
        margin-bottom: 1rem;
    }

    .coverage-card {
        padding: 0.85rem;
    }
}

/* ---- Clinical upgrades catalog section ---- */
.clinical-upgrades {
    background-color: var(--brand-blue-surface);
}

.clinical-upgrades__head {
    max-width: 40rem;
    margin: 0 auto 1.5rem;
}

.clinical-upgrades__chip {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-accent);
}

.clinical-upgrades__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.clinical-upgrades__subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.55;
}

.clinical-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.65rem;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.clinical-search {
    flex: 1 1 16rem;
    min-width: 0;
}

.clinical-search .input-group-text {
    background-color: var(--brand-green-light);
    border-color: #e2e8f0;
    color: #64748b;
}

.clinical-search__input {
    border-color: #e2e8f0;
    font-size: 0.85rem;
}

.clinical-search__input:focus {
    border-color: var(--teal-accent);
    box-shadow: 0 0 0 0.2rem rgba(38, 166, 154, 0.15);
}

.clinical-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 100%;
}

@media (min-width: 992px) {
    .clinical-filters {
        flex: 0 1 auto;
        justify-content: flex-end;
    }
}

.clinical-filter {
    border: 1px solid #e2e8f0;
    background-color: #fff;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.clinical-filter:hover {
    border-color: #cbd5e1;
    color: var(--navy);
}

.clinical-filter--active {
    background-color: var(--brand-blue-accent-muted);
    border-color: rgba(50, 77, 161, 0.35);
    color: var(--brand-blue);
}

.service-catalog-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid var(--brand-blue);
    border-radius: 0.85rem;
    padding: 1rem 1rem 0.85rem;
}

.service-catalog-card--highlight {
    border-color: var(--teal-accent);
    box-shadow: 0 0 0 1px rgba(38, 166, 154, 0.25);
}

.service-catalog-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.service-badge {
    display: inline-block;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border-radius: 0.25rem;
}

.service-badge--free {
    color: #166534;
    background-color: #dcfce7;
}

.service-badge--addon {
    color: #1e40af;
    background-color: #dbeafe;
}

.service-badge--test {
    color: #9a3412;
    background-color: #ffedd5;
}

.service-catalog-card__meta {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--navy);
    text-align: right;
    line-height: 1.3;
}

.service-catalog-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.45rem;
}

.service-catalog-card__desc {
    flex-grow: 1;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #6b7280;
    margin-bottom: 0.85rem;
}

.service-catalog-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.25rem;
}

.service-catalog-card__link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--teal-accent);
    text-decoration: none;
    white-space: nowrap;
}

.service-catalog-card__link:hover {
    color: var(--brand-green-dark);
    text-decoration: underline;
}

.service-catalog-card__btn {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 0.35rem;
    background-color: var(--navy);
    border: 1px solid var(--navy);
    color: #fff;
    white-space: nowrap;
}

.service-catalog-card__btn:hover {
    background-color: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    color: #fff;
}

@media (max-width: 998.98px) {

    .clinical-toolbar {
        padding: 0.5rem;
    }

    .clinical-search {
        flex: 1 1 100%;
    }

    .clinical-search .input-group {
        height: 48px;
    }

    .clinical-search__input {
        height: 48px;
        font-size: 14px;
    }

    .clinical-search .input-group-text {
        height: 48px;
        padding: 0 12px;
    }
}

.clinical-upgrades__empty {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 1rem;
}

@media (max-width: 767.98px) {
    .clinical-toolbar {
        flex-direction: column;
    }

    .clinical-filters {
        justify-content: flex-start;
    }

    .service-catalog-card__foot {
        flex-direction: row;
        align-items: auto;
    }

    @media (max-width: 991.98px) {
    .service-catalog-card__btn {
        min-width: 85px;
        width: 85px;
        padding: 5px 8px;
        font-size: 11px;
    }
}
}

/* ---- About us section ---- */
.about-us {
    background-color: var(--brand-green-muted);
}

.about-us__label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.65rem;
}

.about-us__title {
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--navy);
    margin-bottom: 1rem;
}

.about-us__text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.25rem;
}

.about-us__testimonial {
    margin-top: 0.25rem;
    max-width: 100%;
}

.about-us__creed {
    padding: 1rem 1.15rem;
    background-color: var(--brand-green-muted);
    border: 1px solid #99f6e4;
    border-radius: 0.65rem;
}

.about-us__creed-heading {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--teal);
}

.about-us__creed-quote {
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

.about-us__creed-meta {
    font-size: 0.72rem;
    color: #9ca3af;
}

.img-placeholder--team {
    width: 5.5rem;
    height: 5.5rem;
    min-width: 5.5rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 0.5rem;
    margin-bottom: 0.85rem;
}

.team-card__photo-img {
    display: block;
    width: 5.5rem;
    height: 5.5rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.85rem;
    border: 1px solid #d1d5db;
}

.team-card {
    border-radius: 0.75rem !important;
}

.team-card .card-body {
    padding: 1.15rem 1rem;
}

.team-card__name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.team-card__role {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 0.55rem;
}

.team-card__bio {
    font-size: 0.72rem;
    line-height: 1.55;
    color: #6b7280;
}

@media (max-width: 991.98px) {
    .about-us__testimonial {
        margin-bottom: 0.5rem;
    }
}

/* ---- Why choose section ---- */
.why-choose {
    background: var(--section-light-bg);
    color: var(--brand-blue);
}

.why-choose__title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.4rem;
}

.why-choose__subtitle {
    font-size: 0.85rem;
    color: #64748b;
}

.why-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(24, 65, 111, 0.12);
    border-radius: 0.65rem;
    padding: 1.1rem 1rem;
    min-height: 9rem;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(24, 65, 111, 0.06);
}

.why-card__num {
    position: absolute;
    top: 0.35rem;
    right: 0.5rem;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(24, 65, 111, 0.07);
}

.why-card__title {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--brand-blue-accent);
    margin-bottom: 0.5rem;
}

.why-card__text {
    position: relative;
    z-index: 1;
    font-size: 0.76rem;
    line-height: 1.55;
    color: #475569;
}

/* ---- Emergency banner section ---- */
.emergency-banner {
    background-color: #771717;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.emergency-banner__inner {
    padding: 0.62rem 0;
}

.emergency-banner__text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    line-height: 1.3;
    font-weight: 600;
    max-width: 100%;
}

.emergency-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.14);
    font-size: 0.62rem;
    flex-shrink: 0;
}

.emergency-banner__right {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
}

.emergency-banner__phone {
    color: #fff;
    text-decoration: none;
    margin-left: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0.35rem;
    padding: 0.12rem 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    font-weight: 700;
}

.emergency-banner__phone:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 991.98px) {
    .emergency-banner__right {
        letter-spacing: 0.06em;
        white-space: normal;
    }
}

/* ---- Footer section ---- */
.site-footer {
    background-color: var(--brand-blue-footer);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    line-height: 0;
    background-color: inherit;
}

.site-footer__logo-img {
    display: block;
    width: auto;
    height: 4.75rem;
    max-width: min(340px, 100%);
    object-fit: contain;
    object-position: left center;
    background-color: inherit;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.35rem;
    background: linear-gradient(135deg, var(--brand-blue-accent), var(--brand-blue));
    color: #fff;
    font-weight: 800;
    font-size: 0.7rem;
}

.site-footer__brand-name {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.site-footer__about {
    line-height: 1.6;
    max-width: 22rem;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__heading {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-green-light);
    margin-bottom: 0.75rem;
}

.site-footer__list li + li {
    margin-top: 0.35rem;
}

.site-footer__list a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-footer__list a:hover {
    color: #fff;
}

.site-footer__contact {
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__contact a {
    color: var(--brand-green-light);
    text-decoration: none;
}

.site-footer__contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__divider {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 1.5rem 0 1rem;
}

.site-footer__bottom {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__legal-text a {
    color: inherit;
    text-decoration: none;
}

.site-footer__legal-text a:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

/* ---- Consultation modal ---- */
.consultation-modal .modal-dialog {
    max-width: 720px;
}

.consultation-modal .modal-content {
    border-radius: 1rem;
    border: 1px solid rgba(24, 65, 111, 0.1);
    box-shadow: 0 24px 80px rgba(24, 65, 111, 0.15);
}

.consultation-modal__content {
    padding: 0;
    overflow: hidden;
}

.consultation-modal__header {
    padding: 1.1rem 1.35rem 0.9rem;
    background: var(--section-light-bg);
    color: var(--brand-blue);
    border-bottom: 1px solid rgba(24, 65, 111, 0.1);
}

.consultation-modal__chip {
    display: inline-block;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(50, 77, 161, 0.28);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-blue-accent);
    background-color: var(--brand-blue-accent-muted);
}

.consultation-modal__title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0.4rem 0 0.2rem;
    color: var(--brand-blue);
}

.consultation-modal__subtitle {
    font-size: 0.8rem;
    color: #64748b;
}

.consultation-modal__body {
    padding: 1.1rem 1.35rem 1.3rem;
    background-color: #fff;
}

.consultation-form__section {
    border-radius: 0.75rem;
    padding: 0.85rem 0.95rem;
    background-color: var(--brand-blue-surface-alt);
    border: 1px solid rgba(24, 65, 111, 0.1);
}

.consultation-form__legend {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-blue-accent);
    margin-bottom: 0.55rem;
}

.consultation-form__label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
}

.consultation-form__control {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.45rem;
    border-color: #d1d5db;
    background-color: #fff;
    color: #1f2937;
}

.consultation-form__control::placeholder {
    color: #9ca3af;
}

.consultation-form__control:focus {
    border-color: var(--brand-blue-accent);
    box-shadow: 0 0 0 0.18rem rgba(50, 77, 161, 0.15);
    background-color: #fff;
}

.consultation-form__privacy {
    font-size: 0.7rem;
    color: #64748b;
}

.consultation-form__privacy-indicator {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    margin-right: 0.3rem;
    border: 1px solid var(--brand-green);
    box-shadow: 0 0 0 3px rgba(46, 190, 90, 0.2);
    background: radial-gradient(circle at center, var(--brand-green) 0, var(--brand-green-dark) 40%, transparent 60%);
}

.consultation-form__submit {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.65rem 1.4rem;
    border-radius: 0.5rem;
    border: none;
    background-color: var(--brand-blue-accent);
    color: #fff;
}

.consultation-form__submit:hover {
    background-color: var(--brand-blue-accent-hover);
    color: #fff;
}

@media (max-width: 575.98px) {
    .consultation-modal .modal-dialog {
        margin: 1.5rem;
    }

    .consultation-modal__header,
    .consultation-modal__body {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ---- Demo portal page ---- */
.portal-page {
    padding-top: 0;
    background: linear-gradient(180deg, rgba(24, 65, 111, 0.06) 0%, rgba(50, 77, 161, 0.1) 100%);
}

.portal-header {
    border-bottom: 1px solid #dbe3ee;
    background-color: #fff;
}

.portal-topbar {
    background-color: var(--brand-blue);
    color: #dbeafe;
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.portal-topbar__tag {
    color: var(--brand-green);
    font-weight: 800;
}

.portal-topbar__sep {
    opacity: 0.5;
    margin: 0 0.35rem;
}

.portal-topbar__right strong {
    color: #5eead4;
}

.portal-topbar__exit {
    color: #bfdbfe;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 0.3rem;
    padding: 0.08rem 0.32rem;
    font-size: 0.58rem;
}

.portal-topbar__exit:hover {
    color: #fff;
    border-color: #94a3b8;
}

.portal-topbar .container-fluid {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0.15rem !important;
    padding-bottom: 0.15rem !important;
}

.portal-nav {
    background-color: #fff;
}

.portal-brand__logo-img {
    display: block;
    height: 2.75rem;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
}

.portal-brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.4rem;
    background: linear-gradient(135deg, #d1fae5, #99f6e4);
    color: var(--brand-green-darker);
    font-weight: 800;
    font-size: 0.75rem;
}

.portal-brand__title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.portal-brand__subtitle {
    font-size: 0.72rem;
    color: #64748b;
}

.portal-btn {
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 0.35rem;
    padding: 0.42rem 0.65rem;
}

.portal-btn--light {
    border: 1px solid #dbe3ee;
    background-color: #fff;
    color: var(--brand-blue);
}

.portal-btn--light:hover {
    background-color: var(--brand-green-light);
    border-color: #cbd5e1;
}

.portal-btn--teal {
    border: 1px solid var(--brand-green);
    background-color: var(--brand-green);
    color: #032b28;
}

.portal-btn--teal:hover {
    border-color: var(--brand-green-dark);
    background-color: var(--brand-green-dark);
    color: #ecfeff;
}

.portal-btn--ghost {
    border: 1px solid #e2e8f0;
    background-color: #fff;
    color: #334155;
    text-decoration: none;
}

.portal-btn--ghost:hover {
    background-color: var(--brand-green-light);
    color: var(--brand-blue);
}

.portal-placeholder {
    border: 1px dashed #cbd5e1;
    border-radius: 0.8rem;
    background-color: #fff;
    padding: 2rem 1rem;
    color: #64748b;
}

.portal-content {
    background: linear-gradient(180deg, rgba(24, 65, 111, 0.04) 0%, rgba(50, 77, 161, 0.08) 100%);
}

.patient-head {
    color: #e8f0fb;
    box-sizing: border-box  ;
    background: linear-gradient(120deg, var(--brand-blue-darker), var(--brand-blue) 55%, var(--brand-blue-accent));
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    padding: 44px 18px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: var(--content-padding);
    padding-right: var(--content-padding);
    margin-bottom: 1.15rem;
}

.patient-head > .row {
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
}

.patient-summary {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.35rem 0;
}

.patient-summary__avatar-wrap {
    position: relative;
}

.patient-summary__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    border: 2px solid var(--brand-green-light);
    background: rgba(38, 163, 78, 0.16);
    color: #5eead4;
    font-size: 1.5rem;
    font-weight: 800;
}

.patient-summary__pulse {
    position: absolute;
    right: 0.08rem;
    bottom: 0.15rem;
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 50%;
    background-color: #22c55e;
    border: 1px solid #dcfce7;
}

.patient-summary__name {
    font-size: 1.65rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--brand-green-light);
}

.patient-summary__pill,
.patient-summary__chip {
    padding: 0.14rem 0.42rem;
    border-radius: 0.28rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.patient-summary__pill {
    color: #d1fae5;
    background-color: rgba(46, 190, 90, 0.22);
    border: 1px solid rgba(86, 212, 127, 0.35);
}

.patient-summary__chip {
    color: #c7d2fe;
    background-color: rgba(30, 64, 175, 0.25);
    border: 1px solid rgba(129, 140, 248, 0.4);
}

.patient-summary__condition {
    color: #bae6fd;
    font-size: 0.94rem;
}

.patient-summary__divider {
    border-color: rgba(148, 163, 184, 0.3);
    margin: 0.55rem 0 0.65rem;
}

.patient-summary__label {
    font-size: 0.6rem;
    color: #67e8f9;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.patient-summary__value {
    font-size: 0.82rem;
    color: #e2e8f0;
    line-height: 1.35;
}

.monitor-card {
    background: linear-gradient(120deg, rgba(16, 35, 62, 0.9), rgba(10, 46, 64, 0.72));
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 0.95rem;
    padding: 1.15rem 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.monitor-card__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-green-light);
    margin-bottom: 0.7rem;
}

.monitor-card__title::before {
    content: "◷";
    font-size: 0.82rem;
    color: var(--brand-green-light);
}

.monitor-card__text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin-bottom: 0.95rem;
}

.monitor-card__label {
    font-size: 0.78rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.monitor-card__status {
    font-size: 0.82rem;
    font-weight: 800;
    color: #d1fae5;
    background-color: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(110, 231, 183, 0.3);
    border-radius: 999px;
    padding: 0.22rem 0.72rem;
}

.monitor-card__footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 0.85rem;
}

@media (max-width: 767.98px) {
    .patient-summary__name {
        font-size: 1.3rem;
    }
}

/* ---- Portal dashboard content ---- */
.portal-dashboard {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.portal-tabs-wrap {
    overflow-x: auto;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0.9rem !important;
}

.portal-tabs {
    display: inline-flex;
    gap: 0.3rem;
    min-width: max-content;
}

.portal-tab {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.5rem 0.65rem;
    border-bottom: 2px solid transparent;
}

.portal-tab--active {
    color: var(--brand-green-darker);
    border-bottom-color: #0f766e;
}

.dashboard-block {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.9rem;
}

.dashboard-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.dashboard-meta {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.vital-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem;
    background: #fff;
}

.vital-card__label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.35rem;
    font-weight: 800;
}

.vital-card__value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.vital-card__value span {
    font-size: 0.95rem;
    color: #64748b;
}

.vital-card__status {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--brand-green-darker);
    background-color: #dcfce7;
    border-radius: 999px;
    padding: 0.2rem 0.45rem;
}

.quick-action {
    background-color: var(--brand-green-muted);
    border: 1px solid #99f6e4;
    border-radius: 0.8rem;
    padding: 0.75rem;
}

.quick-action__title {
    font-size: 1rem;
    font-weight: 800;
    color: #115e59;
}

.quick-action__sub {
    color: #64748b;
    font-size: 0.8rem;
}

.quick-action__btn {
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.5rem;
    padding: 0.42rem 0.7rem;
}

.quick-action__btn--light {
    border: 1px solid #94a3b8;
    background-color: #fff;
    color: #1f2937;
}

.quick-action__btn--teal {
    border: 1px solid var(--brand-green);
    background-color: var(--brand-green);
    color: #042f2e;
}

.emergency-panel {
    border-radius: 0.85rem;
    padding: 1rem;
    background: linear-gradient(160deg, #7f1d1d, #5f0f0f);
    color: #fee2e2;
}

.emergency-panel__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.45rem;
}

.emergency-panel__text {
    font-size: 0.8rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.emergency-panel__contacts {
    border: 1px solid rgba(254, 202, 202, 0.45);
    border-radius: 0.65rem;
    padding: 0.65rem;
    margin-bottom: 0.75rem;
    font-size: 0.68rem;
}

.emergency-panel__contacts strong {
    display: block;
    font-size: 0.84rem;
    color: #fff;
}

.emergency-panel__btn {
    width: 100%;
    border: 1px solid #fecaca;
    color: #fff;
    background-color: transparent;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.emergency-panel__btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.dashboard-link {
    color: var(--brand-green-darker);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
}

.activity-item {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.7rem;
}

.activity-item__row {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
}

.activity-item__title {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.3rem;
}

.activity-item__text {
    font-size: 0.84rem;
    color: #64748b;
    margin-bottom: 0.4rem;
    line-height: 1.55;
}

.activity-item__meta {
    font-size: 0.7rem;
    color: #64748b;
}

.activity-item__meta span {
    color: #15803d;
    font-weight: 800;
    margin-left: 0.5rem;
    text-transform: uppercase;
}

.activity-item__time {
    font-size: 0.68rem;
    color: #94a3b8;
    white-space: nowrap;
}

.dashboard-more {
    display: block;
    text-align: center;
    color: #64748b;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.support-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.9rem;
}

.support-card__title {
    font-size: 1.15rem;
    color: var(--brand-blue);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.support-card__name {
    font-size: 0.92rem;
    color: var(--brand-blue);
    font-weight: 800;
}

.support-card__avatar-img {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #d1d5db;
}

.support-card__role {
    font-size: 0.73rem;
    color: #64748b;
}

.support-card__online {
    color: #16a34a;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.support-card__btn {
    border-radius: 0.45rem;
    background-color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.support-card__btn:hover {
    background-color: var(--brand-blue-accent);
    border-color: var(--brand-blue-accent);
    color: #fff;
}

.support-card__eta {
    text-align: center;
    color: #94a3b8;
    font-size: 0.68rem;
    margin-top: 0.55rem;
}

.clinician {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.55rem 0;
}

.clinician + .clinician {
    border-top: 1px solid #e2e8f0;
}

.clinician__avatar {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    border-radius: 50%;
    background-color: #e0f2fe;
    color: #0369a1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
}

.clinician__avatar--alt {
    background-color: #ede9fe;
    color: #5b21b6;
}

.clinician__name {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.clinician__desc {
    font-size: 0.66rem;
    color: #64748b;
}

@media (max-width: 991.98px) {
    .dashboard-title {
        font-size: 1.25rem;
    }

    .activity-item__row {
        flex-direction: column;
    }
}

.chart-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.8rem;
    background-color: #fcfdff;
}

.chart-card__title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.25rem;
}

.chart-card__subtitle {
    color: #94a3b8;
    font-size: 0.7rem;
    line-height: 1.4;
}

.chart-card__badge {
    background-color: #dcfce7;
    color: #15803d;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.18rem 0.45rem;
    border-radius: 0.35rem;
    white-space: nowrap;
}

.chart-card__badge--amber {
    background-color: #fef3c7;
    color: #92400e;
}

.chart-svg {
    width: 100%;
    height: auto;
    max-height: 15rem;
}

.chart-grid {
    stroke: #e2e8f0;
    stroke-width: 1;
    stroke-dasharray: 4 5;
}

.chart-line {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-line--green {
    stroke: var(--brand-green);
}

.chart-line--blue {
    stroke: #0284c7;
}

.chart-line--amber {
    stroke: #d97706;
}

.chart-dot {
    stroke: #fff;
    stroke-width: 2;
}

.chart-dot--green {
    fill: var(--brand-green);
}

.chart-dot--blue {
    fill: #0284c7;
}

.chart-dot--amber {
    fill: #d97706;
}

.chart-text {
    fill: #475569;
    font-size: 0.9rem;
    font-weight: 700;
}

.vitals-table {
    font-size: 0.78rem;
}

.vitals-table thead th {
    font-size: 0.63rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 800;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.vitals-table tbody td {
    color: #334155;
    border-color: #edf2f7;
}

.vitals-table tbody tr td:nth-child(4) {
    color: #b45309;
    font-weight: 700;
}

.vitals-table tbody tr td:nth-child(5) {
    color: #0369a1;
    font-weight: 800;
}

.timeline-list {
    position: relative;
    display: grid;
    gap: 0.75rem;
}

.timeline-list::before {
    content: "";
    position: absolute;
    left: 0.95rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background-color: #d1d5db;
}

.timeline-item {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.8rem;
    position: relative;
}

.timeline-item__icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: var(--brand-green-dark);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    margin-top: 0.9rem;
    z-index: 1;
}

.timeline-item__icon--gray {
    background-color: #64748b;
}

.timeline-item__icon--purple {
    background-color: #4f46e5;
}

.timeline-item__card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background-color: #fbfdff;
    padding: 0.85rem 0.95rem;
}

.timeline-item__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}

.timeline-item__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin: 0;
}

.timeline-item__badge {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-green-darker);
    background-color: #e6fffa;
    border: 1px solid #b7f7e4;
    border-radius: 0.35rem;
    padding: 0.12rem 0.4rem;
}

.timeline-item__time {
    margin-left: auto;
    font-size: 0.7rem;
    color: #9ca3af;
    white-space: nowrap;
}

.timeline-item__text {
    font-size: 0.84rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 0.6rem;
}

.timeline-item__meta {
    font-size: 0.68rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.timeline-item__meta strong {
    color: #374151;
    text-transform: none;
    letter-spacing: normal;
}

@media (max-width: 767.98px) {
    .timeline-item__head {
        align-items: flex-start;
    }

    .timeline-item__time {
        margin-left: 0;
        width: 100%;
    }
}

/* ---- Care team & actions tab ---- */
.team-chat__head {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.7rem;
}

.team-chat__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.team-chat__role {
    font-size: 0.75rem;
    color: #64748b;
}

.team-chat__messages {
    display: grid;
    gap: 0.65rem;
}

.team-chat__bubble {
    max-width: 78%;
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    font-size: 0.86rem;
    line-height: 1.5;
    position: relative;
}

.team-chat__bubble--left {
    background-color: #f1f5f9;
    color: #334155;
}

.team-chat__bubble--right {
    margin-left: auto;
    background-color: var(--brand-blue);
    color: #bfdbfe;
}

.team-chat__time {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.64rem;
    color: #94a3b8;
    text-align: right;
}

.team-chat__input .form-control {
    border-color: #e2e8f0;
    font-size: 0.84rem;
}

.team-chat__send {
    min-width: 2.5rem;
    border: 1px solid var(--brand-green);
    background-color: var(--brand-green);
    color: #063a36;
    font-weight: 800;
}

.team-chat__send:hover {
    background-color: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: #ecfeff;
}

.team-action__info {
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    padding: 0.75rem;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.55;
}

.team-action__info-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
}

.team-action__info-title span {
    float: right;
    color: var(--brand-green-darker);
}

.team-action__schedule {
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    padding: 0.75rem;
    font-size: 0.78rem;
    color: #64748b;
}

.team-action__schedule span {
    color: var(--brand-green-darker);
    font-weight: 700;
    font-size: 0.72rem;
}

.team-action__dark-btn {
    background-color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.team-action__dark-btn:hover {
    background-color: var(--brand-blue-accent);
    border-color: var(--brand-blue-accent);
    color: #fff;
}

@media (max-width: 767.98px) {
    .team-chat__bubble {
        max-width: 100%;
    }
}

/* ---- Tele slot modal ---- */
.tele-slot-modal .modal-dialog {
    max-width: 480px;
}

.tele-slot-modal__content {
    border: 1px solid rgba(24, 65, 111, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(24, 65, 111, 0.15);
}

.tele-slot-modal__header {
    background: var(--section-light-bg);
    border-bottom: 1px solid rgba(24, 65, 111, 0.1);
    padding: 0.95rem 1.1rem;
}

.tele-slot-modal__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.tele-slot-modal__body {
    background-color: #fff;
    padding: 1rem 1.1rem 1.15rem;
}

.tele-slot-modal__subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #64748b;
    margin-bottom: 0.95rem;
}

.tele-slot-modal__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1f2937;
    margin-bottom: 0.35rem;
}

.tele-slot-modal__control {
    border-color: #d1d5db;
    border-radius: 0.4rem;
    font-size: 0.86rem;
}

.tele-slot-modal__control:focus {
    border-color: var(--brand-blue-accent);
    box-shadow: 0 0 0 0.18rem rgba(50, 77, 161, 0.15);
}

.tele-slot-modal__cta {
    background-color: var(--brand-blue-accent);
    border: 1px solid var(--brand-blue-accent);
    color: #fff;
    border-radius: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    padding: 0.65rem 0.8rem;
}

.tele-slot-modal__cta:hover {
    background-color: var(--brand-blue-accent-hover);
    border-color: var(--brand-blue-accent-hover);
    color: #fff;
}

/* ---- Vitals log modal ---- */
.vitals-log-modal .modal-dialog {
    max-width: 540px;
}

.vitals-log-modal__content {
    border: 1px solid rgba(24, 65, 111, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(24, 65, 111, 0.15);
}

.vitals-log-modal__header {
    background: var(--section-light-bg);
    border-bottom: 1px solid rgba(24, 65, 111, 0.1);
    padding: 0.95rem 1.1rem;
}

.vitals-log-modal__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.vitals-log-modal__body {
    background-color: #fff;
    padding: 1rem 1.1rem 1.15rem;
}

.vitals-log-modal__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1f2937;
    margin-bottom: 0.35rem;
}

.vitals-log-modal__control {
    border-color: #d1d5db;
    border-radius: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

.vitals-log-modal__control::placeholder {
    font-weight: 500;
    color: #9ca3af;
}

.vitals-log-modal__control:focus {
    border-color: var(--brand-blue-accent);
    box-shadow: 0 0 0 0.18rem rgba(50, 77, 161, 0.15);
}

.vitals-log-modal__cta {
    background-color: var(--brand-blue-accent);
    border: 1px solid var(--brand-blue-accent);
    color: #fff;
    border-radius: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    padding: 0.65rem 0.8rem;
}

.vitals-log-modal__cta:hover {
    background-color: var(--brand-blue-accent-hover);
    border-color: var(--brand-blue-accent-hover);
    color: #fff;
}

/* ---- Service spotlight modal ---- */
.spotlight-modal .modal-dialog {
    max-width: 560px;
}

.spotlight-modal__content {
    border: 1px solid rgba(24, 65, 111, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(24, 65, 111, 0.15);
}

.spotlight-modal__header {
    background: var(--section-light-bg);
    border-bottom: 1px solid rgba(24, 65, 111, 0.1);
    padding: 0.95rem 1.15rem;
}

.spotlight-modal__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.spotlight-modal__body {
    padding: 1rem 1.2rem 1.1rem;
    background-color: #fff;
}

.spotlight-modal__badge {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.16rem 0.5rem;
    border-radius: 0.25rem;
    background-color: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.spotlight-modal__service-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.35rem;
}

.spotlight-modal__desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
}

.spotlight-modal__checklist-wrap {
    border: 1px solid rgba(24, 65, 111, 0.1);
    border-radius: 0.7rem;
    background-color: var(--brand-blue-surface-alt);
    padding: 0.75rem;
}

.spotlight-modal__checklist-title {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}

.spotlight-modal__checklist {
    margin: 0;
    padding-left: 1.1rem;
}

.spotlight-modal__checklist li {
    color: #1f2937;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.spotlight-modal__checklist li::marker {
    color: var(--brand-blue-accent);
}

.spotlight-modal__price {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.spotlight-modal__price span {
    display: block;
    color: var(--brand-blue);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: normal;
    text-transform: none;
    margin-top: 0.05rem;
}

.spotlight-modal__cta {
    border: 1px solid var(--brand-blue-accent);
    background-color: var(--brand-blue-accent);
    color: #fff;
    border-radius: 0.55rem;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.55rem 1.5rem;
}

.spotlight-modal__cta:hover {
    background-color: var(--brand-blue-accent-hover);
    border-color: var(--brand-blue-accent-hover);
    color: #fff;
}


@media (min-width: 768px) and (max-width: 991.98px) {
    .why-choose .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ---- Scroll reveal & entrance animations ---- */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    will-change: opacity, transform;
    transition:
        opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--slide-left {
    transform: translateX(-60px);
}

.reveal--slide-right {
    transform: translateX(60px);
}

.reveal--fade-up {
    transform: translateY(40px);
}

.reveal--fade {
    transform: none;
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.reveal-hero {
    transition: none;
}

.reveal-hero.is-visible {
    animation-duration: 0.85s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-hero.reveal--slide-left.is-visible {
    animation-name: slideInLeft;
}

.reveal-hero.reveal--slide-right.is-visible {
    animation-name: slideInRight;
}

/* Services carousel (mobile slider) */
.services-carousel {
    position: relative;
}

.services-carousel__viewport {
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .services-carousel__track {
        display: flex;
        flex-wrap: nowrap !important;
        margin-left: 0;
        margin-right: 0;
        transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .services-carousel__slide {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

.services-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.services-carousel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(24, 65, 111, 0.15);
    border-radius: 50%;
    background: #fff;
    color: var(--brand-blue);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.services-carousel__btn:hover {
    background-color: var(--brand-blue-surface);
    border-color: var(--brand-blue-accent);
    transform: scale(1.08);
}

.services-carousel__dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.services-carousel__dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(24, 65, 111, 0.2);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.services-carousel__dot.is-active {
    background-color: var(--brand-blue-accent);
    transform: scale(1.25);
}

/* Testimonial carousel transition */
.hero-testimonial__inner {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-testimonial__inner.is-transitioning {
    opacity: 0;
    transform: translateX(24px);
}

.hero-testimonial__inner.is-transitioning--prev {
    transform: translateX(-24px);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-visible,
    .reveal-hero.is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .services-carousel__track {
        transition: none !important;
    }

    .hero-testimonial__inner {
        transition: none !important;
    }

    .coverage-card:hover {
        transform: none;
    }

    .coverage-card::before {
        transition: none;
    }

    .coverage-card:hover::before {
        transform: scale(1);
    }
}