* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--theme-ink);
    font-family: var(--font-base);
    line-height: 1.6;
    background: var(--theme-white);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container-width), calc(100% - 32px));
    margin: 0 auto;
}

.header-container {
    width: min(1440px, calc(100% - 140px));
}

.topbar {
    color: var(--theme-primary-dark);
    background: var(--theme-secondary);
    font-size: var(--nav-font-size);
    font-weight: var(--nav-font-weight);
    line-height: var(--nav-line-height);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 34px;
    gap: 14px;
}

.topbar__social {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 330px;
    color: var(--theme-white);
    text-transform: uppercase;
}

.topbar__social a {
    display: inline-grid;
    min-width: 16px;
    height: 20px;
    place-items: center;
    font-size: 12px;
    line-height: 1;
}

.topbar__ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 28px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.topbar__ticker span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar__appointment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 20px;
    border: 1px solid var(--theme-primary-dark);
    border-radius: 999px;
    color: var(--theme-primary-dark);
    font-size: 12px;
    text-transform: uppercase;
    margin-left: 22px;
}

.topbar a:hover {
    color: var(--theme-white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 2px solid var(--theme-secondary);
    background: var(--theme-header-main);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 106px;
    gap: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: 330px;
    padding: 0;
}

.brand img {
    width: 330px;
    height: auto;
    max-height: 86px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    margin-left: 0;
}

.site-nav a,
.nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 42px;
    padding: 8px 8px;
    border-radius: var(--radius-sm);
    color: var(--theme-white);
    font-size: var(--nav-font-size);
    font-weight: var(--nav-font-weight);
    line-height: var(--nav-line-height);
    text-transform: uppercase;
    white-space: nowrap;
    transition: color var(--nav-color-duration) ease, background-color var(--nav-color-duration) ease;
}

.has-submenu > a::after {
    content: '';
    width: 5px;
    height: 5px;
    margin-top: -3px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}

.site-nav a:hover,
.site-nav a.is-active,
.nav-item:hover > a {
    color: var(--theme-nav-active);
    background: transparent;
}

.nav-item {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--theme-border);
    border-radius: 0;
    background: var(--theme-white);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transform: translateY(12px);
    transition:
        opacity var(--dropdown-exit-duration) ease var(--dropdown-exit-delay),
        transform var(--dropdown-exit-duration) ease var(--dropdown-exit-delay),
        visibility 0s linear calc(var(--dropdown-exit-delay) + var(--dropdown-exit-duration));
}

.nav-dropdown--wide {
    min-width: 260px;
}

.nav-dropdown a {
    display: block;
    padding: 9px 10px;
    color: var(--theme-ink);
    font-size: 13px;
    font-weight: var(--nav-font-weight);
    line-height: 22px;
    text-transform: none;
    white-space: nowrap;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
        opacity var(--dropdown-duration) ease,
        transform var(--dropdown-duration) ease,
        visibility 0s linear 0s;
}

.nav-cta {
    display: none !important;
}

.nav-cta:hover,
.nav-cta.is-active {
    color: var(--theme-white) !important;
    background: var(--theme-secondary-dark) !important;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-sm);
    background: var(--theme-white);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--theme-ink);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--theme-secondary-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(40px, 7vw, 68px);
    line-height: 1.05;
}

h2 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.25;
}

.page__header p {
    max-width: 720px;
    color: var(--theme-muted);
    font-size: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
}

.home-slider {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--theme-secondary);
    background: var(--theme-surface);
}

.home-slider__track {
    position: relative;
    width: 100%;
    aspect-ratio: 1366 / 400;
    min-height: 280px;
    max-height: 520px;
}

.home-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition: opacity 650ms ease, transform 1200ms ease, visibility 0s linear 650ms;
}

.home-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 650ms ease, transform 1200ms ease, visibility 0s linear 0s;
}

.home-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-slider__fallback {
    display: grid;
    min-height: 100%;
    align-content: center;
    padding: 48px max(24px, calc((100vw - var(--container-width)) / 2));
    background: linear-gradient(120deg, var(--theme-surface) 0%, var(--theme-surface-alt) 100%);
}

.home-slider__fallback h1 {
    max-width: 760px;
}

.home-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(7, 95, 55, 0.62);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color var(--nav-color-duration) ease, opacity var(--nav-color-duration) ease;
}

.home-slider__arrow:hover {
    background: var(--theme-primary-dark);
}

