/* Caremax modern header and footer */

:root {
    --caremax-blue: #008ac8;
    --caremax-blue-dark: #006fa4;
    --caremax-green: #9ccb3a;
    --caremax-ink: #10242f;
    --caremax-muted: #60717a;
    --caremax-line: rgba(16, 36, 47, 0.10);
    --caremax-soft: #f5fbfd;
}

/* Home hero slider */

.caremax-hero-slider {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #ffffff;
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-hero-slider:before,
.caremax-hero-slider:after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.caremax-hero-slider:before {
    inset: 0 0 0 auto;
    width: 42%;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(245, 251, 253, 0.96)),
        linear-gradient(180deg, rgba(0, 138, 200, 0.06), rgba(156, 203, 58, 0.08));
    border-left: 1px solid rgba(16, 36, 47, 0.06);
}

.caremax-hero-slider:after {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.18), transparent);
}

.caremax-hero-slider .auto-container {
    position: relative;
    z-index: 2;
}

.caremax-hero-slider .slide-item {
    min-height: 700px;
    display: flex;
    align-items: stretch;
    background: transparent !important;
}

.caremax-hero-card {
    min-height: 640px;
    display: grid !important;
    grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1fr) 62px;
    align-items: center;
    gap: 38px;
    padding: 72px 0 92px;
}

.caremax-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 620px;
    min-width: 0;
}

.caremax-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.caremax-hero-kicker:before {
    content: '';
    width: 46px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-hero-copy h2 {
    max-width: 610px;
    margin: 0 0 24px;
    color: var(--caremax-ink);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: clamp(32px, 3.55vw, 50px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 760ms ease, transform 760ms ease;
}

.caremax-hero-copy p {
    max-width: 540px;
    margin: 0 0 34px;
    color: var(--caremax-muted);
    font-size: 17px;
    line-height: 1.76;
    font-weight: 500;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 760ms ease, transform 760ms ease;
}

.caremax-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 760ms ease, transform 760ms ease;
}

.caremax-hero-actions .theme-btn.btn-one {
    min-height: 52px;
    padding: 14px 26px;
    border-radius: 8px;
    background: var(--caremax-blue);
    box-shadow: 0 18px 38px rgba(0, 138, 200, 0.18);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 900;
    transition: transform 320ms ease, background 320ms ease, box-shadow 320ms ease;
}

.caremax-hero-actions .theme-btn.btn-one:hover {
    background: var(--caremax-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(0, 138, 200, 0.26);
}

.caremax-hero-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--caremax-ink);
    font-size: 15px;
    font-weight: 900;
}

.caremax-hero-link:after {
    content: '';
    width: 36px;
    height: 2px;
    margin-left: 12px;
    border-radius: 999px;
    background: var(--caremax-green);
    transition: width 320ms ease, background 320ms ease;
}

.caremax-hero-link:hover {
    color: var(--caremax-blue);
}

.caremax-hero-link:hover:after {
    width: 56px;
    background: var(--caremax-blue);
}

.caremax-hero-visual {
    position: relative;
    z-index: 2;
    min-height: 540px;
    opacity: 0;
    transform: translateX(54px);
    transition: opacity 900ms cubic-bezier(.2, .8, .2, 1), transform 900ms cubic-bezier(.2, .8, .2, 1);
}

.caremax-hero-frame {
    position: relative;
    width: 100%;
    height: 540px;
    margin-left: auto;
    overflow: hidden;
    border-radius: 8px;
    background: #edf7fb;
    box-shadow: 0 32px 80px rgba(16, 36, 47, 0.14);
    transition: transform 650ms cubic-bezier(.2, .8, .2, 1), box-shadow 650ms ease;
}

.caremax-hero-frame:before,
.caremax-hero-frame:after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.caremax-hero-frame:before {
    inset: 18px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 6px;
}

.caremax-hero-frame:after {
    left: 0;
    top: 0;
    z-index: 2;
    width: 34%;
    height: 100%;
    background: linear-gradient(90deg, rgba(16, 36, 47, 0.18), transparent);
    opacity: 0.65;
}

.caremax-hero-frame .image {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 8px;
}

.caremax-hero-frame .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.96) contrast(1.02);
    transition: transform 900ms cubic-bezier(.2, .8, .2, 1), filter 900ms ease;
}

.caremax-hero-frame .image.photo-home img {
    object-position: 50% 45%;
}

.caremax-hero-frame .image.photo-doctors img {
    object-position: 50% 45%;
}

.caremax-hero-frame .image.photo-elder img {
    object-position: 54% 50%;
}

.caremax-hero-frame .image.photo-nurse img {
    object-position: 52% 48%;
}

.caremax-hero-frame .image.photo-wheelchair img {
    object-position: 50% 50%;
}

.caremax-hero-frame .image.illustration {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 46px 42px 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.46)),
        linear-gradient(135deg, rgba(0, 138, 200, 0.12), rgba(156, 203, 58, 0.10));
}

.caremax-hero-frame .image.illustration img {
    width: auto;
    max-width: 76%;
    max-height: calc(100% - 64px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 34px rgba(16, 36, 47, 0.16));
}

.caremax-orbit-card {
    position: absolute;
    z-index: 4;
    min-width: 154px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 18px 46px rgba(16, 36, 47, 0.12);
    backdrop-filter: blur(14px);
    transition: transform 420ms ease, box-shadow 420ms ease, background 420ms ease;
}

.caremax-orbit-card.card-top {
    left: 28px;
    bottom: 28px;
}

.caremax-orbit-card.card-bottom {
    right: 28px;
    top: 28px;
}

.caremax-orbit-card span {
    display: block;
    color: var(--caremax-blue);
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.caremax-orbit-card p {
    margin: 7px 0 0;
    color: var(--caremax-muted);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
}

.caremax-hero-meta {
    display: flex;
    min-height: 500px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    color: rgba(16, 36, 47, 0.42);
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 760ms ease, transform 760ms ease;
}

.caremax-hero-meta span,
.caremax-hero-meta strong {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-hero-meta i {
    position: relative;
    display: block;
    width: 1px;
    height: 180px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(16, 36, 47, 0.12);
}

.caremax-hero-meta i:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 48%;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--caremax-green), var(--caremax-blue));
    animation: caremaxHeroProgress 6s linear infinite;
}

.caremax-hero-slider .owl-item.active .caremax-hero-kicker,
.caremax-hero-slider .owl-item.active .caremax-hero-copy h2,
.caremax-hero-slider .owl-item.active .caremax-hero-copy p,
.caremax-hero-slider .owl-item.active .caremax-hero-actions,
.caremax-hero-slider .owl-item.active .caremax-hero-visual,
.caremax-hero-slider .owl-item.active .caremax-hero-meta {
    opacity: 1;
    transform: none;
}

.caremax-hero-slider .owl-item.active .caremax-hero-copy h2 {
    transition-delay: 110ms;
}

.caremax-hero-slider .owl-item.active .caremax-hero-copy p {
    transition-delay: 210ms;
}

.caremax-hero-slider .owl-item.active .caremax-hero-actions {
    transition-delay: 310ms;
}

.caremax-hero-slider .owl-item.active .caremax-hero-visual {
    transition-delay: 160ms;
}

.caremax-hero-slider .owl-item.active .caremax-hero-meta {
    transition-delay: 380ms;
}

.caremax-hero-card:hover .caremax-hero-frame {
    transform: translateY(-10px);
    box-shadow: 0 40px 92px rgba(16, 36, 47, 0.19);
}

.caremax-hero-card:hover .caremax-hero-frame .image img {
    transform: scale(1.045);
    filter: saturate(1.03) contrast(1.04);
}

.caremax-hero-card:hover .caremax-hero-frame .image.illustration img {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 32px 38px rgba(16, 36, 47, 0.20));
}

.caremax-hero-card:hover .caremax-orbit-card {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 56px rgba(16, 36, 47, 0.16);
}

.caremax-hero-card:hover .caremax-orbit-card.card-top {
    transform: translate(10px, -8px);
}

.caremax-hero-card:hover .caremax-orbit-card.card-bottom {
    transform: translate(-10px, 8px);
}

.caremax-hero-slider .owl-nav {
    position: absolute;
    left: 50%;
    bottom: 52px;
    top: auto;
    width: min(1170px, calc(100% - 40px));
    display: flex !important;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    pointer-events: none;
}

.caremax-hero-slider .owl-nav button {
    position: relative;
    left: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 !important;
    border: 1px solid rgba(0, 138, 200, 0.18) !important;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.90) !important;
    color: var(--caremax-ink) !important;
    font-size: 22px !important;
    line-height: 1;
    box-shadow: 0 14px 30px rgba(16, 36, 47, 0.08);
    pointer-events: auto;
    transition: transform 320ms ease, background 320ms ease, border-color 320ms ease, color 320ms ease;
}

.caremax-hero-slider .owl-nav button:hover {
    border-color: var(--caremax-blue) !important;
    background: var(--caremax-blue) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.caremax-hero-slider .owl-dots {
    display: none !important;
}

@keyframes caremaxHeroProgress {
    0% {
        transform: translateY(-110%);
    }
    100% {
        transform: translateY(230%);
    }
}

/* Home benefits */

.caremax-benefits-section {
    overflow: hidden;
    padding: 88px 0 96px;
    background:
        radial-gradient(circle at 12% 16%, rgba(156, 203, 58, 0.22), transparent 28%),
        radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.16), transparent 24%),
        linear-gradient(135deg, #0f2f3d 0%, #008ac8 58%, #006fa4 100%);
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-benefits-section:before {
    position: absolute;
    content: '';
    left: 50%;
    top: 44px;
    width: min(1060px, calc(100% - 40px));
    height: calc(100% - 88px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.caremax-benefits-section:after {
    position: absolute;
    content: '';
    right: -90px;
    bottom: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(156, 203, 58, 0.20);
    filter: blur(2px);
    z-index: 0;
    pointer-events: none;
}

.caremax-benefits-section .caremax-benefits-shell {
    position: relative;
    z-index: 1;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.caremax-benefits-shell:before {
    position: absolute;
    content: '';
    left: -28px;
    top: 64px;
    width: 4px;
    height: calc(100% - 128px);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), var(--caremax-green), rgba(255, 255, 255, 0.72));
    opacity: 0.92;
    animation: caremaxBenefitRail 7s ease-in-out infinite;
}

.caremax-benefits-intro {
    position: relative;
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.caremax-benefits-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.caremax-benefits-kicker:before,
.caremax-benefits-kicker:after {
    content: '';
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-benefits-intro h2 {
    margin: 0;
    color: #ffffff;
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-benefits-intro p {
    max-width: 560px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 500;
}

.caremax-benefits-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.caremax-benefits-grid:before {
    position: absolute;
    content: '';
    inset: 48px 42px auto auto;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(0, 138, 200, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.caremax-benefit-card {
    position: relative;
    grid-column: span 1;
    min-width: 0;
}

.caremax-benefit-card-large {
    grid-column: span 1;
    grid-row: auto;
}

.caremax-benefit-card-wide {
    grid-column: span 1;
}

.caremax-benefit-card .feature-block-one,
.caremax-benefit-card .inner-box {
    height: 100%;
}

.caremax-benefit-card .inner-box {
    position: relative;
    display: flex !important;
    min-height: 360px;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 253, 0.96));
    box-shadow: 0 24px 70px rgba(16, 36, 47, 0.09);
    transition: transform 520ms cubic-bezier(.2, .8, .2, 1), box-shadow 520ms ease, border-color 520ms ease;
}

.caremax-benefit-card-large .inner-box {
    min-height: 360px;
}

.caremax-benefit-card-wide .inner-box {
    min-height: 360px;
}

.caremax-benefit-card .inner-box:before {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 138, 200, 0.10), transparent 42%, rgba(156, 203, 58, 0.14));
    opacity: 0;
    transition: opacity 520ms ease;
}

.caremax-benefit-card .inner-box:after {
    position: absolute;
    content: '';
    right: 24px;
    bottom: 24px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(156, 203, 58, 0.26) 0 26%, transparent 28% 100%);
    transform: scale(0.72);
    opacity: 0;
    transition: transform 520ms ease, opacity 520ms ease;
}

.caremax-benefit-card .icon-box {
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 0 26px;
    border-radius: 50%;
    color: var(--caremax-ink);
    font-size: 30px;
    line-height: 1;
    background: rgba(0, 138, 200, 0.08);
    transition: color 420ms ease, background 420ms ease, transform 520ms ease;
}

.caremax-benefit-card .icon-box:before {
    position: absolute;
    content: '';
    inset: -9px;
    border: 1px solid rgba(0, 138, 200, 0.16);
    border-top-color: var(--caremax-green);
    border-radius: 50%;
    transition: transform 650ms ease, border-color 420ms ease;
}

.caremax-benefit-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 14px;
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 900;
}

.caremax-benefit-card h3 a {
    color: var(--caremax-ink);
}

.caremax-benefit-card p {
    position: relative;
    z-index: 2;
    max-width: 440px;
    margin: 0;
    color: var(--caremax-muted);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 15px;
    line-height: 1.72;
    font-weight: 500;
}

.caremax-benefit-card-large p {
    margin-top: 0;
}

.caremax-benefit-card:hover .inner-box {
    border-color: rgba(0, 138, 200, 0.26);
    box-shadow: 0 34px 90px rgba(16, 36, 47, 0.16);
    transform: translateY(-10px) rotate(-0.8deg);
}

.caremax-benefit-card:nth-child(even):hover .inner-box {
    transform: translateY(-10px) rotate(0.8deg);
}

.caremax-benefit-card:hover .inner-box:before {
    opacity: 1;
}

.caremax-benefit-card:hover .inner-box:after {
    opacity: 1;
    transform: scale(1);
}

.caremax-benefit-card:hover .icon-box {
    color: #ffffff;
    background: var(--caremax-blue);
    transform: translateY(-4px) scale(1.04);
}

.caremax-benefit-card:hover .icon-box:before {
    border-color: rgba(156, 203, 58, 0.70);
    border-left-color: transparent;
    transform: rotate(145deg);
}

.caremax-benefit-card:hover h3 a {
    color: var(--caremax-blue-dark);
}

@keyframes caremaxBenefitRail {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(18px);
    }
}

/* Home about */

.caremax-about-section {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    background:
        linear-gradient(90deg, rgba(0, 138, 200, 0.08) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
    background-size: 100% 100%, 100% 100%;
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-about-section:before {
    position: absolute;
    content: '';
    left: 0;
    top: 86px;
    width: 34%;
    height: calc(100% - 172px);
    background: linear-gradient(135deg, rgba(0, 138, 200, 0.10), rgba(156, 203, 58, 0.10));
    clip-path: polygon(0 0, 86% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.caremax-about-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
    gap: 74px;
    align-items: center;
}

.caremax-about-media {
    position: relative;
    min-height: 560px;
}

.caremax-about-photo {
    position: relative;
    display: block;
    width: min(460px, 100%);
    height: 540px;
    overflow: hidden;
    border-radius: 8px 120px 8px 8px;
    background: #ffffff;
    box-shadow: 0 34px 90px rgba(16, 36, 47, 0.15);
    transform: rotate(-1.2deg);
    transition: transform 650ms cubic-bezier(.2, .8, .2, 1), box-shadow 650ms ease;
}

.caremax-about-photo:before {
    position: absolute;
    content: '';
    inset: 18px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 6px 96px 6px 6px;
    pointer-events: none;
}

.caremax-about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.96) contrast(1.02);
    transition: transform 750ms ease, filter 750ms ease;
}

.caremax-about-badge {
    position: absolute;
    right: 8px;
    bottom: 72px;
    z-index: 4;
    max-width: 230px;
    padding: 24px 26px;
    border-radius: 8px 48px 8px 8px;
    background: var(--caremax-green);
    box-shadow: 0 24px 58px rgba(16, 36, 47, 0.18);
    transition: transform 520ms ease, box-shadow 520ms ease;
}

.caremax-about-badge span {
    display: block;
    color: #ffffff;
    font-size: 44px;
    line-height: 0.94;
    font-weight: 900;
}

.caremax-about-badge strong {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 800;
}

.caremax-about-media:hover .caremax-about-photo {
    transform: rotate(0deg) translateY(-8px);
    box-shadow: 0 44px 100px rgba(16, 36, 47, 0.20);
}

.caremax-about-media:hover .caremax-about-photo img {
    transform: scale(1.05);
    filter: saturate(1.04) contrast(1.04);
}

.caremax-about-media:hover .caremax-about-badge {
    transform: translate(-8px, -8px);
    box-shadow: 0 28px 64px rgba(16, 36, 47, 0.22);
}

.caremax-about-content {
    position: relative;
}

.caremax-about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--caremax-blue-dark);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.caremax-about-kicker:before {
    content: '';
    width: 40px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-about-pop {
    position: relative;
    display: block;
    margin: 0 0 24px;
    color: var(--caremax-ink);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-about-pop:after {
    content: '';
    display: block;
    width: 86px;
    height: 4px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--caremax-green), var(--caremax-blue));
}

.caremax-about-content > p {
    max-width: 650px;
    margin: 0 0 16px;
    color: var(--caremax-muted);
    font-size: 17px;
    line-height: 1.76;
    font-weight: 500;
}

.caremax-about-promise {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 30px 0 28px;
}

.caremax-about-promise span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--caremax-blue-dark);
    background: rgba(0, 138, 200, 0.08);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    transition: color 320ms ease, background 320ms ease, transform 320ms ease;
}

.caremax-about-promise span:hover {
    color: #ffffff;
    background: var(--caremax-blue);
    transform: translateY(-2px);
}

.caremax-about-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.caremax-about-value {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 28px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(16, 36, 47, 0.08);
    transition: transform 520ms cubic-bezier(.2, .8, .2, 1), box-shadow 520ms ease, border-color 520ms ease;
}

.caremax-about-value:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleY(0.28);
    transform-origin: top;
    transition: transform 520ms ease;
}

.caremax-about-value i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 50%;
    color: var(--caremax-blue);
    background: rgba(0, 138, 200, 0.09);
    font-size: 18px;
    transition: color 420ms ease, background 420ms ease, transform 420ms ease;
}

.caremax-about-value h3 {
    margin: 0 0 12px;
    color: var(--caremax-ink);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
}

.caremax-about-value p {
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-about-value:hover {
    border-color: rgba(0, 138, 200, 0.24);
    box-shadow: 0 32px 78px rgba(16, 36, 47, 0.14);
    transform: translateY(-8px);
}

.caremax-about-value:hover:before {
    transform: scaleY(1);
}

.caremax-about-value:hover i {
    color: #ffffff;
    background: var(--caremax-blue);
    transform: rotate(-8deg) scale(1.06);
}

/* Home services */

.caremax-services-section {
    position: relative;
    overflow: hidden;
    padding: 104px 0 112px !important;
    background:
        radial-gradient(circle at 10% 18%, rgba(0, 138, 200, 0.10), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(156, 203, 58, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-services-section:before {
    position: absolute;
    content: '';
    left: 50%;
    top: 86px;
    width: min(1180px, calc(100% - 40px));
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.20), transparent);
    transform: translateX(-50%);
}

.caremax-services-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.caremax-services-head span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--caremax-blue-dark);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.caremax-services-head span:before,
.caremax-services-head span:after {
    content: '';
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-services-head h2 {
    margin: 0;
    color: var(--caremax-ink);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-services-head p {
    max-width: 560px;
    margin: 16px auto 0;
    color: var(--caremax-muted);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

.caremax-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: none;
}

.caremax-service-card {
    position: relative;
    min-width: 0;
}

.caremax-service-card:before {
    position: absolute;
    content: '';
    inset: 18px;
    border-radius: 8px;
    background: rgba(0, 138, 200, 0.10);
    transform: translate(10px, 10px);
    opacity: 0;
    transition: transform 520ms ease, opacity 520ms ease;
}

.caremax-service-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.28 / 1;
    border-radius: 8px 8px 0 0;
    background: #eaf5f8;
}

.caremax-service-media:before {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 38%, rgba(16, 36, 47, 0.74) 100%);
    opacity: 0.72;
    transition: opacity 520ms ease;
}

.caremax-service-media:after {
    position: absolute;
    content: '';
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    height: 1px;
    background: rgba(255, 255, 255, 0.42);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 540ms ease;
}

.caremax-service-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 850ms ease, filter 850ms ease;
}

.caremax-service-chip {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--caremax-blue-dark);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(16, 36, 47, 0.10);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    transition: transform 420ms ease, color 420ms ease, background 420ms ease;
}

.caremax-service-arrow {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0, 138, 200, 0.92);
    opacity: 0;
    transform: translate(-10px, 10px) rotate(-28deg);
    transition: opacity 420ms ease, transform 520ms ease, background 420ms ease;
}

