/* =============================================================================
   START: Fonts
   Custom webfont face declarations (Futura, DM Sans, PT Sans).
   ============================================================================= */
@font-face {
    font-family: "FuturaBookC";
    src: url("../fonts/FuturaBookC.woff2") format("woff2"),
         url("../fonts/FuturaBookC.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PT Sans";
    src: url("../fonts/PTSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PT Sans";
    src: url("../fonts/PTSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* === END: Fonts === */

/* =============================================================================
   START: Design Tokens
   CSS variables for colors, fonts, and shared layout values.
   ============================================================================= */
:root {
    --color-primary: #1838D9;
    --color-primary-hover: #132cb0;
    --color-green: #04A243;
    --color-green-border: #89DB7B;
    --color-green-hover: #038a38;
    --color-dark: #424447;
    --color-text: #424447;
    --color-muted: #6b7280;
    --color-white: #FFFFFF;
    --color-light: #D9D9D9;
    --font-futura: "FuturaBookC", sans-serif;
    --font-dm: "DM Sans", sans-serif;
    --font-pt: "PT Sans", sans-serif;
    --container-max: 1440px;
    --container-padding: 132px;
}
/* === END: Design Tokens === */

/* =============================================================================
   START: Base / Reset
   Document base styles, body typography, and .container width.
   ============================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-dm);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    overflow-x: hidden;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}
/* === END: Base / Reset === */

/* =============================================================================
   START: Scroll Animations
   Utility classes for entrance animations and stagger delays.
   ============================================================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

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

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

.anim {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim.anim--up     { transform: translateY(30px); }
.anim.anim--left   { transform: translateX(-30px); }
.anim.anim--right  { transform: translateX(30px); }
.anim.anim--fade   { transform: none; }

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

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }
/* === END: Scroll Animations === */

/* =============================================================================
   START: Header
   Site header, logo, desktop navigation, and header actions.
   ============================================================================= */
.header {
    position: relative;
    z-index: 100;
    min-height: 114px;
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: 0 4px 20px 3px rgba(0, 0, 0, 0.08);
    padding: 14px 0;
}

.header .container,
.header__inner {
    width: 100%;
}

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

.logo {
    flex-shrink: 0;
}

.logo img,
.nav__logo img,
.footer__logo img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo img {
    width: 85px;
    height: 85px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}

.nav__logo {
    display: none;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__links--mobile {
    display: none;
}

a.nav__cta.btn {
    display: none;
}

.nav__link {
    font-family: var(--font-futura);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: var(--color-dark);
    transition: color 0.3s;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
}

.nav__link:hover {
    color: var(--color-primary);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.header__actions .btn--primary {
    padding: 18px 20px;
    font-family: var(--font-dm);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}
/* === END: Header === */

/* =============================================================================
   START: Burger Menu & Buttons
   Mobile burger icon and shared .btn button variants (also lang switcher).
   ============================================================================= */
.burger {
    display: none;
    width: 28px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    border: none;
    background: transparent;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-family: var(--font-dm);
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s;
    border: 1px solid transparent;
    cursor: pointer;
}

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

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

.btn--green {
    background: #00B050;
    color: var(--color-white);
    border: 1.5px solid #4ADE80;
    padding: 18px 54px;
    min-height: 53px;
    font-size: 18px;
    font-weight: 500;
    box-sizing: border-box;
}

.btn--green:hover {
    background: #009647;
    border-color: #4ADE80;
}

.hero__buttons .btn--green {
    min-width: 210px;
    height: 53px;
    min-height: 53px;
    padding: 0 40px;
    justify-content: center;
}

.btn--phone {
    background: var(--color-white);
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    padding: 16px 28px;
    min-height: 53px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn--phone:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--phone svg,
.btn--phone .btn__icon {
    flex-shrink: 0;
    display: block;
}

.btn--phone:hover .btn__icon {
    filter: brightness(0) invert(1);
}

.lang {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.lang__current {
    font-family: var(--font-futura);
    color: var(--color-primary);
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s;
    -webkit-font-smoothing: antialiased;
}

.lang__current:hover {
    background: rgba(24,56,217,0.08);
}

.lang__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    min-width: 130px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    z-index: 100;
}

.lang.open .lang__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang__option {
    display: block;
    padding: 10px 16px;
    font-family: var(--font-dm);
    font-size: 16px;
    color: var(--color-dark);
    text-decoration: none;
    transition: background 0.2s;
}

.lang__option:hover {
    background: #f3f4f6;
}

.lang__option.active {
    color: var(--color-primary);
    font-weight: 600;
}
/* === END: Burger Menu & Buttons === */

/* =============================================================================
   START: Hero Section
   Full-bleed homepage hero: backgrounds, content panels, and overlay.
   ============================================================================= */
.hero {
    position: relative;
    min-height: 760px;
    height: 760px;
    overflow: hidden;
}

.hero__slide {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px 0 64px;
}

.hero__slide > .container {
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero__bg img.active {
    opacity: 1;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

.hero__content-wrap {
    position: relative;
    z-index: 2;
    flex: 1;
    width: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.hero__content-panel:not(.active) {
    display: none !important;
}

.hero__content-panel.active {
    display: flex;
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero .anim,
.hero .anim.anim--up,
.hero .anim.anim--fade {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.hero__content.hero__content-panel.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 740px;
    flex: 1;
    width: 100%;
    min-height: 100%;
}
/* === END: Hero Section === */

/* =============================================================================
   START: Social Icons
   Circular social network icon buttons used in hero and appointment.
   ============================================================================= */
.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #7b848e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
    border: none;
}

.social-icon:hover {
    background: #6d7680;
    transform: translateY(-2px);
}

.social-icon svg,
.social-icon__img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}
/* === END: Social Icons === */

/* =============================================================================
   START: Hero Title
   Large Futura headline inside the hero.
   ============================================================================= */
.hero__title {
    font-family: var(--font-futura);
    font-weight: 400;
    font-size: 58px;
    line-height: 1.05;
    margin-bottom: 12px;
    max-width: 700px;
}
/* === END: Hero Title === */

/* =============================================================================
   START: Happy Patients
   Avatar stack and patient count label under the hero title.
   ============================================================================= */
.happy-patients {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 32px;
}

.happy-patients__avatars {
    display: flex;
}

.happy-patients__avatars img:first-child {
    margin-left: 0;
}

.happy-patients__text {
    display: flex;
    flex-direction: column;
}

.happy-patients__avatars img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--color-white);
    margin-left: -8px;
    object-fit: cover;
}

.happy-patients__count {
    font-family: var(--font-pt);
    font-size: 25px;
    line-height: 33px;
    font-weight: 400;
}

.happy-patients__label {
    font-family: var(--font-pt);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}
/* === END: Happy Patients === */

/* =============================================================================
   START: Hero Buttons
   CTA row: green book button and phone button sizing.
   ============================================================================= */
.hero__buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 0;
}

.hero__buttons .btn--phone {
    height: 53px;
    min-height: 53px;
    padding: 0 28px;
    gap: 10px;
}
/* === END: Hero Buttons === */

/* =============================================================================
   START: Hero Info Cards
   Frosted glass feature cards at the bottom of the hero.
   ============================================================================= */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 12px;
    align-items: stretch;
    width: 100%;
    max-width: 740px;
    min-height: 148px;
    margin-top: auto;
    margin-bottom: 36px;
    padding: 26px 32px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16.5px);
    -webkit-backdrop-filter: blur(16.5px);
    border-radius: 30px;
    border: 0.5px solid rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    height: 100%;
}

.info-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.info-card__icon--location,
.info-card__icon--calendar,
.info-card__icon--doctor {
    width: 44px;
    height: 44px;
}

.info-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.info-card__icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.info-card__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: var(--font-dm);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 400;
    color: var(--color-white);
    margin: 0;
}

.info-card__text strong {
    font-weight: 600;
}

.info-card__text span {
    display: block;
}
/* === END: Hero Info Cards === */

/* =============================================================================
   START: Hero Slider Controls
   Prev/next arrows and pagination dots for the hero slider.
   ============================================================================= */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 53px;
    height: 53px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 20;
    transition: opacity 0.3s;
}

.slider-arrow img {
    width: 100%;
    height: 100%;
    display: block;
}

.slider-arrow:hover {
    opacity: 0.85;
}

.slider-arrow--prev {
    left: 42px;
}

.slider-arrow--next {
    right: 42px;
}

.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-light);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: var(--color-primary);
}
/* === END: Hero Slider Controls === */