.home-slider__arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 2px solid var(--theme-white);
    border-left: 2px solid var(--theme-white);
}

.home-slider__arrow--prev {
    left: 22px;
}

.home-slider__arrow--prev::before {
    transform: translate(-35%, -50%) rotate(-45deg);
}

.home-slider__arrow--next {
    right: 22px;
}

.home-slider__arrow--next::before {
    transform: translate(-65%, -50%) rotate(135deg);
}

.home-slider__dots {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.home-slider__dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid var(--theme-white);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color var(--nav-color-duration) ease, transform var(--nav-color-duration) ease;
}

.home-slider__dots button.is-active {
    background: var(--theme-secondary);
    transform: scale(1.2);
}

.btn--primary {
    color: var(--theme-white);
    background: var(--theme-primary);
}

.btn--primary:hover {
    background: var(--theme-primary-dark);
}

.btn--secondary {
    color: var(--theme-primary-dark);
    border-color: var(--theme-border);
    background: var(--theme-white);
}

.section,
.page {
    padding: 72px  0;
}

.page-with-hero {
    padding-top: 0;
}

.home-about {
    background: var(--theme-white);
}

.home-about__grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 46px;
}

.home-about__image {
    position: relative;
}

.home-about__image::before {
    content: '';
    position: absolute;
    inset: 24px -18px -18px 24px;
    z-index: 0;
    border: 2px solid var(--theme-secondary);
}

.home-about__image img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.home-about__content h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 48px);
}

.home-about__content p {
    color: var(--theme-muted);
}

.home-about__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.home-about__stats div {
    padding: 16px 12px;
    border-left: 3px solid var(--theme-secondary);
    background: var(--theme-surface);
}

.home-about__stats strong {
    display: block;
    color: var(--theme-primary-dark);
    font-size: 30px;
    line-height: 1;
}

.home-about__stats span {
    display: block;
    margin-top: 8px;
    color: var(--theme-muted);
    font-size: 13px;
    font-weight: 600;
}

.home-about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-services {
    background:
        linear-gradient(rgba(255, 255, 255, 0.50), rgba(255, 255, 255, 0.50)),
        url("../images/leaf-bg.png");
    background-position: center;
    background-size: auto;
}

.home-services__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.home-services__header h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(32px, 4vw, 48px);
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-service-card {
    position: relative;
    min-height: 238px;
    padding: 28px;
    border: 1px solid var(--theme-border);
    border-bottom: 4px solid var(--theme-secondary);
    background: var(--theme-white);
    box-shadow: var(--shadow-soft);
    transition: transform var(--nav-color-duration) ease, border-color var(--nav-color-duration) ease;
}

.home-service-card:hover {
    border-color: var(--theme-secondary);
    transform: translateY(-5px);
}

.home-service-card span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 50%;
    color: var(--theme-white);
    background: var(--theme-primary);
    font-size: 13px;
    font-weight: 700;
}

.home-service-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.25;
}

.home-service-card p {
    margin-bottom: 0;
    color: var(--theme-muted);
}

.home-why {
    position: relative;
    padding: 56px 0;
    color: var(--theme-white);
    background: var(--theme-primary-dark);
}

.home-why::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background: url("../images/leaf-bg.png") center / auto;
}

.home-why__grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 54px;
}

.home-why__content {
    max-width: 500px;
}

.home-why .eyebrow {
    color: var(--theme-secondary);
}

.home-why__content h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.15;
}

.home-why__content p {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
}

.home-why .btn--primary {
    color: var(--theme-primary-dark);
    background: var(--theme-secondary);
}

.home-why .btn--primary:hover {
    background: var(--theme-secondary-dark);
}

.home-why__list {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-why__item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.home-why__item span {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: var(--theme-secondary);
    font-size: 13px;
    font-weight: 700;
}

.home-why__item h3 {
    margin: 0 0 6px;
    color: var(--theme-white);
    font-size: 20px;
}

.home-why__item p {
    max-width: 620px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}

.home-doctors {
    overflow: hidden;
    background: var(--theme-white);
}

.home-doctors__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.home-doctors__header h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(28px, 3.2vw, 40px);
}

.home-doctors__carousel {
    position: relative;
    overflow: hidden;
    padding: 4px 0 18px;
    mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2) 5%, #000 15%, #000 85%, rgba(0, 0, 0, 0.2) 95%, transparent);
}

.home-doctors__carousel::before,
.home-doctors__carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 18px;
    z-index: 2;
    width: 170px;
    pointer-events: none;
}

