:root {
    --jp-maroon: #8D0505;
    --jp-purple: #44306B;
    --jp-maroon-deep: #650303;
    --jp-purple-dark: #30204F;
    --jp-cream: #FAF8F7;
    --jp-warm: #F4EEEE;
    --jp-white: #FFFFFF;
    --jp-text: #24212B;
    --jp-muted: #6B6573;
    --jp-line: rgba(68, 48, 107, 0.12);
    --jp-shadow: 0 16px 40px rgba(48, 32, 79, 0.08);
    --jp-shadow-hover: 0 22px 48px rgba(141, 5, 5, 0.14);
    --jp-radius: 12px;
    --jp-radius-sm: 8px;
    --jp-header-offset: 118px;
    --font-heading: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-primary: #8D0505;
    --bs-secondary: #44306B;
    --bs-primary-rgb: 141, 5, 5;
    --bs-secondary-rgb: 68, 48, 107;
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--jp-text);
    --bs-body-bg: var(--jp-cream);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body) !important;
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--jp-text);
    background: var(--jp-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-base, .top-title, .title {
    font-family: var(--font-heading) !important;
    color: var(--jp-purple-dark);
    letter-spacing: -0.02em;
    line-height: 1.22;
    font-weight: 700;
    overflow-wrap: break-word;
}

h1 {
    font-weight: 800;
    font-size: clamp(2rem, 3.6vw, 2.85rem);
}

h2, .title, .top-title {
    font-weight: 700;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

h3 {
    font-weight: 700;
    font-size: 1.2rem;
}

h1.fw-light,
h1.fw-bold,
h1.font-base {
    font-weight: 800 !important;
}

h2.fw-light,
h2.fw-bold,
h3.fw-light,
h3.fw-bold,
.title.fw-light,
.font-base.fw-light {
    font-weight: 700 !important;
}

p {
    color: var(--jp-muted);
}

a {
    color: var(--jp-maroon);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--jp-purple);
}

img {
    max-width: 100%;
    height: auto;
}

iframe,
video,
embed,
object {
    max-width: 100%;
}

table {
    max-width: 100%;
}

.main {
    background: var(--jp-cream);
    overflow-x: hidden;
}

.container,
.row,
[class*="col-"],
.hero-grid,
.hero-copy,
.hero-appointment {
    min-width: 0;
}

/* Hide leftover theme decorations */
.bg-holder,
#one.bg-holder,
#two.bg-holder,
#three.bg-holder,
#four.bg-holder,
#five.bg-holder,
#six.bg-holder,
#seven.bg-holder {
    display: none !important;
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--jp-radius-sm);
    padding: 0.72rem 1.4rem;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn.rounded-pill {
    border-radius: var(--jp-radius-sm) !important;
}

.btn-brand,
.btn-primary,
.btn-lg.btn-primary {
    background: var(--jp-maroon);
    border: 1px solid var(--jp-maroon);
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(141, 5, 5, 0.18);
}

.btn-brand:hover,
.btn-primary:hover,
.btn-lg.btn-primary:hover,
.btn-brand:focus,
.btn-primary:focus {
    background: var(--jp-purple);
    border-color: var(--jp-purple);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(68, 48, 107, 0.22);
}

.btn-brand-light {
    background: #fff;
    border-color: #fff;
    color: var(--jp-maroon) !important;
}

.btn-brand-light:hover {
    background: var(--jp-warm);
    border-color: var(--jp-warm);
    color: var(--jp-purple) !important;
}

.btn-outline-primary,
.btn-ghost,
.btn-lg.btn-outline-primary {
    background: transparent;
    border: 1.5px solid var(--jp-maroon);
    color: var(--jp-maroon) !important;
    box-shadow: none;
}

.btn-outline-primary:hover,
.btn-ghost:hover,
.btn-lg.btn-outline-primary:hover {
    background: var(--jp-purple);
    color: #fff !important;
    border-color: var(--jp-purple);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff !important;
}

.btn-ghost:hover {
    background: #fff;
    color: var(--jp-maroon) !important;
    border-color: #fff;
}

.bg-primary {
    background: linear-gradient(135deg, var(--jp-maroon) 0%, var(--jp-purple) 100%) !important;
}

.bg-secondary {
    background: var(--jp-purple-dark) !important;
}

.text-primary {
    color: var(--jp-maroon) !important;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
}

.topbar {
    background: var(--jp-maroon);
    color: #fff;
    font-size: 0.82rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 36px;
    padding: 0.35rem 0;
}

.topbar a {
    color: #fff;
}

.topbar a:hover {
    color: #f3e8e8;
}

.topbar-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
}

.topbar-contacts i,
.topbar-social i {
    margin-right: 0.35rem;
}

.topbar-social {
    display: flex;
    gap: 0.75rem;
}

.jp-navbar {
    background: #fff !important;
    background-image: none !important;
    padding: 0.7rem 0;
    box-shadow: 0 1px 0 var(--jp-line);
}

.site-header.is-scrolled .jp-navbar {
    box-shadow: 0 10px 30px rgba(48, 32, 79, 0.08);
}

.jp-navbar .navbar-brand {
    margin-right: 1rem;
    max-width: min(430px, calc(100% - 3.5rem));
    flex: 0 1 auto;
}

.jp-navbar .navbar-brand img {
    width: 400px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.jp-navbar .navbar-nav {
    align-items: center;
    gap: 0.1rem;
    font-family: var(--font-body);
}

.jp-navbar .nav-link,
.jp-navbar .dropdown-toggle.nav-link {
    color: var(--jp-text) !important;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.97rem;
    padding: 0.6rem 0.78rem !important;
    position: relative;
}

.jp-navbar .nav-item.has-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.jp-navbar .nav-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62em;
    line-height: 1;
    color: inherit;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.25s ease;
    pointer-events: none;
}

.jp-navbar .nav-item.has-dropdown > .nav-link:hover .nav-chevron,
.jp-navbar .nav-item.has-dropdown.show > .nav-link .nav-chevron,
.jp-navbar .nav-item.has-dropdown > .nav-link[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
}