.caremax-service-body {
    position: relative;
    min-height: 208px;
    padding: 24px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(16, 36, 47, 0.08);
    transition: transform 520ms cubic-bezier(.2, .8, .2, 1), box-shadow 520ms ease, border-color 520ms ease;
}

.caremax-service-name {
    margin: 0 0 13px;
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 23px;
    line-height: 1.24;
    font-weight: 900;
    letter-spacing: 0;
    transform-origin: left bottom;
}

.caremax-service-card.animated .caremax-service-name {
    animation: caremaxServiceNamePop 760ms 220ms cubic-bezier(.2, .9, .2, 1) both;
}

.caremax-service-name a {
    color: var(--caremax-ink);
}

.caremax-service-body p {
    margin: 0 0 22px;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-service-link {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--caremax-blue-dark);
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}

.caremax-service-link:after {
    content: '';
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
    transition: width 320ms ease, background 320ms ease;
}

.caremax-service-card:hover:before {
    opacity: 1;
    transform: translate(0, 0);
}

.caremax-service-card:hover .caremax-service-media img {
    transform: scale(1.08);
    filter: saturate(1.05) contrast(1.04);
}

.caremax-service-card:hover .caremax-service-media:before {
    opacity: 0.88;
}

.caremax-service-card:hover .caremax-service-media:after {
    transform: scaleX(1);
}

.caremax-service-card:hover .caremax-service-chip {
    color: #ffffff;
    background: var(--caremax-green);
    transform: translateY(-3px);
}

.caremax-service-card:hover .caremax-service-arrow {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
}

.caremax-service-card:hover .caremax-service-body {
    border-color: rgba(0, 138, 200, 0.20);
    box-shadow: 0 34px 90px rgba(16, 36, 47, 0.14);
    transform: translateY(-8px);
}

.caremax-service-card:hover .caremax-service-name {
    animation: caremaxServiceNamePop 520ms cubic-bezier(.2, .9, .2, 1) both;
}

.caremax-service-card:hover .caremax-service-name a {
    color: var(--caremax-blue-dark);
}

.caremax-service-card:hover .caremax-service-link:after {
    width: 46px;
    background: var(--caremax-blue);
}

@keyframes caremaxServiceNamePop {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.94);
    }
    70% {
        opacity: 1;
        transform: translateY(-3px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Home why choose us */

.caremax-choose-section {
    position: relative;
    overflow: hidden;
    padding: 112px 0 136px;
    background:
        radial-gradient(circle at 88% 18%, rgba(156, 203, 58, 0.14), transparent 24%),
        linear-gradient(135deg, #0f2f3d 0%, #10242f 46%, #006fa4 100%);
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-choose-section:before {
    position: absolute;
    content: '';
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.caremax-choose-section:after {
    position: absolute;
    content: '';
    left: -80px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(0, 138, 200, 0.26);
    pointer-events: none;
}

.caremax-choose-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr) minmax(0, 0.94fr);
    gap: 34px;
    align-items: center;
}

.caremax-choose-copy {
    color: #ffffff;
}

.caremax-choose-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.caremax-choose-kicker:before {
    content: '';
    width: 40px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-choose-copy h2 {
    margin: 0 0 22px;
    color: #ffffff;
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: clamp(32px, 3.45vw, 50px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.caremax-choose-copy p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 500;
}

.caremax-choose-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.caremax-choose-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    transition: transform 320ms ease, background 320ms ease, border-color 320ms ease;
}

.caremax-choose-chips span:hover {
    border-color: rgba(156, 203, 58, 0.72);
    background: rgba(156, 203, 58, 0.18);
    transform: translateY(-2px);
}

.caremax-choose-media {
    position: relative;
    min-height: 480px;
}

.caremax-choose-media figure {
    position: relative;
    display: block;
    height: 480px;
    overflow: hidden;
    border-radius: 140px 8px 140px 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.24);
    transition: transform 650ms cubic-bezier(.2, .8, .2, 1), border-radius 650ms ease;
}

.caremax-choose-media figure:before {
    position: absolute;
    content: '';
    inset: 16px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 118px 6px 118px 6px;
    pointer-events: none;
    transition: border-radius 650ms ease;
}

.caremax-choose-media figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 850ms ease, filter 850ms ease;
}

.caremax-choose-floating-card {
    position: absolute;
    left: -32px;
    bottom: 54px;
    z-index: 4;
    max-width: 230px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(14px);
    transition: transform 520ms ease, box-shadow 520ms ease;
}

.caremax-choose-floating-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--caremax-blue);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-choose-floating-card strong {
    display: block;
    color: var(--caremax-ink);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
}

.caremax-choose-media:hover figure {
    border-radius: 8px 140px 8px 140px;
    transform: translateY(-8px);
}

.caremax-choose-media:hover figure:before {
    border-radius: 6px 118px 6px 118px;
}

.caremax-choose-media:hover figure img {
    transform: scale(1.07);
    filter: saturate(1.05) contrast(1.04);
}

.caremax-choose-media:hover .caremax-choose-floating-card {
    transform: translate(10px, -10px);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.caremax-choose-reasons {
    display: grid;
    gap: 16px;
}

.caremax-choose-card {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
    transition: transform 520ms cubic-bezier(.2, .8, .2, 1), background 520ms ease, border-color 520ms ease;
}

.caremax-choose-card:before {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 58%, rgba(156, 203, 58, 0.16));
    opacity: 0;
    transition: opacity 520ms ease;
}

.caremax-choose-card i {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0, 138, 200, 0.72);
    font-size: 20px;
    transition: color 420ms ease, background 420ms ease, transform 520ms ease;
}

.caremax-choose-card div {
    position: relative;
    z-index: 2;
}

.caremax-choose-card h4 {
    margin: 0 0 10px;
    color: #ffffff;
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 900;
}

.caremax-choose-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    line-height: 1.62;
    font-weight: 500;
}

.caremax-choose-card.animated {
    animation: caremaxChooseCardIn 760ms calc(var(--reason-index) * 90ms) cubic-bezier(.2, .9, .2, 1) both;
}

.caremax-choose-card:hover {
    border-color: rgba(156, 203, 58, 0.48);
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-10px);
}

.caremax-choose-card:hover:before {
    opacity: 1;
}

.caremax-choose-card:hover i {
    color: var(--caremax-ink);
    background: var(--caremax-green);
    transform: rotate(-8deg) scale(1.06);
}

.caremax-choose-section + .service-style-three {
    padding-top: 96px;
}

.caremax-choose-section + .service-style-three .sec-title h2 {
    margin-top: 0;
}

.caremax-care-section {
    position: relative;
    overflow: hidden;
    padding: 108px 0 116px !important;
    background:
        linear-gradient(110deg, rgba(0, 138, 200, 0.06) 0 28%, transparent 28% 100%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfd 54%, #ffffff 100%);
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-care-section:before {
    position: absolute;
    content: '';
    left: 0;
    top: 88px;
    width: min(520px, 34vw);
    height: calc(100% - 176px);
    background: linear-gradient(180deg, rgba(15, 47, 61, 0.08), rgba(0, 138, 200, 0.08));
    clip-path: polygon(0 0, 76% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

.caremax-care-section:after {
    position: absolute;
    content: '';
    right: 6%;
    top: 94px;
    width: 210px;
    height: 2px;
    background: linear-gradient(90deg, var(--caremax-green), transparent);
    opacity: 0.58;
    pointer-events: none;
}

.caremax-care-intro,
.caremax-care-points {
    position: relative;
    z-index: 1;
}

.caremax-care-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
    gap: 58px;
    align-items: center;
    margin-bottom: 44px;
}

.caremax-care-copy {
    max-width: 780px;
    min-width: 0;
}

.caremax-care-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--caremax-blue-dark);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.caremax-care-kicker:before {
    content: '';
    width: 40px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-care-copy h2 {
    max-width: 680px;
    margin: 0 0 22px;
    color: var(--caremax-blue);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: clamp(30px, 2.45vw, 42px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-care-copy h2 span {
    display: block;
    white-space: nowrap;
}

.caremax-care-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--caremax-muted);
    font-size: 17px;
    line-height: 1.82;
    font-weight: 500;
}

.caremax-care-visual {
    position: relative;
    min-height: 390px;
}

.caremax-care-visual figure {
    position: relative;
    display: block;
    height: 390px;
    overflow: hidden;
    border-radius: 8px 110px 8px 110px;
    background: #dff0f6;
    box-shadow: 0 34px 90px rgba(16, 36, 47, 0.16);
    transition: transform 650ms cubic-bezier(.2, .8, .2, 1), border-radius 650ms ease;
}

.caremax-care-visual figure:before {
    position: absolute;
    content: '';
    inset: 16px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 6px 88px 6px 88px;
    pointer-events: none;
    transition: border-radius 650ms ease;
}

.caremax-care-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 850ms ease, filter 850ms ease;
}

.caremax-care-note {
    position: absolute;
    left: -28px;
    bottom: 30px;
    z-index: 3;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
    width: min(280px, calc(100% - 24px));
    padding: 16px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 60px rgba(16, 36, 47, 0.18);
    backdrop-filter: blur(12px);
    transition: transform 520ms ease, box-shadow 520ms ease;
}

.caremax-care-note i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--caremax-blue);
    font-size: 18px;
}

.caremax-care-note span {
    color: var(--caremax-ink);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
}

.caremax-care-visual:hover figure {
    border-radius: 110px 8px 110px 8px;
    transform: translateY(-8px);
}

.caremax-care-visual:hover figure:before {
    border-radius: 88px 6px 88px 6px;
}

.caremax-care-visual:hover img {
    transform: scale(1.07);
    filter: saturate(1.05) contrast(1.04);
}

.caremax-care-visual:hover .caremax-care-note {
    transform: translate(12px, -10px);
    box-shadow: 0 30px 70px rgba(16, 36, 47, 0.22);
}

.caremax-care-points {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    padding-top: 18px;
}

.caremax-care-points:before {
    position: absolute;
    content: '';
    left: 7%;
    right: 7%;
    top: 72px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.22), rgba(156, 203, 58, 0.38), transparent);
    pointer-events: none;
}

.caremax-care-point {
    position: relative;
    overflow: hidden;
    min-height: 276px;
    padding: 86px 24px 26px;
    border: 1px solid var(--caremax-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(16, 36, 47, 0.08);
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
    transition: transform 520ms cubic-bezier(.2, .8, .2, 1), background 520ms ease, border-color 520ms ease, box-shadow 520ms ease;
}

.caremax-care-point:nth-child(even) {
    margin-top: 34px;
}

.caremax-care-point:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleX(0.22);
    transform-origin: left;
    transition: transform 520ms ease;
}

.caremax-care-point:after {
    position: absolute;
    content: '';
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: rgba(0, 138, 200, 0.10);
    transition: background 520ms ease;
}

.caremax-care-icon {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--caremax-blue);
    font-size: 20px;
    box-shadow: 0 18px 42px rgba(0, 138, 200, 0.22);
    transition: color 420ms ease, background 420ms ease, transform 520ms cubic-bezier(.2, .8, .2, 1);
}

.caremax-care-point span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: color 420ms ease;
}

.caremax-care-point h3 {
    margin: 0 0 14px;
    color: var(--caremax-ink);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 23px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
    transition: color 420ms ease;
}

.caremax-care-point p {
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.62;
    font-weight: 500;
    transition: color 420ms ease;
}

.caremax-care-point.animated {
    animation: caremaxCarePointIn 760ms calc(var(--care-index) * 80ms) cubic-bezier(.2, .9, .2, 1) both;
}

.caremax-care-point:hover {
    border-color: rgba(0, 138, 200, 0.26);
    background: linear-gradient(135deg, rgba(0, 138, 200, 0.10) 0%, rgba(156, 203, 58, 0.13) 100%);
    box-shadow: 0 28px 66px rgba(0, 138, 200, 0.16);
    transform: translateY(-14px) rotate(-0.6deg);
}

.caremax-care-point:hover:before {
    transform: scaleX(1);
}

.caremax-care-point:hover:after {
    background: rgba(0, 138, 200, 0.12);
}

.caremax-care-point:hover .caremax-care-icon {
    color: #ffffff;
    background: var(--caremax-blue);
    transform: translateX(8px) rotate(-10deg) scale(1.05);
}

.caremax-care-point:hover span {
    color: var(--caremax-blue-dark);
}

.caremax-care-point:hover h3 {
    color: var(--caremax-ink);
}

.caremax-care-point:hover p {
    color: var(--caremax-muted);
}

@keyframes caremaxChooseCardIn {
    0% {
        opacity: 0;
        transform: translateX(34px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes caremaxCarePointIn {
    0% {
        opacity: 0;
        transform: translateY(34px) skewY(1deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skewY(0);
    }
}

.caremax-modern-header {
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-modern-header .header-top {
    background: #0f2f3d;
    padding: 10px 0;
}

.caremax-modern-header .header-top .top-inner,
.caremax-modern-header .header-top .info,
.caremax-modern-header .header-top .right-column,
.caremax-modern-header .header-top .social-links {
    display: flex;
    align-items: center;
}

.caremax-modern-header .header-top .top-inner {
    justify-content: space-between;
    gap: 24px;
}

.caremax-modern-header .header-top .info {
    gap: 18px;
    flex-wrap: wrap;
}

.caremax-modern-header .header-top .info li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.45;
}

.caremax-modern-header .header-top .info li i,
.caremax-modern-header .header-top .right-column .schedule i {
    position: static;
    color: var(--caremax-green) !important;
    font-size: 13px;
}

.caremax-modern-header .header-top .info li a,
.caremax-modern-header .header-top .right-column .schedule {
    color: rgba(255, 255, 255, 0.88);
}

.caremax-modern-header .header-top .right-column {
    gap: 18px;
    flex-shrink: 0;
}

.caremax-modern-header .header-top .right-column .schedule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.caremax-modern-header .header-top .social-links {
    gap: 8px;
}

.caremax-modern-header .header-top .social-links li {
    float: none;
    margin: 0;
}

.caremax-modern-header .header-top .social-links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    font-size: 13px;
}

.caremax-modern-header .header-top a:hover,
.caremax-modern-header .header-top .social-links li a:hover {
    color: #ffffff;
    background: rgba(156, 203, 58, 0.24);
}

.caremax-modern-header .header-lower {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--caremax-line);
    box-shadow: 0 16px 50px rgba(16, 36, 47, 0.08);
    backdrop-filter: blur(14px);
}

.caremax-modern-header .outer-box {
    min-height: 88px;
    gap: 24px;
}

.caremax-modern-header .logo-box {
    flex: 0 0 auto;
}

.caremax-modern-header .logo,
.caremax-modern-header .logo-box figure {
    margin: 0;
}

.caremax-modern-header .logo img,
.caremax-modern-mobile .nav-logo img {
    display: block;
    width: auto;
    height: 62px !important;
    max-width: 190px;
    object-fit: contain;
}

.caremax-modern-header .menu-area {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.caremax-modern-header .main-menu {
    float: none;
}

.caremax-modern-header .main-menu .navigation {
    display: flex;
    align-items: center;
    gap: 6px;
}

.caremax-modern-header .main-menu .navigation > li {
    float: none;
    position: relative;
    margin: 0;
}

.caremax-modern-header .main-menu .navigation > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 16px;
    border-radius: 999px;
    color: var(--caremax-ink);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.caremax-modern-header .main-menu .navigation > li.dropdown > a {
    padding-right: 34px;
}

.caremax-modern-header .main-menu .navigation > li.dropdown > a:before {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: var(--caremax-muted);
    font-size: 12px;
}

.caremax-modern-header .main-menu .navigation > li.current > a,
.caremax-modern-header .main-menu .navigation > li:hover > a {
    color: var(--caremax-blue);
    background: rgba(0, 138, 200, 0.09);
}

.caremax-modern-header .main-menu .navigation > li > ul {
    left: 0;
    top: calc(100% + 10px);
    width: 300px;
    padding: 10px;
    border: 1px solid rgba(16, 36, 47, 0.08);
    border-top: 3px solid var(--caremax-green);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(16, 36, 47, 0.16);
}

.caremax-modern-header .main-menu .navigation > li.dropdown:hover > ul {
    top: calc(100% + 4px);
}

.caremax-modern-header .main-menu .navigation > li > ul > li > a {
    padding: 11px 14px;
    border-bottom: 0;
    border-radius: 10px;
    color: var(--caremax-ink);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 650;
}

.caremax-modern-header .main-menu .navigation > li > ul > li > a:hover {
    color: var(--caremax-blue);
    background: var(--caremax-soft);
}

.caremax-modern-header .nav-right {
    gap: 14px;
    flex: 0 0 auto;
}

.caremax-modern-header .header-call {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.caremax-modern-header .header-call span {
    color: var(--caremax-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.caremax-modern-header .header-call a {
    color: var(--caremax-ink);
    font-size: 15px;
    font-weight: 800;
}

.caremax-modern-header .theme-btn.btn-one,
.caremax-modern-footer .theme-btn.btn-one {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--caremax-blue), var(--caremax-blue-dark));
    box-shadow: 0 14px 30px rgba(0, 138, 200, 0.24);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.caremax-modern-header .theme-btn.btn-one:hover,
.caremax-modern-footer .theme-btn.btn-one:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(0, 138, 200, 0.30);
}

.caremax-modern-header .menu-area .mobile-nav-toggler {
    width: 48px;
    height: 48px;
    padding: 13px 11px;
    border: 1px solid rgba(0, 138, 200, 0.16);
    border-radius: 14px;
    background: rgba(0, 138, 200, 0.08);
}

.caremax-modern-header .menu-area .mobile-nav-toggler .icon-bar {
    width: 24px;
    height: 2px;
    margin: 0 0 5px;
    background: var(--caremax-blue);
}

.caremax-modern-header .menu-area .mobile-nav-toggler .icon-bar:last-child {
    margin-bottom: 0;
}

.caremax-modern-header .sticky-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(16, 36, 47, 0.10);
    box-shadow: 0 16px 42px rgba(16, 36, 47, 0.10);
    backdrop-filter: blur(16px);
}

.caremax-modern-header .sticky-header .outer-box {
    min-height: 76px;
}

.caremax-modern-header .sticky-header .logo-box,
.caremax-modern-header .sticky-header .nav-right {
    padding: 0;
}

.caremax-modern-header .sticky-header .main-menu .navigation > li > a {
    padding: 8px 14px;
}

.caremax-modern-mobile .menu-backdrop {
    background: rgba(7, 22, 29, 0.74);
}

.caremax-modern-mobile .menu-box {
    width: min(420px, 100vw);
    background: #0f2f3d;
    box-shadow: -28px 0 80px rgba(0, 0, 0, 0.24);
}

.caremax-modern-mobile .nav-logo {
    padding: 28px 28px 24px;
    background: #ffffff;
}

.caremax-modern-mobile .close-btn {
    top: 22px;
    right: 24px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--caremax-ink);
    background: rgba(16, 36, 47, 0.08);
    line-height: 38px;
}

.caremax-modern-mobile .navigation li {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.caremax-modern-mobile .navigation li > a {
    padding: 15px 28px;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.caremax-modern-mobile .navigation li ul li > a {
    margin-left: 0;
    padding-left: 42px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

.caremax-modern-mobile .navigation li.current > a,
.caremax-modern-mobile .navigation li > a:hover {
    color: #ffffff;
    background: rgba(0, 138, 200, 0.20);
}

.caremax-modern-mobile .navigation li > a:before {
    border-left-color: var(--caremax-green);
}

.caremax-modern-mobile .navigation li.dropdown .dropdown-btn {
    top: 9px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.11);
    line-height: 34px;
}

.caremax-modern-mobile .mobile-cta {
    display: grid;
    gap: 12px;
    padding: 24px 28px 0;
}

.caremax-modern-mobile .mobile-cta .theme-btn {
    width: 100%;
}

.caremax-modern-mobile .mobile-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #ffffff;
    font-weight: 800;
}

.caremax-modern-mobile .contact-info {
    padding: 28px;
}

.caremax-modern-mobile .contact-info h4 {
    margin-bottom: 14px;
    color: #ffffff;
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 18px;
}

.caremax-modern-mobile .contact-info ul li,
.caremax-modern-mobile .contact-info ul li a {
    color: rgba(255, 255, 255, 0.78);
}

.caremax-modern-mobile .social-links {
    padding: 0 28px 34px;
}

.caremax-modern-mobile .social-links ul,
.caremax-modern-mobile .social-links .clearfix {
    display: flex;
    gap: 10px;
}

.caremax-modern-mobile .social-links li {
    margin: 0;
}

.caremax-modern-mobile .social-links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
}

.caremax-modern-footer {
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 138, 200, 0.20), transparent 34%),
        linear-gradient(135deg, #0d2530 0%, #101820 100%);
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-modern-footer .footer-cta {
    position: relative;
    padding: 58px 0 0;
}

.caremax-modern-footer .footer-cta-inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: 42px 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 251, 253, 0.93) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    transition: transform 520ms cubic-bezier(.2, .8, .2, 1), border-color 520ms ease, box-shadow 520ms ease;
}