.home-doctors__carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--theme-white) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0) 100%);
}

.home-doctors__carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--theme-white) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0) 100%);
}

.home-doctors__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scrollbar-width: none;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
}

.home-doctors__viewport::-webkit-scrollbar {
    display: none;
}

.home-doctors__viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.home-doctors__track {
    display: flex;
    width: max-content;
    gap: 20px;
    padding: 0 20px 14px;
}

.doctor-card {
    flex: 0 0 270px;
    overflow: hidden;
    border: 1px solid var(--theme-border);
    border-bottom: 4px solid var(--theme-secondary);
    background: var(--theme-white);
    box-shadow: var(--shadow-soft);
    transition: transform var(--nav-color-duration) ease, border-color var(--nav-color-duration) ease, box-shadow var(--nav-color-duration) ease;
    user-select: none;
}

.doctor-card:hover {
    border-color: var(--theme-secondary);
    box-shadow: 0 18px 42px rgba(15, 107, 63, 0.16);
    transform: translateY(-5px);
}

.doctor-card__image {
    height: 255px;
    background: var(--theme-surface);
}

.doctor-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.doctor-card__body {
    padding: 20px;
}

.doctor-card__body span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--theme-secondary-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.doctor-card__body h3 {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.25;
}

.doctor-card__body p {
    margin-bottom: 8px;
    color: var(--theme-muted);
    font-size: 14px;
}

.doctor-card__body strong {
    color: var(--theme-primary-dark);
    font-size: 13px;
}

.home-appointment {
    padding: 44px 0;
    background:
        linear-gradient(90deg, rgba(244, 165, 28, 0.94), rgba(255, 241, 208, 0.92)),
        url("../images/leaf-bg.png");
    background-position: center;
}

.home-appointment__inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 34px;
}

.home-appointment .eyebrow {
    color: var(--theme-primary-dark);
}

.home-appointment h2 {
    max-width: 560px;
    margin-bottom: 0;
    color: var(--theme-ink);
    font-size: clamp(28px, 3vw, 38px);
}

.home-appointment__meta {
    display: flex;
    gap: 18px;
}

.home-appointment__meta div {
    min-width: 170px;
    padding: 14px 18px;
    border-left: 3px solid var(--theme-primary);
    background: rgba(255, 255, 255, 0.62);
}

.home-appointment__meta span {
    display: block;
    margin-bottom: 4px;
    color: var(--theme-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-appointment__meta strong,
.home-appointment__meta a {
    color: var(--theme-primary-dark);
    font-weight: 700;
}

.home-appointment .btn--primary {
    color: var(--theme-white);
    background: var(--theme-primary);
}

.home-appointment .btn--primary:hover {
    background: var(--theme-primary-dark);
}

.section__grid,
.services,
.contact-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature,
.service,
.contact-form {
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-md);
    padding: 24px;
    background: var(--theme-white);
    box-shadow: var(--shadow-soft);
}

.feature p,
.service p {
    margin-bottom: 0;
    color: var(--theme-muted);
}

.about-detail {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 44px;
}

.about-detail__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.about-detail__content h2,
.section-heading h2,
.about-cta h2 {
    font-size: clamp(30px, 4vw, 44px);
}

.about-detail__content p,
.about-services p {
    color: var(--theme-muted);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 54px;
    margin-bottom: 72px;
}

.about-highlights article {
    padding: 26px 20px;
    border-top: 4px solid var(--theme-secondary);
    background: var(--theme-surface);
}

.about-highlights strong {
    display: block;
    color: var(--theme-primary-dark);
    font-size: 42px;
    line-height: 1;
}

.about-highlights span {
    display: block;
    margin-top: 10px;
    color: var(--theme-muted);
    font-weight: 600;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 26px;
}

.about-services {
    position: relative;
    overflow: hidden;
    padding: 76px 0;
    background:
        rgba(255, 255, 255, 0.88),
        url("../images/leaf-bg.png");
    background-position: center, left top;
    background-repeat: no-repeat, no-repeat;
    background-size: auto, cover;
}

.about-services__layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
    margin-bottom: 34px;
}

.about-services__visual {
    position: relative;
}

.about-services__visual::before {
    content: '';
    position: absolute;
    inset: 28px 28px -20px -20px;
    border: 2px solid var(--theme-secondary);
}