.jp-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--jp-maroon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.jp-navbar .nav-link:hover::after,
.jp-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.jp-navbar .nav-link.active,
.jp-navbar .nav-link:hover {
    color: var(--jp-maroon) !important;
}

.jp-navbar .dropdown-menu {
    border: 1px solid var(--jp-line);
    border-radius: var(--jp-radius);
    padding: 0.5rem;
    box-shadow: var(--jp-shadow);
}

.jp-navbar .dropdown-item {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--jp-radius-sm);
    color: var(--jp-text);
    padding: 0.5rem 0.85rem;
}

.jp-navbar .dropdown-item:hover,
.jp-navbar .dropdown-item:focus {
    background: var(--jp-warm);
    color: var(--jp-maroon);
}

.jp-navbar .navbar-toggler {
    border: 1px solid var(--jp-line);
    padding: 0.4rem 0.55rem;
    flex-shrink: 0;
}

.jp-navbar .btn-brand {
    white-space: nowrap;
    padding: 0.58rem 1.2rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--jp-radius-sm);
}

/* Page banners — one shared height/alignment for every inner page */
#header-section {
    margin: 0;
    padding: 0;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--jp-purple-dark);
    background-image: linear-gradient(135deg, rgba(141, 5, 5, 0.92), rgba(68, 48, 107, 0.92)), url("./../img/inner.jpg");
    background-position: center;
    background-size: cover;
    box-sizing: border-box;
}

#header-section .header {
    width: 100%;
    color: #fff !important;
    background: transparent !important;
    background-image: none !important;
    height: auto;
    min-height: 170px;
    margin: 0;
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    gap: 0.35rem;
}

#header-section .header br {
    display: none;
}

#header-section .header h1,
#header-section .header span {
    display: block;
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: 1.75rem !important;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    padding: 0 !important;
    max-width: 52rem;
    overflow-wrap: break-word;
}

#header-section .header h2,
#header-section .header h3 {
    color: rgba(255, 255, 255, 0.86) !important;
    font-family: var(--font-body);
    font-size: 0.95rem !important;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    max-width: 46rem;
}

#header-section .header p,
#header-section .header a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem !important;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 991px) {
    #header-section,
    #header-section .header {
        min-height: 150px;
    }
}

@media (max-width: 576px) {
    #header-section,
    #header-section .header {
        min-height: 130px;
    }
    #header-section .header {
        padding: 20px 15px;
    }
    #header-section .header h1,
    #header-section .header span {
        font-size: 1.45rem !important;
    }
}

/* Homepage hero */
.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--jp-cream);
    padding: 1.55rem 0 1.45rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            105deg,
            rgba(250, 248, 247, 0.97) 0%,
            rgba(250, 248, 247, 0.93) 42%,
            rgba(250, 248, 247, 0.72) 62%,
            rgba(141, 5, 5, 0.18) 82%,
            rgba(68, 48, 107, 0.28) 100%
        ),
        url("../img/inner.jpg");
    background-size: cover;
    background-position: 72% center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 2.4rem 2.6rem;
    align-items: center;
}

.hero-copy {
    position: relative;
    padding-left: 1.05rem;
}

.hero-copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 3px;
    height: 3.4rem;
    border-radius: 2px;
    background: linear-gradient(180deg, #8D0505, #44306B);
}

.hero-copy .section-kicker {
    margin-bottom: 0.55rem;
}

.hero h1 {
    font-size: clamp(1.48rem, 2.15vw, 2.05rem);
    font-weight: 800;
    color: var(--jp-purple-dark);
    margin-bottom: 0.4rem;
    line-height: 1.22;
}

.hero .lead {
    font-size: 0.97rem;
    font-weight: 400;
    color: var(--jp-muted);
    max-width: 40rem;
    margin-bottom: 0.15rem;
    line-height: 1.65;
}

.hero-copy .seo-tag {
    display: block;
    color: var(--jp-purple);
    font-family: var(--font-body) !important;
    font-size: 0.92rem !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0 0 0.7rem;
}

.hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.45rem;
    row-gap: 0.9rem;
    margin: 1.15rem 0 1.25rem;
}