/* =============================================================================
   START: Green Text & Shared Titles
   Green band copy plus shared section title/subtitle styles.
   ============================================================================= */
.green-text-section {
    background: #fff;
    padding: 40px 0;
    text-align: center;
}

.green-text {
    font-family: var(--font-futura);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1.4;
}

.reviews__title,
.promos__title,
.directions__title,
.why-us__title,
.doctors__title,
.works__title,
.certificates__title,
.contacts__title,
.pricing__title,
.appointment__title {
    font-family: var(--font-futura);
    font-weight: 400;
}

.reviews__subtitle,
.promos__subtitle,
.directions__subtitle,
.why-us__subtitle,
.doctors__subtitle,
.works__subtitle,
.certificates__subtitle,
.contacts__subtitle,
.pricing__subtitle {
    font-family: var(--font-dm);
}
/* === END: Green Text & Shared Titles === */

/* =============================================================================
   START: Reviews Section
   Reviews layout, cards, video preview, and pagination.
   ============================================================================= */
.reviews {
    background: #f4f5f8;
    padding: 74px 0 88px;
}

.reviews__header {
    text-align: center;
    margin-bottom: 52px;
}

.reviews__title {
    font-size: 52px;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.reviews__subtitle {
    font-size: 16px;
    line-height: 1.2;
    color: #7b8192;
}

.reviews__content {
    display: flex;
    gap: 34px;
    align-items: flex-start;
}

.reviews__frame {
    position: relative;
}

.reviews-swiper {
    position: relative;
    z-index: 1;
    margin: 0;
}

.reviews-swiper .swiper-slide {
    height: auto;
    cursor: default;
    pointer-events: none;
}

.reviews-swiper .review-card,
.reviews-swiper .video-preview,
.reviews-swiper .video-preview__play {
    pointer-events: auto;
}


/* Reviews Left Column */
.reviews__left {
    flex: 0 0 360px;
}

.reviews__dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: #d5d7df;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

.reviews__dot.active {
    background: var(--color-primary);
}

.reviews__pagination {
    position: absolute;
    top: calc(236px + 22px);
    left: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 360px;
    max-width: 100%;
    z-index: 0;
}


.review-card {
    background: #fff;
    border-radius: 30px;
    padding: 26px 32px 46px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    position: relative;
    min-height: 236px;
}

.review-card__date {
    font-size: 13px;
    line-height: 1.2;
    color: #9499a8;
    margin-bottom: 14px;
}

.review-card__name {
    font-family: var(--font-futura);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-dark);
    line-height: 1.1;
    margin-bottom: 12px;
}