.about-services__visual img {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.about-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.about-services__grid article {
    position: relative;
    min-height: 230px;
    padding: 26px 24px;
    border: 1px solid var(--theme-border);
    border-bottom: 4px solid var(--theme-secondary);
    background: var(--theme-white);
    box-shadow: var(--shadow-soft);
    transition: transform var(--nav-color-duration) ease, border-color var(--nav-color-duration) ease;
}

.about-services__grid article:hover {
    border-color: var(--theme-secondary);
    transform: translateY(-4px);
}

.about-services__grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--theme-white);
    background: var(--theme-primary);
    font-size: 13px;
    font-weight: 700;
}

.about-services__grid h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
}

.about-cta {
    margin-top: 72px;
    padding: 46px 0;
    background: var(--theme-primary-dark);
}

.about-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.about-cta h2 {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--theme-white);
}

.about-cta .eyebrow {
    color: var(--theme-secondary);
}

.page__header {
    margin-bottom: 36px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 72px;
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
    background:
        linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.62)),
        url("../images/leaf-bg.png");
    background-position: center;
    background-size: auto;
}

.page-hero__inner {
    display: grid;
    justify-items: center;
    min-height: 260px;
    align-content: center;
    padding-top: 46px;
    padding-bottom: 46px;
    text-align: center;
}

.page-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
    color: var(--theme-secondary-dark);
    font-size: 14px;
    font-weight: 800;
}

.page-hero__breadcrumb a {
    color: var(--theme-secondary-dark);
    font-weight: 800;
    transition: color var(--nav-color-duration) ease;
}

.page-hero__breadcrumb a:hover {
    color: var(--theme-primary-dark);
}

.page-hero h1 {
    max-width: 980px;
    margin-bottom: 16px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--theme-muted);
    font-size: 18px;
}

.contact-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
}

.appointment-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 24px;
}

.appointment-info {
    padding: 28px;
    border-left: 4px solid var(--theme-secondary);
    background: var(--theme-surface);
}

.appointment-info h2 {
    margin-bottom: 16px;
}

.appointment-info p {
    color: var(--theme-muted);
}

.appointment-info a {
    color: var(--theme-primary-dark);
    font-weight: 700;
}

.appointment-note {
    display: grid;
    gap: 6px;
    margin-top: 22px;
    padding: 16px;
    background: var(--theme-white);
}

.appointment-note strong {
    color: var(--theme-primary-dark);
}

.appointment-note span {
    color: var(--theme-muted);
}

.mission-hero {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    align-items: center;
    gap: 44px;
}

.mission-page .page__header h1 {
    max-width: 920px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
}

.mission-page .page__header p {
    max-width: 760px;
}

.mission-hero__content {
    display: grid;
    gap: 18px;
}

.mission-panel {
    padding: 30px;
    border: 1px solid var(--theme-border);
    border-left: 4px solid var(--theme-secondary);
    background: var(--theme-white);
    box-shadow: var(--shadow-soft);
}

.mission-panel--primary {
    color: var(--theme-white);
    border-color: rgba(255, 255, 255, 0.14);
    border-left-color: var(--theme-secondary);
    background: var(--theme-primary-dark);
}

.mission-panel span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--theme-secondary-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.mission-panel--primary span {
    color: var(--theme-secondary);
}

.mission-panel h2 {
    margin-bottom: 12px;
    font-size: clamp(26px, 3vw, 34px);
}

.mission-panel p {
    margin-bottom: 0;
    color: var(--theme-muted);
}

.mission-panel--primary p {
    color: rgba(255, 255, 255, 0.78);
}

.mission-hero__image {
    position: relative;
}

.mission-hero__image::before {
    content: '';
    position: absolute;
    inset: 24px 24px -18px -18px;
    border: 2px solid var(--theme-secondary);
}

.mission-hero__image img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.mission-values {
    margin-top: 76px;
    padding: 64px 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
        url("../images/leaf-bg.png");
    background-position: center;
}

.mission-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mission-values__grid article {
    padding: 24px;
    border-bottom: 4px solid var(--theme-secondary);
    background: var(--theme-white);
    box-shadow: var(--shadow-soft);
}

.mission-values__grid span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    color: var(--theme-white);
    background: var(--theme-primary);
    font-size: 13px;
    font-weight: 700;
}

.mission-values__grid h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.mission-values__grid p {
    margin-bottom: 0;
    color: var(--theme-muted);
}

.image-guidance {
    margin-top: 48px;
    padding: 24px;
    border-left: 4px solid var(--theme-primary);
    background: var(--theme-surface);
}