.hero-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.hero-trust-item i,
.hero-trust-item svg {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(141, 5, 5, 0.08);
    color: var(--jp-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    margin-top: 0;
    flex-shrink: 0;
}

.hero-trust-item strong {
    display: block;
    color: var(--jp-purple-dark);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-trust-item span {
    color: var(--jp-muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.15rem;
}

.hero-actions .btn {
    min-height: 46px;
    padding: 0.62rem 1.25rem;
}

.hero-actions .btn-brand:hover,
.hero-actions .btn-primary:hover {
    background: var(--jp-purple);
    border-color: var(--jp-purple);
}

.hero-actions .btn-outline-primary:hover {
    background: var(--jp-purple);
    border-color: var(--jp-purple);
    color: #fff !important;
}

.hero-appointment {
    background: #fff;
    border: 1px solid var(--jp-line);
    border-radius: var(--jp-radius);
    box-shadow: 0 18px 40px rgba(48, 32, 79, 0.12);
    padding: 1.05rem 1.15rem 1rem;
    position: relative;
    z-index: 2;
}

.hero-appointment h2 {
    font-family: var(--font-heading) !important;
    font-size: clamp(1.22rem, 1.7vw, 1.4rem);
    font-weight: 800;
    margin-bottom: 0.1rem;
}

.hero-appointment .form-subtitle {
    color: var(--jp-muted);
    font-size: 0.82rem;
    margin-bottom: 0.65rem;
}

.hero-appointment .form-label {
    font-size: 0.78rem;
    margin-bottom: 0.18rem;
    min-height: 0;
    line-height: 1.25;
}

.hero-appointment .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-appointment .mb-3 {
    margin-bottom: 0.42rem !important;
}

.hero-appointment .form-control,
.hero-appointment .form-livedoc-control {
    min-height: 40px;
    padding: 0.4rem 0.7rem;
    background: var(--jp-cream);
}

.hero-appointment textarea.form-control {
    min-height: 54px;
    resize: vertical;
}

.hero-appointment .btn-appoint {
    margin-top: 0.05rem;
    min-height: 46px;
    font-size: 0.92rem;
}

.hero-appointment .form-note {
    margin: 0.5rem 0 0;
    text-align: center;
    font-size: 0.74rem;
    line-height: 1.4;
    color: var(--jp-muted);
}

.section-kicker {
    display: inline-block;
    color: var(--jp-maroon);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.section-heading {
    margin-bottom: 0.75rem;
}

.seo-tag {
    color: var(--jp-purple);
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 600;
}

/* Trust strip */
.trust-strip {
    background: #fff;
    border-top: 1px solid var(--jp-line);
    border-bottom: 1px solid var(--jp-line);
    padding: 1.4rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.4rem 0.2rem;
}

.trust-item i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--jp-warm);
    color: var(--jp-maroon);
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    color: var(--jp-purple-dark);
    font-size: 0.98rem;
    line-height: 1.3;
}

.trust-item span {
    color: var(--jp-muted);
    font-size: 0.82rem;
}

.specialty-strip {
    background: #fff;
    border-top: 1px solid var(--jp-line);
    border-bottom: 1px solid var(--jp-line);
    padding: 1.05rem 0;
}

.specialty-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.specialty-strip-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.35rem 1.15rem;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.specialty-strip-item + .specialty-strip-item {
    border-left: 1px solid var(--jp-line);
}

.specialty-strip-item i,
.specialty-strip-item svg {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(141, 5, 5, 0.08);
    color: var(--jp-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.specialty-strip-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-purple-dark);
    line-height: 1.25;
    margin-bottom: 0.12rem;
}

.specialty-strip-item span {
    display: block;
    color: var(--jp-muted);
    font-size: 0.8rem;
    line-height: 1.35;
}

.specialty-strip-item:hover {
    color: inherit;
}

.specialty-strip-item:hover strong {
    color: var(--jp-maroon);
}

.specialty-strip-item:hover i,
.specialty-strip-item:hover svg {
    background: var(--jp-maroon);
    color: #fff;
}

.no1-band {
    background: #FAD8CF;
    padding: 2.4rem 0;
}

.no1-band h2,
.no1-band .title {
    color: var(--jp-purple-dark);
    font-size: clamp(1.45rem, 2.5vw, 2.05rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
}

.no1-band .seo-tag {
    color: var(--jp-purple);
    margin-bottom: 1.15rem !important;
}

.no1-band img {
    width: min(280px, 70%);
    height: auto;
    mix-blend-mode: multiply;
}

.no1-band .btn-outline-primary {
    background: transparent;
    border: 1.5px solid var(--jp-purple);
    color: var(--jp-purple) !important;
}

.no1-band .btn-outline-primary:hover {
    background: var(--jp-maroon);
    border-color: var(--jp-maroon);
    color: #fff !important;
}

/* Sections */
.jp-section {
    padding: 5.25rem 0;
}

.jp-section-alt {
    background: #fff;
}

#home-testimonials.jp-section {
    padding-bottom: 3.25rem;
}

.jp-section-warm {
    background: var(--jp-warm);
}

.split-media img {
    width: 100%;
    border-radius: var(--jp-radius);
    box-shadow: var(--jp-shadow);
    object-fit: cover;
}

.service-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    margin: 1.4rem 0 1.6rem;
}

.service-pills a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid var(--jp-line);
    border-radius: var(--jp-radius-sm);
    padding: 0.7rem 1rem;
    color: var(--jp-text);
    font-weight: 600;
}

.service-pills a:hover {
    border-color: var(--jp-maroon);
    color: var(--jp-maroon);
    box-shadow: var(--jp-shadow);
}

.service-pills h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin: 0;
    color: inherit;
}

.service-pills i {
    color: var(--jp-maroon);
}

/* Expertise cards */
.expertise-card {
    background: #fff;
    border: 1px solid var(--jp-line);
    border-radius: var(--jp-radius);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 24px rgba(48, 32, 79, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--jp-shadow-hover);
    border-color: rgba(141, 5, 5, 0.25);
}

.expertise-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.expertise-card .card-body,
.expertise-card-body {
    padding: 1.25rem 1.3rem 1.4rem;
}

.expertise-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.55rem;
}

.expertise-card p {
    margin-bottom: 0.9rem;
}

.expertise-card .learn-more {
    font-weight: 700;
    font-size: 0.9rem;
}

.item {
    border-radius: var(--jp-radius);
    overflow: hidden;
    box-shadow: var(--jp-shadow);
}

.item .overlay,
.left-overlay,
.bottom-overlay,
.right-overlay {
    background: linear-gradient(180deg, transparent, rgba(48, 32, 79, 0.82));
}

.item .text a {
    color: #fff;
    font-weight: 700;
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.package-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

.package-card-link:hover,
.package-card-link:focus {
    color: inherit;
    text-decoration: none !important;
}

.plan,
.pack,
.package-card {
    background: #fff;
    border: 1px solid var(--jp-line);
    border-radius: var(--jp-radius);
    padding: 0;
    height: 100% !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(48, 32, 79, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.package-card-link:hover .package-card,
.plan:hover,
.pack:hover,
.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(68, 48, 107, 0.15);
}

.package-card img,
.plan img,
.pack img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.package-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    text-align: left;
}

.plan h3,
.pack h3,
.package-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    height: auto !important;
    min-height: calc(1.08rem * 1.35 * 2);
    color: var(--jp-purple-dark);
    margin: 0 0 0.55rem;
    line-height: 1.35;
}

.package-card p,
.pack p,
.plan p {
    margin: 0;
    color: var(--jp-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1 1 auto;
}

.package-card-cta {
    display: inline-block;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--jp-maroon);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.package-card-link:hover .package-card-cta {
    color: var(--jp-purple);
}

.package.entry-title {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.entry-content,
.entry-content.inactive {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
}

@media (max-width: 991px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Team */
.doctor-card,
.card.card-span {
    border: 1px solid var(--jp-line);
    border-radius: var(--jp-radius);
    box-shadow: var(--jp-shadow);
    background: #fff;
}

.doctor-card img,
.card.card-span img {
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--jp-warm);
}

#tsum-tabs {
    text-align: center;
}

#tsum-tabs > input {
    display: none;
}

