/* ============================================================
   Medical Clinic — main.css
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
    --primary: #0d2765;
    --primary-light: #1e5aa0;
    --accent: #3e92cc;
    --red: #d81a24;
    --red-dark: #b51520;
    --gradient: linear-gradient(135deg, #0d2765 0%, #3e92cc 100%);
    --gradient-dark: linear-gradient(135deg, #081540 0%, #0d2765 100%);
    --btn-color: var(--red);
    --btn-light: var(--red-dark);
    --btn-gradient: linear-gradient(135deg, #d81a24 0%, #f04050 100%);
    --white: #ffffff;
    --text: #2d3748;
    --text-muted: #718096;
    --gray: #f7f9fc;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(10, 36, 99, 0.10);
    --shadow-lg: 0 8px 48px rgba(10, 36, 99, 0.18);
    --transition: 0.3s ease;
    --container: 1920px;
    --header-h: 80px;
    --banner-h: 0px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 50px;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-arrow {
    transition: transform 0.25s ease;
    display: flex;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Primary */
.btn-primary {
    background: var(--btn-gradient);
    color: var(--white);
    border: 2px solid var(--red);
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-primary:hover {
    background: transparent;
    color: var(--red);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-secondary {
    border: 2px solid var(--btn-color);
    color: var(--btn-color);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--btn-color);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 14px;
}

.btn-sm::after {
    font-size: 13px;
}

/* ── Header ────────────────────────────────────────────────── */
/* ── HEADER ─────────────────────────────────────────────────── */
/* ── Promo Banner ───────────────────────────────────────────── */
.promo-banner[hidden] {
    display: none !important;
}

.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--banner-h);
    min-height: 50px;
    background: #0d2765;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: height var(--transition), opacity var(--transition);
}

.promo-banner.is-closing {
    height: 0 !important;
    min-height: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.promo-banner__inner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 48px 0 24px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-banner__text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-banner__link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity var(--transition);
}

.promo-banner__link:hover {
    opacity: 0.8;
}

.promo-banner__close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition);
}

.promo-banner__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ── Header ────────────────────────────────────────────────── */
/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: var(--banner-h);
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: #fff;
    border-bottom: 1px solid #e8ecf4;
}

.header-wrap {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 36px;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
}

/* Nav */
.site-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: #3a4560;
    font-size: 15px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--primary);
    background: rgba(13, 39, 101, 0.06);
}

/* Separator */
.header-sep {
    width: 1px;
    height: 36px;
    background: #e0e6f0;
    margin: 0 28px;
    flex-shrink: 0;
}

/* Address */
.header-address {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-right: 24px;
}

.haddr-pin {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.haddr-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.haddr-text strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

.haddr-link {
    font-size: 12px;
    color: var(--red);
    text-decoration: underline;
    text-decoration-color: rgba(216, 26, 36, 0.4);
    transition: var(--transition);
}

.haddr-link:hover {
    color: var(--red-dark);
}

/* Socials */
.header-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}

.hsoc-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: #f0f3fa;
    color: #6b7a99;
    flex-shrink: 0;
}

.hsoc-btn:hover {
    background: #e2e8f4;
    color: var(--primary);
    transform: translateY(-1px);
}

/* Phone block */
.header-phone-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-right: 24px;
}

.hphone-operator {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
    border: 2px solid #e8ecf4;
}

.hphone-operator-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f3fa;
    border: 2px solid #e8ecf4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8896b0;
    flex-shrink: 0;
}

.header-phone-block>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hphone-schedule {
    font-size: 11px;
    color: #8896b0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hphone-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.3px;
    white-space: nowrap;
    transition: var(--transition);
}

.hphone-number:hover {
    color: var(--red);
}

/* Booking button */
.btn-booking {
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: #fff;
    border: 2px solid var(--red);
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 9px 20px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
    text-transform: uppercase;
}

.btn-booking:hover {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 4px;
    margin-left: 16px;
    flex-shrink: 0;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Section commons ───────────────────────────────────────── */
section {
    padding: 100px 0;
}

.section-light {
    background: var(--white);
}

.section-gray {
    background: var(--gray);
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.section-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary);
    line-height: 1.2;
    flex-shrink: 0;
    order: 1;
}

.section-header::after {
    content: '';
    order: 2;
    flex: 1;
    height: 1px;
    background: #dde3ee;
    align-self: flex-end;
    margin: 0 24px 7px;
}

.section-dark .section-title,
.text-white {
    color: var(--white);
}

.section-dark .section-header::after {
    background: rgba(255, 255, 255, 0.15);
}

.section-desc {
    order: 3;
    font-size: 14px;
    color: #8a97b0;
    white-space: nowrap;
    padding-bottom: 4px;
}

/* ── HERO ──────────────────────────────────────────────────── */
.section-hero {
    background: #f5f7fb;
    padding-top: calc(var(--header-h) + var(--banner-h));
    overflow: hidden;
    position: relative;
    padding-bottom: 0;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--primary);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: calc(100vh - var(--header-h));
}

/* Badge top */
.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 39, 101, 0.06);
    border: 1px solid rgba(13, 39, 101, 0.12);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
    align-self: flex-start;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Title */