.review-card__text {
    font-size: 14px;
    line-height: 1.45;
    color: #2f3442;
    max-width: 100%;
}

.review-card__quote {
    position: absolute;
    bottom: 10px;
    right: 16px;
    opacity: 0.35;
}

.review-card__quote img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.reviews__video {
    flex: 1;
    min-width: 0;
}

.video-preview {
    background: #4a5160;
    border-radius: 0;
    width: 100%;
    min-height: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-preview__backdrop {
    position: absolute;
    inset: -12%;
    width: 124%;
    height: 124%;
    object-fit: cover;
    object-position: center center;
    filter: blur(18px);
    transform: scale(1.08);
    pointer-events: none;
    z-index: 0;
}

.video-preview__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
    z-index: 1;
}

.video-preview__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
    z-index: 1;
}

.video-preview__media.is-poster-ready {
    opacity: 0;
}

.video-preview__play {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    z-index: 2;
}

.video-preview__play:hover {
    background: rgba(255,255,255,0.14);
    transform: scale(1.05);
}

.video-preview__play svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}
/* === END: Reviews Section === */

/* =============================================================================
   START: Review Video Lightbox
   Fullscreen overlay for playing review videos.
   ============================================================================= */
.review-video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.review-video-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.review-video-lightbox__content {
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
}

.review-video-lightbox__content iframe,
.review-video-lightbox__content video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.review-video-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.review-video-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.24);
}
/* === END: Review Video Lightbox === */

/* =============================================================================
   START: Promotions Section
   Promo cards slider, arrows, and pagination.
   ============================================================================= */
.promos {
    background: #fff;
    padding: 60px 0 80px;
}

.promos__header {
    text-align: center;
    margin-bottom: 50px;
}