#tsum-tabs > label,
#tsum-tabs > label.team-specialty {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 0 0.55rem 0.75rem !important;
    padding: 0 !important;
    font-size: 1.7rem !important;
    font-weight: 400;
    line-height: 1;
    vertical-align: middle;
    color: var(--jp-maroon) !important;
    background: #f7f1f4;
    border: 1px solid rgba(141, 5, 5, 0.16) !important;
    border-radius: 50% !important;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

#tsum-tabs > label img {
    display: none;
}

.team-specialty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
}

.team-specialty-icon i {
    font-size: 1.7rem;
    line-height: 1;
    width: 1em;
    text-align: center;
}

#tsum-tabs > label:hover {
    transform: translateY(-4px);
    color: var(--jp-purple) !important;
    background: #fff;
    border-color: rgba(68, 48, 107, 0.28) !important;
    box-shadow: 0 10px 22px rgba(68, 48, 107, 0.12);
}

#tsum-tabs input:checked + label,
#tsum-tabs input:checked + label.team-specialty {
    color: #fff !important;
    background: var(--jp-maroon);
    border-color: var(--jp-maroon) !important;
    box-shadow: 0 8px 20px rgba(141, 5, 5, 0.18);
}

#tsum-tabs > #content1,
#tsum-tabs > #content2,
#tsum-tabs > #content3,
#tsum-tabs > #content4 {
    display: none;
    width: 100%;
    max-width: 100%;
    clear: both;
    text-align: center;
    padding-top: 1.25rem;
    border-top: 0;
}

#tsum-tabs #tab1:checked ~ #content1,
#tsum-tabs #tab2:checked ~ #content2,
#tsum-tabs #tab3:checked ~ #content3,
#tsum-tabs #tab4:checked ~ #content4 {
    display: block;
}

@media (max-width: 767px) {
    #tsum-tabs > label,
    #tsum-tabs > label.team-specialty {
        width: 72px;
        height: 72px;
        margin: 0 0.4rem 0.65rem !important;
        font-size: 1.45rem !important;
    }
    .team-specialty-icon i {
        font-size: 1.45rem;
    }
}

@media (max-width: 480px) {
    #tsum-tabs > label,
    #tsum-tabs > label.team-specialty {
        width: 64px;
        height: 64px;
        margin: 0 0.3rem 0.55rem !important;
        font-size: 1.3rem !important;
    }
    .team-specialty-icon i {
        font-size: 1.3rem;
    }
}

/* Features / why choose */
.feature-band {
    background: linear-gradient(135deg, var(--jp-maroon), var(--jp-purple));
    color: #fff;
    padding: 3.6rem 0;
}

.feature-band h2,
.feature-band h3,
.feature-band span,
.feature-band p {
    color: #fff !important;
}

.feature-band .section-kicker {
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.16em;
}

.iconic h3 img,
.feature-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 0.85rem;
    filter: brightness(0) invert(1);
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.why-choose-section {
    position: relative;
    overflow: hidden;
    background-color: #faf8f6;
    padding: 4.25rem 0 4.5rem;
}

.why-choose-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(141, 5, 5, 0.045), transparent 22%),
        radial-gradient(circle at 88% 12%, rgba(68, 48, 107, 0.05), transparent 24%),
        radial-gradient(circle at 80% 88%, rgba(141, 5, 5, 0.035), transparent 26%);
}

.why-choose-section .container {
    position: relative;
    z-index: 1;
}

.why-choose-section .section-kicker {
    text-align: center;
    color: var(--jp-maroon);
    margin-bottom: 0.7rem;
}

.why-choose-heading {
    color: var(--jp-purple);
    text-align: center;
    max-width: 38rem;
    margin: 0 auto 0.85rem;
    position: relative;
    padding-bottom: 0.85rem;
}

.why-choose-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 3.25rem;
    height: 3px;
    border-radius: 3px;
    background: var(--jp-maroon);
    transform: translateX(-50%);
}

.why-choose-seo {
    text-align: center;
    color: var(--jp-muted) !important;
    font-family: var(--font-body);
    font-size: 0.95rem !important;
    font-weight: 500;
    margin: 0 auto 0.25rem;
}

.why-choose-seo + .why-choose-seo {
    margin-bottom: 2.4rem;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
    align-items: stretch;
}

.why-choose-card {
    height: 100%;
    background: #fff;
    border: 1px solid rgba(68, 48, 107, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(48, 32, 79, 0.05);
    padding: 1.85rem 1.45rem 1.7rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-choose-card:hover {
    transform: translateY(-5px);
    border-color: rgba(141, 5, 5, 0.22);
    box-shadow: 0 16px 36px rgba(68, 48, 107, 0.12);
}

.why-choose-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    background: #f7f1f4;
    border: 1px solid rgba(141, 5, 5, 0.14);
    color: var(--jp-maroon);
}

.why-choose-icon i {
    font-size: 1.7rem;
    line-height: 1;
}

.why-choose-card h3 {
    color: var(--jp-purple);
    font-size: 1.15rem;
    margin: 0 0 0.65rem;
    line-height: 1.35;
}

.why-choose-card p {
    margin: 0;
    color: var(--jp-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (max-width: 991px) {
    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }
    .why-choose-heading {
        max-width: none;
    }
}

@media (max-width: 576px) {
    .why-choose-section {
        padding: 3.25rem 0 3.5rem;
    }
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Appointment */
.appointment-wrap {
    background: var(--jp-cream);
    padding: 3.75rem 0 4.75rem;
}

.appointment-panel {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    border-radius: var(--jp-radius);
    overflow: hidden;
    box-shadow: var(--jp-shadow);
    background: #fff;
}

.appointment-info {
    background: linear-gradient(165deg, #8D0505 0%, #650303 38%, #44306B 100%);
    color: #fff;
    padding: 2.5rem 2.15rem;
}

.appointment-info h2,
.appointment-info h3,
.appointment-info p,
.appointment-info a,
.appointment-info li,
.appointment-info span,
.appointment-info strong {
    color: #fff !important;
}

.appointment-info .section-kicker {
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.14em;
}

.appointment-info h2 {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.appointment-info > p {
    opacity: 0.92;
    margin-bottom: 1.5rem;
}

.appointment-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.appointment-info li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.05rem;
    align-items: flex-start;
}

.appointment-info li span {
    min-width: 0;
    word-break: break-word;
}

.clinic-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.15rem;
}

.appointment-info i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.appointment-form {
    padding: 2.35rem 2.15rem;
    background: #fff;
}

.appointment-form h2 {
    font-weight: 800;
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    margin-bottom: 0.35rem;
}

.appointment-form .form-subtitle {
    color: var(--jp-muted);
    font-size: 1rem;
    margin-bottom: 1.35rem;
}

.form-label {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--jp-purple-dark);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.form-control,
.form-livedoc-control,
.form-select {
    min-height: 50px;
    border-radius: var(--jp-radius-sm);
    border: 1px solid #ddd6d6;
    background: var(--jp-cream);
    color: var(--jp-text);
    padding: 0.7rem 0.95rem;
}

.form-control:focus,
.form-livedoc-control:focus,
.form-select:focus {
    border-color: var(--jp-purple);
    box-shadow: 0 0 0 0.2rem rgba(68, 48, 107, 0.15);
    background: #fff;
}

textarea.form-control,
textarea.form-livedoc-control {
    min-height: 120px;
}

.appointment-form .form-control,
.appointment-form .form-livedoc-control {
    background: #fff;
}

.appointment-form .form-control:focus,
.appointment-form .form-livedoc-control:focus {
    border-color: var(--jp-maroon);
    box-shadow: 0 0 0 0.2rem rgba(141, 5, 5, 0.16);
    background: #fff;
}

.appointment-info a:hover {
    color: #fff !important;
    text-decoration: underline;
}

#appointment {
    scroll-margin-top: calc(var(--jp-header-offset) + 10px);
}

#about {
    scroll-margin-top: calc(var(--jp-header-offset) + 10px);
}

#about .about-intro {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.65;
    color: #5C5566;
    max-width: 36rem;
    margin: 0.55rem 0 1rem;
}