.hero-title {
    font-size: clamp(32px, 4.2vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(15px, 1.4vw, 18px);
    color: #5a6680;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 400px;
}

/* Actions */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    border: 2px solid var(--red);
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-hero:hover {
    background: transparent;
    color: var(--red);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.28s ease;
}

.btn-hero-ghost:hover {
    background: var(--primary);
    color: #fff;
}

.btn-hero:hover .btn-arrow,
.btn-hero-ghost:hover .btn-arrow {
    transform: translateX(4px);
}

/* Stats row — stats + float-card side by side */
.hero-bottom-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(13, 39, 101, 0.10);
    justify-content: space-between;
}

.hero-stats {
    display: flex;
    gap: 28px;
    flex-shrink: 0;
}

.hero-stat strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat strong sup {
    font-size: 18px;
    color: var(--red);
    font-weight: 700;
}

.hero-stat span {
    font-size: 13px;
    color: #7a8ba0;
}

/* Visual / image side */
.hero-content {
    padding: 60px 48px 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-visual {
    position: relative;
    align-self: stretch;
}

.hero-geo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-collage {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 1fr 0.95fr;
    grid-template-rows: 1.15fr 0.85fr;
    gap: 12px;
    padding: 60px 0 60px 60px;
}

.hero-cell--a {
    grid-column: 1;
    grid-row: 1 / 3;
}

.hero-cell--b {
    grid-column: 2;
    grid-row: 1;
}

.hero-cell--c {
    grid-column: 3;
    grid-row: 1;
}

.hero-cell--d {
    grid-column: 2;
    grid-row: 2;
}

.hero-cell--e {
    grid-column: 3;
    grid-row: 2;
}

.hero-cell {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 0;
}

.hero-collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    opacity: 0.88;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.hero-cell:hover .hero-collage-img {
    opacity: 0.96;
    transform: scale(1.03);
}

.photo-tag {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 6px 12px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(13, 39, 101, 0.18);
    white-space: nowrap;
    letter-spacing: 0.1px;
}

.photo-tag svg {
    flex-shrink: 0;
    color: var(--red);
}

.photo-tag--bottom-left {
    bottom: 10px;
    left: 10px;
}

.photo-tag--top-left {
    top: 10px;
    left: 10px;
}

.photo-tag--top-right {
    top: 10px;
    right: 10px;
}

.photo-tag--bottom-right {
    bottom: 10px;
    right: 5px;
    left: 5px;
}

/* Floating cards */
/* Float card — inline у hero-content під stats */
.hero-float-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: 0 6px 24px rgba(13, 39, 101, 0.10);
    border-left: 4px solid var(--red);
}

.hero-float-card .float-icon {
    width: 34px;
    height: 34px;
    background: rgba(216, 26, 36, 0.10);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-float-card strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.hero-float-card span {
    display: block;
    font-size: 12px;
    color: #7a8ba0;
}

.hero-float-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 6px 12px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(13, 39, 101, 0.18);
    white-space: nowrap;
    letter-spacing: 0.1px;
}

/* ── SERVICES ──────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── DOCTORS ───────────────────────────────────────────────── */
.doctors-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.doctor-row {
    display: grid;
    grid-template-columns: 40% 1fr;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);

}

.doctor-row-photo {
    min-height: 320px;
    overflow: hidden;
    flex-shrink: 0;
}

.doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
    display: block;
}

.doctor-row:hover .doctor-photo {
    transform: scale(1.03);
}

.doctor-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray);
}

.doctor-photo-placeholder svg {
    width: 100px;
    opacity: 0.4;
}

.doctor-row-info {
    padding: 40px;
}

.doctor-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.25;
}