.promos__title {
    font-size: 42px;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.promos__subtitle {
    font-size: 16px;
    color: #6b7280;
}

.promos__slider-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.promos__arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--color-primary);
    background: #fff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.promos__arrow:hover {
    background: var(--color-primary);
    color: #fff;
}

.promos-swiper {
    flex: 1;
    overflow: hidden;
}

.promos-swiper .swiper-wrapper {
    align-items: stretch;
}

.promos-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.promo-card {
    display: flex;
    align-items: stretch;
    background: #f8f9fa;
    border-radius: 24px;
    overflow: hidden;
    height: 360px;
    min-height: 360px;
}

.promo-card__info {
    flex: 0 0 45%;
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    min-width: 0;
}

.promo-card__title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.promo-card__text {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    color: #4b5563;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.promo-card__btn {
    align-self: flex-start;
    margin-top: auto;
    border-radius: 25px;
    padding: 14px 64px;
    min-width: 240px;
    font-size: 16px;
    justify-content: center;
}

.promo-card__image {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: linear-gradient(180deg, #eef2f7 0%, #e4e9f0 100%);
}

.promo-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.promos-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.promos-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    border-radius: 50%;
    transition: background 0.3s;
}

.promos-pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
}
/* === END: Promotions Section === */

/* =============================================================================
   START: Directions Section
   Service direction cards, slider controls, and locked state.
   ============================================================================= */
.directions {
    background: #f0f4ff;
    padding: 60px 0 80px;
}

.directions__header {
    text-align: center;
    margin-bottom: 50px;
}

.directions__title {
    font-size: 42px;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.directions__subtitle {
    font-size: 16px;
    color: #6b7280;
}

.directions__slider-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.directions__arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--color-primary);
    background: #fff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.directions__arrow:hover {
    background: var(--color-primary);
    color: #fff;
}

.directions-swiper {
    flex: 1;
    overflow: hidden;
}

.dir-card {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dir-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.dir-card--green {
    background: #7ecb7e;
}

.dir-card--mint {
    background: #7dd4c0;
}

.dir-card--teal {
    background: #6ec6b8;
}

.dir-card__body {
    padding: 28px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    z-index: 1;
    position: relative;
}

.dir-card__title {
    font-size: 26px;
    font-weight: 400;
    color: #1a1a2e;
}

.dir-card__list {
    list-style: disc;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dir-card__list li {
    font-size: 14px;
    color: #1a1a2e;
    line-height: 1.4;
}

.dir-card__btn {
    display: inline-block;
    background: #fff;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    padding: 9px 22px;
    border-radius: 20px;
    align-self: flex-start;
    transition: all 0.3s;
    margin-top: auto;
    border: 0;
    cursor: pointer;
}

.dir-card__btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.dir-card__image {
    position: absolute;
    bottom: 0;
    right: -20px;
    width: 60%;
    height: 90%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.dir-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}


.directions-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.directions__slider-wrap.is-locked .directions-pagination {
    display: none;
}

.directions__arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.directions-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #c0c9e0;
    opacity: 1;
    border-radius: 50%;
    transition: background 0.3s;
}

.directions-pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
}
/* === END: Directions Section === */

/* =============================================================================
   START: Directions Lightbox
   Fullscreen lightbox for direction detail images.
   ============================================================================= */
.dir-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 72px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dir-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.dir-lightbox__content {
    max-width: min(720px, 100%);
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.dir-lightbox__content img {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.dir-lightbox__title {
    margin: 0;
    font-family: var(--font-futura);
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    text-align: center;
}

.dir-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease;
}

.dir-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.dir-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease;
}

.dir-lightbox__arrow:hover {
    background: rgba(255, 255, 255, 0.22);
}

.dir-lightbox__arrow--prev {
    left: 20px;
}

.dir-lightbox__arrow--next {
    right: 20px;
}

.dir-lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}
/* === END: Directions Lightbox === */

/* =============================================================================
   START: Why Us Section
   Why-us panel, benefit cards carousel, and controls.
   ============================================================================= */
.why-us {
    position: relative;
    margin: 72px 0;
    padding: 0;
    overflow: visible;
}