.caremax-modern-footer .footer-cta-inner:before,
.caremax-modern-footer .footer-cta-inner:after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.caremax-modern-footer .footer-cta-inner:before {
    left: 0;
    top: 0;
    z-index: -1;
    width: 7px;
    height: 100%;
    background: linear-gradient(180deg, var(--caremax-blue), var(--caremax-green));
}

.caremax-modern-footer .footer-cta-inner:after {
    right: -92px;
    bottom: -118px;
    z-index: -1;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(0, 138, 200, 0.08);
    transition: transform 680ms cubic-bezier(.2, .8, .2, 1), opacity 520ms ease;
}

.caremax-modern-footer .footer-cta-inner:hover {
    border-color: rgba(156, 203, 58, 0.45);
    box-shadow: 0 38px 90px rgba(0, 0, 0, 0.22);
    transform: translateY(-6px);
}

.caremax-modern-footer .footer-cta-inner:hover:after {
    opacity: 0.9;
    transform: translate(-20px, -14px) scale(1.08);
}

.caremax-modern-footer .footer-cta-inner span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--caremax-blue-dark);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-modern-footer .footer-cta-inner span:before {
    content: '';
    width: 40px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-modern-footer .footer-cta-inner h2 {
    max-width: none;
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.caremax-modern-footer .footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.caremax-modern-footer .footer-cta-actions .theme-btn.btn-one {
    min-height: 54px;
    padding: 15px 26px;
    border-radius: 8px;
    background: var(--caremax-blue);
    box-shadow: 0 16px 34px rgba(0, 138, 200, 0.22);
    font-weight: 900;
}

.caremax-modern-footer .footer-cta-actions .theme-btn.btn-one:hover {
    background: var(--caremax-blue-dark);
    box-shadow: 0 22px 42px rgba(0, 138, 200, 0.30);
    transform: translateY(-3px);
}

.caremax-modern-footer .footer-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 14px 22px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    color: var(--caremax-ink);
    background: #ffffff;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(16, 36, 47, 0.08);
    transition: transform 320ms ease, color 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.caremax-modern-footer .footer-phone i {
    color: var(--caremax-green);
    font-size: 14px;
}

.caremax-modern-footer .footer-phone:hover {
    color: var(--caremax-blue);
    border-color: rgba(0, 138, 200, 0.24);
    box-shadow: 0 22px 44px rgba(16, 36, 47, 0.12);
    transform: translateY(-3px);
}

.caremax-modern-footer .widget-section {
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.caremax-modern-footer .footer-widget {
    margin: 0 !important;
}

.caremax-modern-footer .widget-title {
    margin-bottom: 18px;
}

.caremax-modern-footer .widget-title h3 {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
}

.caremax-modern-footer .about-widget p,
.caremax-modern-footer .links-widget .links-list li a,
.caremax-modern-footer .contact-widget .info li,
.caremax-modern-footer .contact-widget .info li a {
    color: rgba(255, 255, 255, 0.76);
}

.caremax-modern-footer .about-widget p {
    max-width: 360px;
    margin-bottom: 24px;
    line-height: 1.75;
}

.caremax-modern-footer .about-widget .social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.caremax-modern-footer .about-widget .social-links li {
    float: none;
    margin: 0;
}

.caremax-modern-footer .about-widget .social-links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.caremax-modern-footer .about-widget .social-links li a:hover {
    border-color: var(--caremax-green);
    background: var(--caremax-green);
    color: var(--caremax-ink);
}

.caremax-modern-footer .links-widget .links-list li {
    margin-bottom: 10px;
}

.caremax-modern-footer .links-widget .links-list li a {
    font-size: 15px;
    line-height: 1.45;
}

.caremax-modern-footer .links-widget .links-list li a:hover,
.caremax-modern-footer .contact-widget .info li a:hover,
.caremax-modern-footer .footer-bottom a:hover {
    color: var(--caremax-green);
}

.caremax-modern-footer .contact-widget .info li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 11px;
    margin-bottom: 14px;
    line-height: 1.55;
}

.caremax-modern-footer .contact-widget .info li i {
    margin-top: 4px;
    color: var(--caremax-green);
}

.caremax-modern-footer .footer-bottom {
    padding: 22px 0;
}

.caremax-modern-footer .footer-bottom .copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.caremax-modern-footer .footer-bottom p,
.caremax-modern-footer .footer-bottom a {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

@media only screen and (min-width: 1101px) and (max-width: 1200px) {
    .caremax-modern-header .main-menu,
    .caremax-modern-header .sticky-header {
        display: block !important;
    }

    .caremax-modern-header .menu-area .mobile-nav-toggler {
        display: none !important;
    }

    .caremax-modern-header .header-call {
        display: none;
    }
}

@media only screen and (max-width: 1100px) {
    .caremax-choose-section {
        padding: 86px 0 108px;
    }

    .caremax-choose-layout {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .caremax-choose-copy {
        grid-column: 1 / -1;
        max-width: 760px;
    }

    .caremax-choose-media {
        min-height: 440px;
    }

    .caremax-choose-media figure {
        height: 440px;
    }

    .caremax-care-section {
        padding: 86px 0 94px !important;
    }

    .caremax-care-intro {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .caremax-care-copy {
        max-width: 820px;
    }

    .caremax-care-visual {
        width: min(720px, 100%);
    }

    .caremax-care-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .caremax-care-points:before {
        display: none;
    }

    .caremax-services-section {
        padding: 82px 0 90px !important;
    }

    .caremax-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        max-width: none;
    }

    .caremax-service-body {
        min-height: 205px;
    }

    .caremax-about-section {
        padding: 84px 0;
    }

    .caremax-about-section:before {
        width: 46%;
    }

    .caremax-about-layout {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .caremax-about-media {
        width: min(620px, 100%);
        min-height: 520px;
        margin: 0 auto;
    }

    .caremax-about-photo {
        width: min(440px, 86%);
        height: 500px;
    }

    .caremax-about-content {
        max-width: 760px;
        margin: 0 auto;
    }

    .caremax-benefits-section {
        padding: 72px 0 78px;
    }

    .caremax-benefits-shell:before {
        left: -14px;
    }

    .caremax-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .caremax-benefit-card,
    .caremax-benefit-card-large,
    .caremax-benefit-card-wide {
        grid-column: span 1;
        grid-row: auto;
    }

    .caremax-benefit-card .inner-box,
    .caremax-benefit-card-large .inner-box,
    .caremax-benefit-card-wide .inner-box {
        min-height: 300px;
    }

    .caremax-hero-slider .slide-item {
        min-height: auto;
    }

    .caremax-hero-card {
        grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.8fr);
        gap: 30px;
        min-height: 600px;
        padding: 58px 0 92px;
    }

    .caremax-hero-copy h2 {
        font-size: clamp(28px, 3.8vw, 38px);
    }

    .caremax-hero-copy p {
        font-size: 17px;
    }

    .caremax-hero-visual {
        min-height: 470px;
    }

    .caremax-hero-frame {
        height: 470px;
    }

    .caremax-orbit-card.card-top {
        left: 22px;
    }

    .caremax-orbit-card.card-bottom {
        right: 22px;
    }

    .caremax-hero-meta {
        display: none;
    }

    .caremax-modern-header .main-menu,
    .caremax-modern-header .sticky-header {
        display: none !important;
    }

    .caremax-modern-header .menu-area {
        justify-content: flex-end;
    }

    .caremax-modern-header .menu-area .mobile-nav-toggler {
        display: block !important;
    }

    .caremax-modern-header .outer-box {
        min-height: 78px;
    }

    .caremax-modern-header .header-top .top-inner {
        align-items: flex-start;
    }

    .caremax-modern-header .header-top .info li:nth-child(2) {
        display: none;
    }

    .caremax-modern-header .nav-right .header-call {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .caremax-choose-section {
        padding: 64px 0 88px;
    }

    .caremax-choose-section:before {
        left: 28px;
    }

    .caremax-choose-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .caremax-choose-copy h2 {
        font-size: 32px;
    }

    .caremax-choose-copy p {
        font-size: 15px;
    }

    .caremax-choose-media {
        min-height: 390px;
    }

    .caremax-choose-media figure {
        height: 380px;
        border-radius: 78px 8px 78px 8px;
    }

    .caremax-choose-media figure:before {
        border-radius: 62px 6px 62px 6px;
    }

    .caremax-choose-floating-card {
        left: 18px;
        bottom: 24px;
        max-width: 210px;
        padding: 18px;
    }

    .caremax-choose-card {
        grid-template-columns: 50px 1fr;
        gap: 15px;
        padding: 20px;
    }

    .caremax-choose-card i {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .caremax-care-section {
        padding: 68px 0 76px !important;
    }

    .caremax-care-section:before,
    .caremax-care-section:after {
        display: none;
    }

    .caremax-care-intro {
        gap: 32px;
        margin-bottom: 30px;
    }

    .caremax-care-copy h2 {
        font-size: 30px;
    }

    .caremax-care-copy p {
        font-size: 15px;
        line-height: 1.72;
    }

    .caremax-care-visual {
        min-height: 344px;
    }

    .caremax-care-visual figure {
        height: 336px;
        border-radius: 76px 8px 76px 8px;
    }

    .caremax-care-visual figure:before {
        border-radius: 58px 6px 58px 6px;
    }

    .caremax-care-note {
        left: 16px;
        bottom: 20px;
        width: min(258px, calc(100% - 32px));
    }

    .caremax-care-points {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 0;
    }

    .caremax-care-point,
    .caremax-care-point:nth-child(even) {
        min-height: auto;
        margin-top: 0;
    }

    .caremax-services-section {
        padding: 62px 0 68px !important;
    }

    .caremax-services-head {
        margin-bottom: 32px;
        text-align: left;
    }

    .caremax-services-head span:before {
        width: 26px;
    }

    .caremax-services-head span:after {
        display: none;
    }

    .caremax-services-head h2 {
        font-size: 32px;
    }

    .caremax-services-head p {
        margin-left: 0;
        font-size: 15px;
    }

    .caremax-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: none;
    }

    .caremax-service-media {
        aspect-ratio: 1.46 / 1;
    }

    .caremax-service-body {
        min-height: auto;
        padding: 22px;
    }

    .caremax-service-body p {
        margin-bottom: 18px;
    }

    .caremax-service-link {
        position: static;
    }

    .caremax-about-section {
        padding: 62px 0;
    }

    .caremax-about-section:before {
        top: 32px;
        width: 76%;
        height: 360px;
    }

    .caremax-about-layout {
        gap: 38px;
    }

    .caremax-about-media {
        min-height: 430px;
    }

    .caremax-about-photo {
        width: 86%;
        height: 390px;
        border-radius: 8px 78px 8px 8px;
    }

    .caremax-about-photo:before {
        border-radius: 6px 62px 6px 6px;
    }

    .caremax-about-badge {
        right: 0;
        bottom: 56px;
        max-width: 190px;
        padding: 20px;
        border-radius: 8px 36px 8px 8px;
    }

    .caremax-about-badge span {
        font-size: 34px;
    }

    .caremax-about-badge strong {
        font-size: 14px;
    }

    .caremax-about-pop {
        font-size: 34px;
        line-height: 1.1;
    }

    .caremax-about-content > p {
        font-size: 15px;
        line-height: 1.7;
    }

    .caremax-about-values {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .caremax-about-value {
        min-height: auto;
        padding: 24px;
    }

    .caremax-benefits-section {
        padding: 56px 0 62px;
    }

    .caremax-benefits-section .caremax-benefits-shell {
        padding: 0;
    }

    .caremax-benefits-shell:before,
    .caremax-benefits-grid:before {
        display: none;
    }

    .caremax-benefits-intro {
        margin-bottom: 30px;
        text-align: left;
    }

    .caremax-benefits-kicker:before {
        width: 26px;
    }

    .caremax-benefits-kicker:after {
        display: none;
    }

    .caremax-benefits-intro h2 {
        font-size: 30px;
    }

    .caremax-benefits-intro p {
        margin-left: 0;
        font-size: 15px;
    }

    .caremax-benefits-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .caremax-benefit-card .inner-box,
    .caremax-benefit-card-large .inner-box,
    .caremax-benefit-card-wide .inner-box {
        min-height: auto;
        padding: 28px;
    }

    .caremax-benefit-card .icon-box {
        width: 64px;
        height: 64px;
        margin-bottom: 22px;
        font-size: 25px;
    }

    .caremax-benefit-card h3 {
        font-size: 21px;
        margin-bottom: 12px;
    }

    .caremax-benefit-card-large p {
        margin-top: 0;
    }

    .caremax-hero-card {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        min-height: auto;
        padding: 40px 0 82px;
    }

    .caremax-hero-copy {
        max-width: none;
    }

    .caremax-hero-kicker {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .caremax-hero-copy h2 {
        max-width: 540px;
        margin-bottom: 18px;
        font-size: clamp(24px, 6.8vw, 29px);
        line-height: 1.12;
    }

    .caremax-hero-copy p {
        max-width: 540px;
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 1.65;
    }

    .caremax-hero-actions {
        gap: 12px;
    }

    .caremax-hero-actions .theme-btn.btn-one {
        min-height: 50px;
        padding: 13px 22px;
    }

    .caremax-hero-visual {
        min-height: 350px;
        transform: translateY(28px);
    }

    .caremax-hero-frame {
        width: 100%;
        height: 360px;
        margin: 0 auto;
        border-radius: 8px;
    }

    .caremax-hero-frame:after {
        left: 0;
        top: 0;
        width: 38%;
        height: 100%;
        border-radius: 0;
    }

    .caremax-orbit-card {
        min-width: 118px;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .caremax-orbit-card.card-top {
        top: auto;
        left: 16px;
        bottom: 16px;
    }

    .caremax-orbit-card.card-bottom {
        top: 16px;
        right: 16px;
        bottom: auto;
    }

    .caremax-orbit-card span {
        font-size: 18px;
    }

    .caremax-orbit-card p {
        font-size: 12px;
    }

    .caremax-hero-slider .owl-nav {
        bottom: 26px;
        width: calc(100% - 30px);
    }

    .caremax-hero-slider .owl-nav button {
        width: 42px;
        height: 42px;
        font-size: 20px !important;
    }

    .caremax-modern-header .header-top {
        display: none;
    }

    .caremax-modern-header .header-lower {
        padding: 0;
    }

    .caremax-modern-header .outer-box {
        min-height: 72px;
        gap: 12px;
    }

    .caremax-modern-header .logo img {
        height: 54px !important;
        max-width: 166px;
    }

    .caremax-modern-header .nav-right .btn-box {
        display: none;
    }

    .caremax-modern-footer .footer-cta {
        padding-top: 30px;
    }

    .caremax-modern-footer .footer-cta-inner {
        display: block;
        padding: 30px 24px;
    }

    .caremax-modern-footer .footer-cta-inner h2 {
        font-size: clamp(18px, 3vw, 22px);
        white-space: nowrap;
    }

    .caremax-modern-footer .footer-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .caremax-modern-footer .footer-cta-actions .theme-btn.btn-one,
    .caremax-modern-footer .footer-phone {
        width: 100%;
    }

    .caremax-modern-footer .widget-section {
        padding: 46px 0 26px;
    }

    .caremax-modern-footer .footer-widget {
        margin-bottom: 28px !important;
    }

    .caremax-modern-footer .footer-bottom .copyright {
        display: block;
        text-align: center;
    }

    .caremax-modern-footer .footer-bottom .copyright p + p {
        margin-top: 8px;
    }
}

@media only screen and (max-width: 420px) {
    .caremax-choose-copy h2 {
        font-size: 29px;
    }

    .caremax-care-copy h2 {
        font-size: 24px;
    }

    .caremax-care-point {
        padding: 82px 20px 24px;
    }

    .caremax-care-point h3 {
        font-size: 21px;
    }

    .caremax-choose-media {
        min-height: 346px;
    }

    .caremax-choose-media figure {
        height: 336px;
    }

    .caremax-choose-card {
        display: block;
    }

    .caremax-choose-card i {
        margin-bottom: 16px;
    }

    .caremax-services-head h2 {
        font-size: 30px;
    }

    .caremax-service-name {
        font-size: 21px;
    }

    .caremax-service-media {
        aspect-ratio: 1.26 / 1;
    }

    .caremax-about-photo {
        width: 92%;
        height: 340px;
    }

    .caremax-about-media {
        min-height: 392px;
    }

    .caremax-about-badge {
        max-width: 172px;
    }

    .caremax-about-pop {
        font-size: 31px;
    }

    .caremax-benefits-intro h2 {
        font-size: 28px;
    }

    .caremax-benefit-card .inner-box,
    .caremax-benefit-card-large .inner-box,
    .caremax-benefit-card-wide .inner-box {
        padding: 24px;
    }

    .caremax-hero-card {
        padding-top: 34px;
    }

    .caremax-hero-copy h2 {
        font-size: 26px;
    }

    .caremax-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .caremax-hero-visual {
        min-height: 320px;
    }

    .caremax-hero-frame {
        width: 100%;
        height: 318px;
    }

    .caremax-orbit-card.card-top {
        left: 12px;
        bottom: 12px;
    }

    .caremax-orbit-card.card-bottom {
        top: 12px;
        right: 12px;
        bottom: auto;
    }

    .caremax-modern-mobile .nav-logo,
    .caremax-modern-mobile .mobile-cta,
    .caremax-modern-mobile .contact-info,
    .caremax-modern-mobile .social-links {
        padding-left: 22px;
        padding-right: 22px;
    }

    .caremax-modern-footer .footer-cta-inner h2 {
        font-size: clamp(14px, 3.8vw, 18px);
        white-space: nowrap;
    }

    .caremax-modern-footer .footer-cta-inner {
        padding: 28px 20px;
    }
}

/* Full-width hero image slider */

.caremax-hero-slider {
    background: var(--caremax-ink);
}

.caremax-hero-slider:before {
    display: none;
}

.caremax-hero-slider:after {
    z-index: 6;
    background: linear-gradient(90deg, transparent, rgba(156, 203, 58, 0.42), rgba(0, 138, 200, 0.35), transparent);
}

.caremax-hero-slider .auto-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.caremax-hero-slider .slide-item,
.caremax-hero-card {
    min-height: 620px;
}

.caremax-hero-card {
    position: relative;
    display: block !important;
    overflow: hidden;
    padding: 0;
}

.caremax-hero-copy {
    position: relative;
    z-index: 5;
    display: flex;
    width: min(650px, calc(100% - 48px));
    min-height: 620px;
    margin-left: max(24px, calc((100vw - 1170px) / 2));
    padding: 104px 0 110px;
    flex-direction: column;
    justify-content: center;
}

.caremax-hero-kicker {
    color: rgba(255, 255, 255, 0.90);
}

.caremax-hero-copy h2 {
    max-width: 620px;
    color: #ffffff;
    text-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.caremax-hero-copy p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.80);
}

.caremax-hero-link {
    color: #ffffff;
}

.caremax-hero-link:hover {
    color: var(--caremax-green);
}

.caremax-hero-link:hover:after {
    background: var(--caremax-green);
}

.caremax-hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    min-height: 100%;
    opacity: 0;
    transform: scale(1.06);
}

.caremax-hero-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--caremax-ink);
}

.caremax-hero-frame:before {
    inset: 0;
    z-index: 3;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(16, 36, 47, 0.90) 0%, rgba(16, 36, 47, 0.74) 37%, rgba(16, 36, 47, 0.28) 68%, rgba(16, 36, 47, 0.08) 100%),
        linear-gradient(0deg, rgba(16, 36, 47, 0.54), transparent 42%);
}

.caremax-hero-frame:after {
    left: 0;
    right: auto;
    top: auto;
    bottom: 0;
    z-index: 4;
    width: 100%;
    height: 8px;
    border-radius: 0;
    background: linear-gradient(90deg, var(--caremax-green), var(--caremax-blue), transparent 72%);
    opacity: 0.88;
}

.caremax-hero-frame .image,
.caremax-hero-frame .image img {
    border-radius: 0;
}

.caremax-hero-frame .image {
    inset: 0;
}

.caremax-hero-frame .image img {
    filter: saturate(0.98) contrast(1.05);
}

.caremax-hero-frame .image.illustration {
    align-items: center;
    justify-content: flex-end;
    padding: 86px max(42px, calc((100vw - 1170px) / 2)) 56px 42px;
    background:
        linear-gradient(90deg, rgba(16, 36, 47, 0.98), rgba(0, 111, 164, 0.64)),
        linear-gradient(135deg, rgba(0, 138, 200, 0.72), rgba(156, 203, 58, 0.54));
}

.caremax-hero-frame .image.illustration img {
    max-width: min(460px, 38vw);
    max-height: 72%;
    opacity: 0.88;
}

.caremax-orbit-card {
    display: none !important;
}

.caremax-hero-meta {
    display: none !important;
}

.caremax-hero-slider .owl-item.active .caremax-hero-visual {
    opacity: 1;
    transform: scale(1);
}

.caremax-hero-card:hover .caremax-hero-frame {
    transform: none;
    box-shadow: none;
}

.caremax-hero-card:hover .caremax-hero-frame .image img {
    transform: scale(1.055);
}

.caremax-hero-card:hover .caremax-hero-frame .image.illustration img {
    transform: translateY(-8px) scale(1.03);
}

.caremax-hero-slider .owl-nav {
    left: max(24px, calc((100vw - 1170px) / 2));
    bottom: 46px;
    width: auto;
    transform: none;
}

.caremax-hero-slider .owl-nav button {
    border-color: rgba(255, 255, 255, 0.24) !important;
    background: rgba(255, 255, 255, 0.90) !important;
}

@media only screen and (max-width: 1100px) {
    .caremax-hero-slider .slide-item,
    .caremax-hero-card,
    .caremax-hero-copy {
        min-height: 590px;
    }

    .caremax-hero-copy {
        width: min(620px, calc(100% - 48px));
        padding: 92px 0 104px;
    }

    .caremax-hero-copy h2 {
        font-size: clamp(30px, 4.2vw, 42px);
    }

    .caremax-hero-copy p {
        font-size: 16px;
    }

}

@media only screen and (max-width: 767px) {
    .caremax-hero-slider .slide-item,
    .caremax-hero-card,
    .caremax-hero-copy {
        min-height: 550px;
    }

    .caremax-hero-copy {
        width: calc(100% - 40px);
        margin-left: 20px;
        padding: 82px 0 96px;
    }

    .caremax-hero-copy h2 {
        max-width: 390px;
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.08;
    }

    .caremax-hero-copy p {
        max-width: 390px;
        font-size: 15px;
        line-height: 1.62;
    }

    .caremax-hero-frame:before {
        background:
            linear-gradient(90deg, rgba(16, 36, 47, 0.92) 0%, rgba(16, 36, 47, 0.76) 58%, rgba(16, 36, 47, 0.28) 100%),
            linear-gradient(0deg, rgba(16, 36, 47, 0.50), transparent 42%);
    }

    .caremax-hero-frame .image.illustration {
        align-items: flex-end;
        justify-content: center;
        padding: 110px 28px 70px;
    }

    .caremax-hero-frame .image.illustration img {
        max-width: min(280px, 72vw);
        max-height: 48%;
        opacity: 0.42;
    }

    .caremax-hero-actions {
        gap: 12px;
    }

    .caremax-hero-actions .theme-btn.btn-one {
        min-height: 50px;
        padding: 13px 22px;
    }

    .caremax-hero-slider .owl-nav {
        left: 20px;
        bottom: 28px;
    }
}

@media only screen and (max-width: 420px) {
    .caremax-hero-copy h2 {
        font-size: 27px;
    }

    .caremax-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Senior Who We Are redesign */

.caremax-about-redesign {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 104px 0 110px;
    background:
        linear-gradient(118deg, transparent 0 54%, rgba(0, 138, 200, 0.055) 54% 69%, transparent 69% 100%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-about-redesign:before {
    display: none;
}

.caremax-about-redesign:after {
    position: absolute;
    content: '';
    left: max(24px, calc((100vw - 1170px) / 2));
    right: max(24px, calc((100vw - 1170px) / 2));
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.24), rgba(156, 203, 58, 0.26), transparent);
    pointer-events: none;
}

.caremax-about-redesign .auto-container {
    position: relative;
    z-index: 2;
}

.caremax-about-redesign .caremax-about-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
    grid-template-areas:
        "copy media"
        "values values";
    gap: 40px 62px;
    align-items: center;
}

.caremax-about-redesign .caremax-about-content {
    grid-area: copy;
    max-width: 720px;
    margin: 0;
}

.caremax-about-redesign .caremax-about-kicker {
    margin-bottom: 16px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    font-weight: 900;
}

.caremax-about-redesign .caremax-about-kicker:before {
    width: 52px;
    height: 3px;
    background: var(--caremax-green);
}

.caremax-about-redesign .caremax-about-pop {
    max-width: 620px;
    margin: 0 0 22px;
    color: var(--caremax-ink);
    font-size: clamp(34px, 3.4vw, 50px);
    line-height: 1.04;
    font-weight: 900;
}

.caremax-about-redesign .caremax-about-pop:after {
    width: 72px;
    height: 3px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--caremax-green), var(--caremax-blue));
}

.caremax-about-redesign .caremax-about-content > p {
    max-width: 690px;
    margin: 0 0 16px;
    color: var(--caremax-muted);
    font-size: 17px;
    line-height: 1.76;
    font-weight: 500;
}

.caremax-about-redesign .caremax-about-lead {
    max-width: 660px;
    color: var(--caremax-ink);
    font-size: 20px;
    line-height: 1.5;
    font-weight: 800;
}

.caremax-about-redesign .caremax-about-promise {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 32px 0 0;
}

.caremax-about-redesign .caremax-about-promise span {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 14px 16px 14px 34px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    color: var(--caremax-blue-dark);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 38px rgba(16, 36, 47, 0.055);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
    transition: transform 360ms ease, border-color 360ms ease, box-shadow 360ms ease, background 360ms ease, color 360ms ease;
}

.caremax-about-redesign .caremax-about-promise span:before {
    position: absolute;
    content: '';
    left: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--caremax-green);
    box-shadow: 0 0 0 5px rgba(156, 203, 58, 0.16);
    transform: translateY(-50%);
}