#about .about-intro + .service-pills {
    margin-top: 0.15rem;
}

.hero-appointment.appointment-form {
    padding: 1.05rem 1.15rem 1rem;
    background: #fff;
}

.btn-appoint {
    width: 100%;
    min-height: 54px;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--jp-radius-sm);
}

/* Contact */
.contact-card,
.m-card {
    background: #fff;
    border: 1px solid var(--jp-line);
    border-radius: var(--jp-radius);
    box-shadow: var(--jp-shadow);
    overflow: hidden;
}

.contact-section {
    background: #faf8f6;
    padding: 3.75rem 0 4.25rem;
}

.contact-heading {
    color: var(--jp-purple);
    text-align: center;
    margin: 0 auto 2.25rem;
    position: relative;
    padding-bottom: 0.85rem;
}

.contact-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 3.25rem;
    height: 3px;
    border-radius: 3px;
    background: var(--jp-maroon);
    transform: translateX(-50%);
}

.contact-section .section-kicker {
    text-align: center;
    color: var(--jp-maroon);
    margin-bottom: 0.65rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    gap: 1.5rem;
    align-items: stretch;
}

.contact-info-list {
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    background: #fff;
    border: 1px solid rgba(68, 48, 107, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(48, 32, 79, 0.05);
    padding: 1.15rem 1.2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(141, 5, 5, 0.18);
    box-shadow: 0 14px 30px rgba(68, 48, 107, 0.1);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f7f1f4;
    border: 1px solid rgba(141, 5, 5, 0.14);
    color: var(--jp-maroon);
}

.contact-info-icon i {
    margin: 0;
    color: var(--jp-maroon);
    font-size: 1rem;
}

.contact-info-list h2,
.contact-info-list h3 {
    font-size: 1.02rem;
    margin: 0.1rem 0 0.3rem;
    color: var(--jp-purple);
}

.contact-info-list p {
    margin: 0;
}

.contact-info-list a {
    color: var(--jp-maroon);
    font-weight: 500;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.contact-info-list a:hover {
    color: var(--jp-purple);
}

.contact-form-card {
    background: #fff;
    border: 1px solid rgba(68, 48, 107, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(48, 32, 79, 0.06);
    padding: 1.6rem 1.55rem 1.45rem;
}

.contact-form-card .form-control,
.contact-form-card .form-livedoc-control {
    background: #fff;
    border: 1px solid #e6dfdf;
    min-height: 48px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-livedoc-control:focus {
    border-color: var(--jp-maroon);
    box-shadow: 0 0 0 0.2rem rgba(141, 5, 5, 0.12);
    background: #fff;
}

.contact-form-card .btn-appoint {
    min-height: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(141, 5, 5, 0.18);
}

@media (max-width: 991px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.overview-contact {
    background: #faf8f6;
    padding: 3.5rem 0 3.75rem;
}

.overview-contact .container {
    max-width: 1200px;
}

.overview-contact-card {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: stretch;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(48, 32, 79, 0.1);
}

.overview-contact-panel {
    background: linear-gradient(160deg, #8d0505 0%, #6a1c3d 42%, #44306b 100%);
    color: #fff;
    padding: 2.15rem 2rem 2.05rem;
}

.overview-contact-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.overview-contact-kicker-light {
    color: var(--jp-maroon);
}

.overview-contact-panel h2 {
    color: #fff;
    font-size: 1.7rem;
    line-height: 1.25;
    margin: 0 0 0.7rem;
}

.overview-contact-lead {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.6;
}

.overview-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.15rem;
}

.overview-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.overview-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.overview-contact-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.overview-contact-list a {
    display: block;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
}

.overview-contact-list a + a {
    margin-top: 0.15rem;
}

.overview-contact-list a:hover {
    color: #f3c7c7;
}

.overview-contact-form {
    padding: 2.05rem 2rem 1.9rem;
    background: #fff;
}

.overview-contact-form h3 {
    color: var(--jp-purple);
    font-size: 1.55rem;
    margin: 0 0 0.4rem;
}

.overview-contact-form-lead {
    margin: 0 0 1.15rem;
    color: var(--jp-muted);
    font-size: 0.92rem;
}

.overview-contact-form .form-label {
    margin-bottom: 0.3rem;
    font-size: 0.84rem;
}

.overview-contact-form .form-control,
.overview-contact-form .form-livedoc-control {
    min-height: 46px;
    background: #fff;
    border: 1px solid #e6dfdf;
    padding: 0.55rem 0.85rem;
}

.overview-contact-form textarea.form-control,
.overview-contact-form textarea.form-livedoc-control {
    min-height: 108px;
    height: 108px;
    resize: vertical;
}

.overview-contact-form .form-control:focus,
.overview-contact-form .form-livedoc-control:focus {
    border-color: var(--jp-maroon);
    box-shadow: 0 0 0 0.18rem rgba(141, 5, 5, 0.12);
    background: #fff;
}

.overview-contact-submit {
    min-height: 48px;
    background: var(--jp-maroon) !important;
    border-color: var(--jp-maroon) !important;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(141, 5, 5, 0.18);
}

.overview-contact-submit:hover,
.overview-contact-submit:focus {
    background: var(--jp-purple) !important;
    border-color: var(--jp-purple) !important;
}

@media (max-width: 991px) {
    .overview-contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .overview-contact {
        padding: 2.6rem 0 2.8rem;
    }
    .overview-contact-panel,
    .overview-contact-form {
        padding: 1.5rem 1.25rem;
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

figure.snip1390,
.snip1390,
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 1.6rem 1.35rem 1.35rem !important;
    background: #fff;
    border: 1px solid var(--jp-line) !important;
    border-radius: var(--jp-radius) !important;
    box-shadow: 0 10px 28px rgba(48, 32, 79, 0.06) !important;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

figure.snip1390 figcaption,
.snip1390 figcaption {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}

figure.snip1390 h2,
figure.snip1390 h3,
.snip1390 h2,
.snip1390 h3,
.testimonial-card h2,
.testimonial-card h3 {
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    color: var(--jp-purple-dark) !important;
    margin: 0 0 0.7rem !important;
}

figure.snip1390 blockquote,
.snip1390 blockquote,
.testimonial-card blockquote {
    position: relative;
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 0.35rem 0 0 !important;
    border: 0 !important;
    font-size: 0.95rem;
    font-style: normal !important;
    font-weight: 400;
    line-height: 1.65;
    text-align: center;
    color: var(--jp-muted);
}

figure.snip1390 blockquote:before,
figure.snip1390 blockquote:after,
.snip1390 blockquote:before,
.snip1390 blockquote:after {
    content: none !important;
    display: none !important;
}

figure.snip1390 figcaption::before,
.snip1390 figcaption::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--jp-maroon);
    display: block;
    margin: 0 0 0.55rem;
    opacity: 0.9;
}

figure.snip1390 .profile,
.snip1390 .profile {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 0 0.7rem !important;
    border: 3px solid #f4eeee !important;
    box-shadow: none !important;
    display: block;
}

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

#team .m-lg-7 {
    margin: 1.25rem 0 !important;
}

#team .mb-8 {
    margin-bottom: 1.25rem !important;
}

#team .mb-5 {
    margin-bottom: 1.5rem !important;
}

/* Lists on inner pages */
.list-unstyled li {
    position: relative;
    padding: 0.35rem 0 0.35rem 0.2rem;
    color: var(--jp-text);
}

.list-unstyled .fa-radiation {
    color: var(--jp-maroon);
    transform: rotate(0deg);
}

.list-unstyled .fa-radiation:before {
    content: "\f058";
    font-weight: 400;
}

.jp-prose {
    background: #fff;
    border-radius: var(--jp-radius);
    padding: 2.2rem;
    box-shadow: var(--jp-shadow);
    border: 1px solid var(--jp-line);
}

.jp-prose img {
    border-radius: 16px;
    width: 100%;
    height: auto !important;
    object-fit: cover;
}

.jumbotron {
    background: linear-gradient(135deg, var(--jp-maroon), var(--jp-purple)) !important;
    border-radius: var(--jp-radius);
    padding: 2.5rem 1.5rem;
}

.jumbotron h2,
.jumbotron h3,
.jumbotron .title,
.jumbotron span,
.jumbotron .counting {
    color: #fff !important;
}

.jumbotron .btn-outline-primary {
    border-color: #fff;
    color: #fff !important;
}

.jumbotron-up {
    padding: 1rem 0 3rem;
}

.stats .counting {
    font-family: var(--font-heading);
    font-size: 3rem;
}

/* CTA band */
.cta-band {
    padding: 0 0 4rem;
}

.cta-band-inner {
    background: linear-gradient(135deg, var(--jp-maroon), var(--jp-purple));
    border-radius: var(--jp-radius);
    padding: 2.2rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: #fff;
}

.cta-band h2,
.cta-band p,
.cta-band .section-kicker {
    color: #fff;
}

.cta-band .section-kicker {
    opacity: 0.8;
}

.cta-band-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    position: relative;
    background:
        radial-gradient(1200px 280px at 8% -10%, rgba(141, 5, 5, 0.28), transparent 58%),
        linear-gradient(165deg, #4a3274 0%, var(--jp-purple) 46%, #352251 100%);
    color: rgba(255, 255, 255, 0.84);
    padding: 2.15rem 0 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--jp-maroon) 0%, #c45a5a 48%, var(--jp-purple) 100%);
}

.site-footer a,
.site-footer p,
.foots {
    color: rgba(255, 255, 255, 0.84);
}

.site-footer a {
    transition: color 0.2s ease;
}

.site-footer a:hover,
.foots:hover {
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.05fr 1.2fr;
    gap: 1.5rem 2rem;
    align-items: start;
}

.footer-brand {
    display: inline-block;
    max-width: 100%;
}

.footer-brand img {
    width: auto;
    height: auto;
    max-width: min(270px, 100%);
    display: block;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
}

.footer-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0.15rem 0 0.95rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 2.1rem;
    height: 2px;
    background: var(--jp-maroon);
    border-radius: 2px;
}