.why-us__panel {
    position: relative;
    min-height: 720px;
    padding: 96px 0 88px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Лінза: вигнуті верх і низ як на макеті */
    border-radius: 50% 50% 0% 0% / clamp(52px, 8vw, 96px) clamp(52px, 8vw, 96px) clamp(52px, 8vw, 96px) clamp(52px, 8vw, 96px);
}

.why-us__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.why-us__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.why-us__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(37, 99, 235, 0.82) 0%,
        rgba(37, 99, 235, 0.72) 50%,
        rgba(37, 99, 235, 0.78) 100%
    );
}

.why-us .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.why-us__header {
    margin-bottom: 48px;
}

.why-us__label {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.why-us__title {
    font-family: "FuturaBookC";
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
}

.why-us__slider-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.why-us__slider {
    flex: 1;
    min-width: 0;
}

.why-us__arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    padding: 0;
}

.why-us__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.why-us__arrow:active {
    transform: scale(0.96);
}

.why-us-swiper {
    width: 100%;
    overflow: hidden;
    padding: 4px 0;
}

.why-us-swiper .swiper-wrapper {
    align-items: stretch;
}

.why-us-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.why-us-pagination {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    position: static;
}

.why-us-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    border-radius: 50%;
    margin: 0 4px !important;
    transition: width 0.3s, background 0.3s;
}

.why-us-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

.why-card {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 196px;
    aspect-ratio: 1;
    padding: 28px 16px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

.why-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.why-card__icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.why-card__text {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
    max-width: 150px;
}
/* === END: Why Us Section === */

/* =============================================================================
   START: Doctors Section
   Doctor profile cards, equal-height layout, and swiper.
   ============================================================================= */
.doctors {
    padding: 80px 0 100px;
    background: #fff;
}

.doctors__header {
    text-align: center;
    margin-bottom: 50px;
}

.doctors__title {
    font-size: 42px;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.doctors__subtitle {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

.doctors__slider-wrap {
    position: relative;
}

.doctors-swiper .swiper-wrapper {
    align-items: stretch;
}

.doctors-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.doctor-card {
    text-align: center;
    padding: 0 10px;
    max-width: 280px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor-card__photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: visible;
    position: relative;
    background: transparent;
}

.doctor-card__photo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 210px;
    height: 270px;
    background: url('../img/doctors-card-bg.png') center / contain no-repeat;
    border-radius: 0;
    z-index: 0;
}

.doctor-card__photo img {
    width: 90%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.doctor-card__name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
}

.doctor-card__position,
.doctor-card__exp {
    display: inline-block;
    font-size: 13px;
    color: #4b5563;
    background: #f3f4f6;
    padding: 6px 14px;
    border-radius: 20px;
}

.doctor-card__position {
    margin-bottom: 6px;
}

.doctor-card__exp {
    margin-bottom: 20px;
}

.doctor-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 24px;
    border: 1.5px solid var(--color-primary);
    border-radius: 24px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.doctor-card__btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.doctor-card__btn svg {
    flex-shrink: 0;
}

.doctors-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.doctors-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.doctors-pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 5px;
}

@media (min-width: 1025px) {
    .doctors-pagination {
        display: none;
    }
}
/* === END: Doctors Section === */

/* =============================================================================
   START: Works Section
   Before/after portfolio tabs, cards, and slider.
   ============================================================================= */
.works {
    padding: 80px 0 100px;
    background-color: #f4f5f8;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.5) 100%);
    z-index: 0;
}


.works .container {
    position: relative;
    z-index: 1;
}

.works__title {
    font-size: 42px;
    font-weight: 400;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 30px;
}

.works__tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.works__tab {
    font-size: 18px;
    color: #6b7280;
    background: none;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.works__tab:hover,
.works__tab.active {
    color: var(--color-green);
}

.works__tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-green);
}

.works__slider-wrap {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.works-swiper {
    flex: 1;
    overflow: hidden;
}

.works__arrow {
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background: #fff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s;
}

.works__arrow:hover {
    background: var(--color-primary);
    color: #fff;
}

.work-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.work-card__images {
    display: flex;
    gap: 20px;
}

.work-card__img-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.work-card__img-wrap img {
    width: 100%;
    height: 390px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.work-card__label {
    font-size: 22px !important;
    font-weight: bold !important;
    color: #1f2937;
    margin-top: 12px;
}

.works-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.works-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
}

.works-pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 5px;
}

.works__btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 15px 60px;
    background: var(--color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s;
}