.image-guidance h2 {
    font-size: 24px;
}

.image-guidance p {
    max-width: 980px;
    margin-bottom: 0;
    color: var(--theme-muted);
}

.leader-profile {
    display: grid;
    grid-template-columns: 350px 1fr;
    align-items: start;
    gap: 36px;
}

.leader-page--compact {
    padding-top: 0;
}

.leader-profile__card {
    overflow: hidden;
    border: 0;
    background: var(--theme-white);
}

.leader-profile__image {
    background: var(--theme-surface);
}

.leader-profile__image img {
    width: 100%;
    aspect-ratio: 4 / 4.9;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
}

.leader-profile__meta {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    text-align: center;
}

.leader-profile__meta h2 {
    margin: 0;
    padding: 12px;
    color: var(--theme-nav-active);
    background: var(--theme-surface);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.leader-profile__meta p {
    margin: 0;
    padding: 12px;
    color: var(--theme-ink);
    background: var(--theme-surface);
    font-weight: 500;
}

.leader-profile__meta span {
    display: block;
    padding: 12px;
    color: var(--theme-ink);
    background: var(--theme-surface);
}

.leader-message {
    padding: 0;
    border-left: 0;
    background: transparent;
}

.leader-message p {
    color: var(--theme-muted);
    font-size: 15px;
    line-height: 1.65;
    text-align: justify;
}

.leader-signature {
    max-width: 260px;
    margin: 20px 0 0 auto;
    padding: 12px 18px;
    border-left: 3px solid var(--theme-nav-active);
    background: var(--theme-surface);
    text-align: center;
}

.leader-signature strong,
.leader-signature span {
    display: block;
}

.leader-signature strong {
    color: var(--theme-primary-dark);
    font-size: 14px;
    text-transform: uppercase;
}

.leader-signature span {
    margin-top: 4px;
    color: var(--theme-muted);
}

.documents-section {
    margin-bottom: 68px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

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

.document-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    min-height: 150px;
    padding: 24px;
    border: 1px solid var(--theme-border);
    border-bottom: 4px solid var(--theme-secondary);
    background: var(--theme-white);
    box-shadow: var(--shadow-soft);
    transition: transform var(--nav-color-duration) ease, border-color var(--nav-color-duration) ease;
}

.document-card:hover {
    border-color: var(--theme-secondary);
    transform: translateY(-4px);
}

.document-card > span {
    display: inline-grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 50%;
    color: var(--theme-white);
    background: var(--theme-primary);
    font-size: 12px;
    font-weight: 800;
}

.document-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.document-card p {
    margin-bottom: 0;
    color: var(--theme-muted);
}

.documents-support {
    padding: 64px 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.74)),
        url("../images/leaf-bg.png");
    background-position: center;
}

.document-card--light {
    min-height: 140px;
    background: rgba(255, 255, 255, 0.92);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-sm);
    padding: 12px;
    color: var(--theme-ink);
    font: inherit;
    background: var(--theme-white);
}

.site-footer {
    color: var(--theme-footer-text);
    background:
        linear-gradient(rgba(18, 55, 36, 0.975), rgba(18, 55, 36, 0.975)),
        url("../images/leaf-bg.png");
    background-position: center;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.25fr 1.55fr 0.85fr 1fr;
    gap: 28px;
    padding: 38px 0 26px;
}

.site-footer p {
    margin-bottom: 0;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--theme-white);
    font-size: 18px;
    line-height: 1.25;
}

.site-footer__brand img {
    width: 250px;
    max-width: 100%;
    margin-bottom: 14px;
}