.footer-about {
    margin: 0.9rem 0 0;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 27rem;
    color: rgba(255, 255, 255, 0.78);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links a,
.footer-links .foots {
    display: inline-block;
    padding: 0.28rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
}

.footer-links a:hover,
.footer-links .foots:hover {
    color: #f3c7c7;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(141, 5, 5, 0.22);
    border: 1px solid rgba(243, 199, 199, 0.28);
    color: #f3c7c7;
}

.footer-contact-icon i {
    color: #f3c7c7;
    width: auto;
    margin: 0;
    font-size: 0.78rem;
}

.footer-contact a {
    overflow-wrap: anywhere;
    word-break: break-word;
    padding-top: 0.3rem;
}

.footer-social {
    display: flex;
    gap: 0.55rem;
    margin-top: 1.15rem;
}

.foot-icons {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.foot-icons:hover {
    transform: translateY(-3px);
    background: var(--jp-maroon);
    border-color: var(--jp-maroon);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(141, 5, 5, 0.28);
}

.footer-meta {
    display: grid;
    grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.4fr);
    gap: 1.15rem;
    align-items: stretch;
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours {
    margin: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.15rem 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-hours .footer-title {
    margin-bottom: 0.85rem;
}

.footer-hours-grid {
    display: grid;
    gap: 0.65rem;
}

.footer-hours-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    background: rgba(20, 10, 32, 0.22);
    border-left: 3px solid var(--jp-maroon);
}

.footer-hours-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
}

.footer-hours-time {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.footer-map {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(20, 10, 32, 0.2);
}

.footer-map iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 180px;
    border: 0;
}

.footer-legal {
    margin-top: 1.4rem;
    background: #241536;
    padding: 0.8rem 0;
    font-size: 0.84rem;
}

.footer-legal,
.footer-legal a,
.footer-legal p {
    color: rgba(255, 255, 255, 0.82);
}

.footer-legal-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
}