.works__btn:hover {
    background: var(--color-primary-hover);
}
/* === END: Works Section === */

/* =============================================================================
   START: Certificates Section
   Certificates gallery slider and card styles.
   ============================================================================= */
.certificates {
    display: none;
    padding: 80px 0 100px;
    background: #fff;
}

.certificates__title {
    font-size: 42px;
    font-weight: 400;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 50px;
}

.certificates__slider-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.certificates-swiper {
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.certificates-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.certificates-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 14px;
    box-sizing: border-box;
}

.certificate-card {
    background: #fff;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    width: 100%;
    min-width: 0;
    padding: 0;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.certificate-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.certificates__arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #dcfce7;
    border: 2px solid var(--color-green);
    color: var(--color-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s;
}

.certificates__arrow:hover {
    background: var(--color-green);
    color: #fff;
}

.certificates-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.certificates-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
}

.certificates-pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 5px;
}
/* === END: Certificates Section === */

/* =============================================================================
   START: Certificate Lightbox
   Fullscreen certificate image viewer.
   ============================================================================= */
.cert-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 72px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cert-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.cert-lightbox__content {
    max-width: min(920px, 100%);
    max-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-lightbox__content img {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cert-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.cert-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.cert-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.cert-lightbox__arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #fff;
}

.cert-lightbox__arrow--prev {
    left: 20px;
}

.cert-lightbox__arrow--next {
    right: 20px;
}

.cert-lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.04em;
}
/* === END: Certificate Lightbox === */

/* =============================================================================
   START: Appointment Section
   Lead capture form block and appointment social icons.
   ============================================================================= */
.appointment {
    display: flex;
    min-height: 420px;
}

.appointment__content {
    flex: 1;
    background: #1838D9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.appointment__title {
    font-size: 36px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.appointment__text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    line-height: 1.5;
    max-width: 500px;
}

.appointment__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
    width: 100%;
    max-width: 500px;
}

.appointment__form-wrap {
    width: 100%;
    max-width: 500px;
    margin-bottom: 35px;
}

.appointment__form-wrap .appointment__form {
    margin-bottom: 0;
}

.appointment__field {
    display: flex;
    gap: 12px;
    align-items: center;
    max-width: 550px;
    width: 100%;
}

.appointment__field--phone {
    max-width: 550px;
}

.appointment__field--name {
    max-width: 550px;
}

.appointment__input {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.appointment__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.appointment__btn {
    padding: 10px 0 10px 0;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: all 0.3s;
    min-width: 160px;
    text-align: center;
}

.appointment__btn--primary {
    background: #fff;
    color: var(--color-primary);
}

.appointment__btn--primary:hover {
    background: #f0f0f0;
}

/* CF7 section form */
.kebot-cf7-section-form .wpcf7-form-control-wrap {
    display: block;
    flex: 1;
    min-width: 0;
}

.kebot-cf7-section-form .appointment__field--phone .wpcf7-form-control-wrap {
    width: 100%;
}

/* CF7 wraps name+submit in <p> with <br> — keep them in one row */
.kebot-cf7-section-form .appointment__field--name > p {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0;
    width: 100%;
}

.kebot-cf7-section-form .appointment__field--name br {
    display: none !important;
}

.kebot-cf7-section-form .appointment__field--name .wpcf7-form-control-wrap {
    flex: 1;
    min-width: 0;
}

.kebot-cf7-section-form input.wpcf7-submit.appointment__btn {
    flex-shrink: 0;
    min-width: 160px;
}

.kebot-cf7-section-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #fecaca;
    margin-top: 4px;
}

.kebot-cf7-section-form .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

.kebot-cf7-section-form form.sent .wpcf7-response-output {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.18);
}

.kebot-cf7-section-form br {
    display: none;
}

.appointment__social {
    margin-bottom: 0;
}

.appointment__social .social-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.appointment__social .social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.appointment__image {
    flex: 1;
    min-height: 520px;
    max-height: 520px;
    overflow: hidden;
}

.appointment__image img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center bottom;
}
/* === END: Appointment Section === */

/* =============================================================================
   START: Contacts Section
   Contact card, phones, schedule, socials, and map.
   ============================================================================= */
.contacts {
padding: 80px 0;
background: #f8fafc;
}

.contacts__title {
    font-size: 42px;
    font-weight: 400;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 50px;
}