.caremax-about-redesign .caremax-about-promise span:hover {
    color: var(--caremax-blue-dark);
    border-color: rgba(0, 138, 200, 0.28);
    background: #ffffff;
    box-shadow: 0 22px 46px rgba(16, 36, 47, 0.09);
    transform: translateY(-4px);
}

.caremax-about-redesign .caremax-about-media {
    grid-area: media;
    position: relative;
    min-height: auto;
}

.caremax-about-redesign .caremax-about-media:before {
    position: absolute;
    content: '';
    right: -18px;
    top: -18px;
    z-index: -1;
    width: 78%;
    height: 72%;
    border: 1px solid rgba(0, 138, 200, 0.20);
    border-radius: 8px;
    transform: rotate(2deg);
    transition: transform 520ms ease, border-color 520ms ease;
}

.caremax-about-redesign .caremax-about-media:after {
    position: absolute;
    content: '';
    left: -18px;
    bottom: 34px;
    width: 54%;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--caremax-green), var(--caremax-blue));
    opacity: 0.95;
    transition: transform 520ms ease;
}

.caremax-about-redesign .caremax-about-photo {
    position: relative;
    display: block;
    width: 100%;
    height: 456px;
    overflow: hidden;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 30px 78px rgba(16, 36, 47, 0.14);
    transform: none;
    transition: transform 620ms cubic-bezier(.2, .8, .2, 1), box-shadow 620ms ease, border-color 620ms ease;
}

.caremax-about-redesign .caremax-about-photo:before {
    position: absolute;
    content: '';
    inset: 14px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 6px;
    pointer-events: none;
}

.caremax-about-redesign .caremax-about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
    filter: saturate(0.96) contrast(1.03);
    transition: transform 760ms ease, filter 760ms ease;
}

.caremax-about-redesign .caremax-about-badge {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 4;
    max-width: none;
    padding: 18px 20px 18px 22px;
    border-left: 4px solid var(--caremax-green);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 48px rgba(16, 36, 47, 0.14);
    backdrop-filter: blur(14px);
    transition: transform 520ms ease, box-shadow 520ms ease;
}

.caremax-about-redesign .caremax-about-badge span {
    display: block;
    margin-bottom: 6px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-about-redesign .caremax-about-badge strong {
    display: block;
    margin: 0;
    color: var(--caremax-ink);
    font-size: 17px;
    line-height: 1.42;
    font-weight: 900;
}

.caremax-about-redesign .caremax-about-media:hover:before {
    border-color: rgba(0, 138, 200, 0.34);
    transform: rotate(0deg) translate(8px, 6px);
}

.caremax-about-redesign .caremax-about-media:hover:after {
    transform: translateX(24px);
}

.caremax-about-redesign .caremax-about-media:hover .caremax-about-photo {
    border-color: rgba(0, 138, 200, 0.20);
    box-shadow: 0 36px 88px rgba(16, 36, 47, 0.17);
    transform: translateY(-7px);
}

.caremax-about-redesign .caremax-about-media:hover .caremax-about-photo img {
    filter: saturate(1.02) contrast(1.04);
    transform: scale(1.045);
}

.caremax-about-redesign .caremax-about-media:hover .caremax-about-badge {
    box-shadow: 0 26px 56px rgba(16, 36, 47, 0.17);
    transform: translateY(-6px);
}

.caremax-about-redesign .caremax-about-values {
    grid-area: values;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 6px;
}

.caremax-about-redesign .caremax-about-value {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    min-height: 0;
    overflow: hidden;
    padding: 24px 26px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 46px rgba(16, 36, 47, 0.055);
    transition: transform 460ms cubic-bezier(.2, .8, .2, 1), box-shadow 460ms ease, border-color 460ms ease, background 460ms ease;
}

.caremax-about-redesign .caremax-about-value:before {
    position: absolute;
    content: '';
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleX(0.16);
    transform-origin: left;
    transition: transform 460ms ease;
}

.caremax-about-redesign .caremax-about-value i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 8px;
    color: var(--caremax-blue);
    background: rgba(0, 138, 200, 0.09);
    font-size: 18px;
    transition: color 360ms ease, background 360ms ease, transform 360ms ease;
}

.caremax-about-redesign .caremax-about-value h3 {
    margin: 0 0 8px;
    color: var(--caremax-ink);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 900;
}

.caremax-about-redesign .caremax-about-value p {
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-about-redesign .caremax-about-value:hover {
    border-color: rgba(0, 138, 200, 0.24);
    background: #ffffff;
    box-shadow: 0 26px 58px rgba(16, 36, 47, 0.10);
    transform: translateY(-6px);
}

.caremax-about-redesign .caremax-about-value:hover:before {
    transform: scaleX(1);
}

.caremax-about-redesign .caremax-about-value:hover i {
    color: #ffffff;
    background: var(--caremax-blue);
    transform: rotate(-5deg) scale(1.04);
}

@media only screen and (max-width: 1100px) {
    .caremax-about-redesign {
        padding: 84px 0 92px;
    }

    .caremax-about-redesign .caremax-about-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "media"
            "values";
        gap: 34px;
    }

    .caremax-about-redesign .caremax-about-content {
        max-width: 780px;
    }

    .caremax-about-redesign .caremax-about-media {
        width: min(680px, 100%);
    }

    .caremax-about-redesign .caremax-about-photo {
        height: 430px;
    }
}

@media only screen and (max-width: 767px) {
    .caremax-about-redesign {
        padding: 66px 0 72px;
    }

    .caremax-about-redesign .caremax-about-layout {
        gap: 28px;
    }

    .caremax-about-redesign .caremax-about-pop {
        font-size: 32px;
    }

    .caremax-about-redesign .caremax-about-lead {
        font-size: 18px;
    }

    .caremax-about-redesign .caremax-about-promise,
    .caremax-about-redesign .caremax-about-values {
        grid-template-columns: 1fr;
    }

    .caremax-about-redesign .caremax-about-photo {
        height: 350px;
    }

    .caremax-about-redesign .caremax-about-media:before {
        right: -8px;
        top: -10px;
    }

    .caremax-about-redesign .caremax-about-media:after {
        left: 0;
        bottom: 20px;
        width: 44%;
    }

    .caremax-about-redesign .caremax-about-badge {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px 18px;
    }

    .caremax-about-redesign .caremax-about-badge strong {
        font-size: 15px;
    }

    .caremax-about-redesign .caremax-about-value {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 16px;
        padding: 22px;
    }
}

@media only screen and (max-width: 420px) {
    .caremax-about-redesign .caremax-about-pop {
        font-size: 29px;
    }

    .caremax-about-redesign .caremax-about-photo {
        height: 310px;
    }

    .caremax-about-redesign .caremax-about-value {
        grid-template-columns: 1fr;
    }
}

/* Senior Our Services redesign */

.caremax-services-redesign {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 106px 0 112px !important;
    background:
        linear-gradient(126deg, transparent 0 49%, rgba(0, 138, 200, 0.05) 49% 62%, transparent 62% 100%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-services-redesign:before {
    display: none;
}

.caremax-services-redesign:after {
    position: absolute;
    content: '';
    left: max(24px, calc((100vw - 1170px) / 2));
    right: max(24px, calc((100vw - 1170px) / 2));
    top: 52px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.20), rgba(156, 203, 58, 0.20), transparent);
    pointer-events: none;
}

.caremax-services-redesign .auto-container {
    position: relative;
    z-index: 2;
}

.caremax-services-redesign .caremax-services-head {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.42fr);
    gap: 34px;
    align-items: end;
    max-width: none;
    margin: 0 0 42px;
    text-align: left;
}

.caremax-services-redesign .caremax-services-head span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin: 0 0 15px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-services-redesign .caremax-services-head span:before {
    content: '';
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-services-redesign .caremax-services-head span:after {
    display: none;
}

.caremax-services-redesign .caremax-services-head h2 {
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(34px, 3.5vw, 52px);
    line-height: 1.04;
    font-weight: 900;
}

.caremax-services-redesign .caremax-services-head p {
    max-width: 430px;
    margin: 0 0 4px auto;
    padding-left: 24px;
    border-left: 3px solid var(--caremax-green);
    color: var(--caremax-muted);
    font-size: 16px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-services-redesign .caremax-services-grid {
    display: grid;
    grid-template-columns: minmax(350px, 0.88fr) repeat(2, minmax(0, 1fr));
    grid-auto-rows: 186px;
    gap: 18px;
    width: 100%;
    max-width: none;
}

.caremax-services-redesign .caremax-service-card {
    position: relative;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 48px rgba(16, 36, 47, 0.065);
    transition: transform 460ms cubic-bezier(.2, .8, .2, 1), box-shadow 460ms ease, border-color 460ms ease, background 460ms ease;
}

.caremax-services-redesign .caremax-service-card:before {
    display: none;
}

.caremax-services-redesign .caremax-service-featured {
    grid-row: span 3;
    grid-template-columns: 1fr;
}

.caremax-services-redesign .caremax-service-wide {
    grid-column: span 2;
    grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
}

.caremax-services-redesign .caremax-service-media {
    position: relative;
    display: block;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    aspect-ratio: auto;
    border-radius: 0;
    background: #eaf5f8;
}

.caremax-services-redesign .caremax-service-featured .caremax-service-media {
    height: 372px;
}

.caremax-services-redesign .caremax-service-media:before {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 138, 200, 0.04) 0%, rgba(16, 36, 47, 0.46) 100%);
    opacity: 0.62;
    transition: opacity 460ms ease;
}

.caremax-services-redesign .caremax-service-card:not(.caremax-service-featured) .caremax-service-media:before {
    background: linear-gradient(90deg, rgba(16, 36, 47, 0.04) 0%, rgba(16, 36, 47, 0.34) 100%);
    opacity: 0.42;
}

.caremax-services-redesign .caremax-service-media:after {
    position: absolute;
    content: '';
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--caremax-green), rgba(255, 255, 255, 0.76));
    transform: scaleX(0.28);
    transform-origin: left;
    transition: transform 460ms ease;
}

.caremax-services-redesign .caremax-service-card:not(.caremax-service-featured) .caremax-service-media:after {
    left: 14px;
    right: 14px;
    bottom: 14px;
}

.caremax-services-redesign .caremax-service-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.96) contrast(1.02);
    transition: transform 740ms ease, filter 740ms ease;
}

.caremax-services-redesign .caremax-service-chip {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    color: var(--caremax-blue-dark);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(16, 36, 47, 0.10);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    transition: color 360ms ease, background 360ms ease, transform 360ms ease;
}

.caremax-services-redesign .caremax-service-card:not(.caremax-service-featured) .caremax-service-chip {
    left: 12px;
    top: 12px;
    min-height: 28px;
    padding: 7px 10px;
}

.caremax-services-redesign .caremax-service-arrow {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0, 138, 200, 0.92);
    opacity: 0;
    transform: translate(-8px, 8px) rotate(-22deg);
    transition: opacity 360ms ease, transform 460ms ease, background 360ms ease;
}