.doctor-specialty {
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.doctor-bio-wrap {
    position: relative;
    margin-bottom: 16px;
}

.doctor-bio {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.doctor-bio.is-expanded {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    background: var(--white);
    z-index: 10;
    padding-bottom: 10px;
    border-radius: 0 0 var(--radius) var(--radius);
    animation: bioExpand 0.3s ease forwards;
}

.doctor-bio.is-closing {
    animation: bioCollapse 0.25s ease forwards;
}

@keyframes bioExpand {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bioCollapse {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

.doctor-bio-toggle {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    margin-bottom: 0;
    background: none;
    border: none;
    padding: 0;
    transition: opacity var(--transition);
    position: relative;
    z-index: 11;
}

.doctor-bio-toggle:hover {
    opacity: 0.7;
}

.doctor-bio .doctor-bio-toggle {
    display: block;
    margin-top: 10px;
}

.doctor-schedule {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.doctor-schedule svg {
    flex-shrink: 0;
    color: var(--primary);
    opacity: 0.6;
}

.btn-doctor {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.2px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease;
}

.btn-doctor:hover {
    background: var(--primary);
    color: #fff;
}

.btn-doctor:hover .btn-arrow {
    transform: translateX(4px);
}

.doctor-services {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 20px 0 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.doctor-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.doctor-service-item:last-child {
    border-bottom: none;
}

.doctor-service-item:nth-child(even) {
    background: var(--gray);
}

.doctor-service-name {
    color: var(--text);
    flex: 1;
}

.doctor-service-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.doctor-service-price {
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.doctor-service-price.is-old {
    font-weight: 400;
    color: var(--text);
    opacity: 0.4;
    text-decoration: line-through;
}

.doctor-service-discount {
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
}

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials-swiper-wrap {
    position: relative;
    padding: 0 48px 56px;
}

.testimonials-swiper {
    overflow: visible;
    padding: 35px 0;
    clip-path: inset(0 -100vw);
}

.testimonials-swiper .swiper-slide {
    height: auto;
    padding: 12px 4px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Swiper nav buttons — custom */
.t-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 28px));
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    flex-shrink: 0;
}

.t-nav-btn:hover {
    background: var(--primary);
    color: #fff;
}

.testimonials-prev {
    left: 0;
}

.testimonials-next {
    right: 0;
}

/* Swiper pagination */
.testimonials-pagination {
    bottom: 0 !important;
}

.testimonials-pagination .swiper-pagination-bullet {
    background: var(--border);
    opacity: 1;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

.star {
    font-size: 20px;
}

.star-filled {
    color: #f59e0b;
}

.star-empty {
    color: #d1d5db;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── BOOKING FORM ──────────────────────────────────────────── */
.section-booking {
    padding: 100px 0;
}

.booking-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.booking-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin: 16px 0 36px;
}

.booking-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.booking-benefits li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-form-wrap {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.form-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

/* date input calendar icon colour */
.form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.5);
    cursor: pointer;
}

select.form-input option {
    background: var(--primary);
    color: #fff;
}

.slots-wrap {
    margin-bottom: 20px;
}

.slots-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.slots-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.time-slot {
    padding: 9px 6px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    text-align: center;
    line-height: 1;
}

.time-slot:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.time-slot.is-selected {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    font-weight: 700;
}

.time-slot.is-past {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.15);
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.1);
}

.time-slot.is-booked {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.22);
    text-decoration: line-through;
    cursor: not-allowed;
}

/* Loading shimmer */
.slots-wrap.is-loading .time-slots-grid::after {
    content: '';
    grid-column: 1 / -1;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.06) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

.form-error {
    background: rgba(216, 26, 36, 0.18);
    border: 1.5px solid rgba(216, 26, 36, 0.45);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffb3b7;
    font-size: 14px;
    margin-bottom: 16px;
}

.btn-booking--full {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    margin-top: 4px;
}

.btn-booking--full.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.booking-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 16px;
}

.booking-success__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-success__icon svg {
    width: 44px;
    height: 44px;
}

.booking-success__title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.booking-success__text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ── Info sidebar extras ─────────────────────────── */
.benefit-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(216, 26, 36, 0.25);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-contact-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.booking-contact-hint a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.booking-contact-hint a:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* ── CONTACTS ──────────────────────────────────────────────── */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(13, 39, 101, 0.12);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    box-shadow: 0 2px 10px rgba(13, 39, 101, 0.08);
}

.contact-item strong {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 15px;
    color: var(--text-muted);
}

.contact-item a:hover {
    color: var(--accent);
}

.contacts-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: none;
}

.btn-contacts {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    border: 2px solid var(--red);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.2px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    align-self: flex-start;
    margin-top: 8px;
}

.btn-contacts:hover {
    background: transparent;
    color: var(--red);
}