.site-footer__brand p {
    max-width: 300px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: var(--theme-white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color var(--nav-color-duration) ease, border-color var(--nav-color-duration) ease, color var(--nav-color-duration) ease;
}

.footer-social a:hover {
    border-color: var(--theme-secondary);
    color: var(--theme-primary-dark);
    background: var(--theme-secondary);
}

.footer-contact-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-icon {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(244, 165, 28, 0.44);
    border-radius: 50%;
}

.footer-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--theme-secondary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact-item h3 {
    margin: 0 0 4px;
    color: var(--theme-secondary);
    font-size: 14px;
}

.footer-contact-item p,
.footer-contact-item a {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.45;
}

.footer-contact-item a:hover,
.site-footer__links a:hover {
    color: var(--theme-secondary);
}

.site-footer__links {
    display: flex;
    flex-direction: column;
}

.site-footer__links a {
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.45;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

@media (max-width: 760px) {
    .header-container {
        width: min(100% - 16px, var(--container-width));
    }

    .site-header__inner {
        min-height: 82px;
    }

    .brand {
        width: 238px;
    }

    .brand img {
        width: 238px;
        max-height: 62px;
    }

    .topbar__inner {
        justify-content: center;
        flex-wrap: wrap;
        min-height: auto;
        padding: 8px 0;
        gap: 8px 16px;
    }

    .topbar__social {
        justify-content: center;
        min-width: 0;
        width: 100%;
        gap: 14px;
    }

    .topbar__ticker {
        width: 100%;
        flex: auto;
        gap: 12px;
        font-size: 12px;
    }

    .topbar__appointment {
        display: none;
        margin-left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 82px;
        right: 12px;
        left: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid var(--theme-border);
        border-radius: var(--radius-md);
        background: var(--theme-white);
        box-shadow: var(--shadow-soft);
        margin-left: 0;
    }

    .site-nav a,
    .nav-item > a {
        color: var(--theme-ink);
        font-size: 13px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-item {
        display: grid;
    }

    .nav-dropdown {
        position: static;
        min-width: 0;
        margin: 0 0 6px 12px;
        padding: 0;
        border: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
        box-shadow: none;
    }

    h1 {
        font-size: 40px;
    }

    .home-slider__track {
        aspect-ratio: 1366 / 400;
        min-height: 0;
        max-height: none;
    }

    .home-slider__slide img {
        object-fit: cover;
        object-position: center;
    }

    .home-slider__arrow {
        width: 36px;
        height: 36px;
    }

    .home-slider__arrow--prev {
        left: 10px;
    }

    .home-slider__arrow--next {
        right: 10px;
    }

    .section__grid,
    .services,
    .contact-layout,
    .appointment-layout,
    .home-services__grid {
        grid-template-columns: 1fr;
    }

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

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

    .doctor-card {
        flex: 0 0 68%;
        min-width: 210px;
        max-width: 245px;
    }

    .doctor-card__image {
        height: 172px;
        background: var(--theme-surface);
    }

    .doctor-card__image img {
        object-fit: cover;
        object-position: top center;
    }

    .home-doctors__carousel {
        padding-right: 0;
        padding-left: 0;
        mask-image: none;
    }

    .home-doctors__carousel::before,
    .home-doctors__carousel::after {
        display: none;
    }

    .home-doctors__track {
        gap: 12px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .doctor-card__body {
        padding: 14px;
    }

    .doctor-card__body h3 {
        font-size: 16px;
    }

    .doctor-card__body p {
        font-size: 12px;
    }

    .doctor-card__body span,
    .doctor-card__body strong {
        font-size: 11px;
    }

    .home-why__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-why__item {
        grid-template-columns: 48px 1fr;
        gap: 14px;
    }

    .home-appointment__inner {
        grid-template-columns: 1fr;
    }

    .home-appointment__meta {
        flex-direction: column;
    }

    .about-detail,
    .about-services__layout,
    .mission-hero,
    .leader-profile {
        grid-template-columns: 1fr;
    }

    .leader-profile__card {
        position: static;
    }

    .leader-message {
        padding: 24px;
    }

    .about-services__grid,
    .mission-values__grid,
    .documents-grid,
    .documents-grid--primary {
        grid-template-columns: 1fr;
    }

    .mission-values {
        margin-top: 52px;
        padding: 48px 0;
    }

    .mission-hero__image img {
        aspect-ratio: 4 / 3;
    }

    .about-services {
        padding: 56px 0;
    }

    .about-services__visual::before {
        inset: 18px 18px -12px -12px;
    }

    .about-services__visual img {
        aspect-ratio: 4 / 3;
    }

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

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

    .home-about__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-about__image::before {
        inset: 16px -10px -10px 16px;
    }

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

    .site-footer__top {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        flex-direction: column;
    }

}

@media (min-width: 761px) and (max-width: 1180px) {
    .header-container {
        width: min(100% - 40px, var(--container-width));
    }

    .site-header__inner {
        min-height: 92px;
        gap: 18px;
    }

    .brand {
        width: 270px;
    }

    .brand img {
        width: 270px;
        max-height: 70px;
    }

    .site-nav a,
    .nav-item > a {
        padding: 7px 6px;
        font-size: 11px;
    }

    .site-nav {
        margin-left: 0;
    }

    .topbar__social {
        min-width: 180px;
        gap: 12px;
    }
}