.caremax-services-redesign .caremax-service-body {
    position: relative;
    display: flex;
    min-height: 0;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.caremax-services-redesign .caremax-service-featured .caremax-service-body {
    min-height: 186px;
    padding: 28px;
}

.caremax-services-redesign .caremax-service-name {
    margin: 0 0 9px;
    color: var(--caremax-ink);
    font-size: 20px;
    line-height: 1.24;
    font-weight: 900;
    transform-origin: left bottom;
}

.caremax-services-redesign .caremax-service-featured .caremax-service-name {
    font-size: 28px;
}

.caremax-services-redesign .caremax-service-name a {
    color: var(--caremax-ink);
    transition: color 300ms ease;
}

.caremax-services-redesign .caremax-service-body p {
    margin: 0;
    color: var(--caremax-muted);
    font-size: 14px;
    line-height: 1.58;
    font-weight: 500;
}

.caremax-services-redesign .caremax-service-featured .caremax-service-body p {
    max-width: 390px;
    font-size: 15px;
    line-height: 1.68;
}

.caremax-services-redesign .caremax-service-link {
    position: static;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
    margin-top: 16px;
    color: var(--caremax-blue-dark);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.caremax-services-redesign .caremax-service-link:after {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
    transition: width 320ms ease, background 320ms ease;
}

.caremax-services-redesign .caremax-service-card:hover {
    border-color: rgba(0, 138, 200, 0.24);
    background: #ffffff;
    box-shadow: 0 26px 62px rgba(16, 36, 47, 0.11);
    transform: translateY(-6px);
}

.caremax-services-redesign .caremax-service-card:hover .caremax-service-media img {
    filter: saturate(1.02) contrast(1.04);
    transform: scale(1.055);
}

.caremax-services-redesign .caremax-service-card:hover .caremax-service-media:before {
    opacity: 0.50;
}

.caremax-services-redesign .caremax-service-featured:hover .caremax-service-media:before {
    opacity: 0.68;
}

.caremax-services-redesign .caremax-service-card:hover .caremax-service-media:after {
    transform: scaleX(1);
}

.caremax-services-redesign .caremax-service-card:hover .caremax-service-chip {
    color: #ffffff;
    background: var(--caremax-blue);
    transform: translateY(-2px);
}

.caremax-services-redesign .caremax-service-card:hover .caremax-service-arrow {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
}

.caremax-services-redesign .caremax-service-card:hover .caremax-service-body {
    box-shadow: none;
    transform: none;
}

.caremax-services-redesign .caremax-service-card.animated .caremax-service-name,
.caremax-services-redesign .caremax-service-card:hover .caremax-service-name {
    animation: caremaxServiceNamePop 560ms cubic-bezier(.2, .9, .2, 1) both;
}

.caremax-services-redesign .caremax-service-card:hover .caremax-service-name a {
    color: var(--caremax-blue-dark);
}

.caremax-services-redesign .caremax-service-card:hover .caremax-service-link:after {
    width: 44px;
    background: var(--caremax-blue);
}

@media only screen and (max-width: 1100px) {
    .caremax-services-redesign {
        padding: 84px 0 92px !important;
    }

    .caremax-services-redesign .caremax-services-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .caremax-services-redesign .caremax-services-head p {
        max-width: 620px;
        margin: 0;
    }

    .caremax-services-redesign .caremax-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .caremax-services-redesign .caremax-service-featured,
    .caremax-services-redesign .caremax-service-wide {
        grid-column: span 2;
        grid-row: auto;
    }

    .caremax-services-redesign .caremax-service-card,
    .caremax-services-redesign .caremax-service-wide {
        grid-template-columns: 150px minmax(0, 1fr);
        min-height: 176px;
    }

    .caremax-services-redesign .caremax-service-featured {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .caremax-services-redesign .caremax-service-featured .caremax-service-media {
        height: 340px;
    }
}

@media only screen and (max-width: 767px) {
    .caremax-services-redesign {
        padding: 66px 0 74px !important;
    }

    .caremax-services-redesign .caremax-services-head {
        margin-bottom: 30px;
    }

    .caremax-services-redesign .caremax-services-head span:before {
        width: 34px;
    }

    .caremax-services-redesign .caremax-services-head h2 {
        font-size: 32px;
    }

    .caremax-services-redesign .caremax-services-head p {
        padding-left: 18px;
        font-size: 15px;
    }

    .caremax-services-redesign .caremax-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .caremax-services-redesign .caremax-service-card,
    .caremax-services-redesign .caremax-service-featured,
    .caremax-services-redesign .caremax-service-wide {
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .caremax-services-redesign .caremax-service-media,
    .caremax-services-redesign .caremax-service-featured .caremax-service-media {
        height: 232px;
    }

    .caremax-services-redesign .caremax-service-body,
    .caremax-services-redesign .caremax-service-featured .caremax-service-body {
        min-height: 0;
        padding: 22px;
    }

    .caremax-services-redesign .caremax-service-featured .caremax-service-name,
    .caremax-services-redesign .caremax-service-name {
        font-size: 22px;
    }

    .caremax-services-redesign .caremax-service-arrow {
        opacity: 1;
        transform: none;
    }
}

@media only screen and (max-width: 420px) {
    .caremax-services-redesign .caremax-services-head h2 {
        font-size: 29px;
    }

    .caremax-services-redesign .caremax-service-media,
    .caremax-services-redesign .caremax-service-featured .caremax-service-media {
        height: 210px;
    }
}

/* Professional service directory */

.caremax-services-directory {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 98px 0 104px !important;
    background:
        linear-gradient(118deg, transparent 0 55%, rgba(0, 138, 200, 0.055) 55% 68%, transparent 68% 100%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-services-directory:before {
    display: none;
}

.caremax-services-directory:after {
    position: absolute;
    content: '';
    left: max(24px, calc((100vw - 1170px) / 2));
    right: max(24px, calc((100vw - 1170px) / 2));
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.22), rgba(156, 203, 58, 0.24), transparent);
    pointer-events: none;
}

.caremax-services-directory .auto-container {
    position: relative;
    z-index: 2;
}

.caremax-services-directory .caremax-services-head {
    display: block;
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.caremax-services-directory .caremax-services-head span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    width: auto;
    margin: 0 auto 14px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-services-directory .caremax-services-head span:before {
    content: '';
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-services-directory .caremax-services-head span:after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-services-directory .caremax-services-head h2 {
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(34px, 3.4vw, 50px);
    line-height: 1.04;
    font-weight: 900;
}

.caremax-services-directory .caremax-services-head p {
    max-width: 620px;
    margin: 16px auto 0;
    padding-left: 0;
    border-left: 0;
    color: var(--caremax-muted);
    font-size: 16px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-services-showcase {
    display: grid;
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.caremax-services-visual {
    position: relative;
    min-height: 100%;
}

.caremax-services-visual:before {
    position: absolute;
    content: '';
    right: -12px;
    top: -12px;
    z-index: -1;
    width: 72%;
    height: 70%;
    border: 1px solid rgba(0, 138, 200, 0.22);
    border-radius: 8px;
    transform: rotate(2deg);
    transition: transform 520ms ease, border-color 520ms ease;
}

.caremax-services-visual figure {
    position: relative;
    display: block;
    height: 100%;
    min-height: 650px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--caremax-ink);
    box-shadow: 0 30px 80px rgba(16, 36, 47, 0.13);
}

.caremax-services-visual figure:before {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(16, 36, 47, 0.08) 0%, rgba(16, 36, 47, 0.58) 100%),
        linear-gradient(90deg, rgba(0, 138, 200, 0.14), transparent 58%);
    pointer-events: none;
}

.caremax-services-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    filter: saturate(0.96) contrast(1.03);
    transition: transform 820ms ease, filter 820ms ease;
}

.caremax-services-visual-note {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    padding: 19px 22px;
    border-left: 4px solid var(--caremax-green);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 56px rgba(16, 36, 47, 0.16);
    backdrop-filter: blur(14px);
    transition: transform 460ms ease, box-shadow 460ms ease;
}

.caremax-services-visual-note span {
    display: block;
    margin-bottom: 7px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-services-visual-note strong {
    display: block;
    color: var(--caremax-ink);
    font-size: 18px;
    line-height: 1.38;
    font-weight: 900;
}

.caremax-services-visual:hover:before {
    border-color: rgba(0, 138, 200, 0.34);
    transform: rotate(0deg) translate(8px, 6px);
}

.caremax-services-visual:hover img {
    filter: saturate(1.02) contrast(1.05);
    transform: scale(1.045);
}

.caremax-services-visual:hover .caremax-services-visual-note {
    box-shadow: 0 28px 64px rgba(16, 36, 47, 0.18);
    transform: translateY(-6px);
}

.caremax-services-directory .caremax-services-grid,
.caremax-services-directory .caremax-services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: none;
}

.caremax-services-directory .caremax-service-card,
.caremax-services-directory .caremax-service-row {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 46px;
    gap: 18px;
    align-items: center;
    min-height: 100px;
    overflow: hidden;
    padding: 10px 14px 10px 10px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 38px rgba(16, 36, 47, 0.055);
    transition: transform 420ms cubic-bezier(.2, .8, .2, 1), box-shadow 420ms ease, border-color 420ms ease, background 420ms ease;
}

.caremax-services-directory .caremax-service-card:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 8px 0 0 8px;
    background: linear-gradient(180deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleY(0.22);
    transform-origin: top;
    opacity: 1;
    transition: transform 420ms ease;
}

.caremax-services-directory .caremax-service-media {
    position: relative;
    display: block;
    width: 104px;
    height: 92px;
    min-height: 0;
    overflow: hidden;
    aspect-ratio: auto;
    border-radius: 6px;
    background: #eaf5f8;
}

.caremax-services-directory .caremax-service-media:before {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(16, 36, 47, 0.02), rgba(16, 36, 47, 0.18));
    opacity: 1;
    transition: opacity 420ms ease;
}

.caremax-services-directory .caremax-service-media:after {
    display: none;
}

.caremax-services-directory .caremax-service-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.96) contrast(1.02);
    transition: transform 620ms ease, filter 620ms ease;
}

.caremax-services-directory .caremax-service-body {
    position: relative;
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.caremax-services-directory .caremax-service-chip {
    position: static;
    display: inline-flex;
    align-items: center;
    min-height: auto;
    margin: 0 0 7px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--caremax-green);
    background: transparent;
    box-shadow: none;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    transition: color 300ms ease;
}

.caremax-services-directory .caremax-service-name {
    margin: 0 0 7px;
    color: var(--caremax-ink);
    font-size: 19px;
    line-height: 1.22;
    font-weight: 900;
    transform-origin: left bottom;
}

.caremax-services-directory .caremax-service-name a {
    color: var(--caremax-ink);
    transition: color 300ms ease;
}

.caremax-services-directory .caremax-service-body p {
    max-width: 560px;
    margin: 0;
    color: var(--caremax-muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
}

.caremax-services-directory .caremax-service-arrow {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 138, 200, 0.16);
    border-radius: 50%;
    color: var(--caremax-blue-dark);
    background: rgba(0, 138, 200, 0.07);
    opacity: 1;
    transform: none;
    transition: color 320ms ease, background 320ms ease, border-color 320ms ease, transform 420ms ease;
}

.caremax-services-directory .caremax-service-row:hover {
    border-color: rgba(0, 138, 200, 0.24);
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(16, 36, 47, 0.095);
    transform: translateX(8px);
}

.caremax-services-directory .caremax-service-row:hover:before {
    transform: scaleY(1);
}

.caremax-services-directory .caremax-service-row:hover .caremax-service-media img {
    filter: saturate(1.03) contrast(1.04);
    transform: scale(1.06);
}

.caremax-services-directory .caremax-service-row:hover .caremax-service-chip {
    color: var(--caremax-blue-dark);
}

.caremax-services-directory .caremax-service-card.animated .caremax-service-name,
.caremax-services-directory .caremax-service-row:hover .caremax-service-name {
    animation: caremaxServiceNamePop 520ms cubic-bezier(.2, .9, .2, 1) both;
}

.caremax-services-directory .caremax-service-row:hover .caremax-service-name a {
    color: var(--caremax-blue-dark);
}

.caremax-services-directory .caremax-service-row:hover .caremax-service-arrow {
    color: #ffffff;
    border-color: var(--caremax-blue);
    background: var(--caremax-blue);
    transform: translateX(4px);
}

@media only screen and (max-width: 1100px) {
    .caremax-services-directory {
        padding: 84px 0 92px !important;
    }

    .caremax-services-directory .caremax-services-head,
    .caremax-services-showcase {
        grid-template-columns: 1fr;
    }

    .caremax-services-directory .caremax-services-head {
        max-width: 720px;
    }

    .caremax-services-directory .caremax-services-head p {
        max-width: 650px;
        margin: 16px auto 0;
    }

    .caremax-services-visual figure {
        min-height: 360px;
        height: 360px;
    }

    .caremax-services-visual img {
        object-position: center 58%;
    }
}

@media only screen and (max-width: 767px) {
    .caremax-services-directory {
        padding: 66px 0 74px !important;
    }

    .caremax-services-directory .caremax-services-head {
        margin-bottom: 28px;
    }

    .caremax-services-directory .caremax-services-head span:before {
        width: 34px;
    }

    .caremax-services-directory .caremax-services-head span:after {
        width: 34px;
    }

    .caremax-services-directory .caremax-services-head h2 {
        font-size: 32px;
    }

    .caremax-services-directory .caremax-services-head p {
        padding-left: 0;
        font-size: 15px;
    }

    .caremax-services-showcase {
        gap: 18px;
    }

    .caremax-services-visual figure {
        height: 260px;
        min-height: 260px;
    }

    .caremax-services-visual-note {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px 18px;
    }

    .caremax-services-visual-note strong {
        font-size: 15px;
    }

    .caremax-services-directory .caremax-services-grid,
    .caremax-services-directory .caremax-services-list {
        gap: 10px;
    }

    .caremax-services-directory .caremax-service-card,
    .caremax-services-directory .caremax-service-row {
        grid-template-columns: 82px minmax(0, 1fr) 38px;
        gap: 12px;
        min-height: 92px;
        padding: 9px 10px 9px 9px;
    }

    .caremax-services-directory .caremax-service-media {
        width: 82px;
        height: 78px;
    }

    .caremax-services-directory .caremax-service-name {
        margin-bottom: 4px;
        font-size: 17px;
    }

    .caremax-services-directory .caremax-service-chip {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .caremax-services-directory .caremax-service-body p {
        font-size: 13px;
        line-height: 1.44;
    }

    .caremax-services-directory .caremax-service-arrow {
        width: 36px;
        height: 36px;
    }

    .caremax-services-directory .caremax-service-row:hover {
        transform: translateY(-4px);
    }
}

@media only screen and (max-width: 420px) {
    .caremax-services-directory .caremax-services-head h2 {
        font-size: 29px;
    }

    .caremax-services-directory .caremax-service-card,
    .caremax-services-directory .caremax-service-row {
        grid-template-columns: 1fr 36px;
        gap: 10px;
    }

    .caremax-services-directory .caremax-service-media {
        display: none;
    }

    .caremax-services-directory .caremax-service-name {
        font-size: 16px;
    }
}

/* Services page */

.caremax-services-page-hero,
.caremax-services-page {
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-services-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 92px 0 74px;
    background:
        linear-gradient(122deg, rgba(0, 138, 200, 0.08) 0%, transparent 34%),
        linear-gradient(300deg, rgba(156, 203, 58, 0.11) 0%, transparent 32%),
        #ffffff;
}

.caremax-services-page-hero:before {
    position: absolute;
    content: '';
    left: 8%;
    top: -18%;
    z-index: -1;
    width: 28%;
    height: 138%;
    background: linear-gradient(180deg, transparent, rgba(0, 138, 200, 0.06), transparent);
    transform: skewX(-17deg);
    pointer-events: none;
}

.caremax-services-page-hero:after {
    position: absolute;
    content: '';
    left: max(24px, calc((100vw - 1170px) / 2));
    right: max(24px, calc((100vw - 1170px) / 2));
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.25), rgba(156, 203, 58, 0.30), transparent);
    pointer-events: none;
}

.caremax-services-page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.72fr);
    gap: 48px;
    align-items: center;
}

.caremax-services-page-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--caremax-blue-dark);
    font-size: 13px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.caremax-services-page-kicker:before {
    content: '';
    width: 66px;
    height: 4px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-services-page-hero-copy h1 {
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(40px, 4.8vw, 66px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-services-page-hero-copy p {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--caremax-muted);
    font-size: 17px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-services-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
}

.caremax-services-page-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 24px;
    border: 1px solid rgba(0, 138, 200, 0.18);
    border-radius: 999px;
    color: var(--caremax-blue-dark);
    background: rgba(255, 255, 255, 0.74);
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 16px 44px rgba(16, 36, 47, 0.055);
    transition: color 320ms ease, background 320ms ease, border-color 320ms ease, transform 320ms ease;
}

.caremax-services-page-call:hover {
    color: #ffffff;
    border-color: var(--caremax-blue);
    background: var(--caremax-blue);
    transform: translateY(-3px);
}

.caremax-services-page-hero-visual {
    position: relative;
    min-height: 490px;
}

.caremax-services-page-hero-visual:before {
    position: absolute;
    content: '';
    right: -16px;
    top: 22px;
    z-index: -1;
    width: 72%;
    height: 82%;
    border: 1px solid rgba(0, 138, 200, 0.20);
    border-radius: 8px;
    transform: rotate(2deg);
    transition: transform 560ms ease, border-color 560ms ease;
}

.caremax-services-page-hero-visual figure {
    position: absolute;
    inset: 0 0 34px 34px;
    display: block;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #eaf5f8;
    box-shadow: 0 30px 80px rgba(16, 36, 47, 0.14);
}

.caremax-services-page-hero-visual figure:before {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(16, 36, 47, 0.04), rgba(16, 36, 47, 0.38)),
        linear-gradient(90deg, rgba(0, 138, 200, 0.14), transparent 58%);
    pointer-events: none;
}

.caremax-services-page-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.98) contrast(1.03);
    transition: transform 840ms ease, filter 840ms ease;
}

.caremax-services-page-hero-note {
    position: absolute;
    left: 0;
    right: 28px;
    bottom: 0;
    z-index: 3;
    padding: 20px 24px;
    border-left: 4px solid var(--caremax-green);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 58px rgba(16, 36, 47, 0.16);
    backdrop-filter: blur(14px);
    transition: transform 440ms ease, box-shadow 440ms ease;
}

.caremax-services-page-hero-note span {
    display: block;
    margin-bottom: 7px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-services-page-hero-note strong {
    display: block;
    color: var(--caremax-ink);
    font-size: 18px;
    line-height: 1.34;
    font-weight: 900;
}

.caremax-services-page-hero-visual:hover:before {
    border-color: rgba(156, 203, 58, 0.32);
    transform: rotate(0deg) translate(9px, 8px);
}

.caremax-services-page-hero-visual:hover img {
    filter: saturate(1.03) contrast(1.05);
    transform: scale(1.045);
}

.caremax-services-page-hero-visual:hover .caremax-services-page-hero-note {
    box-shadow: 0 30px 68px rgba(16, 36, 47, 0.19);
    transform: translateY(-7px);
}

.caremax-services-page {
    position: relative;
    z-index: 120;
    isolation: isolate;
    overflow: hidden;
    padding: 96px 0 112px;
    background:
        linear-gradient(117deg, transparent 0 54%, rgba(156, 203, 58, 0.065) 54% 66%, transparent 66% 100%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
}

.caremax-services-page:before {
    position: absolute;
    content: '';
    right: -18vw;
    top: 12%;
    z-index: -1;
    width: 40vw;
    height: 40vw;
    border: 1px solid rgba(0, 138, 200, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.caremax-services-page-head {
    display: grid;
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
    gap: 34px;
    align-items: end;
    margin-bottom: 42px;
}

.caremax-services-page-head h2 {
    max-width: 760px;
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(32px, 3.35vw, 50px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.caremax-services-page-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: 210px 1fr;
    min-height: 438px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 46px rgba(16, 36, 47, 0.06);
    transition: transform 500ms cubic-bezier(.2, .8, .2, 1), box-shadow 500ms ease, border-color 500ms ease, background 500ms ease;
}

.caremax-services-page-card:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleX(0.18);
    transform-origin: left;
    transition: transform 500ms ease;
}

.caremax-services-page-card:after {
    position: absolute;
    content: '';
    right: -28%;
    top: -44%;
    z-index: 3;
    width: 32%;
    height: 188%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.70), transparent);
    opacity: 0;
    transform: translateX(-120%) rotate(18deg);
    transition: opacity 520ms ease, transform 520ms ease;
    pointer-events: none;
}

.caremax-services-page-card-large {
    grid-column: span 2;
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: 438px;
}

.caremax-services-page-card figure {
    position: relative;
    overflow: hidden;
    display: block;
    height: 100%;
    margin: 0;
    background: #eaf5f8;
}

.caremax-services-page-card figure:before {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(16, 36, 47, 0.02), rgba(16, 36, 47, 0.30)),
        linear-gradient(90deg, rgba(0, 138, 200, 0.10), transparent 58%);
    opacity: 0.82;
    transition: opacity 500ms ease;
}

.caremax-services-page-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.96) contrast(1.02);
    transition: transform 760ms ease, filter 760ms ease;
}

.caremax-services-page-card-copy {
    position: relative;
    z-index: 4;
    padding: 28px;
}

.caremax-services-page-card-copy span {
    display: block;
    margin-bottom: 12px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: color 360ms ease;
}

.caremax-services-page-card-copy h3 {
    margin: 0 0 12px;
    color: var(--caremax-ink);
    font-size: 25px;
    line-height: 1.18;
    font-weight: 900;
    transition: color 360ms ease, transform 500ms cubic-bezier(.2, .9, .2, 1);
}

.caremax-services-page-card-copy p {
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.62;
    font-weight: 500;
}

.caremax-services-page-card > i {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(0, 138, 200, 0.18);
    border-radius: 50%;
    color: var(--caremax-blue-dark);
    background: rgba(0, 138, 200, 0.08);
    transform: translateX(-6px) rotate(-18deg);
    transition: color 360ms ease, background 360ms ease, border-color 360ms ease, transform 500ms ease;
}

.caremax-services-page-card:hover {
    border-color: rgba(0, 138, 200, 0.28);
    background: #ffffff;
    box-shadow: 0 30px 72px rgba(16, 36, 47, 0.12);
    transform: translateY(-8px);
}

.caremax-services-page-card:hover:before {
    transform: scaleX(1);
}

.caremax-services-page-card:hover:after {
    opacity: 1;
    transform: translateX(220%) rotate(18deg);
}

.caremax-services-page-card:hover figure:before {
    opacity: 0.58;
}

.caremax-services-page-card:hover img {
    filter: saturate(1.03) contrast(1.05);
    transform: scale(1.055);
}

.caremax-services-page-card:hover .caremax-services-page-card-copy span {
    color: var(--caremax-green);
}

.caremax-services-page-card:hover .caremax-services-page-card-copy h3 {
    color: var(--caremax-blue-dark);
    transform: translateY(-2px);
}

.caremax-services-page-card:hover > i {
    color: #ffffff;
    border-color: var(--caremax-blue);
    background: var(--caremax-blue);
    transform: translateX(0) rotate(0deg);
}

@media only screen and (max-width: 1100px) {
    .caremax-services-page-hero {
        padding: 78px 0 66px;
    }

    .caremax-services-page-hero-grid {
        grid-template-columns: 1fr;
    }

    .caremax-services-page-hero-copy {
        max-width: 780px;
    }

    .caremax-services-page-hero-visual {
        min-height: 440px;
        width: min(760px, 100%);
    }

    .caremax-services-page-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .caremax-services-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .caremax-services-page-card-large {
        grid-column: span 2;
        grid-template-columns: 1fr;
        grid-template-rows: 300px 1fr;
    }
}