.footer-legal a:hover {
    color: #f3c7c7;
}

@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: 1.2fr 0.85fr 1fr 1.1fr;
        gap: 1.3rem 1.25rem;
    }
    .footer-brand img {
        max-width: min(240px, 100%);
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.4rem 1.5rem;
    }
    .footer-meta {
        grid-template-columns: 1fr 1.15fr;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 1.85rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 1.1rem;
    }
    .footer-col-brand,
    .footer-col-visit {
        grid-column: 1 / -1;
    }
    .footer-meta {
        grid-template-columns: 1fr;
        margin-top: 1.2rem;
        padding-top: 1.15rem;
    }
    .footer-hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    .footer-legal-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .footer-col-brand,
    .footer-col-visit {
        grid-column: auto;
    }
    .footer-about {
        max-width: none;
    }
    .footer-map iframe {
        height: 165px;
    }
    .foot-icons {
        width: 42px;
        height: 42px;
    }
}

.jp-faq {
    max-width: 860px;
    margin: 0 auto;
}

.jp-faq .accordion {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.jp-faq .accordion-item {
    background: #fff;
    border: 1px solid var(--jp-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 22px rgba(48, 32, 79, 0.05);
    overflow: hidden;
    margin-bottom: 0;
    transition: border-color 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.jp-faq .accordion-item:hover {
    background: #FDFBFB;
    border-color: rgba(141, 5, 5, 0.16) !important;
    box-shadow: 0 10px 26px rgba(48, 32, 79, 0.07);
}

.jp-faq .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: rgba(141, 5, 5, 0.22) !important;
    box-shadow: 0 10px 26px rgba(141, 5, 5, 0.08);
}

.jp-faq .accordion-header {
    margin: 0;
}

.jp-faq .accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.15rem 1.3rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1F1A3A;
    background: transparent;
    box-shadow: none !important;
    text-align: left;
}

.jp-faq .accordion-button span:first-child {
    flex: 1;
}

.jp-faq .accordion-button:hover,
.jp-faq .accordion-button:focus,
.jp-faq .accordion-button:not(.collapsed) {
    color: #1F1A3A;
    background: transparent;
    box-shadow: none !important;
}

.jp-faq .accordion-button:focus {
    outline: none;
}

.jp-faq .accordion-button::after {
    display: none;
}

.jp-faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-left: 0.25rem;
}

.jp-faq-icon::before,
.jp-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--jp-maroon);
    border-radius: 1px;
    transition: transform 0.28s ease, opacity 0.28s ease, background-color 0.28s ease;
}

.jp-faq-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.jp-faq-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.jp-faq .accordion-button:not(.collapsed) .jp-faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.jp-faq .accordion-collapse {
    border: 0;
}

.jp-faq .collapsing {
    transition: height 0.38s ease;
}