.contacts__wrapper {
display: flex;
gap: 40px;
align-items: stretch;
}

.contacts__info {
flex: 1;
}

.contacts__card {
background: #fff;
border-radius: 20px;
padding: 40px;
box-shadow: 0 10px 40px rgba(0,0,0,0.1);
height: 100%;
}

.contacts__card-title {
width: 300px;
font-size: 22px;
font-weight: bold;
color: var(--color-primary);
margin-bottom: 30px;
line-height: 1.4;
}

.contacts__list {
list-style: none;
padding: 0;
margin: 0 0 30px 0;
}

.contacts__item {
display: flex;
align-items: flex-start;
gap: 15px;
margin-bottom: 20px;
}

.contacts__icon {
width: 40px;
height: 40px;
background: var(--color-primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
flex-shrink: 0;
}

.contacts__icon-img,
.contacts__icon svg,
.contacts__social-link svg,
.contacts__social-link .social-icon__img {
width: 20px;
height: 20px;
display: block;
object-fit: contain;
}

.contacts__text {
display: flex;
flex-direction: column;
}

.contacts__label {
font-size: 13px;
color: #6b7280;
margin-bottom: 2px;
}

.contacts__value {
font-size: 16px;
color: #1f2937;
font-weight: 500;
}

.contacts__link {
font-size: 16px;
color: #1f2937;
font-weight: 500;
text-decoration: none;
display: block;
margin-bottom: 5px;
}

.contacts__link:hover {
color: var(--color-primary);
}
/* === END: Contacts Section === */

/* =============================================================================
   START: Footer
   Footer columns, menu links, social list, and copyright.
   ============================================================================= */
.footer {
    background: #1838D9;
    padding: 40px 0 30px;
    color: #fff;
}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
}

.footer__left {
    flex: 1;
    max-width: 600px;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer__logo img {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
}

.footer__form {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.footer__input {
    display: none;
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    outline: none;
}

.footer__input::placeholder {
    color: rgba(255,255,255,0.7);
}

.footer__btn {
    padding: 10px 20px;
    background: #fff;
    color: #1838D9;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.footer__btn:hover {
    background: #f0f0f0;
}

.footer__privacy {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

.footer__right {
    display: flex;
    gap: 180px;
}

.footer__links,
.footer__social {
    flex: 0 0 auto;
}

.footer__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__list li {
    margin-bottom: 8px;
}

.footer__link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.footer__link:hover {
    color: #fff;
}

.footer__link svg,
.footer__link .social-icon__img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
}

.footer__bottom {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    grid-column: 1 / -1;
}

.footer__copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.contacts__social {
display: flex;
gap: 12px;
}

.contacts__social-link {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--color-primary);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
transition: all 0.3s;
}

.contacts__social-link:hover {
background: var(--color-primary);
}

.contacts__map {
flex: 1.5;
min-height: 450px;
border-radius: 20px;
overflow: hidden;
}

.contacts__map iframe {
width: 100%;
height: 100%;
display: block;
}
/* === END: Footer === */

/* =============================================================================
   START: Pricing Section
   Pricing cards, dotted price rows, and pagination.
   ============================================================================= */
.pricing {
    padding: 80px 0 100px;
    background: #f8fafc;
}

.pricing__subtitle {
    display: block;
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.pricing__title {
    font-size: 42px;
    font-weight: 400;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 50px;
}

.pricing-swiper {
    overflow: hidden;
    padding: 8px 4px 12px;
}

.pricing-swiper .swiper-wrapper {
    align-items: stretch;
}

.pricing-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px 30px;
    box-shadow: 0 10px 30px rgba(24, 56, 217, 0.07);
    border: 1px solid rgba(24, 56, 217, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(24, 56, 217, 0.12);
}

.pricing-card__title {
    font-family: var(--font-futura);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-green);
    margin: 0 0 20px;
    line-height: 1.2;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8ecf3;
}

.pricing-card__title--green {
    color: var(--color-green);
}

.pricing-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
}

.pricing-card__list li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 0 0 14px;
    border-bottom: 1px solid #eef1f6;
    font-size: 14px;
    line-height: 1.4;
    min-width: 0;
}