@media only screen and (max-width: 767px) {
    .caremax-services-page-hero {
        padding: 64px 0 58px;
    }

    .caremax-services-page-kicker {
        font-size: 12px;
    }

    .caremax-services-page-kicker:before {
        width: 42px;
    }

    .caremax-services-page-hero-copy h1 {
        font-size: 38px;
    }

    .caremax-services-page-hero-copy p {
        font-size: 15px;
    }

    .caremax-services-page-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .caremax-services-page-hero-actions .theme-btn.btn-one,
    .caremax-services-page-call {
        justify-content: center;
        width: 100%;
    }

    .caremax-services-page-hero-visual {
        min-height: 380px;
    }

    .caremax-services-page-hero-visual figure {
        inset: 0 0 26px 20px;
    }

    .caremax-services-page-hero-note {
        right: 16px;
        padding: 16px 18px;
    }

    .caremax-services-page {
        padding: 66px 0 78px;
    }

    .caremax-services-page-head {
        margin-bottom: 28px;
    }

    .caremax-services-page-head h2 {
        font-size: 30px;
    }

    .caremax-services-page-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .caremax-services-page-card,
    .caremax-services-page-card-large {
        grid-column: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 220px 1fr;
        min-height: 0;
    }

    .caremax-services-page-card-copy {
        padding: 23px;
    }

    .caremax-services-page-card-copy h3 {
        padding-right: 42px;
        font-size: 22px;
    }

    .caremax-services-page-card > i {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

@media only screen and (max-width: 420px) {
    .caremax-services-page-hero-copy h1 {
        font-size: 34px;
    }

    .caremax-services-page-card,
    .caremax-services-page-card-large {
        grid-template-rows: 190px 1fr;
    }

    .caremax-services-page-card-copy h3 {
        font-size: 20px;
    }
}

/* Doctor services page */

.caremax-doctor-hero,
.caremax-doctor-overview,
.caremax-doctor-method {
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-doctor-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 96px 0 86px;
    background:
        linear-gradient(118deg, rgba(0, 138, 200, 0.08) 0%, transparent 36%),
        linear-gradient(304deg, rgba(156, 203, 58, 0.09) 0%, transparent 32%),
        #ffffff;
}

.caremax-doctor-hero:before {
    position: absolute;
    content: '';
    right: 10%;
    top: -18%;
    z-index: -1;
    width: 24%;
    height: 132%;
    background: linear-gradient(180deg, transparent, rgba(0, 138, 200, 0.055), transparent);
    transform: skewX(-16deg);
    pointer-events: none;
}

.caremax-doctor-hero:after {
    position: absolute;
    content: '';
    left: max(24px, calc((100vw - 1170px) / 2));
    right: max(24px, calc((100vw - 1170px) / 2));
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.22), rgba(156, 203, 58, 0.30), transparent);
}

.caremax-doctor-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.92fr);
    gap: 52px;
    align-items: center;
}

.caremax-doctor-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--caremax-blue-dark);
    font-size: 13px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.caremax-doctor-kicker:before {
    content: '';
    width: 66px;
    height: 4px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-doctor-hero-copy h1 {
    max-width: 720px;
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(38px, 4.4vw, 60px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-doctor-hero-copy p {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--caremax-muted);
    font-size: 18px;
    line-height: 1.72;
    font-weight: 500;
}

.caremax-doctor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
}

.caremax-doctor-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 24px;
    border: 1px solid rgba(0, 138, 200, 0.18);
    border-radius: 999px;
    color: var(--caremax-blue-dark);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 44px rgba(16, 36, 47, 0.055);
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    transition: color 320ms ease, background 320ms ease, border-color 320ms ease, transform 320ms ease;
}

.caremax-doctor-call:hover {
    color: #ffffff;
    border-color: var(--caremax-blue);
    background: var(--caremax-blue);
    transform: translateY(-3px);
}

.caremax-doctor-visual {
    position: relative;
    min-height: 500px;
}

.caremax-doctor-visual:before {
    position: absolute;
    content: '';
    left: -16px;
    top: 26px;
    z-index: -1;
    width: 72%;
    height: 76%;
    border: 1px solid rgba(156, 203, 58, 0.30);
    border-radius: 8px;
    transform: rotate(-2deg);
    transition: transform 560ms ease, border-color 560ms ease;
}

.caremax-doctor-visual figure {
    position: absolute;
    inset: 0 0 38px 30px;
    display: block;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #eaf5f8;
    box-shadow: 0 30px 80px rgba(16, 36, 47, 0.14);
}

.caremax-doctor-visual figure:before {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(16, 36, 47, 0.04), rgba(16, 36, 47, 0.28)),
        linear-gradient(90deg, rgba(0, 138, 200, 0.12), transparent 54%);
    pointer-events: none;
}

.caremax-doctor-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% center;
    filter: saturate(0.98) contrast(1.02);
    transition: transform 820ms ease, filter 820ms ease;
}

.caremax-doctor-visit-card {
    position: absolute;
    left: 0;
    right: 36px;
    bottom: 0;
    z-index: 4;
    padding: 20px 24px;
    border-left: 4px solid var(--caremax-green);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 58px rgba(16, 36, 47, 0.16);
    backdrop-filter: blur(14px);
    transition: transform 440ms ease, box-shadow 440ms ease;
}

.caremax-doctor-visit-card span {
    display: block;
    margin-bottom: 7px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-doctor-visit-card strong {
    display: block;
    color: var(--caremax-ink);
    font-size: 18px;
    line-height: 1.36;
    font-weight: 900;
}

.caremax-doctor-visual:hover:before {
    border-color: rgba(0, 138, 200, 0.34);
    transform: rotate(0deg) translate(8px, 8px);
}

.caremax-doctor-visual:hover img {
    filter: saturate(1.03) contrast(1.05);
    transform: scale(1.045);
}

.caremax-doctor-visual:hover .caremax-doctor-visit-card {
    box-shadow: 0 30px 68px rgba(16, 36, 47, 0.18);
    transform: translateY(-7px);
}

.caremax-doctor-overview {
    position: relative;
    z-index: 120;
    isolation: isolate;
    overflow: hidden;
    padding: 94px 0 102px;
    background:
        linear-gradient(116deg, transparent 0 53%, rgba(156, 203, 58, 0.06) 53% 66%, transparent 66% 100%),
        #ffffff;
}

.caremax-doctor-overview:before {
    position: absolute;
    content: '';
    left: max(24px, calc((100vw - 1170px) / 2));
    right: max(24px, calc((100vw - 1170px) / 2));
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.22), rgba(156, 203, 58, 0.30), transparent);
}

.caremax-doctor-overview-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.caremax-doctor-side {
    position: sticky;
    top: 110px;
    overflow: hidden;
    padding: 32px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 138, 200, 0.09), transparent 48%),
        rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 62px rgba(16, 36, 47, 0.08);
}

.caremax-doctor-side h2 {
    margin: 0;
    color: var(--caremax-ink);
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
}

.caremax-doctor-side p {
    margin: 18px 0 24px;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-doctor-side ul {
    display: grid;
    gap: 8px;
    margin: 0;
}

.caremax-doctor-side li {
    display: block;
}

.caremax-doctor-side a {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 13px 16px;
    border: 1px solid rgba(16, 36, 47, 0.08);
    border-radius: 8px;
    color: var(--caremax-ink);
    background: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    transition: color 320ms ease, border-color 320ms ease, background 320ms ease, transform 320ms ease;
}

.caremax-doctor-side a:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 320ms ease;
}

.caremax-doctor-side a:hover,
.caremax-doctor-side a.current {
    color: var(--caremax-blue-dark);
    border-color: rgba(0, 138, 200, 0.22);
    background: rgba(0, 138, 200, 0.055);
    transform: translateX(5px);
}

.caremax-doctor-side a:hover:before,
.caremax-doctor-side a.current:before {
    transform: scaleY(1);
}

.caremax-doctor-main {
    min-width: 0;
}

.caremax-doctor-panel {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 8px;
    background:
        linear-gradient(130deg, rgba(0, 138, 200, 0.18), transparent 45%),
        linear-gradient(180deg, #10242f 0%, #0b1a22 100%);
    box-shadow: 0 28px 74px rgba(16, 36, 47, 0.14);
}

.caremax-doctor-panel:before {
    position: absolute;
    content: '';
    right: -12%;
    top: -24%;
    width: 36%;
    height: 78%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(-14deg);
    transition: transform 520ms ease, border-color 520ms ease;
}

.caremax-doctor-panel:hover:before {
    border-color: rgba(156, 203, 58, 0.22);
    transform: rotate(-7deg) translate(-8px, 10px);
}

.caremax-doctor-panel .caremax-doctor-kicker {
    color: var(--caremax-green);
}

.caremax-doctor-panel h2 {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.06;
    font-weight: 900;
}

.caremax-doctor-panel p {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.73);
    font-size: 16px;
    line-height: 1.78;
    font-weight: 500;
}

.caremax-doctor-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.caremax-doctor-feature-grid article {
    position: relative;
    overflow: hidden;
    min-height: 246px;
    padding: 28px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 46px rgba(16, 36, 47, 0.055);
    transition: transform 440ms cubic-bezier(.2, .8, .2, 1), box-shadow 440ms ease, border-color 440ms ease;
}

.caremax-doctor-feature-grid article:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleX(0.18);
    transform-origin: left;
    transition: transform 440ms ease;
}

.caremax-doctor-feature-grid i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    border-radius: 8px;
    color: var(--caremax-blue);
    background: rgba(0, 138, 200, 0.09);
    font-size: 20px;
    transition: color 360ms ease, background 360ms ease, transform 360ms ease;
}

.caremax-doctor-feature-grid h3 {
    margin: 0 0 10px;
    color: var(--caremax-ink);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.caremax-doctor-feature-grid p {
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.62;
    font-weight: 500;
}

.caremax-doctor-feature-grid article:hover {
    border-color: rgba(0, 138, 200, 0.24);
    box-shadow: 0 26px 62px rgba(16, 36, 47, 0.10);
    transform: translateY(-7px);
}

.caremax-doctor-feature-grid article:hover:before {
    transform: scaleX(1);
}

.caremax-doctor-feature-grid article:hover i {
    color: #ffffff;
    background: var(--caremax-blue);
    transform: rotate(-5deg) scale(1.04);
}

.caremax-doctor-method {
    position: relative;
    overflow: hidden;
    padding: 88px 0 108px;
    background:
        linear-gradient(118deg, transparent 0 52%, rgba(0, 138, 200, 0.055) 52% 65%, transparent 65% 100%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
}

.caremax-doctor-method-head {
    max-width: 820px;
    margin-bottom: 38px;
}

.caremax-doctor-method-head h2 {
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(32px, 3.3vw, 50px);
    line-height: 1.05;
    font-weight: 900;
}

.caremax-doctor-method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.caremax-doctor-method-grid article {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 30px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(16, 36, 47, 0.055);
    transition: transform 440ms cubic-bezier(.2, .8, .2, 1), box-shadow 440ms ease, border-color 440ms ease;
}

.caremax-doctor-method-grid article:after {
    position: absolute;
    content: '';
    right: -16%;
    top: -52%;
    width: 34%;
    height: 178%;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.06), transparent);
    transform: rotate(18deg);
    transition: transform 520ms ease;
}

.caremax-doctor-method-grid span {
    display: block;
    margin-bottom: 30px;
    color: var(--caremax-blue);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    transition: color 360ms ease, transform 440ms ease;
}

.caremax-doctor-method-grid h3 {
    margin: 0 0 10px;
    color: var(--caremax-ink);
    font-size: 23px;
    line-height: 1.18;
    font-weight: 900;
}

.caremax-doctor-method-grid p {
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.62;
    font-weight: 500;
}

.caremax-doctor-method-grid article:hover {
    border-color: rgba(0, 138, 200, 0.24);
    box-shadow: 0 26px 62px rgba(16, 36, 47, 0.10);
    transform: translateY(-7px);
}

.caremax-doctor-method-grid article:hover:after {
    transform: rotate(9deg) translateX(-24px);
}

.caremax-doctor-method-grid article:hover span {
    color: var(--caremax-green);
    transform: translateY(-4px);
}

@media only screen and (max-width: 1100px) {
    .caremax-doctor-hero-grid,
    .caremax-doctor-overview-grid {
        grid-template-columns: 1fr;
    }

    .caremax-doctor-hero-copy {
        max-width: 780px;
    }

    .caremax-doctor-visual {
        min-height: 430px;
        width: min(780px, 100%);
    }

    .caremax-doctor-side {
        position: relative;
        top: auto;
    }
}

@media only screen and (max-width: 767px) {
    .caremax-doctor-hero {
        padding: 66px 0 60px;
    }

    .caremax-doctor-kicker {
        font-size: 12px;
    }

    .caremax-doctor-kicker:before {
        width: 42px;
    }

    .caremax-doctor-hero-copy h1 {
        font-size: 32px;
    }

    .caremax-doctor-hero-copy p {
        font-size: 16px;
    }

    .caremax-doctor-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .caremax-doctor-actions .theme-btn.btn-one,
    .caremax-doctor-call {
        justify-content: center;
        width: 100%;
    }

    .caremax-doctor-visual {
        min-height: 360px;
    }

    .caremax-doctor-visual figure {
        inset: 0 0 28px 18px;
    }

    .caremax-doctor-visit-card {
        right: 16px;
        padding: 16px 18px;
    }

    .caremax-doctor-visit-card strong {
        font-size: 15px;
    }

    .caremax-doctor-overview {
        padding: 66px 0 78px;
    }

    .caremax-doctor-side,
    .caremax-doctor-panel {
        padding: 26px;
    }

    .caremax-doctor-side h2 {
        font-size: 26px;
    }

    .caremax-doctor-panel h2 {
        font-size: 28px;
    }

    .caremax-doctor-feature-grid,
    .caremax-doctor-method-grid {
        grid-template-columns: 1fr;
    }

    .caremax-doctor-feature-grid article,
    .caremax-doctor-method-grid article {
        min-height: 0;
        padding: 24px;
    }

    .caremax-doctor-method {
        padding: 66px 0 78px;
    }

    .caremax-doctor-method-head {
        margin-bottom: 28px;
    }

    .caremax-doctor-method-head h2 {
        font-size: 30px;
    }
}

@media only screen and (max-width: 420px) {
    .caremax-doctor-hero-copy h1 {
        font-size: 30px;
    }

    .caremax-doctor-visual {
        min-height: 330px;
    }

    .caremax-doctor-side,
    .caremax-doctor-panel {
        padding: 22px;
    }
}

/* Contact page redesign */

.caremax-contact-hero,
.caremax-contact-page {
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 108px 0 82px;
    background:
        linear-gradient(118deg, transparent 0 52%, rgba(0, 138, 200, 0.055) 52% 66%, transparent 66% 100%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
}

.caremax-contact-hero:after {
    position: absolute;
    content: '';
    left: max(24px, calc((100vw - 1170px) / 2));
    right: max(24px, calc((100vw - 1170px) / 2));
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.22), rgba(156, 203, 58, 0.24), transparent);
    pointer-events: none;
}

.caremax-contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(410px, 0.78fr);
    gap: 66px;
    align-items: center;
}

.caremax-contact-kicker,
.caremax-contact-form-kicker,
.caremax-contact-map-head span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-contact-kicker:before,
.caremax-contact-form-kicker:before,
.caremax-contact-map-head span:before {
    content: '';
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-contact-hero-copy h1 {
    margin: 0 0 20px;
    color: var(--caremax-ink);
    font-size: 56px;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-contact-hero-copy p {
    max-width: 670px;
    margin: 0;
    color: var(--caremax-muted);
    font-size: 18px;
    line-height: 1.72;
    font-weight: 500;
}

.caremax-contact-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.caremax-contact-actions .theme-btn.btn-one {
    min-height: 54px;
    padding: 15px 26px;
    border-radius: 8px;
    background: var(--caremax-blue);
    box-shadow: 0 16px 34px rgba(0, 138, 200, 0.22);
    font-weight: 900;
}

.caremax-contact-actions .theme-btn.btn-one:hover {
    background: var(--caremax-blue-dark);
    box-shadow: 0 22px 42px rgba(0, 138, 200, 0.30);
    transform: translateY(-3px);
}

.caremax-contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 18px;
    border: 1px solid rgba(0, 138, 200, 0.15);
    border-radius: 8px;
    color: var(--caremax-blue-dark);
    background: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    transition: color 320ms ease, border-color 320ms ease, background 320ms ease, transform 320ms ease;
}

.caremax-contact-mail:after {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
    transition: width 320ms ease, background 320ms ease;
}

.caremax-contact-mail:hover {
    color: var(--caremax-blue);
    border-color: rgba(0, 138, 200, 0.28);
    background: #ffffff;
    transform: translateY(-3px);
}

.caremax-contact-mail:hover:after {
    width: 42px;
    background: var(--caremax-blue);
}

.caremax-contact-hero-visual {
    position: relative;
}

.caremax-contact-hero-visual:before {
    position: absolute;
    content: '';
    right: -16px;
    top: -16px;
    z-index: -1;
    width: 74%;
    height: 70%;
    border: 1px solid rgba(0, 138, 200, 0.22);
    border-radius: 8px;
    transform: rotate(2deg);
    transition: transform 520ms ease, border-color 520ms ease;
}

.caremax-contact-hero-visual figure {
    position: relative;
    display: block;
    height: 500px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--caremax-ink);
    box-shadow: 0 30px 80px rgba(16, 36, 47, 0.13);
}

.caremax-contact-hero-visual figure:before {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(16, 36, 47, 0.04) 0%, rgba(16, 36, 47, 0.58) 100%),
        linear-gradient(90deg, rgba(0, 138, 200, 0.12), transparent 58%);
    pointer-events: none;
}

.caremax-contact-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    filter: saturate(0.96) contrast(1.03);
    transition: transform 820ms ease, filter 820ms ease;
}

.caremax-contact-hero-note {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    padding: 19px 22px;
    border-left: 4px solid var(--caremax-green);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 56px rgba(16, 36, 47, 0.16);
    backdrop-filter: blur(14px);
    transition: transform 460ms ease, box-shadow 460ms ease;
}

.caremax-contact-hero-note span {
    display: block;
    margin-bottom: 7px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-contact-hero-note strong {
    display: block;
    color: var(--caremax-ink);
    font-size: 18px;
    line-height: 1.38;
    font-weight: 900;
}

.caremax-contact-hero-visual:hover:before {
    border-color: rgba(0, 138, 200, 0.34);
    transform: rotate(0deg) translate(8px, 6px);
}

.caremax-contact-hero-visual:hover img {
    filter: saturate(1.02) contrast(1.05);
    transform: scale(1.045);
}

.caremax-contact-hero-visual:hover .caremax-contact-hero-note {
    box-shadow: 0 28px 64px rgba(16, 36, 47, 0.18);
    transform: translateY(-6px);
}

.caremax-contact-page {
    position: relative;
    overflow: hidden;
    padding: 72px 0 106px;
    background: #ffffff;
}

.caremax-contact-page:before {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(124deg, transparent 0 54%, rgba(0, 138, 200, 0.045) 54% 66%, transparent 66% 100%);
    pointer-events: none;
}

.caremax-contact-page .auto-container {
    position: relative;
    z-index: 2;
}

.caremax-contact-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.caremax-contact-channel {
    position: relative;
    overflow: hidden;
    min-height: 204px;
    padding: 26px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 42px rgba(16, 36, 47, 0.055);
    transition: transform 420ms cubic-bezier(.2, .8, .2, 1), box-shadow 420ms ease, border-color 420ms ease, background 420ms ease;
}

.caremax-contact-channel:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleX(0.18);
    transform-origin: left;
    transition: transform 420ms ease;
}

.caremax-contact-channel i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 8px;
    color: var(--caremax-blue);
    background: rgba(0, 138, 200, 0.09);
    font-size: 18px;
    transition: color 360ms ease, background 360ms ease, transform 360ms ease;
}

.caremax-contact-channel span {
    display: block;
    margin-bottom: 9px;
    color: var(--caremax-green);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-contact-channel h3 {
    margin: 0 0 10px;
    color: var(--caremax-ink);
    font-size: 21px;
    line-height: 1.22;
    font-weight: 900;
}

.caremax-contact-channel p,
.caremax-contact-channel a {
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.62;
    font-weight: 500;
}

.caremax-contact-channel a:hover {
    color: var(--caremax-blue-dark);
}

.caremax-contact-channel:hover {
    border-color: rgba(0, 138, 200, 0.24);
    background: #ffffff;
    box-shadow: 0 24px 58px rgba(16, 36, 47, 0.10);
    transform: translateY(-6px);
}

.caremax-contact-channel:hover:before {
    transform: scaleX(1);
}

.caremax-contact-channel:hover i {
    color: #ffffff;
    background: var(--caremax-blue);
    transform: rotate(-5deg) scale(1.04);
}

.caremax-contact-workspace {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.72fr);
    gap: 24px;
    align-items: stretch;
}

.caremax-contact-map,
.caremax-contact-form-card {
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 58px rgba(16, 36, 47, 0.075);
}

.caremax-contact-map {
    display: grid;
    min-height: 100%;
    overflow: hidden;
}

.caremax-contact-map-head {
    padding: 32px 32px 24px;
}

.caremax-contact-map-head h2 {
    max-width: none;
    margin: 0 0 12px;
    color: var(--caremax-ink);
    font-size: 24px;
    line-height: 1.16;
    font-weight: 900;
    white-space: nowrap;
}

.caremax-contact-map-head p {
    max-width: 560px;
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-contact-map-frame {
    min-height: 360px;
    overflow: hidden;
    border-top: 1px solid rgba(16, 36, 47, 0.08);
    background: #eaf5f8;
}

.caremax-contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    filter: saturate(0.88) contrast(1.02);
}

.caremax-contact-form-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
}

.caremax-contact-form-card:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--caremax-blue), var(--caremax-green));
}

.caremax-contact-form-card h2 {
    margin: 0 0 12px;
    color: var(--caremax-ink);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
    font-weight: 900;
}