.btn-contacts:hover .btn-arrow {
    transform: translateX(4px);
}

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding: 56px 0 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.footer-logo__text {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    margin-top: 12px;
    opacity: 0.65;
    max-width: 280px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 16px;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.footer-nav-list a {
    font-size: 14px;
    opacity: 0.75;
    transition: var(--transition);
}

.footer-nav-list a:hover {
    opacity: 1;
    color: var(--white);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contacts a {
    opacity: 0.75;
    transition: var(--transition);
}

.footer-contacts a:hover {
    opacity: 1;
    color: #fff;
}

/* Footer socials */
.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.fsoc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: background var(--transition), color var(--transition);
}

.fsoc-btn:hover {
    background: var(--accent);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 13px;
    opacity: 0.5;
    text-align: center;
}

/* ── Animations ────────────────────────────────────────────── */
.animate-fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.30s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.page-content {
    padding: calc(var(--header-h) + var(--banner-h) + 60px) 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    margin-bottom: 32px;
    color: var(--primary);
}

/* ── Responsive ────────────────────────────────────────────── */

/* ── 1600px — compact header spacing ───────────────────────── */
@media (max-width: 1600px) {
    .site-logo {
        margin-right: 20px;
    }

    .header-sep {
        margin: 0 16px;
    }

    .header-address {
        margin-right: 14px;
    }

    .header-socials {
        margin-right: 12px;
    }

    .header-phone-block {
        margin-right: 14px;
    }

    .header-right {
        gap: 12px;
    }

    .nav-list a {
        padding: 7px 10px;
        font-size: 14px;
    }

    .hphone-number {
        font-size: 16px;
    }

    .header-wrap {
        padding: 0 28px;
    }
}

/* ── 1720px — hide header socials only ─────────────────────── */
@media (max-width: 1720px) {

    .header-socials {
        display: none;
    }
}

/* ── 1499px — hide address & sep ───────────────────────────── */
@media (max-width: 1499px) {

    .header-address,
    .header-sep {
        display: none;
    }

    .site-logo {
        margin-right: 24px;
    }

    .section-header {
        align-items: flex-start;
    }

    .section-desc {
        white-space: normal;
    }
}

@media (max-width: 1360px) {
    .doctor-row {
        grid-template-columns: 1fr;
    }
    .doctor-row-photo {
        max-height: 430px;
    }

    .doctor-photo {
        object-position: top center;
    }
}


/* ── 1100px — burger menu ───────────────────────────────────── */
@media (max-width: 1100px) {
    :root {
        --header-h: 72px;
    }

    .header-wrap {
        padding: 0 24px;
    }

    .header-right {
        gap: 8px;
    }

    .header-phone-block {
        display: none;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: calc(var(--header-h) + var(--banner-h));
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e8ecf4;
        padding: 20px 28px;
        box-shadow: 0 8px 32px rgba(13, 39, 101, 0.12);
        z-index: 999;
    }

    .site-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .nav-list a {
        font-size: 16px;
        font-weight: 500;
        padding: 11px 12px;
        width: 100%;
        color: var(--primary);
        display: block;
        border-radius: 8px;
    }

    .burger {
        display: flex;
    }

    .btn-booking {
        font-size: 13px;
        padding: 15px 18px;
    }

    .section-testimonials {
        overflow: hidden;
    }
}

/* ── 1024px — tablet landscape ─────────────────────────────── */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    /* Hero */
    .section-hero::before {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-visual {
        background: var(--primary);
        height: 380px;
        order: -1;
    }

    .hero-content {
        padding: 48px 0 40px;
    }

    .hero-cell--c,
    .hero-cell--e {
        display: none;
    }

    .hero-collage {
        grid-template-columns: 1.3fr 1fr;
        grid-template-rows: 1.1fr 0.9fr;
        gap: 8px;
        padding: 40px 40px 40px 40px;
    }

    .hero-cell--a {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .hero-cell--b {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-cell--d {
        grid-column: 2;
        grid-row: 2;
    }

    .hero-float-badge {
        top: 12px;
        right: 12px;
    }

    .hero-stats {
        gap: 20px;
    }

    /* Sections */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── 768px — tablet portrait / large phone ──────────────────── */
@media (max-width: 768px) {
    :root {
        --header-h: 68px;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 64px 0;
    }

    .section-header {
        flex-wrap: wrap;
        gap: 4px;
        margin-bottom: 40px;
    }

    .section-header::after {
        display: none;
    }

    .section-desc {
        white-space: normal;
        width: 100%;
        padding-bottom: 0;
    }

    .promo-banner__inner {
        font-size: 13px;
        padding: 8px 44px 8px 16px;
        gap: 6px 12px;
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .promo-banner__text {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .promo-banner__close {
        top: 12px;
        transform: none;
    }

    /* Header — additional compact at 768px */
    .header-wrap {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 15px;
    }

    .btn-booking {
        font-size: 11px;
        padding: 20px 12px;
        letter-spacing: 0.03em;
    }

    .header-right .btn-booking {
        padding: 10px 12px;
    }

    /* Hero */
    .hero-visual {
        height: 380px;
        border-radius: 10px;
    }

    .hero-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 6px;
        padding: 24px;
    }

    .hero-cell--a {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .hero-cell--b {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-cell--c,
    .hero-cell--e {
        display: none;
    }

    .hero-cell--d {
        grid-column: 2;
        grid-row: 2;
    }

    .photo-tag {
        font-size: 10px;
        padding: 5px 9px;
        gap: 4px;
    }

    .photo-tag--bottom-right {
        right: 0;
        left: 0;
        margin: auto;
    }

    .hero-float-card {
        display: none;
    }

    .hero-float-badge {
        display: none;
    }

    .hero-content {
        padding: 32px 0 36px;
    }

    .hero-subtitle {
        max-width: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-hero,
    .btn-hero-ghost {
        justify-content: center;
        width: 100%;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px 24px;
    }

    /* Doctors */
    .doctors-list {
        grid-template-columns: 1fr;
    }

    .doctor-row,
    .doctor-row--reversed {
        grid-template-columns: 1fr;
    }

    .doctor-row-photo {
        min-height: 430px;        
    }

    .doctor-photo {
       object-position: top center;
    }

    .doctor-row-info,
    .doctor-row--reversed .doctor-row-info {
        padding: 24px 20px;
    }

    .doctor-name {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .doctor-bio {
        font-size: 14px;
        margin-bottom: 14px;
    }

    /* Testimonials */
    .testimonials-swiper-wrap {
        padding: 0 0 48px;
    }

    /* Booking */
    .booking-form-wrap {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .time-slots-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Contacts */
    .contacts-map iframe {
        height: 320px;
    }

    .btn-contacts {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-desc {
        max-width: none;
    }
}

/* ── 480px — small phone ─────────────────────────────────────── */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-wrap {
        padding: 0 12px;
        gap: 8px;
    }

    .header-right .btn-booking {
        display: none;
    }

    section {
        padding: 52px 0;
    }

    /* Hero */
    .hero-visual {
        height: 340px;
    }

    .hero-collage {
        gap: 5px;
        padding: 16px;
    }

    .hero-content {
        padding: 24px 0 28px;
    }

    .hero-title {
        letter-spacing: -0.3px;
    }

    .hero-stat strong {
        font-size: 22px;
    }

    .hero-stat span {
        font-size: 12px;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-badge-top {
        font-size: 12px;
        padding: 5px 14px;
    }

    /* Buttons */
    .btn-lg {
        padding: 14px 24px;
        font-size: 14px;
    }

    /* Services */
    .service-card {
        padding: 24px 20px;
    }

    /* Doctors — stack vertically */
    .doctor-row,
    .doctor-row--reversed {
        grid-template-columns: 1fr;
    }

    .doctor-row-photo {
        min-height: 240px;
        max-height: 260px;
    }

    .doctor-row-info,
    .doctor-row--reversed .doctor-row-info {
        padding: 20px;
    }

    /* Testimonials — hide nav arrows */
    .t-nav-btn {
        display: none;
    }

    .testimonials-swiper-wrap {
        padding: 0 0 40px;
    }

    /* Booking form */
    .booking-form-wrap {
        padding: 20px 14px;
    }

    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .booking-subtitle {
        font-size: 15px;
    }

    .booking-benefits {
        gap: 10px;
    }

    .booking-benefits li {
        font-size: 14px;
    }

    /* Contacts */
    .contacts-map iframe {
        height: 240px;
    }

    .contact-item {
        gap: 12px;
    }

    /* Footer */
    .footer-inner {
        gap: 24px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

/* ── Fluid vw scaling (769px–1440px, base 1600px) ──────────── */
@media (min-width: 1024px) and (max-width: 1440px) {

/* ============================================================
   Medical Clinic — main.css
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
    --primary: #0d2765;
    --primary-light: #1e5aa0;
    --accent: #3e92cc;
    --red: #d81a24;
    --red-dark: #b51520;
    --gradient: linear-gradient(135deg, #0d2765 0%, #3e92cc 100%);
    --gradient-dark: linear-gradient(135deg, #081540 0%, #0d2765 100%);
    --btn-color: var(--red);
    --btn-light: var(--red-dark);
    --btn-gradient: linear-gradient(135deg, #d81a24 0%, #f04050 100%);
    --white: #ffffff;
    --text: #2d3748;
    --text-muted: #718096;
    --gray: #f7f9fc;
    --border: #e2e8f0;
    --radius: 0.75vw;
    --radius-lg: 1.25vw;
    --shadow: 0 0.25vw 1.5vw rgba(10, 36, 99, 0.10);
    --shadow-lg: 0 0.5vw 3vw rgba(10, 36, 99, 0.18);
    --transition: 0.3s ease;
    --container: 120vw;
    --header-h: 5vw;
    --banner-h: 0vw;
}

html {
    scroll-behavior: smooth;
    font-size: 1vw;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 0 3.75vw;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625vw;
    padding: 0.8125vw 1.75vw;
    border-radius: 3.125vw;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9375vw;
    letter-spacing: 0.0125vw;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn:hover .btn-arrow {
    transform: translateX(0.3125vw);
}

/* Primary */
.btn-primary {
    background: var(--btn-gradient);
    color: var(--white);
    border: 0.125vw solid var(--red);
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-outline {
    border: 0.125vw solid rgba(255, 255, 255, 0.75);
    color: var(--white);
    background: transparent;
}

.btn-secondary {
    border: 0.125vw solid var(--btn-color);
    color: var(--btn-color);
    background: transparent;
}

.btn-lg {
    padding: 1vw 2.25vw;
    font-size: 1vw;
}

.btn-sm {
    padding: 0.5625vw 1.25vw;
    font-size: 0.875vw;
}

.btn-sm::after {
    font-size: 0.8125vw;
}

.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--banner-h);
    min-height: 3.125vw;
    background: #0d2765;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: height var(--transition), opacity var(--transition);
}

.promo-banner__inner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    padding: 0 3vw 0 1.5vw;
    font-size: 0.875vw;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-banner__link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.1875vw;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity var(--transition);
}

.promo-banner__close {
    position: absolute;
    right: 1vw;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 1.75vw;
    height: 1.75vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition);
}

/* ── Header ────────────────────────────────────────────────── */
/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: var(--banner-h);
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: #fff;
    border-bottom: 0.0625vw solid #e8ecf4;
}

.header-wrap {
    max-width: 120vw;
    margin: 0 auto;
    padding: 0 2.5vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1vw;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.25vw;
    flex-shrink: 0;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.625vw;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 2.25vw;
}

.logo-text {
    font-size: 1.25vw;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.0187vw;
}

.nav-list {
    display: flex;
    gap: 0.125vw;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: #3a4560;
    font-size: 0.9375vw;
    font-weight: 500;
    padding: 0.4375vw 0.875vw;
    border-radius: 0.5vw;
    transition: var(--transition);
    white-space: nowrap;
}

/* Separator */
.header-sep {
    width: 0.0625vw;
    height: 2.25vw;
    background: #e0e6f0;
    margin: 0 1.75vw;
    flex-shrink: 0;
}

/* Address */
.header-address {
    display: flex;
    align-items: center;
    gap: 0.625vw;
    flex-shrink: 0;
    margin-right: 1.5vw;
}

.haddr-text {
    display: flex;
    flex-direction: column;
    gap: 0.125vw;
}

.haddr-text strong {
    font-size: 0.8125vw;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

.haddr-link {
    font-size: 0.75vw;
    color: var(--red);
    text-decoration: underline;
    text-decoration-color: rgba(216, 26, 36, 0.4);
    transition: var(--transition);
}

/* Socials */
.header-socials {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    margin-right: 1.25vw;
    flex-shrink: 0;
}

.hsoc-btn {
    width: 2.25vw;
    height: 2.25vw;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: #f0f3fa;
    color: #6b7a99;
    flex-shrink: 0;
}

.hsoc-btn:hover {
    background: #e2e8f4;
    color: var(--primary);
    transform: translateY(-0.0625vw);
}

/* Phone block */
.header-phone-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75vw;
    flex-shrink: 0;
    margin-right: 1.5vw;
}

.hphone-operator {
    width: 2.75vw;
    height: 2.75vw;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
    border: 0.125vw solid #e8ecf4;
}

.hphone-operator-placeholder {
    width: 2.75vw;
    height: 2.75vw;
    border-radius: 50%;
    background: #f0f3fa;
    border: 0.125vw solid #e8ecf4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8896b0;
    flex-shrink: 0;
}

.header-phone-block>div {
    display: flex;
    flex-direction: column;
    gap: 0.125vw;
}

.hphone-schedule {
    font-size: 0.6875vw;
    color: #8896b0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.0187vw;
}

.hphone-number {
    font-size: 1.125vw;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.0187vw;
    white-space: nowrap;
    transition: var(--transition);
}

/* Booking button */
.btn-booking {
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: #fff;
    border: 0.125vw solid var(--red);
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 0.8125vw;
    font-weight: 700;
    letter-spacing: 0.0187vw;
    padding: 0.5625vw 1.25vw;
    border-radius: 3.125vw;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
    text-transform: uppercase;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 0.3125vw;
    width: 2.25vw;
    height: 2.25vw;
    align-items: center;
    justify-content: center;
    padding: 0.25vw;
    margin-left: 1vw;
    flex-shrink: 0;
}

.burger span {
    display: block;
    width: 1.375vw;
    height: 0.125vw;
    background: var(--primary);
    border-radius: 0.125vw;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: translateY(0.4375vw) rotate(45deg);
}

.burger.active span:nth-child(3) {
    transform: translateY(-0.4375vw) rotate(-45deg);
}

/* ── Section commons ───────────────────────────────────────── */
section {
    padding: 6.25vw 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 3.5vw;
}

.section-title {
    font-size: clamp(1.625vw, 3.2vw, 2.5vw);
    font-weight: 700;
    letter-spacing: -0.0312vw;
    color: var(--primary);
    line-height: 1.2;
    flex-shrink: 0;
    order: 1;
}

.section-header::after {
    content: '';
    order: 2;
    flex: 1;
    height: 0.0625vw;
    background: #dde3ee;
    align-self: flex-end;
    margin: 0 1.5vw 0.4375vw;
}

.section-desc {
    order: 3;
    font-size: 0.875vw;
    color: #8a97b0;
    white-space: nowrap;
    padding-bottom: 0.25vw;
}

/* Badge top */
.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5vw;
    background: rgba(13, 39, 101, 0.06);
    border: 0.0625vw solid rgba(13, 39, 101, 0.12);
    color: var(--primary);
    padding: 0.375vw 1vw;
    border-radius: 3.125vw;
    font-size: 0.8125vw;
    font-weight: 600;
    letter-spacing: 0.0187vw;
    margin-bottom: 1.5vw;
    align-self: flex-start;
}

.badge-dot {
    width: 0.5vw;
    height: 0.5vw;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Title */
.hero-title {
    font-size: clamp(2vw, 4.2vw, 3.625vw);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.0312vw;
    color: var(--primary);
    margin-bottom: 1.25vw;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(0.9375vw, 1.4vw, 1.125vw);
    color: #5a6680;
    line-height: 1.7;
    margin-bottom: 2.25vw;
    max-width: 25vw;
}

/* Actions */
.hero-actions {
    display: flex;
    gap: 0.875vw;
    flex-wrap: wrap;
    margin-bottom: 3vw;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.625vw;
    background: var(--red);
    color: #fff;
    border: 0.125vw solid var(--red);
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.0125vw;
    padding: 0.75vw 1.75vw;
    border-radius: 3.125vw;
    font-size: 0.9375vw;
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.625vw;
    border: 0.125vw solid var(--primary);
    color: var(--primary);
    padding: 0.8125vw 1.75vw;
    border-radius: 3.125vw;
    font-weight: 600;
    font-size: 0.9375vw;
    transition: all 0.28s ease;
}

.btn-hero:hover .btn-arrow,
.btn-hero-ghost:hover .btn-arrow {
    transform: translateX(0.25vw);
}

/* Stats row — stats + float-card side by side */
.hero-bottom-row {
    display: flex;
    align-items: center;
    gap: 1.5vw;
    padding-top: 2vw;
    border-top: 0.0625vw solid rgba(13, 39, 101, 0.10);
    justify-content: space-between;
}

.hero-stats {
    display: flex;
    gap: 1.75vw;
    flex-shrink: 0;
}

.hero-stat strong {
    display: block;
    font-size: 1.875vw;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25vw;
}

.hero-stat strong sup {
    font-size: 1.125vw;
    color: var(--red);
    font-weight: 700;
}

.hero-stat span {
    font-size: 0.8125vw;
    color: #7a8ba0;
}

/* Visual / image side */
.hero-content {
    padding: 3.75vw 3vw 3.75vw 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* CSS Grid */
.hero-collage {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 1fr 0.95fr;
    grid-template-rows: 1.15fr 0.85fr;
    gap: 0.75vw;
    padding: 3.75vw 0 3.75vw 3.75vw;
}

.hero-cell {
    position: relative;
    border-radius: 1.125vw;
    overflow: hidden;
    min-height: 0;
}

.photo-tag {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.375vw;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 0.7188vw;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 0.375vw 0.75vw;
    border-radius: 3.125vw;
    backdrop-filter: blur(0.375vw);
    box-shadow: 0 0.25vw 0.875vw rgba(13, 39, 101, 0.18);
    white-space: nowrap;
    letter-spacing: 0.0063vw;
}

.photo-tag--bottom-left {
    bottom: 0.625vw;
    left: 0.625vw;
}

.photo-tag--top-left {
    top: 0.625vw;
    left: 0.625vw;
}

.photo-tag--top-right {
    top: 0.625vw;
    right: 0.625vw;
}

.photo-tag--bottom-right {
    bottom: 0.625vw;
    right: 0.3125vw;
    left: 0.3125vw;
}

/* Floating cards */
.hero-float-card {
    display: inline-flex;
    align-items: center;
    gap: 0.75vw;
    background: #fff;
    border-radius: 1vw;
    padding: 0.75vw 1.125vw;
    box-shadow: 0 0.375vw 1.5vw rgba(13, 39, 101, 0.10);
    border-left: 0.25vw solid var(--red);
}

.hero-float-card .float-icon {
    width: 2.125vw;
    height: 2.125vw;
    background: rgba(216, 26, 36, 0.10);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375vw;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-float-card strong {
    display: block;
    font-size: 0.8125vw;
    font-weight: 700;
    color: var(--primary);
}

.hero-float-card span {
    display: block;
    font-size: 0.75vw;
    color: #7a8ba0;
}

.hero-float-badge {
    position: absolute;
    top: 1.25vw;
    right: 1.25vw;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.375vw;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 0.7188vw;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 0.375vw 0.75vw;
    border-radius: 3.125vw;
    backdrop-filter: blur(0.375vw);
    box-shadow: 0 0.25vw 0.875vw rgba(13, 39, 101, 0.18);
    white-space: nowrap;
    letter-spacing: 0.0063vw;
}

/* ── SERVICES ──────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75vw;
}

.service-card {
    background: var(--white);
    border: 0.0625vw solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25vw 1.75vw;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-0.375vw);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon {
    width: 3.5vw;
    height: 3.5vw;
    margin-bottom: 1.25vw;
}

.service-title {
    font-size: 1.1875vw;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75vw;
}

.service-desc {
    font-size: 0.9375vw;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── DOCTORS ───────────────────────────────────────────────── */
.doctors-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5vw;
}

.doctor-row-photo {
    min-height: 20vw;
    overflow: hidden;
    flex-shrink: 0;
}

.doctor-photo-placeholder svg {
    width: 6.25vw;
    opacity: 0.4;
}

.doctor-row-info {
    padding: 2.5vw;
}

.doctor-name {
    font-size: 1.375vw;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25vw;
    line-height: 1.25;
}

.doctor-specialty {
    font-size: 0.6875vw;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.0625vw;
    margin-bottom: 0.5vw;
}

.doctor-bio-wrap {
    position: relative;
    margin-bottom: 1vw;
}

.doctor-bio {
    font-size: 1vw;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.5vw;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.doctor-bio.is-expanded {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    background: var(--white);
    z-index: 10;
    padding-bottom: 0.625vw;
    border-radius: 0 0 var(--radius) var(--radius);
    animation: bioExpand 0.3s ease forwards;
}

.doctor-bio-toggle {
    display: inline-block;
    font-size: 0.8125vw;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    margin-bottom: 0;
    background: none;
    border: none;
    padding: 0;
    transition: opacity var(--transition);
    position: relative;
    z-index: 11;
}

.doctor-bio .doctor-bio-toggle {
    display: block;
    margin-top: 0.625vw;
}

.doctor-schedule {
    display: flex;
    align-items: center;
    gap: 0.375vw;
    font-size: 0.8125vw;
    color: var(--text-muted);
    margin-bottom: 1.25vw;
}

.btn-doctor {
    display: inline-flex;
    align-items: center;
    gap: 0.625vw;
    border: 0.125vw solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 0.625vw 1.25vw;
    border-radius: 3.125vw;
    font-size: 0.8125vw;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.0125vw;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease;
}

.btn-doctor:hover .btn-arrow {
    transform: translateX(0.25vw);
}

.doctor-services {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 1.25vw 0 1.5vw;
    border: 0.0625vw solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.doctor-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75vw;
    padding: 0.625vw 1vw;
    font-size: 0.875vw;
    border-bottom: 0.0625vw solid var(--border);
}

.doctor-service-prices {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    flex-shrink: 0;
}

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials-swiper-wrap {
    position: relative;
    padding: 0 3vw 3.5vw;
}

.testimonials-swiper {
    overflow: visible;
    padding: 2.1875vw 0;
    clip-path: inset(0 -100vw);
}

.testimonials-swiper .swiper-slide {
    height: auto;
    padding: 0.75vw 0.25vw;
}

.testimonial-card {
    background: var(--white);
    border: 0.0625vw solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25vw 2vw;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1vw;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-0.25vw);
}

/* Swiper nav buttons — custom */
.t-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 1.75vw));
    z-index: 10;
    width: 2.75vw;
    height: 2.75vw;
    border-radius: 50%;
    border: 0.125vw solid var(--primary);
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    flex-shrink: 0;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 1.5vw;
    border-radius: 0.25vw;
    transition: width 0.3s ease;
}

.testimonial-stars {
    display: flex;
    gap: 0.25vw;
}

.star {
    font-size: 1.25vw;
}

.testimonial-text {
    font-size: 0.9375vw;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75vw;
    font-style: normal;
    font-weight: 600;
    font-size: 0.875vw;
    color: var(--primary);
}

.author-avatar {
    width: 2.5vw;
    height: 2.5vw;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1vw;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── BOOKING FORM ──────────────────────────────────────────── */
.section-booking {
    padding: 6.25vw 0;
}

.booking-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5vw;
    align-items: center;
}

.booking-subtitle {
    font-size: 1.125vw;
    color: rgba(255, 255, 255, 0.75);
    margin: 1vw 0 2.25vw;
}

.booking-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.875vw;
}

.booking-benefits li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375vw;
    display: flex;
    align-items: center;
    gap: 0.625vw;
}

.booking-form-wrap {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(0.75vw);
    border: 0.0625vw solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 3vw 2.5vw;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1vw;
    margin-bottom: 1vw;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375vw;
}

.form-label {
    font-size: 0.8125vw;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.0187vw;
    text-transform: uppercase;
}

.form-input {
    background: rgba(255, 255, 255, 0.1);
    border: 0.0938vw solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75vw;
    padding: 0.8125vw 1vw;
    color: var(--white);
    font-size: 0.9375vw;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.slots-wrap {
    margin-bottom: 1.25vw;
}

.slots-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75vw;
}

.slots-hint {
    font-size: 0.75vw;
    color: rgba(255, 255, 255, 0.45);
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5vw;
}

.time-slot {
    padding: 0.5625vw 0.375vw;
    border-radius: 0.625vw;
    border: 0.0938vw solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125vw;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    text-align: center;
    line-height: 1;
}

/* Loading shimmer */
.slots-wrap.is-loading .time-slots-grid::after {
    content: '';
    grid-column: 1 / -1;
    height: 2.75vw;
    border-radius: 0.625vw;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.06) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

.form-error {
    background: rgba(216, 26, 36, 0.18);
    border: 0.0938vw solid rgba(216, 26, 36, 0.45);
    border-radius: 0.625vw;
    padding: 0.75vw 1vw;
    color: #ffb3b7;
    font-size: 0.875vw;
    margin-bottom: 1vw;
}

/* ── Full-width submit ───────────────────────────── */
.btn-booking--full {
    width: 100%;
    justify-content: center;
    padding: 1vw 2vw;
    font-size: 1vw;
    margin-top: 0.25vw;
}

/* ── Success screen ──────────────────────────────── */
.booking-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5vw 1.25vw;
    gap: 1vw;
}

.booking-success__icon {
    width: 5vw;
    height: 5vw;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-success__icon svg {
    width: 2.75vw;
    height: 2.75vw;
}

.booking-success__title {
    font-size: 1.5vw;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.booking-success__text {
    font-size: 0.9375vw;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ── Info sidebar extras ─────────────────────────── */
.benefit-icon {
    width: 1.75vw;
    height: 1.75vw;
    border-radius: 50%;
    background: rgba(216, 26, 36, 0.25);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-contact-hint {
    display: flex;
    align-items: center;
    gap: 0.625vw;
    margin-top: 2.25vw;
    padding-top: 1.75vw;
    border-top: 0.0625vw solid rgba(255, 255, 255, 0.12);
    font-size: 0.875vw;
    color: rgba(255, 255, 255, 0.6);
}

/* ── CONTACTS ──────────────────────────────────────────────── */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4vw;
    align-items: start;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 1.75vw;
}

.contact-item {
    display: flex;
    gap: 1.125vw;
    align-items: flex-start;
}

.contact-icon {
    width: 2.75vw;
    height: 2.75vw;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 0.0938vw solid rgba(13, 39, 101, 0.12);
    border-radius: 3.125vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    box-shadow: 0 0.125vw 0.625vw rgba(13, 39, 101, 0.08);
}

.contact-item strong {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25vw;
}

.contact-item p,
.contact-item a {
    font-size: 0.9375vw;
    color: var(--text-muted);
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 26.25vw;
    border: none;
}

.btn-contacts {
    display: inline-flex;
    align-items: center;
    gap: 0.625vw;
    background: var(--red);
    border: 0.125vw solid var(--red);
    color: #fff;
    padding: 0.875vw 2vw;
    border-radius: 3.125vw;
    font-size: 0.9375vw;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.0125vw;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    align-self: flex-start;
    margin-top: 0.5vw;
}

.btn-contacts:hover .btn-arrow {
    transform: translateX(0.25vw);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3vw;
    padding: 3.5vw 0 3vw;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625vw;
    text-decoration: none;
    color: #fff;
}

.footer-logo__text {
    font-size: 1.0625vw;
    font-weight: 700;
    color: #fff;
}

.footer-desc {
    font-size: 0.875vw;
    margin-top: 0.75vw;
    opacity: 0.65;
    max-width: 17.5vw;
    line-height: 1.6;
}

.footer-heading {
    font-size: 0.8125vw;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 1vw;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.625vw;
    list-style: none;
}

.footer-nav-list a {
    font-size: 0.875vw;
    opacity: 0.75;
    transition: var(--transition);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75vw;
    list-style: none;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 0.5vw;
    font-size: 0.875vw;
    line-height: 1.5;
}

/* Footer socials */
.footer-socials {
    display: flex;
    gap: 0.5vw;
    margin-top: 1.25vw;
}

.fsoc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25vw;
    height: 2.25vw;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: background var(--transition), color var(--transition);
}

.footer-bottom {
    border-top: 0.0625vw solid rgba(255, 255, 255, 0.1);
    padding: 1.25vw 0;
    font-size: 0.8125vw;
    opacity: 0.5;
    text-align: center;
}

/* ── Animations ────────────────────────────────────────────── */
.animate-fade-up {
    opacity: 0;
    transform: translateY(2vw);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ── Page content ──────────────────────────────────────────── */
.page-content {
    padding: calc(var(--header-h) + var(--banner-h) + 3.75vw) 0 5vw;
    max-width: 50vw;
    margin: 0 auto;
}

.page-content h1 {
    margin-bottom: 2vw;
    color: var(--primary);
}

}