.pricing-card__list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.pricing-card__name {
    color: #374151;
    font-weight: 500;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.pricing-card__dots {
    display: none;
}

.pricing-card__price {
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-size: 0.95em;
}

.pricing-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.pricing-swiper.is-locked .pricing-pagination,
.pricing-swiper.swiper-lock .pricing-pagination {
    display: none;
}

.pricing-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    border-radius: 50%;
    transition: background 0.3s, width 0.3s;
}

.pricing-pagination .swiper-pagination-bullet-active {
    background: var(--color-green);
    width: 24px;
    border-radius: 5px;
}

@media (min-width: 1024px) {
    .pricing-card {
        padding: 30px 26px 32px;
        min-height: 280px;
    }

    .pricing-card__title {
        font-size: 26px;
        margin-bottom: 22px;
    }

    .pricing-card__list {
        gap: 16px;
    }

    .pricing-card__list li {
        font-size: 15px;
        padding-bottom: 16px;
        gap: 6px;
    }

    .pricing-card__price {
        font-size: 15px;
    }
}

@media (min-width: 1280px) {
    .pricing-card {
        padding: 32px 28px 34px;
    }

    .pricing-card__list li {
        font-size: 15px;
    }
}
/* === END: Pricing Section === */

/* =============================================================================
   START: Appointment Modal
   Booking modal overlay, form fields, and CF7-inside-modal styles.
   ============================================================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    border-radius: 16px;
    max-width: 860px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.modal-overlay.is-open .modal {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    z-index: 10;
    padding: 4px;
    line-height: 0;
    transition: color 0.2s;
}

.modal__close:hover {
    color: #111;
}

.modal__content {
    display: flex;
    min-height: 420px;
}

.modal__left {
    flex: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal__title {
    font-size: 24px !important;
    font-weight: 400;
    line-height: 1.35;
    color: #111;
    margin-bottom: 32px;
}

.modal__doctor-choice {
    margin: -16px 0 24px;
    padding: 12px 14px;
    background: #e8f4f8;
    border-radius: 8px;
    border-left: 4px solid #2aabee;
}

.modal__doctor-choice__name {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #0d5c7a;
}

.modal__doctor-choice__position {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1565c0;
}

.modal__doctor-choice__position::before {
    content: '"';
}

.modal__doctor-choice__position::after {
    content: '"';
}

.doctor-card--bookable {
    cursor: pointer;
}

.doctor-card--bookable:focus {
    outline: 2px solid #2aabee;
    outline-offset: 4px;
}

.kebot-cf7-form .wpcf7-response-output.kebot-duplicate-phone,
.kebot-cf7-section-form .wpcf7-response-output.kebot-duplicate-phone {
    border-color: #2aabee;
    background: #e8f4f8;
    color: #0d5c7a;
    font-weight: 600;
}

.modal__field {
    margin-bottom: 20px;
}

.modal__label {
    display: block;
    font-size: 14px !important;
    color: #374151;
    margin-bottom: 6px;
}

.modal__input {
    width: 100%;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px !important;
    color: #111;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.modal__input:focus {
    border-color: var(--color-primary);
}

.modal__btn {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px;
    font-size: 16px !important;
    font-family: inherit;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 16px;
    transition: background 0.2s;
}

.modal__btn:hover {
    background: var(--color-primary-hover);
}

.modal__privacy {
    font-size: 12px !important;
    color: #6b7280;
    line-height: 1.4;
}

/* Contact Form 7 inside modal */
.kebot-cf7-form .wpcf7-form-control-wrap {
    display: block;
}

/* Email stays in CF7/DB for future — hidden in UI only */
.kebot-cf7-form .modal__field:has(input[name="your-email"]),
.kebot-cf7-form .modal__field:has([data-name="your-email"]),
.kebot-cf7-form .wpcf7-form-control-wrap[data-name="your-email"] {
    display: none !important;
}

.kebot-cf7-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
}

.kebot-cf7-form .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.kebot-cf7-form .wpcf7-mail-sent-ok,
.kebot-cf7-form form.sent .wpcf7-response-output {
    border-color: #04A243;
    color: #047857;
    background: #ecfdf5;
}

.kebot-cf7-form input.wpcf7-submit.modal__btn {
    width: 100%;
}

.kebot-cf7-form br {
    display: none;
}

.modal__right {
    width: 340px;
    flex-shrink: 0;
    overflow: hidden;
}

.modal__right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* === END: Appointment Modal === */