.caremax-contact-form-card > p {
    max-width: 460px;
    margin: 0 0 24px;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-contact-form-status .alert {
    border: 0;
    border-radius: 8px;
    font-weight: 700;
}

.caremax-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.caremax-contact-form-grid .form-group {
    margin: 0;
}

.caremax-contact-form-grid input,
.caremax-contact-form-grid textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    color: var(--caremax-ink);
    background: #f8fcfd;
    font-family: 'Inter', 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 600;
    outline: 0;
    transition: border-color 280ms ease, background 280ms ease, box-shadow 280ms ease, transform 280ms ease;
}

.caremax-contact-form-grid textarea {
    min-height: 132px;
    resize: vertical;
}

.caremax-contact-form-grid input::placeholder,
.caremax-contact-form-grid textarea::placeholder {
    color: rgba(96, 113, 122, 0.86);
}

.caremax-contact-form-grid input:focus,
.caremax-contact-form-grid textarea:focus {
    border-color: rgba(0, 138, 200, 0.36);
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 138, 200, 0.08);
    transform: translateY(-2px);
}

.caremax-contact-form-wide {
    grid-column: 1 / -1;
}

.caremax-contact-form-grid .theme-btn.btn-one {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 8px;
    background: var(--caremax-blue);
    box-shadow: 0 16px 34px rgba(0, 138, 200, 0.22);
    font-weight: 900;
}

.caremax-contact-form-grid .theme-btn.btn-one:hover {
    background: var(--caremax-blue-dark);
    box-shadow: 0 22px 42px rgba(0, 138, 200, 0.30);
    transform: translateY(-3px);
}

@media only screen and (max-width: 1100px) {
    .caremax-contact-hero {
        padding: 86px 0 72px;
    }

    .caremax-contact-hero-grid,
    .caremax-contact-workspace {
        grid-template-columns: 1fr;
    }

    .caremax-contact-hero-grid {
        gap: 40px;
    }

    .caremax-contact-hero-visual {
        width: min(680px, 100%);
    }

    .caremax-contact-hero-visual figure {
        height: 410px;
    }

    .caremax-contact-channels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 767px) {
    .caremax-contact-hero {
        padding: 68px 0 56px;
    }

    .caremax-contact-hero-copy h1 {
        font-size: 34px;
    }

    .caremax-contact-hero-copy p {
        font-size: 16px;
    }

    .caremax-contact-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .caremax-contact-actions .theme-btn.btn-one,
    .caremax-contact-mail {
        justify-content: center;
        width: 100%;
    }

    .caremax-contact-hero-visual figure {
        height: 330px;
    }

    .caremax-contact-hero-note {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px 18px;
    }

    .caremax-contact-hero-note strong {
        font-size: 15px;
    }

    .caremax-contact-page {
        padding: 52px 0 72px;
    }

    .caremax-contact-channels,
    .caremax-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .caremax-contact-channel {
        min-height: 0;
        padding: 24px;
    }

    .caremax-contact-map-head,
    .caremax-contact-form-card {
        padding: 26px;
    }

    .caremax-contact-map-head h2 {
        font-size: 20px;
    }

    .caremax-contact-map-frame,
    .caremax-contact-map-frame iframe {
        min-height: 300px;
    }
}

@media only screen and (max-width: 420px) {
    .caremax-contact-hero-copy h1 {
        font-size: 30px;
    }

    .caremax-contact-mail {
        font-size: 12px;
    }

    .caremax-contact-hero-visual figure {
        height: 292px;
    }

    .caremax-contact-map-head {
        padding: 22px 12px;
    }

    .caremax-contact-form-card {
        padding: 22px 16px;
    }

    .caremax-contact-map-head h2 {
        font-size: 12px;
        line-height: 1.2;
    }
}

/* Who We Are page redesign */

.caremax-about-page-hero,
.caremax-about-page-story,
.caremax-about-page-standard,
.caremax-about-page-values {
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-about-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 104px 0 92px;
    background:
        linear-gradient(122deg, transparent 0 56%, rgba(0, 138, 200, 0.06) 56% 70%, transparent 70% 100%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
}

.caremax-about-page-hero:before {
    position: absolute;
    content: '';
    left: max(22px, calc((100vw - 1170px) / 2));
    top: 98px;
    width: 118px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--caremax-green), var(--caremax-blue));
    animation: caremax-about-page-line 4.8s ease-in-out infinite;
}

.caremax-about-page-hero:after {
    position: absolute;
    content: '';
    right: -12vw;
    bottom: -26vw;
    width: 46vw;
    height: 46vw;
    border: 1px solid rgba(0, 138, 200, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

.caremax-about-page-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.82fr);
    gap: 46px;
    align-items: center;
}

.caremax-about-page-copy {
    max-width: 690px;
}

.caremax-about-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-about-page-kicker:before {
    content: '';
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-about-page-copy h1 {
    margin: 0 0 22px;
    color: var(--caremax-ink);
    font-size: clamp(30px, 3.05vw, 46px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.caremax-about-page-copy p {
    max-width: 650px;
    margin: 0 0 16px;
    color: var(--caremax-muted);
    font-size: 17px;
    line-height: 1.76;
    font-weight: 500;
}

.caremax-about-page-copy .caremax-about-page-lead {
    max-width: 630px;
    color: var(--caremax-ink);
    font-size: 22px;
    line-height: 1.44;
    font-weight: 900;
}

.caremax-about-page-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.caremax-about-page-actions .theme-btn.btn-one {
    min-height: 54px;
    padding: 15px 26px;
    border-radius: 8px;
    background: var(--caremax-blue);
    box-shadow: 0 16px 34px rgba(0, 138, 200, 0.22);
    font-weight: 900;
}

.caremax-about-page-actions .theme-btn.btn-one:hover {
    background: var(--caremax-blue-dark);
    box-shadow: 0 22px 42px rgba(0, 138, 200, 0.30);
    transform: translateY(-3px);
}

.caremax-about-page-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 14px 18px;
    border: 1px solid rgba(0, 138, 200, 0.16);
    border-radius: 8px;
    color: var(--caremax-blue-dark);
    background: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    transition: color 320ms ease, border-color 320ms ease, background 320ms ease, transform 320ms ease;
}

.caremax-about-page-link:after {
    content: '';
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: var(--caremax-green);
    transition: width 320ms ease, background 320ms ease;
}

.caremax-about-page-link:hover {
    color: var(--caremax-blue);
    border-color: rgba(0, 138, 200, 0.30);
    background: #ffffff;
    transform: translateY(-3px);
}

.caremax-about-page-link:hover:after {
    width: 46px;
    background: var(--caremax-blue);
}

.caremax-about-page-mosaic {
    position: relative;
    min-height: 560px;
}

.caremax-about-page-mosaic:before {
    position: absolute;
    content: '';
    right: 18px;
    top: 0;
    z-index: -1;
    width: 78%;
    height: 76%;
    border: 1px solid rgba(0, 138, 200, 0.22);
    border-radius: 8px;
    transform: rotate(2deg);
    transition: transform 620ms ease, border-color 620ms ease;
}

.caremax-about-page-main-photo,
.caremax-about-page-small-photo {
    position: absolute;
    display: block;
    overflow: hidden;
    margin: 0;
    border-radius: 8px;
    background: var(--caremax-ink);
    box-shadow: 0 30px 80px rgba(16, 36, 47, 0.15);
}

.caremax-about-page-main-photo {
    right: 0;
    top: 42px;
    width: 76%;
    height: 442px;
}

.caremax-about-page-small-photo {
    border: 10px solid #ffffff;
}

.caremax-about-page-small-one {
    left: 0;
    top: 0;
    width: 46%;
    height: 226px;
}

.caremax-about-page-small-two {
    left: 28px;
    bottom: 10px;
    width: 42%;
    height: 205px;
}

.caremax-about-page-main-photo:after,
.caremax-about-page-small-photo:after {
    position: absolute;
    content: '';
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 36, 47, 0.02), rgba(16, 36, 47, 0.32)),
        linear-gradient(90deg, rgba(0, 138, 200, 0.11), transparent 58%);
    pointer-events: none;
}

.caremax-about-page-mosaic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.03);
    transition: transform 840ms ease, filter 840ms ease;
}

.caremax-about-page-main-photo img {
    object-position: center 34%;
}

.caremax-about-page-floating {
    position: absolute;
    right: 28px;
    bottom: 30px;
    z-index: 4;
    width: min(330px, 64%);
    padding: 20px 22px;
    border-left: 4px solid var(--caremax-green);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 58px rgba(16, 36, 47, 0.15);
    backdrop-filter: blur(14px);
    transition: transform 520ms ease, box-shadow 520ms ease;
}

.caremax-about-page-floating span {
    display: block;
    margin-bottom: 7px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-about-page-floating strong {
    display: block;
    color: var(--caremax-ink);
    font-size: 18px;
    line-height: 1.36;
    font-weight: 900;
}

.caremax-about-page-mosaic:hover:before {
    border-color: rgba(0, 138, 200, 0.36);
    transform: rotate(0deg) translate(9px, 8px);
}

.caremax-about-page-mosaic:hover img {
    filter: saturate(1.03) contrast(1.05);
    transform: scale(1.045);
}

.caremax-about-page-mosaic:hover .caremax-about-page-small-one {
    transform: translate(-8px, 8px);
}

.caremax-about-page-mosaic:hover .caremax-about-page-small-two {
    transform: translate(10px, -8px);
}

.caremax-about-page-mosaic:hover .caremax-about-page-floating {
    box-shadow: 0 30px 68px rgba(16, 36, 47, 0.18);
    transform: translateY(-7px);
}

.caremax-about-page-story {
    position: relative;
    overflow: hidden;
    padding: 86px 0 78px;
    background: #ffffff;
}

.caremax-about-page-story:before {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(124deg, transparent 0 48%, rgba(156, 203, 58, 0.07) 48% 58%, transparent 58% 100%);
    pointer-events: none;
}

.caremax-about-page-story .auto-container {
    position: relative;
    z-index: 2;
}

.caremax-about-page-story-grid {
    display: block;
    width: 100%;
    margin-bottom: 34px;
}

.caremax-about-page-statement h2,
.caremax-about-page-standard-copy h2,
.caremax-about-page-values-head h2 {
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(32px, 3.55vw, 50px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-about-page-statement {
    width: 100%;
}

.caremax-about-page-statement h2 {
    max-width: 1120px;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.12;
}

.caremax-about-page-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.caremax-about-page-mission {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(16, 36, 47, 0.055);
    transition: transform 440ms cubic-bezier(.2, .8, .2, 1), box-shadow 440ms ease, border-color 440ms ease, background 440ms ease;
}

.caremax-about-page-mission:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleX(0.16);
    transform-origin: left;
    transition: transform 440ms ease;
}

.caremax-about-page-mission i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: var(--caremax-blue);
    background: rgba(0, 138, 200, 0.09);
    font-size: 18px;
    transition: color 360ms ease, background 360ms ease, transform 360ms ease;
}

.caremax-about-page-mission span {
    display: block;
    margin-bottom: 10px;
    color: var(--caremax-ink);
    font-size: 23px;
    line-height: 1.2;
    font-weight: 900;
}

.caremax-about-page-mission p {
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-about-page-mission:hover {
    border-color: rgba(0, 138, 200, 0.24);
    background: #ffffff;
    box-shadow: 0 26px 62px rgba(16, 36, 47, 0.10);
    transform: translateY(-7px);
}

.caremax-about-page-mission:hover:before {
    transform: scaleX(1);
}

.caremax-about-page-mission:hover i {
    color: #ffffff;
    background: var(--caremax-blue);
    transform: rotate(-5deg) scale(1.04);
}

.caremax-about-page-standard {
    position: relative;
    z-index: 120;
    isolation: isolate;
    overflow: hidden;
    padding: 96px 0 104px;
    background:
        linear-gradient(118deg, rgba(0, 138, 200, 0.20) 0%, transparent 44%),
        linear-gradient(302deg, rgba(156, 203, 58, 0.10) 0%, transparent 38%),
        linear-gradient(180deg, #10242f 0%, #0b1a22 100%);
}

.caremax-about-page-standard:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(156, 203, 58, 0.55), rgba(0, 138, 200, 0.55), transparent);
}

.caremax-about-page-standard:after {
    position: absolute;
    content: '';
    right: -18vw;
    top: -20vw;
    width: 42vw;
    height: 42vw;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.caremax-about-page-standard .auto-container {
    position: relative;
    z-index: 2;
}

.caremax-about-page-standard-head {
    display: block;
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    margin-bottom: 44px;
}

.caremax-about-page-standard-head .caremax-about-page-kicker {
    justify-content: center;
    color: #ffffff;
}

.caremax-about-page-standard-head h2 {
    max-width: 1280px;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(28px, 2.7vw, 38px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-about-page-standard-head h2 span {
    position: relative;
    display: inline-block;
    padding-left: 120px;
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.caremax-about-page-standard-head h2 span:before {
    position: absolute;
    content: '';
    left: 0;
    top: 50%;
    width: 88px;
    height: 4px;
    border-radius: 999px;
    background: #a5cf38;
    transform: translateY(-50%);
}

.caremax-about-page-standard-head h2 br {
    display: block;
}

@media only screen and (min-width: 421px) {
    .caremax-about-page-standard-head h2 {
        white-space: nowrap;
    }
}

.caremax-about-page-standard-head p {
    max-width: 690px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.72;
    font-weight: 500;
}

.caremax-about-page-standard-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.caremax-about-page-standard-visual {
    position: relative;
    min-height: 520px;
}

.caremax-about-page-standard-visual:before {
    position: absolute;
    content: '';
    left: -18px;
    top: 22px;
    z-index: -1;
    width: 84%;
    height: 78%;
    border: 1px solid rgba(156, 203, 58, 0.30);
    border-radius: 8px;
    transform: rotate(-1.5deg);
    transition: transform 520ms ease, border-color 520ms ease;
}

.caremax-about-page-standard-visual figure {
    position: relative;
    display: block;
    height: 520px;
    overflow: hidden;
    margin: 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #ffffff;
    box-shadow: 0 34px 86px rgba(0, 0, 0, 0.24);
}

.caremax-about-page-standard-visual figure:after {
    position: absolute;
    content: '';
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 36, 47, 0.02), rgba(16, 36, 47, 0.56)),
        linear-gradient(90deg, rgba(0, 138, 200, 0.14), transparent 58%);
    pointer-events: none;
}

.caremax-about-page-standard-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    filter: saturate(0.96) contrast(1.04);
    transition: transform 820ms ease, filter 820ms ease;
}

.caremax-about-page-standard-visual:hover:before {
    border-color: rgba(156, 203, 58, 0.52);
    transform: rotate(0deg) translate(-9px, 8px);
}

.caremax-about-page-standard-visual:hover img {
    filter: saturate(1.03) contrast(1.06);
    transform: scale(1.045);
}

.caremax-about-page-standard-note {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    padding: 20px 22px;
    border-left: 4px solid var(--caremax-green);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    transition: transform 420ms ease, box-shadow 420ms ease;
}

.caremax-about-page-standard-note span {
    display: block;
    margin-bottom: 7px;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-about-page-standard-note strong {
    display: block;
    color: var(--caremax-ink);
    font-size: 18px;
    line-height: 1.38;
    font-weight: 900;
}

.caremax-about-page-standard-visual:hover .caremax-about-page-standard-note {
    box-shadow: 0 30px 68px rgba(0, 0, 0, 0.22);
    transform: translateY(-7px);
}

.caremax-about-page-reasons {
    display: grid;
    gap: 16px;
}

.caremax-about-page-reasons article {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    overflow: hidden;
    min-height: 154px;
    padding: 26px 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.055)),
        rgba(255, 255, 255, 0.055);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.11);
    transition: transform 420ms cubic-bezier(.2, .8, .2, 1), border-color 420ms ease, background 420ms ease, box-shadow 420ms ease;
}

.caremax-about-page-reasons article:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleX(0.18);
    transform-origin: left;
    transition: transform 420ms ease;
}

.caremax-about-page-reasons article:after {
    position: absolute;
    content: '';
    right: -40px;
    top: -40px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: rgba(0, 138, 200, 0.10);
    transform: scale(0.74);
    opacity: 0;
    transition: opacity 420ms ease, transform 420ms ease;
}

.caremax-about-page-reasons article > * {
    position: relative;
    z-index: 2;
}

.caremax-about-page-reasons i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    grid-row: 1 / span 2;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(0, 138, 200, 0.82);
    font-size: 18px;
    transition: background 360ms ease, transform 360ms ease;
}

.caremax-about-page-reasons h3 {
    grid-column: 2;
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
}

.caremax-about-page-reasons p {
    grid-column: 2;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.64;
    font-weight: 500;
}

.caremax-about-page-reasons article:hover {
    border-color: rgba(156, 203, 58, 0.36);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.075)),
        rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 64px rgba(0, 0, 0, 0.15);
    transform: translateX(8px) translateY(-3px);
}

.caremax-about-page-reasons article:hover:before {
    transform: scaleX(1);
}

.caremax-about-page-reasons article:hover:after {
    opacity: 1;
    transform: scale(1);
}

.caremax-about-page-reasons article:hover i {
    background: var(--caremax-green);
    transform: rotate(-5deg) scale(1.05);
}

.caremax-about-page-values {
    position: relative;
    z-index: 120;
    isolation: isolate;
    overflow: hidden;
    padding: 104px 0 118px;
    background:
        linear-gradient(118deg, rgba(0, 138, 200, 0.055) 0%, transparent 36%),
        linear-gradient(305deg, rgba(156, 203, 58, 0.08) 0%, transparent 34%),
        #ffffff;
}

.caremax-about-page-values:before {
    position: absolute;
    content: '';
    left: max(24px, calc((100vw - 1170px) / 2));
    right: max(24px, calc((100vw - 1170px) / 2));
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.25), rgba(156, 203, 58, 0.32), transparent);
}

.caremax-about-page-values:after {
    position: absolute;
    content: '';
    left: 10%;
    top: -12%;
    z-index: -1;
    width: 22%;
    height: 128%;
    background: linear-gradient(180deg, transparent, rgba(156, 203, 58, 0.08), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
}

.caremax-about-page-values .auto-container {
    position: relative;
    z-index: 2;
}

.caremax-about-page-values-head {
    max-width: 760px;
    margin-bottom: 44px;
}

.caremax-about-page-values-head p {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--caremax-muted);
    font-size: 17px;
    line-height: 1.72;
    font-weight: 500;
}

.caremax-about-page-values-stage {
    display: grid;
    grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1fr);
    gap: 34px;
    align-items: stretch;
}

.caremax-about-page-values-note {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 38px 38px 62px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 138, 200, 0.08), transparent 48%),
        rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 64px rgba(16, 36, 47, 0.08);
    transition: transform 520ms cubic-bezier(.2, .8, .2, 1), box-shadow 520ms ease;
}

.caremax-about-page-values-note:before {
    position: absolute;
    content: '';
    left: 38px;
    right: 38px;
    bottom: 34px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleX(0.22);
    transform-origin: left;
    transition: transform 520ms ease;
}

.caremax-about-page-values-note:after {
    position: absolute;
    content: '';
    right: -18%;
    top: -12%;
    width: 44%;
    height: 72%;
    border: 1px solid rgba(0, 138, 200, 0.10);
    transform: rotate(-14deg);
    transition: transform 520ms ease, border-color 520ms ease;
}

.caremax-about-page-values-note span {
    display: block;
    margin-bottom: 18px;
    color: var(--caremax-blue);
    font-size: 13px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.caremax-about-page-values-note h3 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(28px, 2.7vw, 38px);
    line-height: 1.1;
    font-weight: 900;
}

.caremax-about-page-values-note p {
    position: relative;
    z-index: 2;
    max-width: 390px;
    margin: 22px 0 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.72;
    font-weight: 500;
}

.caremax-about-page-values-note:hover {
    box-shadow: 0 34px 80px rgba(16, 36, 47, 0.12);
    transform: translateY(-7px);
}

.caremax-about-page-values-note:hover:before {
    transform: scaleX(1);
}

.caremax-about-page-values-note:hover:after {
    border-color: rgba(156, 203, 58, 0.28);
    transform: rotate(-7deg) translate(-8px, 12px);
}

.caremax-about-page-values-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-content: center;
}

.caremax-about-page-values-grid:before {
    position: absolute;
    content: '';
    left: 41px;
    top: 32px;
    bottom: 32px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0, 138, 200, 0.22), rgba(156, 203, 58, 0.28), transparent);
    pointer-events: none;
}

.caremax-about-page-value {
    position: relative;
    overflow: hidden;
    z-index: 2;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    min-height: 164px;
    padding: 25px 28px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(0, 138, 200, 0.045), transparent 44%),
        rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 52px rgba(16, 36, 47, 0.06);
    backdrop-filter: blur(12px);
    transition: transform 500ms cubic-bezier(.2, .8, .2, 1), box-shadow 500ms ease, border-color 500ms ease, background 500ms ease;
}

