.epion-home {
    --home-blue: #0876e8;
    --home-blue-dark: #0668cb;
    --home-blue-soft: #edf5fd;
    --home-text: #20262c;
    --home-muted: #66717a;
    --home-line: #dfe4e8;
    --home-surface: #f7f9fa;
    --home-white: #fff;
    overflow-x: clip;
    color: var(--home-text);
    font-family: "Apercu Pro", sans-serif;
}


.epion-home-page,
.epion-home {
    background: var(--home-white);
}

.epion-home *,
.epion-home *::before,
.epion-home *::after,
.epion-home-mobile-cta *,
.epion-home-mobile-cta *::before,
.epion-home-mobile-cta *::after {
    box-sizing: border-box;
}

/* Sticky elements are rendered outside .epion-home, so they need their own variables. */
.epion-home-sticky,
.epion-home-mobile-cta {
    font-family: "Apercu Pro", sans-serif;
    --home-blue: #0876e8;
    --home-blue-dark: #0668cb;
    --home-blue-soft: #edf5fd;
    --home-text: #20262c;
    --home-muted: #66717a;
    --home-line: #dfe4e8;
    --home-surface: #f7f9fa;
    --home-white: #fff;
}

.epion-home-container {
    width: min(1170px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.epion-home-section {
    padding: 70px 0;
}

.epion-home-section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 32px;
    align-items: end;
    margin-bottom: 34px;
}

.epion-home-section__head--center {
    position: relative;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.epion-home-section__head--compact-link {
    position: relative;
    padding-right: 160px;
}

.epion-home-section__eyebrow,
.epion-home-hero__eyebrow {
    margin-bottom: 12px;
    color: var(--home-blue);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.epion-home-section__title {
    position: relative;
    max-width: 900px;
    margin: 0;
    padding-top: 18px;
    color: #14181b;
    font-size: clamp(32px, 3.6vw, 46px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.018em;
}

.epion-home-section__title::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 3px;
    background: var(--home-blue);
    content: '';
}

.epion-home-section__head--center .epion-home-section__title::before {
    left: 50%;
    transform: translateX(-50%);
}

.epion-home-section__intro {
    max-width: 820px;
    color: #3f484f;
    font-size: 17px;
    line-height: 1.72;
}

.epion-home-section__head--center .epion-home-section__intro {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.epion-home-section__intro > :first-child,
.epion-home-section__intro > :last-child,
.epion-home-review-card__text > :first-child,
.epion-home-review-card__text > :last-child,
.epion-home-seo-details__content > :first-child,
.epion-home-seo-details__content > :last-child {
    margin-top: 0;
    margin-bottom: 0;
}

.epion-home-button,
.epion-home-button:link,
.epion-home-button:visited {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 56px;
    padding: 14px 24px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: var(--home-blue, #0876e8) !important;
    border: 1px solid var(--home-blue, #0876e8) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    appearance: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.epion-home-button:hover,
.epion-home-button:focus-visible {
    color: #fff !important;
    background: var(--home-blue-dark, #0668cb) !important;
    border-color: var(--home-blue-dark, #0668cb) !important;
}

.epion-home-button--secondary,
.epion-home-button--secondary:link,
.epion-home-button--secondary:visited {
    color: var(--home-blue) !important;
    -webkit-text-fill-color: var(--home-blue) !important;
    background: transparent !important;
    border-color: var(--home-blue) !important;
}

.epion-home-button--secondary:hover,
.epion-home-button--secondary:focus-visible {
    color: var(--home-blue-dark) !important;
    -webkit-text-fill-color: var(--home-blue-dark) !important;
    background: transparent !important;
    border-color: var(--home-blue-dark, #0668cb) !important;
}

.epion-home-text-link,
.epion-home-text-link:link,
.epion-home-text-link:visited {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--home-blue) !important;
    border-bottom: 1px solid currentColor;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none !important;
}

.epion-home-text-link::after {
    margin-left: 8px;
    content: '→';
}

.epion-home-text-link:hover,
.epion-home-text-link:focus-visible {
    color: var(--home-blue-dark) !important;
}

.epion-home-section__head--compact-link .epion-home-section__more {
    position: absolute;
    right: 0;
    bottom: 0;
}

.epion-home-card,
.epion-home-service-card,
.epion-home-doctor-card,
.epion-home-work-card,
.epion-home-tech-card,
.epion-home-review-card,
.epion-home-special-card,
.epion-home-article-card,
.epion-home-trust__item {
    background: var(--home-white);
    box-shadow: 0 8px 24px rgba(31, 51, 69, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.epion-home-service-card:hover,
.epion-home-doctor-card:hover,
.epion-home-work-card:hover,
.epion-home-tech-card:hover,
.epion-home-review-card:hover,
.epion-home-special-card:hover,
.epion-home-article-card:hover,
.epion-home-trust__item:hover {
    box-shadow: 0 14px 32px rgba(31, 51, 69, 0.12);
    transform: translateY(-4px);
}

/* Hero */
.epion-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
    width: min(1320px, 100%);
    min-height: 620px;
    margin: 0 auto 64px;
    background: var(--home-white);
    border-bottom: 1px solid var(--home-line);
}

.epion-home-hero__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 64px clamp(36px, 4vw, 72px);
}

.epion-home-hero__title {
    max-width: 640px;
    margin: 0;
    color: #111518;
    font-size: clamp(40px, 4.5vw, 62px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.epion-home-hero__lead {
    max-width: 650px;
    margin-top: 24px;
    color: #39424a;
    font-size: 18px;
    line-height: 1.67;
}

.epion-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    margin-top: 32px;
}

.epion-home-hero__services-link {
    align-self: center;
}

.epion-home-hero__power-note {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 22px 0 0;
    color: #20262c;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.epion-home-hero__power-note::before {
    width: 9px;
    height: 9px;
    margin-right: 10px;
    background: var(--home-blue);
    border-radius: 50%;
    content: '';
    flex: 0 0 auto;
}

.epion-home-hero__location {
    display: inline-flex;
    width: fit-content;
    margin-top: 26px;
    padding-top: 24px;
    color: #5b6670;
    border-top: 1px solid var(--home-line);
    font-size: 16px;
    line-height: 1.55;
    text-decoration: none;
}

.epion-home-hero__location:hover,
.epion-home-hero__location:focus-visible {
    color: var(--home-blue-dark);
}

.epion-home-hero__media {
    position: relative;
    min-width: 0;
    min-height: 620px;
    overflow: hidden;
    background: #e8edf1;
}

.epion-home-hero__media img,
.epion-home-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    object-position: center;
}

/* Trust */
.epion-home-trust {
    padding: 0 0 70px;
    background: var(--home-surface);
}

.epion-home-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.epion-home-trust__item {
    min-height: 200px;
    padding: 32px 30px;
    border-top: 3px solid var(--home-blue, #0876e8);
}

.epion-home-trust__title {
    margin: 0 0 14px;
    color: var(--home-blue);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.35;
}

.epion-home-trust__item p {
    margin: 0;
    color: #465057;
    font-size: 16px;
    line-height: 1.65;
}

/* Services */
.epion-home-services {
    background: var(--home-surface);
}

.epion-home-services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.epion-home-service-card {
    display: grid;
    grid-template-columns: 146px minmax(0, 1fr);
    min-height: 300px;
    overflow: hidden;
    border-top: 3px solid var(--home-blue, #0876e8);
}

.epion-home-service-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: var(--home-blue-soft);
}

.epion-home-service-card__media img {
    width: 100%;
    max-width: 88px;
    max-height: 88px;
    height: auto;
    object-fit: contain;
}

.epion-home-service-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 30px;
}

.epion-home-service-card__title {
    margin: 0 0 16px;
    color: var(--home-blue);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.35;
}

.epion-home-service-card__links {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--home-line);
}

.epion-home-service-card__links li {
    margin: 0;
    border-bottom: 1px solid var(--home-line);
}

.epion-home-service-card__links a {
    display: block;
    padding: 12px 0;
    color: #465057;
    font-size: 15px;
    line-height: 1.55;
    text-decoration: none;
}

.epion-home-service-card__links a:hover,
.epion-home-service-card__links a:focus-visible {
    color: var(--home-blue-dark);
}

.epion-home-service-card__more {
    margin-top: 0;
}

.epion-home-service-card__toggle {
    width: fit-content;
    margin-top: auto;
    padding: 18px 0 0;
    color: var(--home-blue);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
}

.epion-home-service-card__toggle:hover,
.epion-home-service-card__toggle:focus-visible {
    color: var(--home-blue-dark);
}

/* Routing CTA */
.epion-home-route {
    padding: 0 0 70px;
    background: var(--home-surface);
}

.epion-home-route__inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 36px 40px;
    background: var(--home-blue-soft);
    border-left: 3px solid var(--home-blue);
}

.epion-home-route h2 {
    margin: 0;
    color: #151a1e;
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 400;
    line-height: 1.18;
}

.epion-home-route p {
    max-width: 760px;
    margin: 14px 0 0;
    color: #354047;
    font-size: 16px;
    line-height: 1.7;
}

/* Doctors */
.epion-home-doctors {
    background: var(--home-white);
}

.epion-home-doctors__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.epion-home-doctor-card {
    overflow: hidden;
}

.epion-home-doctor-card__media {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eef1f3;
}

.epion-home-doctor-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.epion-home-doctor-card:hover .epion-home-doctor-card__media img {
    transform: scale(1.02);
}

.epion-home-doctor-card__body {
    padding: 24px;
}

.epion-home-doctor-card h3 {
    margin: 0;
    color: #151a1e;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
}

.epion-home-doctor-card h3 a {
    color: inherit;
    text-decoration: none;
}

.epion-home-doctor-card p {
    min-height: 48px;
    margin: 12px 0 0;
    color: #4a555e;
    font-size: 15px;
    line-height: 1.65;
}

.epion-home-doctor-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--home-line);
}

.epion-home-doctor-card__book {
    padding: 0;
    color: var(--home-blue);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.epion-home-doctor-card__book:hover,
.epion-home-doctor-card__book:focus-visible {
    color: var(--home-blue-dark);
}

/* Works */
.epion-home-works {
    background: var(--home-surface);
}

.epion-home-works__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.epion-home-work-card {
    overflow: hidden;
}

.epion-home-work-card a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.epion-home-work-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.epion-home-work-card:hover img {
    transform: scale(1.02);
}

.epion-home-work-card__caption {
    padding: 18px 20px 20px;
    color: #303941;
    font-size: 15px;
    line-height: 1.6;
}

/* Clinic */
.epion-home-clinic {
    padding: 0;
    background: var(--home-white);
}

.epion-home-clinic__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
    width: min(1320px, 100%);
    min-height: 560px;
    margin: 0 auto;
}

.epion-home-clinic__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px clamp(36px, 4vw, 72px);
}

.epion-home-clinic__content p {
    max-width: 650px;
    margin: 24px 0;
    color: #4a555e;
    font-size: 17px;
    line-height: 1.7;
}

.epion-home-clinic__media {
    min-height: 560px;
    overflow: hidden;
    background: #eef1f3;
}

.epion-home-clinic__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

/* Technology & review/article/special cards */
.epion-home-tech {
    background: var(--home-surface);
}

.epion-home-tech__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.epion-home-reviews__grid,
.epion-home-specials__grid,
.epion-home-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.epion-home-tech-card,
.epion-home-review-card,
.epion-home-special-card,
.epion-home-article-card {
    overflow: hidden;
}

.epion-home-tech-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 24px;
    overflow: hidden;
    background: #eef1f3;
}

.epion-home-tech-card__media img {
    display: block;
    width: auto;
    max-width: 118px;
    height: auto;
    max-height: 108px;
    object-fit: contain;
}

.epion-home-special-card__media,
.epion-home-article-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1f3;
}

.epion-home-special-card__media img,
.epion-home-article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.epion-home-special-card:hover img,
.epion-home-article-card:hover img {
    transform: scale(1.02);
}

.epion-home-tech-card__body,
.epion-home-special-card__body,
.epion-home-article-card__body {
    padding: 24px;
}

.epion-home-tech-card h3,
.epion-home-special-card h3,
.epion-home-article-card h3 {
    margin: 0 0 12px;
    color: #171c20;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
}

.epion-home-tech-card p,
.epion-home-special-card p,
.epion-home-article-card p,
.epion-home-article-card__date {
    color: #4b565f;
    font-size: 15px;
    line-height: 1.6;
}

.epion-home-special-card > a,
.epion-home-article-card > a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.epion-home-reviews {
    background: var(--home-white);
}

.epion-home-review-card {
    padding: 28px 30px;
    border-top: 3px solid var(--home-blue, #0876e8);
}

.epion-home-review-card__top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.epion-home-review-card__name {
    color: #151a1e;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
}

.epion-home-review-card__date,
.epion-home-review-card__source {
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.45;
}

.epion-home-review-card__stars {
    display: flex;
    gap: 2px;
    color: rgba(8, 118, 232, 0.25);
    font-size: 18px;
    line-height: 1;
}

.epion-home-review-card__stars .is-filled {
    color: var(--home-blue);
}

.epion-home-review-card__text {
    margin-top: 18px;
    color: #465057;
    font-size: 15px;
    line-height: 1.7;
}

.epion-home-review-card__source {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--home-line);
}

/* Prices */
.epion-home-prices {
    background: var(--home-surface);
}

.epion-home-prices__table-wrap {
    max-width: 980px;
    margin: 0 auto;
    overflow-x: auto;
    background: var(--home-white);
    border: 1px solid var(--home-line, #dfe4e8);
    -webkit-overflow-scrolling: touch;
}

.epion-home-prices__table {
    width: 100%;
    min-width: 560px;
    margin: 0 !important;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.epion-home-prices__table th,
.epion-home-prices__table td {
    padding: 19px 22px;
    border-right: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
    vertical-align: top;
    line-height: 1.5;
}

.epion-home-prices__table th:last-child,
.epion-home-prices__table td:last-child {
    border-right: 0;
}

.epion-home-prices__table tr:last-child th,
.epion-home-prices__table tr:last-child td {
    border-bottom: 0;
}

.epion-home-prices__table tbody tr:not(.epion-home-prices__group-row) th {
    width: 72%;
    color: #1c2226;
    background: var(--home-white);
    font-weight: 500;
    text-align: left;
}

.epion-home-prices__table td {
    width: 28%;
    color: #111518;
    background: #fbfcfd;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.epion-home-prices__group-row th {
    width: auto !important;
    padding: 15px 22px;
    color: var(--home-muted);
    background: #f2f5f7;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
}

.epion-home-prices__note {
    max-width: 980px;
    margin: 18px auto 0;
    color: #4b565f;
    font-size: 15px;
    line-height: 1.65;
    text-align: center;
}

.epion-home-prices__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 24px;
    max-width: 980px;
    margin: 28px auto 0;
}

/* FAQ */
.epion-home-faq {
    background: var(--home-surface);
}

.epion-home-faq .epion-home-section__head {
    margin-bottom: 34px;
}

.epion-home-faq__list {
    max-width: 900px;
    margin: 0 auto;
    background: var(--home-white);
    border: 1px solid var(--home-line, #dfe4e8);
}

.epion-home-faq__item {
    background: var(--home-white);
    border-bottom: 1px solid var(--home-line);
}

.epion-home-faq__item:last-child {
    border-bottom: 0;
}

.epion-home-faq__item summary {
    position: relative;
    padding: 28px 72px 28px 46px;
    color: #14181b;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.epion-home-faq__item summary::-webkit-details-marker {
    display: none;
}

.epion-home-faq__item summary::after {
    position: absolute;
    top: 50%;
    right: 34px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #111518;
    border-bottom: 2px solid #111518;
    content: '';
    transform: translateY(-66%) rotate(45deg);
    transition: transform .2s ease;
}

.epion-home-faq__item[open] summary::after {
    transform: translateY(-32%) rotate(225deg);
}

.epion-home-faq__answer {
    max-width: 820px;
    padding: 0 72px 28px 46px;
    color: #4b565f;
    font-size: 15px;
    line-height: 1.7;
}

/* Articles and specials */
.epion-home-specials {
    background: var(--home-surface);
}

.epion-home-articles {
    background: var(--home-white);
}

/* SEO */
.epion-home-seo-section {
    padding-top: 62px;
    padding-bottom: 62px;
    background: var(--home-white);
    border-top: 1px solid var(--home-line);
}

.epion-home-seo-section__container {
    max-width: 980px;
}

.epion-home-seo-details {
    margin-top: 28px;
    border-top: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
}

.epion-home-seo-details summary {
    position: relative;
    padding: 20px 42px 20px 0;
    color: var(--home-blue);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.epion-home-seo-details summary::-webkit-details-marker {
    display: none;
}

.epion-home-seo-details summary::after {
    position: absolute;
    top: 50%;
    right: 4px;
    color: var(--home-blue);
    font-size: 18px;
    content: '↓';
    transform: translateY(-50%);
}

.epion-home-seo-details[open] summary::after {
    content: '↑';
}

.epion-home-seo-details__content {
    padding: 8px 0 34px;
    color: #4e5961;
    font-size: 15px;
    line-height: 1.72;
}

.epion-home-seo-details__content h2,
.epion-home-seo-details__content h3 {
    color: #20262c;
    font-family: "Apercu Pro", sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.epion-home-seo-details__content h2 {
    margin: 34px 0 14px;
    font-size: 27px;
    line-height: 1.3;
}

.epion-home-seo-details__content h3 {
    margin: 28px 0 12px;
    font-size: 21px;
    line-height: 1.34;
}

@media (max-width: 640px) {
    .epion-home-seo-details__content h2 {
        margin: 28px 0 12px;
        font-size: 22px;
        line-height: 1.32;
    }

    .epion-home-seo-details__content h3 {
        margin: 24px 0 11px;
        font-size: 19px;
        line-height: 1.36;
    }
}

/* Contacts */
.epion-home-contact {
    padding: 62px 0 0;
    background: var(--home-white);
}

.epion-home-contact__panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 46px;
    align-items: start;
}

.epion-home-contact__title {
    position: relative;
    margin: 0;
    padding-top: 18px;
    color: #14181b;
    font-size: clamp(32px, 3.6vw, 46px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.018em;
}

.epion-home-contact__title::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 3px;
    background: var(--home-blue);
    content: '';
}

.epion-home-contact__intro p {
    max-width: 520px;
    margin: 20px 0 0;
    color: #465057;
    font-size: 16px;
    line-height: 1.7;
}

.epion-home-contact__details {
    border-top: 1px solid var(--home-line);
}

.epion-home-contact__item {
    display: grid;
    grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr);
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--home-line);
}

.epion-home-contact__label {
    color: var(--home-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.epion-home-contact__item > span:last-child,
.epion-home-contact__phones div {
    color: #293138;
    font-size: 15px;
    line-height: 1.55;
}

.epion-home-contact__phones div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.epion-home-contact__phones a {
    color: #293138;
    text-decoration: none;
}

.epion-home-contact__phones a:hover,
.epion-home-contact__phones a:focus-visible {
    color: var(--home-blue-dark);
}

.epion-home-contact__route {
    margin-top: 22px;
}

.epion-home-final-form {
    margin-top: 42px;
}

.epion-home-final-form .article-lead-form {
    margin: 0;
    padding: 76px 0;
    background: #eef5fb;
}

.epion-home-final-form .call-to-us {
    margin: 0;
}

/* Sticky consultation */
.epion-home-sticky[hidden] {
    display: none !important;
}

@media (min-width: 1280px) and (min-height: 650px) {
    .epion-home-sticky {
        position: fixed;
        top: 150px;
        right: 18px;
        z-index: 80;
        width: 176px;
        max-height: calc(100vh - 180px);
        padding: 22px 20px 20px;
        overflow-y: auto;
        background: #fff;
        border: 1px solid var(--home-line, #dfe4e8);
        border-top: 3px solid var(--home-blue, #0876e8);
        box-shadow: 0 14px 36px rgba(31, 55, 76, 0.12);
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity .2s ease, transform .2s ease;
    }

    .epion-home-sticky.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .epion-home-sticky__eyebrow {
        margin-bottom: 8px;
        color: var(--home-blue, #0876e8);
        font-size: 11px;
        font-weight: 700;
        line-height: 1.4;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .epion-home-sticky__title {
        margin: 0 0 10px;
        color: #111518;
        font-size: 21px;
        font-weight: 500;
        line-height: 1.28;
    }

    .epion-home-sticky__text {
        margin-bottom: 18px;
        color: #4b565e;
        font-size: 13px;
        line-height: 1.55;
    }

    .epion-home-sticky__text p {
        margin: 0;
    }

    .epion-home-sticky__button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 50px;
        margin: 0;
        padding: 12px 14px;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: var(--home-blue, #0876e8) !important;
        border: 1px solid var(--home-blue, #0876e8) !important;
        border-radius: 0;
        font: inherit;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
        text-align: center;
        cursor: pointer;
        appearance: none;
    }

    .epion-home-sticky__button:hover,
    .epion-home-sticky__button:focus {
        background: var(--home-blue-dark, #0668cb) !important;
        border-color: var(--home-blue-dark, #0668cb) !important;
    }
}

@media (max-width: 1279px), (max-height: 649px) {
    .epion-home-sticky {
        display: none !important;
    }
}

/* Sticky mobile CTA */
.epion-home-mobile-cta {
    display: none;
}

@media (max-width: 1200px) {
    .epion-home-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .epion-home-tech__grid,
    .epion-home-reviews__grid,
    .epion-home-specials__grid,
    .epion-home-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .epion-home-section {
        padding: 62px 0;
    }

    .epion-home-section__head--compact-link {
        padding-right: 0;
    }

    .epion-home-section__head--compact-link .epion-home-section__more {
        position: static;
        justify-self: start;
    }

    .epion-home-hero,
    .epion-home-clinic__grid {
        grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
    }

    .epion-home-hero,
    .epion-home-hero__media,
    .epion-home-hero__media img,
    .epion-home-hero__image {
        min-height: 560px;
    }

    .epion-home-services__grid,
    .epion-home-doctors__grid,
    .epion-home-works__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .epion-home-contact__panel,
    .epion-home-route__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .epion-home-container {
        width: min(100% - 28px, 1170px);
    }

    .epion-home-section {
        padding: 56px 0;
    }

    .epion-home-section__head,
    .epion-home-section__head--center {
        grid-template-columns: 1fr;
        justify-items: start;
        text-align: left;
        gap: 18px;
    }

    .epion-home-section__head--center .epion-home-section__title::before {
        left: 0;
        transform: none;
    }

    .epion-home-section__head--center .epion-home-section__intro {
        margin-left: 0;
        text-align: left;
    }

    .epion-home-hero,
    .epion-home-clinic__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .epion-home-hero__content,
    .epion-home-clinic__content {
        order: 1;
        padding: 46px 24px;
    }

    .epion-home-hero__media,
    .epion-home-clinic__media {
        order: 2;
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

    .epion-home-hero__media img,
    .epion-home-clinic__media img,
    .epion-home-hero__image {
        min-height: 0;
    }

    .epion-home-hero__title {
        font-size: clamp(36px, 9vw, 48px);
    }

    .epion-home-hero__lead,
    .epion-home-clinic__content p {
        font-size: 16px;
    }

    .epion-home-trust__grid,
    .epion-home-services__grid,
    .epion-home-doctors__grid,
    .epion-home-works__grid,
    .epion-home-reviews__grid,
    .epion-home-specials__grid,
    .epion-home-articles__grid {
        grid-template-columns: 1fr;
    }

    .epion-home-tech__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .epion-home-service-card {
        grid-template-columns: 126px minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .epion-home-section {
        padding: 52px 0;
    }

    .epion-home-section__title,
    .epion-home-contact__title {
        font-size: 32px;
    }

    .epion-home-hero {
        margin-bottom: 52px;
    }

    .epion-home-hero__content {
        padding: 38px 18px 34px;
    }

    .epion-home-hero__actions,
    .epion-home-prices__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .epion-home-button {
        width: 100%;
        min-width: 0;
    }

    .epion-home-trust__item,
    .epion-home-service-card__body,
    .epion-home-doctor-card__body,
    .epion-home-tech-card__body,
    .epion-home-review-card,
    .epion-home-special-card__body,
    .epion-home-article-card__body {
        padding: 22px 18px;
    }

    .epion-home-service-card {
        grid-template-columns: 1fr;
    }

    .epion-home-service-card__media {
        padding: 22px;
    }

    .epion-home-service-card__media img {
        max-width: 76px;
        max-height: 76px;
    }

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

    .epion-home-prices__table {
        min-width: 0;
        table-layout: auto;
    }

    .epion-home-prices__table th,
    .epion-home-prices__table td {
        padding: 16px 14px;
    }

    .epion-home-prices__table td {
        white-space: normal;
    }

    .epion-home-faq__item summary {
        padding-right: 44px;
        font-size: 16px;
    }

    .epion-home-faq__answer {
        padding-right: 0;
    }

    .epion-home-contact__item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .epion-home-final-form {
        margin-top: 34px;
    }

    .epion-home-final-form .article-lead-form {
        padding: 54px 0;
    }

    .epion-home-mobile-cta {
        position: fixed;
        z-index: 9998;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #dfe4e8;
        box-shadow: 0 -8px 24px rgba(17, 21, 24, 0.08);
        transform: translateY(110%);
        transition: transform .2s ease;
    }

    .epion-home-mobile-cta.is-visible {
        transform: translateY(0);
    }

    .epion-home-mobile-cta__button {
        width: 100%;
        min-height: 50px;
        padding: 12px 18px;
        color: #fff;
        background: var(--home-blue, #0876e8);
        border: 1px solid var(--home-blue, #0876e8);
        border-radius: 0;
        font: inherit;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
    }

    body.epion-home-mobile-cta-page {
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .epion-home *,
    .epion-home *::before,
    .epion-home *::after,
    .epion-home-mobile-cta {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================
   Homepage — consolidated final adjustments
   ========================================================== */

/* Allow the homepage to use the full viewport width without inheriting
   legacy page-width constraints. */
#primary.epion-home-page,
#primary.epion-home-page #content.epion-home {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

#primary.epion-home-page {
    overflow-x: clip;
}

/* Hero: the image reaches the right viewport edge, while the text stays
   aligned with the 1170px content grid. */
@media (min-width: 821px) {
    .epion-home-hero {
        grid-template-columns: 50% 50%;
        width: 100vw;
        max-width: none;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
    }

    .epion-home-hero__content {
        padding-right: clamp(36px, 4vw, 72px);
        padding-left: max(40px, calc((100vw - 1170px) / 2));
    }

    .epion-home-hero__media,
    .epion-home-hero__media img,
    .epion-home-hero__image {
        width: 100%;
        max-width: none;
    }
}

/* No legacy links/buttons are allowed inside the hero image. */
.epion-home-hero__media a,
.epion-home-hero__media button,
.epion-home-hero__media [role="button"],
.epion-home-hero__media ._button {
    display: none !important;
}

/* Services heading: title on its own row, helper text underneath. */
.epion-home-services .epion-home-section__head--stacked {
    display: block;
    margin-bottom: 34px;
}

.epion-home-services .epion-home-section__head--stacked .epion-home-section__title {
    max-width: 900px;
}

.epion-home-services .epion-home-section__head--stacked .epion-home-section__intro {
    max-width: 820px;
    margin-top: 20px;
}

/* Service cards: return to the clearer icon-left / content-right version,
   but without the decorative blue top strip. */
.epion-home-service-card {
    display: grid;
    grid-template-columns: 146px minmax(0, 1fr);
    min-height: 300px;
    overflow: hidden;
    background: #fff;
    border-top: 0;
    box-shadow: 0 8px 24px rgba(31, 51, 69, 0.07);
}

.epion-home-service-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 28px;
    background: var(--home-blue-soft);
}

.epion-home-service-card__media img {
    display: block;
    width: 100%;
    max-width: 88px;
    height: auto;
    max-height: 88px;
    object-fit: contain;
}

.epion-home-service-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 28px 30px;
}

.epion-home-service-card__title {
    margin: 0 0 16px;
    padding: 0;
    color: var(--home-blue);
    border: 0;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.35;
}

.epion-home-service-card__links {
    border-top: 1px solid var(--home-line);
}

/* The doctor-selection CTA remains compact. */
.epion-home-route__inner {
    grid-template-columns: minmax(0, 1fr) auto;
}

.epion-home-route .epion-home-button {
    width: auto !important;
    min-width: 220px;
    max-width: 270px;
    justify-self: start;
}

/* A clearer pause between treatment results and the clinic block. */
.epion-home-works {
    padding-bottom: 104px;
}

.epion-home-clinic {
    padding-top: 44px;
}

/* Technologies: use the service-page informational-card language rather
   than a separate grey image tile. */
.epion-home-tech-card {
    min-height: 260px;
    padding: 30px 28px;
    overflow: visible;
    background: var(--home-white);
}

.epion-home-tech-card__media {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 64px;
    height: 64px;
    margin: 0 0 22px;
    padding: 0;
    overflow: visible;
    background: transparent;
}

.epion-home-tech-card__media img {
    display: block;
    width: auto;
    max-width: 64px;
    height: auto;
    max-height: 64px;
    object-fit: contain;
}

.epion-home-tech-card__body {
    padding: 0;
}

.epion-home-tech-card h3 {
    margin: 0 0 14px;
    color: var(--home-blue);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
}

.epion-home-tech-card p {
    margin: 0;
    color: #465057;
    font-size: 15px;
    line-height: 1.65;
}

/* FAQ heading follows the same left-aligned composition as the other home sections. */
.epion-home-faq .epion-home-section__head--center {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    margin-bottom: 34px;
    text-align: left;
}

.epion-home-faq .epion-home-section__head--center .epion-home-section__title {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.epion-home-faq .epion-home-section__head--center .epion-home-section__title::before {
    left: 0;
    transform: none;
}

.epion-home-faq__list {
    width: min(100%, 900px);
    max-width: 900px;
    margin: 38px auto 0;
    background: var(--home-white);
    border: 0;
}

.epion-home-faq__item {
    border-bottom: 1px solid var(--home-line);
}

.epion-home-faq__item:last-child {
    border-bottom: 0;
}

.epion-home-faq__item summary {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 78px;
    margin: 0;
    padding: 20px 68px 20px 24px;
    color: #171c20;
    background: var(--home-white);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    list-style: none;
}

.epion-home-faq__item summary::-webkit-details-marker {
    display: none;
}

.epion-home-faq__item summary:hover,
.epion-home-faq__item summary:focus-visible {
    color: var(--home-blue);
}

/* FAQ control: match the service-page chevron exactly. */
.epion-home-faq__item summary::before {
    position: absolute;
    top: 50%;
    right: 28px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 0;
    border-right: 2px solid #111518;
    border-bottom: 2px solid #111518;
    content: '';
    transform: translateY(-68%) rotate(45deg);
    transition: transform .2s ease;
}

.epion-home-faq__item summary::after {
    display: none !important;
    content: none !important;
}

.epion-home-faq__item[open] summary::before {
    transform: translateY(-28%) rotate(-135deg);
}

.epion-home-faq__answer {
    max-width: none;
    padding: 0 70px 26px 24px;
    color: #48535a;
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .epion-home-route__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .epion-home-hero {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .epion-home-services .epion-home-section__head--stacked .epion-home-section__intro {
        margin-top: 16px;
    }

    .epion-home-tech-card {
        min-height: 0;
    }

    /* Keep the FAQ heading aligned with the other mobile section headings. */
    .epion-home-faq .epion-home-section__head--center {
        justify-items: start;
        text-align: left;
    }

    .epion-home-faq .epion-home-section__head--center .epion-home-section__title {
        margin-right: 0;
        margin-left: 0;
        text-align: left;
    }

    .epion-home-faq .epion-home-section__head--center .epion-home-section__title::before {
        left: 0;
        transform: none;
    }
}

@media (max-width: 640px) {
    .epion-home-service-card {
        grid-template-columns: 1fr;
    }

    .epion-home-service-card__media {
        min-height: 120px;
    }

    .epion-home-route .epion-home-button {
        width: fit-content !important;
        min-width: 0;
        max-width: 100%;
    }

    .epion-home-works {
        padding-bottom: 78px;
    }

    .epion-home-clinic {
        padding-top: 28px;
    }

    .epion-home-faq .epion-home-section__head--center {
        justify-items: start;
        text-align: left;
    }

    .epion-home-faq .epion-home-section__head--center .epion-home-section__title {
        margin-right: 0;
        margin-left: 0;
        text-align: left;
    }

    .epion-home-faq .epion-home-section__head--center .epion-home-section__title::before {
        left: 0;
        transform: none;
    }

    .epion-home-faq__item summary {
        min-height: 68px;
        padding: 18px 50px 18px 18px;
        font-size: 17px;
    }

    .epion-home-faq__item summary::before,
    .epion-home-faq__item summary::after {
        right: 20px;
    }

    .epion-home-faq__answer {
        padding: 0 18px 22px;
        font-size: 15px;
    }
}

/* ============================================================
 * SEO block final normalization — 2026-09-17.
 * Keep the approved Home layout, but make the typography inside
 * the expanded SEO copy match the service-page lower SEO block.
 * Only the Home SEO details block is affected.
 * ============================================================ */
.epion-home-seo-details__open {
    display: none;
}

.epion-home-seo-details[open] .epion-home-seo-details__closed {
    display: none;
}

.epion-home-seo-details[open] .epion-home-seo-details__open {
    display: inline;
}

.epion-home-seo-details__content h2,
.epion-home-seo-details__content h3,
.epion-home-seo-details__content h4 {
    color: #171c20;
    font-family: "Apercu Pro", sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.epion-home-seo-details__content h2 {
    margin: 34px 0 14px;
    font-size: 27px;
    line-height: 1.3;
}

.epion-home-seo-details__content h3 {
    margin: 28px 0 12px;
    font-size: 21px;
    line-height: 1.34;
}

.epion-home-seo-details__content h4 {
    margin: 26px 0 12px;
    font-size: 18px;
    line-height: 1.38;
}

.epion-home-seo-details__content > h2:first-child,
.epion-home-seo-details__content > h3:first-child,
.epion-home-seo-details__content > h4:first-child {
    margin-top: 0;
}

/* Keywords inside body copy should not become visually heavier than headings. */
.epion-home-seo-details__content strong,
.epion-home-seo-details__content b {
    color: inherit;
    font-weight: 500;
}

@media (max-width: 640px) {
    .epion-home-seo-details__content h2 {
        margin: 28px 0 12px;
        font-size: 22px;
        line-height: 1.32;
    }

    .epion-home-seo-details__content h3 {
        margin: 24px 0 11px;
        font-size: 19px;
        line-height: 1.36;
    }

    .epion-home-seo-details__content h4 {
        margin: 22px 0 10px;
        font-size: 17px;
        line-height: 1.4;
    }
}

/* ============================================================
 * FINAL SEO TITLE MATCH — 2026-09-17.
 * The accepted service-page SEO heading is the source of truth.
 * Strictly scoped to the Homepage lower SEO block only.
 * ============================================================ */
.epion-home .epion-home-seo-section .epion-home-section__title {
    font-family: "Apercu Pro", sans-serif !important;
    font-size: clamp(32px, 3.6vw, 46px) !important;
    font-weight: 400 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.018em !important;
}

@media (max-width: 767px) {
    .epion-home .epion-home-seo-section .epion-home-section__title {
        font-size: 32px !important;
        line-height: 1.18 !important;
    }
}

/* ============================================================
 * HOMEPAGE SEO HEADING NORMALIZATION — 2026-09-17.
 * The Home SEO text may contain <strong>/<b> or editor-generated
 * inline font-weight inside H2/H3/H4. Those nested marks were making
 * the headings visibly heavier than the accepted service/price SEO copy.
 * Keep this strictly scoped to the expanded Home SEO content.
 * ============================================================ */
.epion-home .epion-home-seo-details__content h2,
.epion-home .epion-home-seo-details__content h3,
.epion-home .epion-home-seo-details__content h4 {
    color: #171c20 !important;
    font-family: "Apercu Pro", sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}

/* Gutenberg / TinyMCE may leave <strong>, <b>, spans or inline weight
   inside a heading. Force those descendants to inherit the heading's
   accepted service-page typography instead of becoming 600/700. */
.epion-home .epion-home-seo-details__content h2 *,
.epion-home .epion-home-seo-details__content h3 *,
.epion-home .epion-home-seo-details__content h4 * {
    font-family: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
}

.epion-home .epion-home-seo-details__content h2 {
    margin: 34px 0 14px !important;
    font-size: 27px !important;
    line-height: 1.3 !important;
}

.epion-home .epion-home-seo-details__content h3 {
    margin: 28px 0 12px !important;
    font-size: 21px !important;
    line-height: 1.34 !important;
}

.epion-home .epion-home-seo-details__content h4 {
    margin: 26px 0 12px !important;
    font-size: 18px !important;
    line-height: 1.38 !important;
}

.epion-home .epion-home-seo-details__content > h2:first-child,
.epion-home .epion-home-seo-details__content > h3:first-child,
.epion-home .epion-home-seo-details__content > h4:first-child {
    margin-top: 0 !important;
}

@media (max-width: 640px) {
    .epion-home .epion-home-seo-details__content h2 {
        margin: 28px 0 12px !important;
        font-size: 22px !important;
        line-height: 1.32 !important;
    }

    .epion-home .epion-home-seo-details__content h3 {
        margin: 24px 0 11px !important;
        font-size: 19px !important;
        line-height: 1.36 !important;
    }

    .epion-home .epion-home-seo-details__content h4 {
        margin: 22px 0 10px !important;
        font-size: 17px !important;
        line-height: 1.4 !important;
    }
}

/* ==========================================================================
 * HOME SPECIALS — after trust cards.
 * Three current promotions are shown together on desktop.
 * The block stays within the current Epion visual system: blue accents,
 * neutral background, no separate advertising color palette.
 * ========================================================================== */
.epion-home .epion-home-specials {
    --home-special-accent: var(--home-blue, #0876e8);
    position: relative;
    margin: 0;
    padding: 48px 0 58px;
    background: var(--home-surface, #f7f9fa);
    border-top: 1px solid #e7edf1;
    border-bottom: 1px solid #e7edf1;
}

.epion-home .epion-home-specials .epion-home-section__head {
    margin-bottom: 28px;
}

.epion-home .epion-home-specials .epion-home-section__title {
    font-size: clamp(30px, 3vw, 40px);
}

.epion-home .epion-home-specials .epion-home-section__title::before {
    background: var(--home-special-accent);
}

.epion-home .epion-home-specials .epion-home-section__more {
    white-space: nowrap;
}

.epion-home .epion-home-specials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.epion-home .epion-home-special-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e6eb;
    box-shadow: 0 8px 24px rgba(31, 51, 69, 0.07);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}

.epion-home .epion-home-special-card:hover {
    border-color: #c7dced;
    box-shadow: 0 14px 34px rgba(31, 51, 69, 0.11);
    transform: translateY(-3px);
}

.epion-home .epion-home-special-card > a {
    display: flex;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.epion-home .epion-home-special-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef1f3;
}

.epion-home .epion-home-special-card__media::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 30%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(17, 21, 24, 0) 0%, rgba(17, 21, 24, 0.07) 100%);
    content: '';
}

.epion-home .epion-home-special-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.epion-home .epion-home-special-card:hover .epion-home-special-card__media img {
    transform: scale(1.025);
}

.epion-home .epion-home-special-card__body {
    display: flex;
    min-height: 178px;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px 24px;
}

.epion-home .epion-home-special-card__badge {
    display: inline-flex;
    min-height: 27px;
    margin-bottom: 13px;
    padding: 5px 10px 4px;
    align-items: center;
    color: var(--home-blue-dark, #0668cb);
    background: var(--home-blue-soft, #edf5fd);
    border: 1px solid #d8e9fa;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.epion-home .epion-home-special-card h3 {
    margin: 0;
    color: #171c20;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.36;
}

/* Цена акции — в той же визуальной логике, что и промо-блоки услуг.
 * Старая стоимость вторична и зачёркнута, актуальная — крупнее и заметнее.
 * Отдельные подписи «Было / Сейчас» не используем, чтобы карточка не выглядела
 * как таблица и оставалась визуально близкой к странице услуги. */
.epion-home .epion-home-special-card--with-prices .epion-home-special-card__body {
    min-height: 218px;
}

.epion-home .epion-home-special-card__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 20px;
    width: 100%;
    margin-top: 17px;
}

.epion-home .epion-home-special-card__price-before {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    color: #727c84;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration-line: line-through;
    text-decoration-color: #727c84;
    text-decoration-thickness: 1px;
}

.epion-home .epion-home-special-card__price-before span {
    color: inherit;
    font-size: 14px;
}

.epion-home .epion-home-special-card__price-after {
    color: #171c20;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.epion-home .epion-home-special-card__cta {
    display: inline-flex;
    gap: 9px;
    margin-top: auto;
    padding-top: 20px;
    align-items: center;
    color: var(--home-blue-dark, #0668cb);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.epion-home .epion-home-special-card__cta [aria-hidden="true"] {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.epion-home .epion-home-special-card:hover .epion-home-special-card__cta [aria-hidden="true"] {
    transform: translateX(3px);
}

/* До 900 px показываем те же три акции в горизонтальном ряду.
 * Это лучше, чем превращать третью карточку в одинокую вторую строку. */
@media (max-width: 900px) {
    .epion-home .epion-home-specials__grid {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: min(46vw, 360px);
        gap: 16px;
        margin-right: -20px;
        padding: 0 20px 8px 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .epion-home .epion-home-specials__grid::-webkit-scrollbar {
        display: none;
    }

    .epion-home .epion-home-special-card {
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
    .epion-home .epion-home-specials {
        padding: 38px 0 42px;
    }

    .epion-home .epion-home-specials .epion-home-section__head {
        display: flex;
        gap: 14px;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 22px;
        padding-right: 0;
    }

    .epion-home .epion-home-specials .epion-home-section__title {
        padding-top: 15px;
        font-size: 28px;
    }

    .epion-home .epion-home-specials .epion-home-section__more {
        position: static;
        flex: 0 0 auto;
        margin-bottom: 3px;
        font-size: 14px;
    }

    .epion-home .epion-home-specials__grid {
        grid-auto-columns: min(84vw, 360px);
    }

    .epion-home .epion-home-special-card__body {
        min-height: 160px;
        padding: 18px 18px 20px;
    }

    .epion-home .epion-home-special-card--with-prices .epion-home-special-card__body {
        min-height: 194px;
    }

    .epion-home .epion-home-special-card__prices {
        gap: 7px 16px;
        margin-top: 14px;
    }

    .epion-home .epion-home-special-card__price-before {
        font-size: 14px;
    }

    .epion-home .epion-home-special-card__price-after {
        font-size: 24px;
    }

    .epion-home .epion-home-special-card h3 {
        font-size: 19px;
    }
}

@media (max-width: 420px) {
    .epion-home .epion-home-specials .epion-home-section__head {
        align-items: flex-start;
    }

    .epion-home .epion-home-specials .epion-home-section__more {
        margin-top: 20px;
        white-space: nowrap;
    }

    .epion-home .epion-home-specials__grid {
        grid-auto-columns: 86vw;
    }
}

/* ==========================================================================
 * HOME CARD SLIDERS — doctors + reviews.
 * Native horizontal scrolling keeps the homepage independent from Owl/Carousel
 * Slider, which is intentionally dequeued on page-main.php for performance.
 * Desktop: 3 cards, tablet: 2, mobile: 1. Touch swipe remains native.
 * ========================================================================== */
.epion-home .epion-home-slider {
    position: relative;
    min-width: 0;
}

.epion-home .epion-home-slider__controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: -10px 0 20px;
}

.epion-home .epion-home-slider__controls[hidden] {
    display: none !important;
}

.epion-home .epion-home-slider__button {
    display: inline-flex;
    width: 46px;
    height: 46px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: var(--home-blue-dark, #0668cb);
    background: #fff;
    border: 1px solid #cfd9e1;
    border-radius: 0;
    box-shadow: none;
    font: inherit;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}

.epion-home .epion-home-slider__button:hover:not(:disabled),
.epion-home .epion-home-slider__button:focus-visible:not(:disabled) {
    color: #fff;
    background: var(--home-blue, #0876e8);
    border-color: var(--home-blue, #0876e8);
}

.epion-home .epion-home-slider__button:focus-visible {
    outline: 2px solid var(--home-blue, #0876e8);
    outline-offset: 2px;
}

.epion-home .epion-home-slider__button:disabled {
    opacity: .34;
    cursor: default;
}

.epion-home .epion-home-slider__track,
.epion-home .epion-home-doctors__grid.epion-home-slider__track,
.epion-home .epion-home-reviews__grid.epion-home-slider__track {
    display: flex;
    grid-template-columns: none;
    gap: 24px;
    min-width: 0;
    margin: -8px -4px -20px;
    padding: 8px 4px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.epion-home .epion-home-slider__track::-webkit-scrollbar {
    display: none;
}

.epion-home .epion-home-slider__track > * {
    width: auto;
    min-width: 0;
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.epion-home .epion-home-slider__track > .epion-home-review-card {
    display: flex;
    flex-direction: column;
}

.epion-home .epion-home-slider__track > .epion-home-review-card .epion-home-review-card__source {
    margin-top: auto;
    padding-top: 16px;
}

@media (max-width: 1024px) {
    .epion-home .epion-home-slider__track > * {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 640px) {
    .epion-home .epion-home-slider__controls {
        justify-content: flex-start;
        margin: -4px 0 18px;
    }

    .epion-home .epion-home-slider__button {
        width: 44px;
        height: 44px;
    }

    .epion-home .epion-home-slider__track,
    .epion-home .epion-home-doctors__grid.epion-home-slider__track,
    .epion-home .epion-home-reviews__grid.epion-home-slider__track {
        gap: 16px;
    }

    .epion-home .epion-home-slider__track > * {
        flex-basis: 100%;
    }
}