.jp-faq .accordion-body {
    padding: 0 1.3rem 1.25rem;
    color: var(--jp-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.jp-faq .accordion-body a {
    color: var(--jp-maroon);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(141, 5, 5, 0.28);
}

.jp-faq .accordion-body a:hover {
    color: var(--jp-maroon-deep);
    border-bottom-color: var(--jp-maroon-deep);
}

@media (max-width: 767px) {
    .jp-faq .accordion {
        gap: 0.75rem;
    }
    .jp-faq .accordion-button {
        padding: 1rem 1.05rem;
        font-size: 0.98rem;
        gap: 0.75rem;
    }
    .jp-faq .accordion-body {
        padding: 0 1.05rem 1.05rem;
        font-size: 0.94rem;
    }
}

.jp-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.jp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.xdsoft_datetimepicker {
    z-index: 2000 !important;
}

/* Thank you / 404 */
.utility-page {
    min-height: 52vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.utility-page h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 1199px) {
    .appointment-panel {
        grid-template-columns: 1fr;
    }
    .specialty-strip-grid {
        grid-template-columns: 1fr 1fr;
    }
    .specialty-strip-item + .specialty-strip-item {
        border-left: 0;
    }
    .specialty-strip-item:nth-child(even) {
        border-left: 1px solid var(--jp-line);
    }
    .jp-navbar .navbar-brand img {
        width: 320px;
    }
}

@media (max-width: 991px) {
    :root {
        --jp-header-offset: 96px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hero::before {
        background-image:
            linear-gradient(
                180deg,
                rgba(250, 248, 247, 0.96) 0%,
                rgba(250, 248, 247, 0.92) 58%,
                rgba(68, 48, 107, 0.18) 100%
            ),
            url("../img/inner.jpg");
        background-position: center;
    }
    .jp-navbar {
        padding: 0.45rem 0;
    }
    .jp-navbar .container {
        flex-wrap: wrap;
    }
    .jp-navbar .navbar-brand {
        max-width: calc(100% - 4.25rem);
        margin-right: 0.5rem;
    }
    .jp-navbar .navbar-brand img {
        width: min(300px, 68vw);
    }
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
    .feature-band .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .jp-navbar .navbar-collapse {
        background: #fff;
        border-top: 1px solid var(--jp-line);
        margin-top: 0.6rem;
        padding: 0.65rem 0 1rem;
        max-height: calc(100vh - 7.5rem);
        overflow-y: auto;
        width: 100%;
        flex-basis: 100%;
    }
    .jp-navbar .navbar-nav {
        align-items: stretch;
        width: 100%;
    }
    .jp-navbar .nav-link,
    .jp-navbar .dropdown-toggle.nav-link {
        padding: 0.72rem 0.35rem !important;
    }
    .jp-navbar .nav-link::after {
        display: none;
    }
    .jp-navbar .nav-item.has-dropdown > .nav-link {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    .jp-navbar .nav-chevron {
        font-size: 0.72em;
        flex-shrink: 0;
    }
    .jp-navbar .dropdown-menu,
    .jp-navbar .dropend .dropdown-menu {
        position: static !important;
        float: none;
        transform: none !important;
        width: 100%;
        min-width: 0 !important;
        margin: 0 0 0.35rem;
        padding: 0.2rem 0 0.2rem 0.7rem;
        border: 0;
        box-shadow: none !important;
        background: var(--jp-cream);
    }
    .jp-navbar .dropdown-item {
        white-space: normal;
        padding: 0.55rem 0.75rem;
    }
    .jp-navbar .btn-brand {
        margin-top: 0.75rem;
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }
    .cta-band {
        padding-bottom: 2.75rem;
    }
    .cta-band-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 1.6rem 1.25rem;
        text-align: left;
    }
    .cta-band-actions {
        width: 100%;
    }
    .cta-band-actions .btn {
        flex: 1 1 100%;
        text-align: center;
        justify-content: center;
    }
    .topbar-contacts a:nth-child(3) {
        display: none;
    }
    .appointment-info,
    .appointment-form {
        padding: 1.8rem 1.3rem;
    }
    .hero-appointment.appointment-form {
        padding: 1.05rem 1.05rem 0.95rem;
    }
    .appointment-form .btn-appoint {
        width: 100%;
    }
    .contact-section {
        padding: 2.75rem 0 3rem;
    }
    .contact-form-card {
        padding: 1.35rem 1.2rem 1.2rem;
    }
    .jp-prose {
        padding: 1.6rem 1.35rem;
    }
}

@media (max-width: 767px) {
    :root {
        --jp-header-offset: 88px;
    }
    body {
        font-size: 1rem;
    }
    .topbar-social {
        display: none;
    }
    .topbar-inner {
        justify-content: center;
    }
    .trust-grid,
    .service-pills,
    .specialty-strip-grid {
        grid-template-columns: 1fr;
    }
    .specialty-strip-item + .specialty-strip-item,
    .specialty-strip-item:nth-child(even) {
        border-left: 0;
        border-top: 1px solid var(--jp-line);
    }
    .hero-trust {
        grid-template-columns: 1fr 1fr;
        column-gap: 0.85rem;
        row-gap: 0.75rem;
    }
    .hero-copy {
        padding-left: 0.9rem;
    }
    #about .about-intro {
        font-size: 1rem;
        max-width: none;
        margin-bottom: 0.9rem;
    }
    .jp-section {
        padding: 2.6rem 0;
    }
    .appointment-wrap {
        padding: 2.6rem 0 3rem;
    }
    .hero {
        padding: 1.05rem 0 1.25rem;
    }
    .no1-band {
        padding: 1.6rem 0;
        text-align: center;
    }
    .no1-band img {
        width: min(220px, 58%);
        margin-top: 0.75rem;
    }
    .hero-actions {
        width: 100%;
    }
    .hero-actions .btn,
    .cta-band-actions .btn {
        width: 100%;
        text-align: center;
    }
    .jp-prose {
        padding: 1.15rem 0.95rem;
        border-radius: 10px;
    }
    .jp-prose .row > [class*="col-"] {
        margin-bottom: 0.85rem;
    }
    .topbar-contacts {
        font-size: 0.75rem;
        gap: 0.5rem 0.8rem;
        justify-content: center;
    }
    #header-section .header h1,
    #header-section .header span {
        font-size: 1.28rem !important;
        padding: 0 0.25rem !important;
    }
    #header-section .header p,
    #header-section .header a {
        font-size: 0.86rem !important;
    }
    .feature-band {
        padding: 2.4rem 0;
    }
    .feature-band .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .feature-item {
        padding: 0.65rem 0.4rem;
    }
    #team .col-md-4:empty,
    #team .col-md-2:empty {
        display: none;
    }
    #team .card.card-span {
        margin-bottom: 1rem;
    }
    #team .m-lg-7,
    #team .mx-3,
    #team .mx-md-4,
    #team .my-md-7 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0.75rem !important;
        margin-bottom: 0 !important;
    }
    .utility-page {
        padding: 3.25rem 0;
        min-height: 42vh;
    }
    .xdsoft_datetimepicker {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        max-width: calc(100vw - 1.25rem);
    }
    .cta-band h2 {
        font-size: 1.35rem;
    }
    .footer-hours-time {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .jp-navbar .navbar-brand img {
        width: min(220px, calc(100vw - 5.75rem));
        height: auto;
    }
    .hero-trust {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 1.32rem;
        max-width: none;
    }
    .hero .lead {
        font-size: 0.94rem;
    }
    .hero-appointment {
        padding: 0.95rem 0.9rem 0.9rem;
    }
    .btn {
        padding: 0.68rem 1.1rem;
    }
    #header-section .header h1,
    #header-section .header span {
        font-size: 1.18rem !important;
    }
    .packages-grid {
        gap: 14px;
    }
    .package-card-content {
        padding: 1.05rem;
    }
}