.caremax-about-page-value:before {
    position: absolute;
    content: '';
    inset: 0 auto 0 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(90deg, var(--caremax-blue), var(--caremax-green));
    transform: scaleY(0.28);
    transform-origin: top;
    transition: transform 500ms ease;
}

.caremax-about-page-value:after {
    position: absolute;
    content: '';
    right: -14%;
    top: -44%;
    width: 30%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
    opacity: 0;
    transform: translateX(-140%) rotate(18deg);
    transition: opacity 520ms ease, transform 520ms ease;
}

.caremax-about-page-value:nth-child(2) {
    margin-left: 34px;
}

.caremax-about-page-value:nth-child(3) {
    margin-left: 68px;
}

.caremax-about-page-value figure {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin: 0;
    border: 1px solid rgba(0, 138, 200, 0.10);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 36, 47, 0.06);
    transition: background 420ms ease, border-color 420ms ease, transform 420ms ease, box-shadow 420ms ease;
}

.caremax-about-page-value img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: transform 420ms ease;
}

.caremax-about-page-value div {
    position: relative;
    z-index: 2;
}

.caremax-about-page-value span {
    display: block;
    margin-bottom: 8px;
    color: var(--caremax-blue);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: color 420ms ease;
}

.caremax-about-page-value h3 {
    margin: 0 0 9px;
    color: var(--caremax-ink);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
    transition: color 420ms ease;
}

.caremax-about-page-value p {
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.62;
    font-weight: 500;
    transition: color 420ms ease;
}

.caremax-about-page-value:hover {
    border-color: rgba(0, 138, 200, 0.28);
    background:
        linear-gradient(90deg, rgba(0, 138, 200, 0.08), rgba(156, 203, 58, 0.07)),
        #ffffff;
    box-shadow: 0 28px 68px rgba(16, 36, 47, 0.12);
    transform: translateX(-10px) translateY(-4px);
}

.caremax-about-page-value:hover:before {
    transform: scaleY(1);
}

.caremax-about-page-value:hover:after {
    opacity: 1;
    transform: translateX(190%) rotate(18deg);
}

.caremax-about-page-value:hover figure {
    border-color: rgba(156, 203, 58, 0.30);
    background: rgba(156, 203, 58, 0.13);
    box-shadow: 0 20px 44px rgba(16, 36, 47, 0.10);
    transform: translateY(-3px) rotate(-3deg);
}

.caremax-about-page-value:hover img {
    transform: scale(1.08);
}

.caremax-about-page-value:hover span {
    color: var(--caremax-green);
}

@keyframes caremax-about-page-line {
    0%,
    100% {
        transform: scaleX(0.58);
        transform-origin: left;
    }

    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
}

@media only screen and (max-width: 1100px) {
    .caremax-about-page-hero {
        padding: 84px 0 78px;
    }

    .caremax-about-page-hero-grid,
    .caremax-about-page-story-grid,
    .caremax-about-page-standard-grid {
        grid-template-columns: 1fr;
    }

    .caremax-about-page-copy {
        max-width: 780px;
    }

    .caremax-about-page-mosaic {
        width: min(760px, 100%);
    }

    .caremax-about-page-standard-visual {
        width: min(720px, 100%);
    }

    .caremax-about-page-standard-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .caremax-about-page-values-stage {
        grid-template-columns: 1fr;
    }

    .caremax-about-page-values-note {
        min-height: auto;
    }
}

@media only screen and (max-width: 767px) {
    .caremax-about-page-hero {
        padding: 68px 0 58px;
    }

    .caremax-about-page-hero-grid {
        gap: 40px;
    }

    .caremax-about-page-copy h1 {
        font-size: 31px;
    }

    .caremax-about-page-copy .caremax-about-page-lead {
        font-size: 18px;
    }

    .caremax-about-page-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .caremax-about-page-actions .theme-btn.btn-one,
    .caremax-about-page-link {
        justify-content: center;
        width: 100%;
    }

    .caremax-about-page-mosaic {
        min-height: 620px;
    }

    .caremax-about-page-main-photo {
        top: 64px;
        width: 100%;
        height: 370px;
    }

    .caremax-about-page-small-one {
        width: 54%;
        height: 170px;
    }

    .caremax-about-page-small-two {
        left: 0;
        bottom: 0;
        width: 52%;
        height: 168px;
    }

    .caremax-about-page-floating {
        right: 16px;
        bottom: 28px;
        width: 68%;
        padding: 16px 18px;
    }

    .caremax-about-page-floating strong {
        font-size: 15px;
    }

    .caremax-about-page-story {
        padding: 62px 0;
    }

    .caremax-about-page-story-grid {
        gap: 24px;
    }

    .caremax-about-page-statement h2,
    .caremax-about-page-standard-copy h2,
    .caremax-about-page-values-head h2 {
        font-size: 28px;
    }

    .caremax-about-page-statement h2 {
        font-size: 20px;
        line-height: 1.25;
    }

    .caremax-about-page-mission-grid,
    .caremax-about-page-values-grid {
        grid-template-columns: 1fr;
    }

    .caremax-about-page-mission {
        padding: 24px;
    }

    .caremax-about-page-standard {
        padding: 66px 0 86px;
    }

    .caremax-about-page-standard-head {
        margin-bottom: 28px;
    }

    .caremax-about-page-standard-head h2 {
        font-size: 18px;
        line-height: 1.22;
    }

    .caremax-about-page-standard-head h2 span {
        padding-left: 88px;
        font-size: 13px;
    }

    .caremax-about-page-standard-head h2 span:before {
        width: 64px;
    }

    .caremax-about-page-standard-head p {
        font-size: 15px;
    }

    .caremax-about-page-standard-grid {
        gap: 34px;
    }

    .caremax-about-page-standard-visual {
        min-height: 380px;
    }

    .caremax-about-page-standard-visual figure {
        height: 360px;
    }

    .caremax-about-page-standard-note {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px 18px;
    }

    .caremax-about-page-standard-note strong {
        font-size: 15px;
    }

    .caremax-about-page-reasons article {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 16px;
        min-height: 0;
        padding: 22px;
    }

    .caremax-about-page-reasons article:after {
        display: none;
    }

    .caremax-about-page-reasons article:hover {
        transform: translateY(-4px);
    }

    .caremax-about-page-values {
        padding: 66px 0 78px;
    }

    .caremax-about-page-values-head {
        margin-bottom: 28px;
    }

    .caremax-about-page-values-head p {
        font-size: 15px;
    }

    .caremax-about-page-values-stage {
        gap: 22px;
    }

    .caremax-about-page-values-note {
        padding: 28px 28px 54px;
    }

    .caremax-about-page-values-note h3 {
        font-size: 26px;
    }

    .caremax-about-page-values-note p {
        font-size: 14px;
    }

    .caremax-about-page-values-grid:before {
        display: none;
    }

    .caremax-about-page-value {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 18px;
        min-height: 0;
        padding: 24px;
    }

    .caremax-about-page-value:nth-child(2),
    .caremax-about-page-value:nth-child(3) {
        margin-left: 0;
    }

    .caremax-about-page-value figure {
        width: 68px;
        height: 68px;
    }

    .caremax-about-page-value img {
        width: 36px;
        height: 36px;
    }
}

@media only screen and (max-width: 420px) {
    .caremax-about-page-copy h1 {
        font-size: 22px;
    }

    .caremax-about-page-copy p {
        font-size: 15px;
    }

    .caremax-about-page-mosaic {
        min-height: 548px;
    }

    .caremax-about-page-main-photo {
        height: 320px;
    }

    .caremax-about-page-small-one,
    .caremax-about-page-small-two {
        border-width: 7px;
    }

    .caremax-about-page-floating {
        width: 78%;
    }

    .caremax-about-page-statement h2,
    .caremax-about-page-standard-copy h2,
    .caremax-about-page-values-head h2 {
        font-size: 28px;
    }

    .caremax-about-page-statement h2 {
        font-size: 16px;
        line-height: 1.32;
    }

    .caremax-about-page-reasons article {
        grid-template-columns: 1fr;
    }

    .caremax-about-page-reasons i,
    .caremax-about-page-reasons h3,
    .caremax-about-page-reasons p {
        grid-column: 1;
        grid-row: auto;
    }

    .caremax-about-page-standard-head h2 {
        font-size: 16px;
        line-height: 1.24;
    }

    .caremax-about-page-standard-head h2 span {
        padding-left: 0;
        font-size: 11px;
    }

    .caremax-about-page-standard-head h2 span:before {
        display: none;
    }

    .caremax-about-page-standard-visual {
        min-height: 342px;
    }

    .caremax-about-page-standard-visual figure {
        height: 320px;
    }

    .caremax-about-page-values-note {
        padding: 24px 24px 52px;
    }

    .caremax-about-page-values-note:before {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .caremax-about-page-value {
        grid-template-columns: 1fr;
    }

    .caremax-about-page-value:hover {
        transform: translateY(-4px);
    }
}

/* Careers page */

.caremax-careers-hero,
.caremax-careers-openings,
.caremax-careers-culture,
.caremax-careers-process {
    font-family: 'Inter', 'Jost', sans-serif;
}

.caremax-careers-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 98px 0 92px;
    background:
        linear-gradient(116deg, rgba(0, 138, 200, 0.08) 0%, transparent 36%),
        linear-gradient(300deg, rgba(156, 203, 58, 0.12) 0%, transparent 34%),
        #ffffff;
}

.caremax-careers-hero:before {
    position: absolute;
    content: '';
    right: 8%;
    top: -20%;
    z-index: -1;
    width: 25%;
    height: 132%;
    background: linear-gradient(180deg, transparent, rgba(0, 138, 200, 0.055), transparent);
    transform: skewX(-14deg);
}

.caremax-careers-hero:after {
    position: absolute;
    content: '';
    left: max(24px, calc((100vw - 1170px) / 2));
    right: max(24px, calc((100vw - 1170px) / 2));
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 138, 200, 0.24), rgba(156, 203, 58, 0.34), transparent);
}

.caremax-careers-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(430px, 0.94fr);
    gap: 56px;
    align-items: center;
}

.caremax-careers-copy {
    min-width: 0;
}

.caremax-careers-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--caremax-blue-dark);
    font-size: 13px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.caremax-careers-kicker:before {
    content: '';
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: var(--caremax-green);
}

.caremax-careers-copy h1 {
    max-width: 100%;
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(30px, 2.55vw, 40px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.caremax-careers-copy h1 span {
    display: block;
    white-space: nowrap;
}

.caremax-careers-copy p {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--caremax-muted);
    font-size: 18px;
    line-height: 1.72;
    font-weight: 500;
}

.caremax-careers-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
}

.caremax-careers-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 24px;
    border: 1px solid rgba(0, 138, 200, 0.18);
    border-radius: 999px;
    color: var(--caremax-blue-dark);
    background: rgba(255, 255, 255, 0.80);
    box-shadow: 0 16px 44px rgba(16, 36, 47, 0.055);
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    transition: color 320ms ease, background 320ms ease, border-color 320ms ease, transform 320ms ease;
}

.caremax-careers-call:hover {
    color: #ffffff;
    border-color: var(--caremax-blue);
    background: var(--caremax-blue);
    transform: translateY(-3px);
}

.caremax-careers-visual {
    position: relative;
    min-height: 520px;
}

.caremax-careers-visual:before {
    position: absolute;
    content: '';
    left: -18px;
    top: 38px;
    width: 68%;
    height: 72%;
    border: 1px solid rgba(156, 203, 58, 0.34);
    border-radius: 8px;
    transform: rotate(-2.5deg);
    transition: transform 560ms ease, border-color 560ms ease;
}

.caremax-careers-visual figure {
    position: absolute;
    inset: 0 0 44px 34px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #eaf5f8;
    box-shadow: 0 30px 80px rgba(16, 36, 47, 0.15);
}

.caremax-careers-visual figure:before {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(16, 36, 47, 0.03), rgba(16, 36, 47, 0.22)),
        linear-gradient(90deg, rgba(0, 138, 200, 0.13), transparent 58%);
    pointer-events: none;
}

.caremax-careers-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 820ms ease, filter 820ms ease;
}

.caremax-careers-float-card,
.caremax-careers-mini-card {
    position: absolute;
    z-index: 4;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 58px rgba(16, 36, 47, 0.16);
    backdrop-filter: blur(14px);
    transition: transform 440ms ease, box-shadow 440ms ease;
}

.caremax-careers-float-card {
    left: 0;
    right: 42px;
    bottom: 0;
    padding: 20px 24px;
    border-left: 4px solid var(--caremax-green);
}

.caremax-careers-float-card span,
.caremax-careers-mini-card span {
    display: block;
    color: var(--caremax-blue-dark);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-careers-float-card strong {
    display: block;
    margin-top: 7px;
    color: var(--caremax-ink);
    font-size: 20px;
    line-height: 1.28;
    font-weight: 900;
}

.caremax-careers-mini-card {
    right: 0;
    top: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
}

.caremax-careers-mini-card i {
    color: var(--caremax-green);
    font-size: 18px;
}

.caremax-careers-visual:hover:before {
    border-color: rgba(0, 138, 200, 0.34);
    transform: rotate(0deg) translate(8px, 8px);
}

.caremax-careers-visual:hover img {
    filter: saturate(1.05) contrast(1.04);
    transform: scale(1.045);
}

.caremax-careers-visual:hover .caremax-careers-float-card,
.caremax-careers-visual:hover .caremax-careers-mini-card {
    box-shadow: 0 30px 68px rgba(16, 36, 47, 0.18);
    transform: translateY(-7px);
}

.caremax-careers-openings {
    position: relative;
    overflow: hidden;
    padding: 96px 0 104px;
    background:
        linear-gradient(116deg, transparent 0 54%, rgba(156, 203, 58, 0.07) 54% 66%, transparent 66% 100%),
        #ffffff;
}

.caremax-careers-openings-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.43fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.caremax-careers-side {
    position: sticky;
    top: 110px;
    padding: 34px;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 138, 200, 0.09), transparent 50%),
        rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 62px rgba(16, 36, 47, 0.08);
}

.caremax-careers-side h2 {
    margin: 0;
    color: var(--caremax-ink);
    font-size: 31px;
    line-height: 1.1;
    font-weight: 900;
}

.caremax-careers-side p {
    margin: 18px 0 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-careers-job {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 8px;
    background:
        linear-gradient(130deg, rgba(0, 138, 200, 0.18), transparent 45%),
        linear-gradient(180deg, #10242f 0%, #0b1a22 100%);
    box-shadow: 0 28px 74px rgba(16, 36, 47, 0.14);
}

.caremax-careers-job:before {
    position: absolute;
    content: '';
    right: -12%;
    top: -24%;
    width: 36%;
    height: 78%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(-14deg);
    transition: transform 520ms ease, border-color 520ms ease;
}

.caremax-careers-job:hover:before {
    border-color: rgba(156, 203, 58, 0.26);
    transform: rotate(-8deg) translate(-18px, 16px);
}

.caremax-careers-job-top {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

.caremax-careers-job-top span {
    display: block;
    margin-bottom: 10px;
    color: var(--caremax-green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.caremax-careers-job-top h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1;
    font-weight: 900;
}

.caremax-careers-job-top a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 48px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--caremax-blue);
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    transition: background 320ms ease, color 320ms ease, transform 320ms ease;
}

.caremax-careers-job-top a:hover {
    color: var(--caremax-ink);
    background: var(--caremax-green);
    transform: translateY(-3px);
}

.caremax-careers-tags {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 34px;
}

.caremax-careers-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

.caremax-careers-tags i {
    color: var(--caremax-green);
}

.caremax-careers-requirements {
    position: relative;
    z-index: 2;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

.caremax-careers-requirements h4 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.caremax-careers-requirements ul {
    display: grid;
    gap: 13px;
    margin: 0;
}

.caremax-careers-requirements li {
    position: relative;
    padding-left: 28px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.56;
    font-weight: 500;
}

.caremax-careers-requirements li:before {
    position: absolute;
    content: '';
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--caremax-green);
    border-radius: 50%;
}

.caremax-careers-culture {
    padding: 98px 0 102px;
    background:
        linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}

.caremax-careers-culture-head {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.caremax-careers-culture-head .caremax-careers-kicker {
    justify-content: center;
}

.caremax-careers-culture-head h2 {
    margin: 0;
    color: var(--caremax-ink);
    font-size: clamp(30px, 3.5vw, 48px);
    line-height: 1.06;
    font-weight: 900;
}

.caremax-careers-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.caremax-careers-cards article {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 34px 30px;
    border: 1px solid rgba(16, 36, 47, 0.09);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 58px rgba(16, 36, 47, 0.07);
    transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
}

.caremax-careers-cards article:before {
    position: absolute;
    content: '';
    right: -34px;
    bottom: -34px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0, 138, 200, 0.07);
    transition: transform 460ms ease, background 460ms ease;
}

.caremax-careers-cards i {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--caremax-blue);
    font-size: 26px;
    transition: color 360ms ease, background 360ms ease, transform 360ms ease;
}

.caremax-careers-cards h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 14px;
    color: var(--caremax-ink);
    font-size: 24px;
    line-height: 1.16;
    font-weight: 900;
}

.caremax-careers-cards p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-careers-cards article:hover {
    border-color: rgba(0, 138, 200, 0.22);
    box-shadow: 0 30px 68px rgba(16, 36, 47, 0.11);
    transform: translateY(-8px);
}

.caremax-careers-cards article:hover:before {
    background: rgba(156, 203, 58, 0.17);
    transform: scale(1.35);
}

.caremax-careers-cards article:hover i {
    color: var(--caremax-ink);
    background: var(--caremax-green);
    transform: rotate(-3deg) scale(1.04);
}

.caremax-careers-process {
    padding: 0 0 104px;
    background: #ffffff;
}

.caremax-careers-process-line {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(16, 36, 47, 0.10);
    border-radius: 8px;
    background: rgba(16, 36, 47, 0.10);
    box-shadow: 0 24px 64px rgba(16, 36, 47, 0.08);
}

.caremax-careers-process-line article {
    position: relative;
    min-height: 238px;
    padding: 34px;
    background: #ffffff;
    transition: background 360ms ease, transform 360ms ease;
}

.caremax-careers-process-line span {
    display: block;
    margin-bottom: 34px;
    color: var(--caremax-blue-dark);
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}

.caremax-careers-process-line h3 {
    margin: 0 0 14px;
    color: var(--caremax-ink);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
}

.caremax-careers-process-line p {
    margin: 0;
    color: var(--caremax-muted);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 500;
}

.caremax-careers-process-line article:hover {
    background: var(--caremax-soft);
    transform: translateY(-4px);
}

@media only screen and (max-width: 1100px) {
    .caremax-careers-hero-grid,
    .caremax-careers-openings-grid {
        grid-template-columns: 1fr;
    }

    .caremax-careers-side {
        position: relative;
        top: auto;
    }

    .caremax-careers-visual {
        min-height: 500px;
    }
}

@media only screen and (max-width: 767px) {
    .caremax-careers-hero {
        padding: 68px 0 78px;
    }

    .caremax-careers-copy h1 {
        font-size: 30px;
        line-height: 1.1;
    }

    .caremax-careers-copy p {
        font-size: 16px;
    }

    .caremax-careers-actions,
    .caremax-careers-actions .theme-btn.btn-one,
    .caremax-careers-call {
        width: 100%;
    }

    .caremax-careers-visual {
        min-height: 430px;
    }

    .caremax-careers-visual figure {
        inset: 0 0 42px 18px;
    }

    .caremax-careers-mini-card {
        top: 24px;
        right: 10px;
    }

    .caremax-careers-float-card {
        right: 20px;
    }

    .caremax-careers-openings,
    .caremax-careers-culture {
        padding: 70px 0 78px;
    }

    .caremax-careers-side,
    .caremax-careers-job,
    .caremax-careers-requirements {
        padding: 26px;
    }

    .caremax-careers-job-top {
        display: grid;
    }

    .caremax-careers-job-top h3 {
        font-size: 32px;
    }

    .caremax-careers-cards,
    .caremax-careers-process-line {
        grid-template-columns: 1fr;
    }

    .caremax-careers-cards article,
    .caremax-careers-process-line article {
        min-height: 0;
    }

    .caremax-careers-process {
        padding-bottom: 78px;
    }
}

@media only screen and (max-width: 420px) {
    .caremax-careers-copy h1 {
        font-size: 20px;
    }

    .caremax-careers-kicker {
        font-size: 12px;
    }

    .caremax-careers-kicker:before {
        width: 48px;
    }

    .caremax-careers-visual {
        min-height: 380px;
    }

    .caremax-careers-visual figure {
        left: 0;
    }

    .caremax-careers-side h2,
    .caremax-careers-culture-head h2 {
        font-size: 28px;
    }
}
